Class: OpenApiSDK::Models::Operations::CreatePartnerLinkRequestBody
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::CreatePartnerLinkRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/createpartnerlink_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(key: nil, link_props: nil, partner_id: nil, tenant_id: nil, url: nil, comments: nil) ⇒ CreatePartnerLinkRequestBody
constructor
A new instance of CreatePartnerLinkRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(key: nil, link_props: nil, partner_id: nil, tenant_id: nil, url: nil, comments: nil) ⇒ CreatePartnerLinkRequestBody
Returns a new instance of CreatePartnerLinkRequestBody.
29 30 31 32 33 34 35 36 |
# File 'lib/open_api_sdk/models/operations/createpartnerlink_requestbody.rb', line 29 def initialize(key: nil, link_props: nil, partner_id: nil, tenant_id: nil, url: nil, comments: nil) @key = key @link_props = link_props @partner_id = partner_id @tenant_id = tenant_id @url = url @comments = comments end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/open_api_sdk/models/operations/createpartnerlink_requestbody.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @key == other.key return false unless @link_props == other.link_props return false unless @partner_id == other.partner_id return false unless @tenant_id == other.tenant_id return false unless @url == other.url return false unless @comments == other.comments true end |