Class: Kombo::Models::Operations::PutIntegrationsIntegrationIdCustomFieldsCustomFieldIdRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(integration_id:, custom_field_id:, body:) ⇒ PutIntegrationsIntegrationIdCustomFieldsCustomFieldIdRequest

Returns a new instance of PutIntegrationsIntegrationIdCustomFieldsCustomFieldIdRequest.



23
24
25
26
27
# File 'lib/kombo/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid_request.rb', line 23

def initialize(integration_id:, custom_field_id:, body:)
  @integration_id = integration_id
  @custom_field_id = custom_field_id
  @body = body
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/kombo/models/operations/putintegrationsintegrationidcustomfieldscustomfieldid_request.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @integration_id == other.integration_id
  return false unless @custom_field_id == other.custom_field_id
  return false unless @body == other.body
  true
end