Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12291 manish.sha 1
/*
2
 * Copyright 2010 Google Inc.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5
 * in compliance with the License. You may obtain a copy of the License at
6
 *
7
 * http://www.apache.org/licenses/LICENSE-2.0
8
 *
9
 * Unless required by applicable law or agreed to in writing, software distributed under the License
10
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
 * or implied. See the License for the specific language governing permissions and limitations under
12
 * the License.
13
 */
14
/*
15
 * This code was generated by https://code.google.com/p/google-apis-client-generator/
16
 * (build: 2014-07-09 17:08:39 UTC)
17
 * on 2014-07-23 at 21:49:03 UTC 
18
 * Modify at your own risk.
19
 */
20
 
21
package com.google.api.services.content.model;
22
 
23
/**
24
 * Model definition for Account.
25
 *
26
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
27
 * transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation
28
 * see:
29
 * <a href="http://code.google.com/p/google-http-java-client/wiki/JSON">http://code.google.com/p/google-http-java-client/wiki/JSON</a>
30
 * </p>
31
 *
32
 * @author Google, Inc.
33
 */
34
@SuppressWarnings("javadoc")
35
public final class Account extends com.google.api.client.json.GenericJson {
36
 
37
  /**
38
   * Indicates whether the merchant sells adult content.
39
   * The value may be {@code null}.
40
   */
41
  @com.google.api.client.util.Key
42
  private java.lang.Boolean adultContent;
43
 
44
  /**
45
   * List of linked AdWords accounts.
46
   * The value may be {@code null}.
47
   */
48
  @com.google.api.client.util.Key
49
  private java.util.List<AccountAdwordsLink> adwordsLinks;
50
 
51
  /**
52
   * Merchant Center account ID.
53
   * The value may be {@code null}.
54
   */
55
  @com.google.api.client.util.Key @com.google.api.client.json.JsonString
56
  private java.math.BigInteger id;
57
 
58
  /**
59
   * Identifies what kind of resource this is. Value: the fixed string "content#account".
60
   * The value may be {@code null}.
61
   */
62
  @com.google.api.client.util.Key
63
  private java.lang.String kind;
64
 
65
  /**
66
   * Display name for the account.
67
   * The value may be {@code null}.
68
   */
69
  @com.google.api.client.util.Key
70
  private java.lang.String name;
71
 
72
  /**
73
   * URL for individual seller reviews, i.e., reviews for each child account.
74
   * The value may be {@code null}.
75
   */
76
  @com.google.api.client.util.Key
77
  private java.lang.String reviewsUrl;
78
 
79
  /**
80
   * Client-specific, locally-unique, internal ID for the child account.
81
   * The value may be {@code null}.
82
   */
83
  @com.google.api.client.util.Key
84
  private java.lang.String sellerId;
85
 
86
  /**
87
   * Users with access to the account. Every account (except for subaccounts) must have at least one
88
   * admin user.
89
   * The value may be {@code null}.
90
   */
91
  @com.google.api.client.util.Key
92
  private java.util.List<AccountUser> users;
93
 
94
  static {
95
    // hack to force ProGuard to consider AccountUser used, since otherwise it would be stripped out
96
    // see http://code.google.com/p/google-api-java-client/issues/detail?id=528
97
    com.google.api.client.util.Data.nullOf(AccountUser.class);
98
  }
99
 
100
  /**
101
   * The merchant's website.
102
   * The value may be {@code null}.
103
   */
104
  @com.google.api.client.util.Key
105
  private java.lang.String websiteUrl;
106
 
107
  /**
108
   * Indicates whether the merchant sells adult content.
109
   * @return value or {@code null} for none
110
   */
111
  public java.lang.Boolean getAdultContent() {
112
    return adultContent;
113
  }
114
 
115
  /**
116
   * Indicates whether the merchant sells adult content.
117
   * @param adultContent adultContent or {@code null} for none
118
   */
119
  public Account setAdultContent(java.lang.Boolean adultContent) {
120
    this.adultContent = adultContent;
121
    return this;
122
  }
123
 
124
  /**
125
   * List of linked AdWords accounts.
126
   * @return value or {@code null} for none
127
   */
128
  public java.util.List<AccountAdwordsLink> getAdwordsLinks() {
129
    return adwordsLinks;
130
  }
131
 
132
  /**
133
   * List of linked AdWords accounts.
134
   * @param adwordsLinks adwordsLinks or {@code null} for none
135
   */
136
  public Account setAdwordsLinks(java.util.List<AccountAdwordsLink> adwordsLinks) {
137
    this.adwordsLinks = adwordsLinks;
138
    return this;
139
  }
140
 
141
  /**
142
   * Merchant Center account ID.
143
   * @return value or {@code null} for none
144
   */
145
  public java.math.BigInteger getId() {
146
    return id;
147
  }
148
 
149
  /**
150
   * Merchant Center account ID.
151
   * @param id id or {@code null} for none
152
   */
153
  public Account setId(java.math.BigInteger id) {
154
    this.id = id;
155
    return this;
156
  }
157
 
158
  /**
159
   * Identifies what kind of resource this is. Value: the fixed string "content#account".
160
   * @return value or {@code null} for none
161
   */
162
  public java.lang.String getKind() {
163
    return kind;
164
  }
165
 
166
  /**
167
   * Identifies what kind of resource this is. Value: the fixed string "content#account".
168
   * @param kind kind or {@code null} for none
169
   */
170
  public Account setKind(java.lang.String kind) {
171
    this.kind = kind;
172
    return this;
173
  }
174
 
175
  /**
176
   * Display name for the account.
177
   * @return value or {@code null} for none
178
   */
179
  public java.lang.String getName() {
180
    return name;
181
  }
182
 
183
  /**
184
   * Display name for the account.
185
   * @param name name or {@code null} for none
186
   */
187
  public Account setName(java.lang.String name) {
188
    this.name = name;
189
    return this;
190
  }
191
 
192
  /**
193
   * URL for individual seller reviews, i.e., reviews for each child account.
194
   * @return value or {@code null} for none
195
   */
196
  public java.lang.String getReviewsUrl() {
197
    return reviewsUrl;
198
  }
199
 
200
  /**
201
   * URL for individual seller reviews, i.e., reviews for each child account.
202
   * @param reviewsUrl reviewsUrl or {@code null} for none
203
   */
204
  public Account setReviewsUrl(java.lang.String reviewsUrl) {
205
    this.reviewsUrl = reviewsUrl;
206
    return this;
207
  }
208
 
209
  /**
210
   * Client-specific, locally-unique, internal ID for the child account.
211
   * @return value or {@code null} for none
212
   */
213
  public java.lang.String getSellerId() {
214
    return sellerId;
215
  }
216
 
217
  /**
218
   * Client-specific, locally-unique, internal ID for the child account.
219
   * @param sellerId sellerId or {@code null} for none
220
   */
221
  public Account setSellerId(java.lang.String sellerId) {
222
    this.sellerId = sellerId;
223
    return this;
224
  }
225
 
226
  /**
227
   * Users with access to the account. Every account (except for subaccounts) must have at least one
228
   * admin user.
229
   * @return value or {@code null} for none
230
   */
231
  public java.util.List<AccountUser> getUsers() {
232
    return users;
233
  }
234
 
235
  /**
236
   * Users with access to the account. Every account (except for subaccounts) must have at least one
237
   * admin user.
238
   * @param users users or {@code null} for none
239
   */
240
  public Account setUsers(java.util.List<AccountUser> users) {
241
    this.users = users;
242
    return this;
243
  }
244
 
245
  /**
246
   * The merchant's website.
247
   * @return value or {@code null} for none
248
   */
249
  public java.lang.String getWebsiteUrl() {
250
    return websiteUrl;
251
  }
252
 
253
  /**
254
   * The merchant's website.
255
   * @param websiteUrl websiteUrl or {@code null} for none
256
   */
257
  public Account setWebsiteUrl(java.lang.String websiteUrl) {
258
    this.websiteUrl = websiteUrl;
259
    return this;
260
  }
261
 
262
  @Override
263
  public Account set(String fieldName, Object value) {
264
    return (Account) super.set(fieldName, value);
265
  }
266
 
267
  @Override
268
  public Account clone() {
269
    return (Account) super.clone();
270
  }
271
 
272
}