Class: OpenApiSDK::Models::Operations::CreateTagRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name: nil, color: nil, tag: nil) ⇒ CreateTagRequestBody

Returns a new instance of CreateTagRequestBody.



25
26
27
28
29
# File 'lib/open_api_sdk/models/operations/createtag_requestbody.rb', line 25

def initialize(name: nil, color: nil, tag: nil)
  @name = name
  @color = color
  @tag = tag
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @name == other.name
  return false unless @color == other.color
  return false unless @tag == other.tag
  true
end