Class: OpenApiSDK::Models::Operations::CreatePartnerFields3

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(key:, label:, required:, locked:, position:, type:, options:) ⇒ CreatePartnerFields3

Returns a new instance of CreatePartnerFields3.



31
32
33
34
35
36
37
38
39
# File 'lib/open_api_sdk/models/operations/createpartner_fields_3.rb', line 31

def initialize(key:, label:, required:, locked:, position:, type:, options:)
  @key = key
  @label = label
  @required = required
  @locked = locked
  @position = position
  @type = type
  @options = options
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
# File 'lib/open_api_sdk/models/operations/createpartner_fields_3.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @key == other.key
  return false unless @label == other.label
  return false unless @required == other.required
  return false unless @locked == other.locked
  return false unless @position == other.position
  return false unless @type == other.type
  return false unless @options == other.options
  true
end