Class: OpenApiSDK::Models::Operations::CreateDomainRequestBody
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::CreateDomainRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/createdomain_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(slug:, expired_url: nil, not_found_url: nil, archived: false, placeholder: nil, logo: nil, asset_links: nil, apple_app_site_association: nil) ⇒ CreateDomainRequestBody
constructor
A new instance of CreateDomainRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(slug:, expired_url: nil, not_found_url: nil, archived: false, placeholder: nil, logo: nil, asset_links: nil, apple_app_site_association: nil) ⇒ CreateDomainRequestBody
Returns a new instance of CreateDomainRequestBody.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/open_api_sdk/models/operations/createdomain_requestbody.rb', line 33 def initialize(slug:, expired_url: nil, not_found_url: nil, archived: false, placeholder: nil, logo: nil, asset_links: nil, apple_app_site_association: nil) @slug = slug @expired_url = expired_url @not_found_url = not_found_url @archived = archived @placeholder = placeholder @logo = logo @asset_links = asset_links @apple_app_site_association = apple_app_site_association end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/open_api_sdk/models/operations/createdomain_requestbody.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @slug == other.slug return false unless @expired_url == other.expired_url return false unless @not_found_url == other.not_found_url return false unless @archived == other.archived return false unless @placeholder == other.placeholder return false unless @logo == other.logo return false unless @asset_links == other.asset_links return false unless @apple_app_site_association == other.apple_app_site_association true end |