Class: OpenApiSDK::Models::Operations::CreateLinkRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(url:, domain: nil, key: nil, key_length: nil, prefix: nil, track_conversion: nil, archived: nil, tag_ids: nil, tag_names: nil, proxy: nil, rewrite: nil, do_index: nil, public_stats: nil, external_id: nil, tenant_id: nil, program_id: nil, partner_id: nil, folder_id: nil, comments: nil, expires_at: nil, expired_url: nil, password: nil, title: nil, description: nil, image: nil, video: nil, ios: nil, android: nil, geo: nil, utm_source: nil, utm_medium: nil, utm_campaign: nil, utm_term: nil, utm_content: nil, ref: nil, webhook_ids: nil, test_variants: nil, test_started_at: nil, test_completed_at: nil, tag_id: nil) ⇒ CreateLinkRequestBody

Returns a new instance of CreateLinkRequestBody.



101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/open_api_sdk/models/operations/createlink_requestbody.rb', line 101

def initialize(url:, domain: nil, key: nil, key_length: nil, prefix: nil, track_conversion: nil, archived: nil, tag_ids: nil, tag_names: nil, proxy: nil, rewrite: nil, do_index: nil, public_stats: nil, external_id: nil, tenant_id: nil, program_id: nil, partner_id: nil, folder_id: nil, comments: nil, expires_at: nil, expired_url: nil, password: nil, title: nil, description: nil, image: nil, video: nil, ios: nil, android: nil, geo: nil, utm_source: nil, utm_medium: nil, utm_campaign: nil, utm_term: nil, utm_content: nil, ref: nil, webhook_ids: nil, test_variants: nil, test_started_at: nil, test_completed_at: nil, tag_id: nil)
  @url = url
  @domain = domain
  @key = key
  @key_length = key_length
  @prefix = prefix
  @track_conversion = track_conversion
  @archived = archived
  @tag_ids = tag_ids
  @tag_names = tag_names
  @proxy = proxy
  @rewrite = rewrite
  @do_index = do_index
  @public_stats = public_stats
  @external_id = external_id
  @tenant_id = tenant_id
  @program_id = program_id
  @partner_id = partner_id
  @folder_id = folder_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
  @geo = geo
  @utm_source = utm_source
  @utm_medium = utm_medium
  @utm_campaign = utm_campaign
  @utm_term = utm_term
  @utm_content = utm_content
  @ref = ref
  @webhook_ids = webhook_ids
  @test_variants = test_variants
  @test_started_at = test_started_at
  @test_completed_at = test_completed_at
  @tag_id = tag_id
end

Instance Method Details

#==(other) ⇒ Object



145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'lib/open_api_sdk/models/operations/createlink_requestbody.rb', line 145

def ==(other)
  return false unless other.is_a? self.class
  return false unless @url == other.url
  return false unless @domain == other.domain
  return false unless @key == other.key
  return false unless @key_length == other.key_length
  return false unless @prefix == other.prefix
  return false unless @track_conversion == other.track_conversion
  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 @public_stats == other.public_stats
  return false unless @external_id == other.external_id
  return false unless @tenant_id == other.tenant_id
  return false unless @program_id == other.program_id
  return false unless @partner_id == other.partner_id
  return false unless @folder_id == other.folder_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 @geo == other.geo
  return false unless @utm_source == other.utm_source
  return false unless @utm_medium == other.utm_medium
  return false unless @utm_campaign == other.utm_campaign
  return false unless @utm_term == other.utm_term
  return false unless @utm_content == other.utm_content
  return false unless @ref == other.ref
  return false unless @webhook_ids == other.webhook_ids
  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
  return false unless @tag_id == other.tag_id
  true
end