Blame | Last modification | View Log | RSS feed
/** Copyright 2010 Google Inc.** Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except* in compliance with the License. You may obtain a copy of the License at** http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software distributed under the License* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express* or implied. See the License for the specific language governing permissions and limitations under* the License.*//** This code was generated by https://code.google.com/p/google-apis-client-generator/* (build: 2014-07-09 17:08:39 UTC)* on 2014-07-23 at 21:49:03 UTC* Modify at your own risk.*/package com.google.api.services.content.model;/*** Model definition for DatafeedStatus.** <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is* transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation* see:* <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>* </p>** @author Google, Inc.*/@SuppressWarnings("javadoc")public final class DatafeedStatus extends com.google.api.client.json.GenericJson {/*** The ID of the feed for which the status is reported.* The value may be {@code null}.*/@com.google.api.client.util.Key @com.google.api.client.json.JsonStringprivate java.math.BigInteger datafeedId;/*** The list of errors occurring in the feed.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<DatafeedStatusError> errors;static {// hack to force ProGuard to consider DatafeedStatusError used, since otherwise it would be stripped out// see http://code.google.com/p/google-api-java-client/issues/detail?id=528com.google.api.client.util.Data.nullOf(DatafeedStatusError.class);}/*** The number of items in the feed that were processed.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.Integer itemsTotal;/*** The number of items in the feed that were valid.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.Integer itemsValid;/*** Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String kind;/*** The processing status of the feed.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String processingStatus;/*** The list of errors occurring in the feed.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<DatafeedStatusError> warnings;static {// hack to force ProGuard to consider DatafeedStatusError used, since otherwise it would be stripped out// see http://code.google.com/p/google-api-java-client/issues/detail?id=528com.google.api.client.util.Data.nullOf(DatafeedStatusError.class);}/*** The ID of the feed for which the status is reported.* @return value or {@code null} for none*/public java.math.BigInteger getDatafeedId() {return datafeedId;}/*** The ID of the feed for which the status is reported.* @param datafeedId datafeedId or {@code null} for none*/public DatafeedStatus setDatafeedId(java.math.BigInteger datafeedId) {this.datafeedId = datafeedId;return this;}/*** The list of errors occurring in the feed.* @return value or {@code null} for none*/public java.util.List<DatafeedStatusError> getErrors() {return errors;}/*** The list of errors occurring in the feed.* @param errors errors or {@code null} for none*/public DatafeedStatus setErrors(java.util.List<DatafeedStatusError> errors) {this.errors = errors;return this;}/*** The number of items in the feed that were processed.* @return value or {@code null} for none*/public java.lang.Integer getItemsTotal() {return itemsTotal;}/*** The number of items in the feed that were processed.* @param itemsTotal itemsTotal or {@code null} for none*/public DatafeedStatus setItemsTotal(java.lang.Integer itemsTotal) {this.itemsTotal = itemsTotal;return this;}/*** The number of items in the feed that were valid.* @return value or {@code null} for none*/public java.lang.Integer getItemsValid() {return itemsValid;}/*** The number of items in the feed that were valid.* @param itemsValid itemsValid or {@code null} for none*/public DatafeedStatus setItemsValid(java.lang.Integer itemsValid) {this.itemsValid = itemsValid;return this;}/*** Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".* @return value or {@code null} for none*/public java.lang.String getKind() {return kind;}/*** Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".* @param kind kind or {@code null} for none*/public DatafeedStatus setKind(java.lang.String kind) {this.kind = kind;return this;}/*** The processing status of the feed.* @return value or {@code null} for none*/public java.lang.String getProcessingStatus() {return processingStatus;}/*** The processing status of the feed.* @param processingStatus processingStatus or {@code null} for none*/public DatafeedStatus setProcessingStatus(java.lang.String processingStatus) {this.processingStatus = processingStatus;return this;}/*** The list of errors occurring in the feed.* @return value or {@code null} for none*/public java.util.List<DatafeedStatusError> getWarnings() {return warnings;}/*** The list of errors occurring in the feed.* @param warnings warnings or {@code null} for none*/public DatafeedStatus setWarnings(java.util.List<DatafeedStatusError> warnings) {this.warnings = warnings;return this;}@Overridepublic DatafeedStatus set(String fieldName, Object value) {return (DatafeedStatus) super.set(fieldName, value);}@Overridepublic DatafeedStatus clone() {return (DatafeedStatus) super.clone();}}