Class: StackOne::Models::Shared::ConnectSessionCreate
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ConnectSessionCreate
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/connectsessioncreate.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(origin_owner_id:, origin_owner_name:, account_id: nil, categories: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, provider_version: nil, expires_in: 1800.0, multiple: false, type: Models::Shared::ConnectSessionCreateType::PRODUCTION) ⇒ ConnectSessionCreate
constructor
A new instance of ConnectSessionCreate.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(origin_owner_id:, origin_owner_name:, account_id: nil, categories: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, provider_version: nil, expires_in: 1800.0, multiple: false, type: Models::Shared::ConnectSessionCreateType::PRODUCTION) ⇒ ConnectSessionCreate
Returns a new instance of ConnectSessionCreate.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/stack_one/models/shared/connectsessioncreate.rb', line 43 def initialize(origin_owner_id:, origin_owner_name:, account_id: nil, categories: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, provider_version: nil, expires_in: 1800.0, multiple: false, type: Models::Shared::ConnectSessionCreateType::PRODUCTION) @origin_owner_id = origin_owner_id @origin_owner_name = origin_owner_name @account_id = account_id @categories = categories @integration_id = integration_id @label = label @metadata = @origin_username = origin_username @provider = provider @provider_version = provider_version @expires_in = expires_in @multiple = multiple @type = type end |
Instance Method Details
#==(other) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/stack_one/models/shared/connectsessioncreate.rb', line 60 def ==(other) return false unless other.is_a? self.class return false unless @origin_owner_id == other.origin_owner_id return false unless @origin_owner_name == other.origin_owner_name return false unless @account_id == other.account_id return false unless @categories == other.categories 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 @provider_version == other.provider_version return false unless @expires_in == other.expires_in return false unless @multiple == other.multiple return false unless @type == other.type true end |