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 Account.** <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 Account extends com.google.api.client.json.GenericJson {/*** Indicates whether the merchant sells adult content.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.Boolean adultContent;/*** List of linked AdWords accounts.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<AccountAdwordsLink> adwordsLinks;/*** Merchant Center account ID.* The value may be {@code null}.*/@com.google.api.client.util.Key @com.google.api.client.json.JsonStringprivate java.math.BigInteger id;/*** Identifies what kind of resource this is. Value: the fixed string "content#account".* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String kind;/*** Display name for the account.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String name;/*** URL for individual seller reviews, i.e., reviews for each child account.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String reviewsUrl;/*** Client-specific, locally-unique, internal ID for the child account.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String sellerId;/*** Users with access to the account. Every account (except for subaccounts) must have at least one* admin user.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.util.List<AccountUser> users;static {// hack to force ProGuard to consider AccountUser 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(AccountUser.class);}/*** The merchant's website.* The value may be {@code null}.*/@com.google.api.client.util.Keyprivate java.lang.String websiteUrl;/*** Indicates whether the merchant sells adult content.* @return value or {@code null} for none*/public java.lang.Boolean getAdultContent() {return adultContent;}/*** Indicates whether the merchant sells adult content.* @param adultContent adultContent or {@code null} for none*/public Account setAdultContent(java.lang.Boolean adultContent) {this.adultContent = adultContent;return this;}/*** List of linked AdWords accounts.* @return value or {@code null} for none*/public java.util.List<AccountAdwordsLink> getAdwordsLinks() {return adwordsLinks;}/*** List of linked AdWords accounts.* @param adwordsLinks adwordsLinks or {@code null} for none*/public Account setAdwordsLinks(java.util.List<AccountAdwordsLink> adwordsLinks) {this.adwordsLinks = adwordsLinks;return this;}/*** Merchant Center account ID.* @return value or {@code null} for none*/public java.math.BigInteger getId() {return id;}/*** Merchant Center account ID.* @param id id or {@code null} for none*/public Account setId(java.math.BigInteger id) {this.id = id;return this;}/*** Identifies what kind of resource this is. Value: the fixed string "content#account".* @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#account".* @param kind kind or {@code null} for none*/public Account setKind(java.lang.String kind) {this.kind = kind;return this;}/*** Display name for the account.* @return value or {@code null} for none*/public java.lang.String getName() {return name;}/*** Display name for the account.* @param name name or {@code null} for none*/public Account setName(java.lang.String name) {this.name = name;return this;}/*** URL for individual seller reviews, i.e., reviews for each child account.* @return value or {@code null} for none*/public java.lang.String getReviewsUrl() {return reviewsUrl;}/*** URL for individual seller reviews, i.e., reviews for each child account.* @param reviewsUrl reviewsUrl or {@code null} for none*/public Account setReviewsUrl(java.lang.String reviewsUrl) {this.reviewsUrl = reviewsUrl;return this;}/*** Client-specific, locally-unique, internal ID for the child account.* @return value or {@code null} for none*/public java.lang.String getSellerId() {return sellerId;}/*** Client-specific, locally-unique, internal ID for the child account.* @param sellerId sellerId or {@code null} for none*/public Account setSellerId(java.lang.String sellerId) {this.sellerId = sellerId;return this;}/*** Users with access to the account. Every account (except for subaccounts) must have at least one* admin user.* @return value or {@code null} for none*/public java.util.List<AccountUser> getUsers() {return users;}/*** Users with access to the account. Every account (except for subaccounts) must have at least one* admin user.* @param users users or {@code null} for none*/public Account setUsers(java.util.List<AccountUser> users) {this.users = users;return this;}/*** The merchant's website.* @return value or {@code null} for none*/public java.lang.String getWebsiteUrl() {return websiteUrl;}/*** The merchant's website.* @param websiteUrl websiteUrl or {@code null} for none*/public Account setWebsiteUrl(java.lang.String websiteUrl) {this.websiteUrl = websiteUrl;return this;}@Overridepublic Account set(String fieldName, Object value) {return (Account) super.set(fieldName, value);}@Overridepublic Account clone() {return (Account) super.clone();}}