Class: DingSDK::Models::Shared::AuthenticationStatusResponse

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/ding_sdk/models/shared/authenticationstatusresponse.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(correlation_id: nil, created_at: nil, events: nil, phone_number: nil, signals: nil, template_id: nil, uuid: nil) ⇒ AuthenticationStatusResponse

Returns a new instance of AuthenticationStatusResponse.



33
34
35
36
37
38
39
40
41
# File 'lib/ding_sdk/models/shared/authenticationstatusresponse.rb', line 33

def initialize(correlation_id: nil, created_at: nil, events: nil, phone_number: nil, signals: nil, template_id: nil, uuid: nil)
  @correlation_id = correlation_id
  @created_at = created_at
  @events = events
  @phone_number = phone_number
  @signals = signals
  @template_id = template_id
  @uuid = uuid
end

Instance Method Details

#==(other) ⇒ Object



43
44
45
46
47
48
49
50
51
52
53
# File 'lib/ding_sdk/models/shared/authenticationstatusresponse.rb', line 43

def ==(other)
  return false unless other.is_a? self.class
  return false unless @correlation_id == other.correlation_id
  return false unless @created_at == other.created_at
  return false unless @events == other.events
  return false unless @phone_number == other.phone_number
  return false unless @signals == other.signals
  return false unless @template_id == other.template_id
  return false unless @uuid == other.uuid
  true
end