Class: Kombo::Models::Shared::GetIntegrationsIntegrationIdIntegrationFieldsPositiveResponseResult
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetIntegrationsIntegrationIdIntegrationFieldsPositiveResponseResult
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/getintegrationsintegrationidintegrationfieldspositiveresponse_result.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, key:, model:, type:, is_passthrough_enabled:, is_writable:, label: nil) ⇒ GetIntegrationsIntegrationIdIntegrationFieldsPositiveResponseResult
constructor
A new instance of GetIntegrationsIntegrationIdIntegrationFieldsPositiveResponseResult.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, key:, model:, type:, is_passthrough_enabled:, is_writable:, label: nil) ⇒ GetIntegrationsIntegrationIdIntegrationFieldsPositiveResponseResult
Returns a new instance of GetIntegrationsIntegrationIdIntegrationFieldsPositiveResponseResult.
31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/kombo/models/shared/getintegrationsintegrationidintegrationfieldspositiveresponse_result.rb', line 31 def initialize(id:, key:, model:, type:, is_passthrough_enabled:, is_writable:, label: nil) @id = id @key = key @model = model @type = type @is_passthrough_enabled = is_passthrough_enabled unless is_writable == false raise ArgumentError, 'Invalid value for is_writable' end @is_writable = false @label = label end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/kombo/models/shared/getintegrationsintegrationidintegrationfieldspositiveresponse_result.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @key == other.key return false unless @model == other.model return false unless @type == other.type return false unless @is_passthrough_enabled == other.is_passthrough_enabled return false unless @is_writable == other.is_writable return false unless @label == other.label true end |