Class: OpenApiSDK::Models::Shared::DomainSchema

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, slug:, created_at:, updated_at:, placeholder: nil, expired_url: nil, not_found_url: nil, logo: nil, registered_domain: nil, verified: false, primary: false, archived: false, asset_links: nil, apple_app_site_association: nil) ⇒ DomainSchema

Returns a new instance of DomainSchema.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/open_api_sdk/models/shared/domainschema.rb', line 45

def initialize(id:, slug:, created_at:, updated_at:, placeholder: nil, expired_url: nil, not_found_url: nil, logo: nil, registered_domain: nil, verified: false, primary: false, archived: false, asset_links: nil, apple_app_site_association: nil)
  @id = id
  @slug = slug
  @created_at = created_at
  @updated_at = updated_at
  @placeholder = placeholder
  @expired_url = expired_url
  @not_found_url = not_found_url
  @logo = 
  @registered_domain = registered_domain
  @verified = verified
  @primary = primary
  @archived = archived
  @asset_links = asset_links
  @apple_app_site_association = apple_app_site_association
end

Instance Method Details

#==(other) ⇒ Object



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/open_api_sdk/models/shared/domainschema.rb', line 63

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @slug == other.slug
  return false unless @created_at == other.created_at
  return false unless @updated_at == other.updated_at
  return false unless @placeholder == other.placeholder
  return false unless @expired_url == other.expired_url
  return false unless @not_found_url == other.not_found_url
  return false unless @logo == other.
  return false unless @registered_domain == other.registered_domain
  return false unless @verified == other.verified
  return false unless @primary == other.primary
  return false unless @archived == other.archived
  return false unless @asset_links == other.asset_links
  return false unless @apple_app_site_association == other.apple_app_site_association
  true
end