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 Datafeed.
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 Datafeed extends com.google.api.client.json.GenericJson {
36
 
37
  /**
38
   * The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
39
   * The value may be {@code null}.
40
   */
41
  @com.google.api.client.util.Key
42
  private java.lang.String attributeLanguage;
43
 
44
  /**
45
   * The two-letter ISO 639-1 language of the items in the feed.
46
   * The value may be {@code null}.
47
   */
48
  @com.google.api.client.util.Key
49
  private java.lang.String contentLanguage;
50
 
51
  /**
52
   * The type of data feed.
53
   * The value may be {@code null}.
54
   */
55
  @com.google.api.client.util.Key
56
  private java.lang.String contentType;
57
 
58
  /**
59
   * Fetch schedule for the feed file.
60
   * The value may be {@code null}.
61
   */
62
  @com.google.api.client.util.Key
63
  private DatafeedFetchSchedule fetchSchedule;
64
 
65
  /**
66
   * The filename of the feed. All feeds must have a unique file name.
67
   * The value may be {@code null}.
68
   */
69
  @com.google.api.client.util.Key
70
  private java.lang.String fileName;
71
 
72
  /**
73
   * Format of the feed file.
74
   * The value may be {@code null}.
75
   */
76
  @com.google.api.client.util.Key
77
  private DatafeedFormat format;
78
 
79
  /**
80
   * The ID of the data feed.
81
   * The value may be {@code null}.
82
   */
83
  @com.google.api.client.util.Key @com.google.api.client.json.JsonString
84
  private java.lang.Long id;
85
 
86
  /**
87
   * The list of intended destinations (corresponds to checked check boxes in Merchant Center).
88
   * The value may be {@code null}.
89
   */
90
  @com.google.api.client.util.Key
91
  private java.util.List<java.lang.String> intendedDestinations;
92
 
93
  /**
94
   * Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
95
   * The value may be {@code null}.
96
   */
97
  @com.google.api.client.util.Key
98
  private java.lang.String kind;
99
 
100
  /**
101
   * A descriptive name of the data feed.
102
   * The value may be {@code null}.
103
   */
104
  @com.google.api.client.util.Key
105
  private java.lang.String name;
106
 
107
  /**
108
   * The two-letter ISO 3166 country where the items in the feed will be included in the search
109
   * index.
110
   * The value may be {@code null}.
111
   */
112
  @com.google.api.client.util.Key
113
  private java.lang.String targetCountry;
114
 
115
  /**
116
   * The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
117
   * @return value or {@code null} for none
118
   */
119
  public java.lang.String getAttributeLanguage() {
120
    return attributeLanguage;
121
  }
122
 
123
  /**
124
   * The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
125
   * @param attributeLanguage attributeLanguage or {@code null} for none
126
   */
127
  public Datafeed setAttributeLanguage(java.lang.String attributeLanguage) {
128
    this.attributeLanguage = attributeLanguage;
129
    return this;
130
  }
131
 
132
  /**
133
   * The two-letter ISO 639-1 language of the items in the feed.
134
   * @return value or {@code null} for none
135
   */
136
  public java.lang.String getContentLanguage() {
137
    return contentLanguage;
138
  }
139
 
140
  /**
141
   * The two-letter ISO 639-1 language of the items in the feed.
142
   * @param contentLanguage contentLanguage or {@code null} for none
143
   */
144
  public Datafeed setContentLanguage(java.lang.String contentLanguage) {
145
    this.contentLanguage = contentLanguage;
146
    return this;
147
  }
148
 
149
  /**
150
   * The type of data feed.
151
   * @return value or {@code null} for none
152
   */
153
  public java.lang.String getContentType() {
154
    return contentType;
155
  }
156
 
157
  /**
158
   * The type of data feed.
159
   * @param contentType contentType or {@code null} for none
160
   */
161
  public Datafeed setContentType(java.lang.String contentType) {
162
    this.contentType = contentType;
163
    return this;
164
  }
165
 
166
  /**
167
   * Fetch schedule for the feed file.
168
   * @return value or {@code null} for none
169
   */
170
  public DatafeedFetchSchedule getFetchSchedule() {
171
    return fetchSchedule;
172
  }
173
 
174
  /**
175
   * Fetch schedule for the feed file.
176
   * @param fetchSchedule fetchSchedule or {@code null} for none
177
   */
178
  public Datafeed setFetchSchedule(DatafeedFetchSchedule fetchSchedule) {
179
    this.fetchSchedule = fetchSchedule;
180
    return this;
181
  }
182
 
183
  /**
184
   * The filename of the feed. All feeds must have a unique file name.
185
   * @return value or {@code null} for none
186
   */
187
  public java.lang.String getFileName() {
188
    return fileName;
189
  }
190
 
191
  /**
192
   * The filename of the feed. All feeds must have a unique file name.
193
   * @param fileName fileName or {@code null} for none
194
   */
195
  public Datafeed setFileName(java.lang.String fileName) {
196
    this.fileName = fileName;
197
    return this;
198
  }
199
 
200
  /**
201
   * Format of the feed file.
202
   * @return value or {@code null} for none
203
   */
204
  public DatafeedFormat getFormat() {
205
    return format;
206
  }
207
 
208
  /**
209
   * Format of the feed file.
210
   * @param format format or {@code null} for none
211
   */
212
  public Datafeed setFormat(DatafeedFormat format) {
213
    this.format = format;
214
    return this;
215
  }
216
 
217
  /**
218
   * The ID of the data feed.
219
   * @return value or {@code null} for none
220
   */
221
  public java.lang.Long getId() {
222
    return id;
223
  }
224
 
225
  /**
226
   * The ID of the data feed.
227
   * @param id id or {@code null} for none
228
   */
229
  public Datafeed setId(java.lang.Long id) {
230
    this.id = id;
231
    return this;
232
  }
233
 
234
  /**
235
   * The list of intended destinations (corresponds to checked check boxes in Merchant Center).
236
   * @return value or {@code null} for none
237
   */
238
  public java.util.List<java.lang.String> getIntendedDestinations() {
239
    return intendedDestinations;
240
  }
241
 
242
  /**
243
   * The list of intended destinations (corresponds to checked check boxes in Merchant Center).
244
   * @param intendedDestinations intendedDestinations or {@code null} for none
245
   */
246
  public Datafeed setIntendedDestinations(java.util.List<java.lang.String> intendedDestinations) {
247
    this.intendedDestinations = intendedDestinations;
248
    return this;
249
  }
250
 
251
  /**
252
   * Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
253
   * @return value or {@code null} for none
254
   */
255
  public java.lang.String getKind() {
256
    return kind;
257
  }
258
 
259
  /**
260
   * Identifies what kind of resource this is. Value: the fixed string "content#datafeed".
261
   * @param kind kind or {@code null} for none
262
   */
263
  public Datafeed setKind(java.lang.String kind) {
264
    this.kind = kind;
265
    return this;
266
  }
267
 
268
  /**
269
   * A descriptive name of the data feed.
270
   * @return value or {@code null} for none
271
   */
272
  public java.lang.String getName() {
273
    return name;
274
  }
275
 
276
  /**
277
   * A descriptive name of the data feed.
278
   * @param name name or {@code null} for none
279
   */
280
  public Datafeed setName(java.lang.String name) {
281
    this.name = name;
282
    return this;
283
  }
284
 
285
  /**
286
   * The two-letter ISO 3166 country where the items in the feed will be included in the search
287
   * index.
288
   * @return value or {@code null} for none
289
   */
290
  public java.lang.String getTargetCountry() {
291
    return targetCountry;
292
  }
293
 
294
  /**
295
   * The two-letter ISO 3166 country where the items in the feed will be included in the search
296
   * index.
297
   * @param targetCountry targetCountry or {@code null} for none
298
   */
299
  public Datafeed setTargetCountry(java.lang.String targetCountry) {
300
    this.targetCountry = targetCountry;
301
    return this;
302
  }
303
 
304
  @Override
305
  public Datafeed set(String fieldName, Object value) {
306
    return (Datafeed) super.set(fieldName, value);
307
  }
308
 
309
  @Override
310
  public Datafeed clone() {
311
    return (Datafeed) super.clone();
312
  }
313
 
314
}