Class: DingSDK::Shared::RetryAuthenticationResponse

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/ding_sdk/models/shared/retryauthenticationresponse.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(authentication_uuid: nil, created_at: nil, next_retry_at: nil, remaining_retry: nil, status: nil) ⇒ RetryAuthenticationResponse

Returns a new instance of RetryAuthenticationResponse.



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

def initialize(authentication_uuid: nil, created_at: nil, next_retry_at: nil, remaining_retry: nil, status: nil)
  @authentication_uuid = authentication_uuid
  @created_at = created_at
  @next_retry_at = next_retry_at
  @remaining_retry = remaining_retry
  @status = status
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
50
# File 'lib/ding_sdk/models/shared/retryauthenticationresponse.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @authentication_uuid == other.authentication_uuid
  return false unless @created_at == other.created_at
  return false unless @next_retry_at == other.next_retry_at
  return false unless @remaining_retry == other.remaining_retry
  return false unless @status == other.status
  true
end