com.google.api.services.content.model.AccountStatusDataQualityIssue Maven / Gradle / Ivy
/*
* 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: 2015-01-14 17:53:03 UTC)
* on 2015-02-04 at 16:31:00 UTC
* Modify at your own risk.
*/
package com.google.api.services.content.model;
/**
* Model definition for AccountStatusDataQualityIssue.
*
* 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:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AccountStatusDataQualityIssue extends com.google.api.client.json.GenericJson {
/**
* Country for which this issue is reported.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String country;
/**
* Actual value displayed on the landing page.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayedValue;
/**
* Example items featuring the issue.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List exampleItems;
static {
// hack to force ProGuard to consider AccountStatusExampleItem used, since otherwise it would be stripped out
// see http://code.google.com/p/google-api-java-client/issues/detail?id=528
com.google.api.client.util.Data.nullOf(AccountStatusExampleItem.class);
}
/**
* Issue identifier.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* Last time the account was checked for this issue.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String lastChecked;
/**
* Number of items in the account found to have the said issue.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Long numItems;
/**
* Severity of the problem.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String severity;
/**
* Submitted value that causes the issue.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String submittedValue;
/**
* Country for which this issue is reported.
* @return value or {@code null} for none
*/
public java.lang.String getCountry() {
return country;
}
/**
* Country for which this issue is reported.
* @param country country or {@code null} for none
*/
public AccountStatusDataQualityIssue setCountry(java.lang.String country) {
this.country = country;
return this;
}
/**
* Actual value displayed on the landing page.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayedValue() {
return displayedValue;
}
/**
* Actual value displayed on the landing page.
* @param displayedValue displayedValue or {@code null} for none
*/
public AccountStatusDataQualityIssue setDisplayedValue(java.lang.String displayedValue) {
this.displayedValue = displayedValue;
return this;
}
/**
* Example items featuring the issue.
* @return value or {@code null} for none
*/
public java.util.List getExampleItems() {
return exampleItems;
}
/**
* Example items featuring the issue.
* @param exampleItems exampleItems or {@code null} for none
*/
public AccountStatusDataQualityIssue setExampleItems(java.util.List exampleItems) {
this.exampleItems = exampleItems;
return this;
}
/**
* Issue identifier.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* Issue identifier.
* @param id id or {@code null} for none
*/
public AccountStatusDataQualityIssue setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* Last time the account was checked for this issue.
* @return value or {@code null} for none
*/
public java.lang.String getLastChecked() {
return lastChecked;
}
/**
* Last time the account was checked for this issue.
* @param lastChecked lastChecked or {@code null} for none
*/
public AccountStatusDataQualityIssue setLastChecked(java.lang.String lastChecked) {
this.lastChecked = lastChecked;
return this;
}
/**
* Number of items in the account found to have the said issue.
* @return value or {@code null} for none
*/
public java.lang.Long getNumItems() {
return numItems;
}
/**
* Number of items in the account found to have the said issue.
* @param numItems numItems or {@code null} for none
*/
public AccountStatusDataQualityIssue setNumItems(java.lang.Long numItems) {
this.numItems = numItems;
return this;
}
/**
* Severity of the problem.
* @return value or {@code null} for none
*/
public java.lang.String getSeverity() {
return severity;
}
/**
* Severity of the problem.
* @param severity severity or {@code null} for none
*/
public AccountStatusDataQualityIssue setSeverity(java.lang.String severity) {
this.severity = severity;
return this;
}
/**
* Submitted value that causes the issue.
* @return value or {@code null} for none
*/
public java.lang.String getSubmittedValue() {
return submittedValue;
}
/**
* Submitted value that causes the issue.
* @param submittedValue submittedValue or {@code null} for none
*/
public AccountStatusDataQualityIssue setSubmittedValue(java.lang.String submittedValue) {
this.submittedValue = submittedValue;
return this;
}
@Override
public AccountStatusDataQualityIssue set(String fieldName, Object value) {
return (AccountStatusDataQualityIssue) super.set(fieldName, value);
}
@Override
public AccountStatusDataQualityIssue clone() {
return (AccountStatusDataQualityIssue) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy