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
 * The status of a product, i.e., information about a product computed asynchronously by the data
25
 * quality analysis.
26
 *
27
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
28
 * transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation
29
 * see:
30
 * <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>
31
 * </p>
32
 *
33
 * @author Google, Inc.
34
 */
35
@SuppressWarnings("javadoc")
36
public final class ProductStatus extends com.google.api.client.json.GenericJson {
37
 
38
  /**
39
   * A list of data quality issues associated with the product.
40
   * The value may be {@code null}.
41
   */
42
  @com.google.api.client.util.Key
43
  private java.util.List<ProductStatusDataQualityIssue> dataQualityIssues;
44
 
45
  /**
46
   * The intended destinations for the product.
47
   * The value may be {@code null}.
48
   */
49
  @com.google.api.client.util.Key
50
  private java.util.List<ProductStatusDestinationStatus> destinationStatuses;
51
 
52
  /**
53
   * Identifies what kind of resource this is. Value: the fixed string "content#productStatus".
54
   * The value may be {@code null}.
55
   */
56
  @com.google.api.client.util.Key
57
  private java.lang.String kind;
58
 
59
  /**
60
   * The link to the product.
61
   * The value may be {@code null}.
62
   */
63
  @com.google.api.client.util.Key
64
  private java.lang.String link;
65
 
66
  /**
67
   * The id of the product for which status is reported.
68
   * The value may be {@code null}.
69
   */
70
  @com.google.api.client.util.Key
71
  private java.lang.String productId;
72
 
73
  /**
74
   * The title of the product.
75
   * The value may be {@code null}.
76
   */
77
  @com.google.api.client.util.Key
78
  private java.lang.String title;
79
 
80
  /**
81
   * A list of data quality issues associated with the product.
82
   * @return value or {@code null} for none
83
   */
84
  public java.util.List<ProductStatusDataQualityIssue> getDataQualityIssues() {
85
    return dataQualityIssues;
86
  }
87
 
88
  /**
89
   * A list of data quality issues associated with the product.
90
   * @param dataQualityIssues dataQualityIssues or {@code null} for none
91
   */
92
  public ProductStatus setDataQualityIssues(java.util.List<ProductStatusDataQualityIssue> dataQualityIssues) {
93
    this.dataQualityIssues = dataQualityIssues;
94
    return this;
95
  }
96
 
97
  /**
98
   * The intended destinations for the product.
99
   * @return value or {@code null} for none
100
   */
101
  public java.util.List<ProductStatusDestinationStatus> getDestinationStatuses() {
102
    return destinationStatuses;
103
  }
104
 
105
  /**
106
   * The intended destinations for the product.
107
   * @param destinationStatuses destinationStatuses or {@code null} for none
108
   */
109
  public ProductStatus setDestinationStatuses(java.util.List<ProductStatusDestinationStatus> destinationStatuses) {
110
    this.destinationStatuses = destinationStatuses;
111
    return this;
112
  }
113
 
114
  /**
115
   * Identifies what kind of resource this is. Value: the fixed string "content#productStatus".
116
   * @return value or {@code null} for none
117
   */
118
  public java.lang.String getKind() {
119
    return kind;
120
  }
121
 
122
  /**
123
   * Identifies what kind of resource this is. Value: the fixed string "content#productStatus".
124
   * @param kind kind or {@code null} for none
125
   */
126
  public ProductStatus setKind(java.lang.String kind) {
127
    this.kind = kind;
128
    return this;
129
  }
130
 
131
  /**
132
   * The link to the product.
133
   * @return value or {@code null} for none
134
   */
135
  public java.lang.String getLink() {
136
    return link;
137
  }
138
 
139
  /**
140
   * The link to the product.
141
   * @param link link or {@code null} for none
142
   */
143
  public ProductStatus setLink(java.lang.String link) {
144
    this.link = link;
145
    return this;
146
  }
147
 
148
  /**
149
   * The id of the product for which status is reported.
150
   * @return value or {@code null} for none
151
   */
152
  public java.lang.String getProductId() {
153
    return productId;
154
  }
155
 
156
  /**
157
   * The id of the product for which status is reported.
158
   * @param productId productId or {@code null} for none
159
   */
160
  public ProductStatus setProductId(java.lang.String productId) {
161
    this.productId = productId;
162
    return this;
163
  }
164
 
165
  /**
166
   * The title of the product.
167
   * @return value or {@code null} for none
168
   */
169
  public java.lang.String getTitle() {
170
    return title;
171
  }
172
 
173
  /**
174
   * The title of the product.
175
   * @param title title or {@code null} for none
176
   */
177
  public ProductStatus setTitle(java.lang.String title) {
178
    this.title = title;
179
    return this;
180
  }
181
 
182
  @Override
183
  public ProductStatus set(String fieldName, Object value) {
184
    return (ProductStatus) super.set(fieldName, value);
185
  }
186
 
187
  @Override
188
  public ProductStatus clone() {
189
    return (ProductStatus) super.clone();
190
  }
191
 
192
}