class CadenceThrift::PendingActivityInfo

Constants

ACTIVITYID
ACTIVITYTYPE
ATTEMPT
EXPIRATIONTIMESTAMP
FIELDS
HEARTBEATDETAILS
LASTFAILUREDETAILS
LASTFAILUREREASON
LASTHEARTBEATTIMESTAMP
LASTSTARTEDTIMESTAMP
LASTWORKERIDENTITY
MAXIMUMATTEMPTS
SCHEDULEDTIMESTAMP
STATE

Public Instance Methods

struct_fields() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 4274
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 4276
def validate
  unless @state.nil? || ::CadenceThrift::PendingActivityState::VALID_VALUES.include?(@state)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field state!')
  end
end