Class: DingSDK::Models::Shared::RetryAuthenticationResponse

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
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.



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

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



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

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