Class: OpenApiSDK::Models::Operations::CreateReferralsEmbedTokenLinkProps

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

Overview

Additional properties that you can pass to the partner’s short link. Will be used to override the default link properties for this partner.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(key_length: nil, prefix: nil, archived: nil, tag_ids: nil, tag_names: nil, proxy: nil, rewrite: nil, do_index: nil, external_id: nil, tenant_id: nil, comments: nil, expires_at: nil, expired_url: nil, password: nil, title: nil, description: nil, image: nil, video: nil, ios: nil, android: nil, test_variants: nil, test_started_at: nil, test_completed_at: nil) ⇒ CreateReferralsEmbedTokenLinkProps

Returns a new instance of CreateReferralsEmbedTokenLinkProps.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/open_api_sdk/models/operations/createreferralsembedtoken_linkprops.rb', line 63

def initialize(key_length: nil, prefix: nil, archived: nil, tag_ids: nil, tag_names: nil, proxy: nil, rewrite: nil, do_index: nil, external_id: nil, tenant_id: nil, comments: nil, expires_at: nil, expired_url: nil, password: nil, title: nil, description: nil, image: nil, video: nil, ios: nil, android: nil, test_variants: nil, test_started_at: nil, test_completed_at: nil)
  @key_length = key_length
  @prefix = prefix
  @archived = archived
  @tag_ids = tag_ids
  @tag_names = tag_names
  @proxy = proxy
  @rewrite = rewrite
  @do_index = do_index
  @external_id = external_id
  @tenant_id = tenant_id
  @comments = comments
  @expires_at = expires_at
  @expired_url = expired_url
  @password = password
  @title = title
  @description = description
  @image = image
  @video = video
  @ios = ios
  @android = android
  @test_variants = test_variants
  @test_started_at = test_started_at
  @test_completed_at = test_completed_at
end

Instance Method Details

#==(other) ⇒ Object



90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'lib/open_api_sdk/models/operations/createreferralsembedtoken_linkprops.rb', line 90

def ==(other)
  return false unless other.is_a? self.class
  return false unless @key_length == other.key_length
  return false unless @prefix == other.prefix
  return false unless @archived == other.archived
  return false unless @tag_ids == other.tag_ids
  return false unless @tag_names == other.tag_names
  return false unless @proxy == other.proxy
  return false unless @rewrite == other.rewrite
  return false unless @do_index == other.do_index
  return false unless @external_id == other.external_id
  return false unless @tenant_id == other.tenant_id
  return false unless @comments == other.comments
  return false unless @expires_at == other.expires_at
  return false unless @expired_url == other.expired_url
  return false unless @password == other.password
  return false unless @title == other.title
  return false unless @description == other.description
  return false unless @image == other.image
  return false unless @video == other.video
  return false unless @ios == other.ios
  return false unless @android == other.android
  return false unless @test_variants == other.test_variants
  return false unless @test_started_at == other.test_started_at
  return false unless @test_completed_at == other.test_completed_at
  true
end