Class: Clerk::Models::Components::EnterpriseConnectionTestRun
- Inherits:
-
Object
- Object
- Clerk::Models::Components::EnterpriseConnectionTestRun
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/enterpriseconnectiontestrun.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, status:, connection_type:, created_at:, logs: nil, parsed_user_info: nil, saml: nil, oauth: nil) ⇒ EnterpriseConnectionTestRun
constructor
A new instance of EnterpriseConnectionTestRun.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, status:, connection_type:, created_at:, logs: nil, parsed_user_info: nil, saml: nil, oauth: nil) ⇒ EnterpriseConnectionTestRun
Returns a new instance of EnterpriseConnectionTestRun.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/clerk/models/components/enterpriseconnectiontestrun.rb', line 33 def initialize(id:, status:, connection_type:, created_at:, logs: nil, parsed_user_info: nil, saml: nil, oauth: nil) @id = id @status = status @connection_type = connection_type @created_at = created_at @logs = logs @parsed_user_info = parsed_user_info @saml = saml @oauth = oauth end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/clerk/models/components/enterpriseconnectiontestrun.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @status == other.status return false unless @connection_type == other.connection_type return false unless @created_at == other.created_at return false unless @logs == other.logs return false unless @parsed_user_info == other.parsed_user_info return false unless @saml == other.saml return false unless @oauth == other.oauth true end |