Class: OpenApiSDK::Models::Operations::UpdateTagRequestBody
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::UpdateTagRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/updatetag_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name: nil, color: nil, tag: nil) ⇒ UpdateTagRequestBody
constructor
A new instance of UpdateTagRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name: nil, color: nil, tag: nil) ⇒ UpdateTagRequestBody
Returns a new instance of UpdateTagRequestBody.
25 26 27 28 29 |
# File 'lib/open_api_sdk/models/operations/updatetag_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/updatetag_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 |