Class: StackOne::Models::Shared::ConnectSession
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ConnectSession
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/connectsession.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(created_at:, id:, organization_id:, origin_owner_id:, origin_owner_name:, project_id:, account_id: nil, categories: nil, external_trigger_token: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, type: nil) ⇒ ConnectSession
constructor
A new instance of ConnectSession.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(created_at:, id:, organization_id:, origin_owner_id:, origin_owner_name:, project_id:, account_id: nil, categories: nil, external_trigger_token: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, type: nil) ⇒ ConnectSession
Returns a new instance of ConnectSession.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/stack_one/models/shared/connectsession.rb', line 47 def initialize(created_at:, id:, organization_id:, origin_owner_id:, origin_owner_name:, project_id:, account_id: nil, categories: nil, external_trigger_token: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, type: nil) @created_at = created_at @id = id @organization_id = organization_id @origin_owner_id = origin_owner_id @origin_owner_name = origin_owner_name @project_id = project_id @account_id = account_id @categories = categories @external_trigger_token = external_trigger_token @integration_id = integration_id @label = label @metadata = @origin_username = origin_username @provider = provider @type = type end |
Instance Method Details
#==(other) ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/stack_one/models/shared/connectsession.rb', line 66 def ==(other) return false unless other.is_a? self.class return false unless @created_at == other.created_at return false unless @id == other.id return false unless @organization_id == other.organization_id return false unless @origin_owner_id == other.origin_owner_id return false unless @origin_owner_name == other.origin_owner_name return false unless @project_id == other.project_id return false unless @account_id == other.account_id return false unless @categories == other.categories return false unless @external_trigger_token == other.external_trigger_token return false unless @integration_id == other.integration_id return false unless @label == other.label return false unless @metadata == other. return false unless @origin_username == other.origin_username return false unless @provider == other.provider return false unless @type == other.type true end |