All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.content.model.Account Maven / Gradle / Ivy

There is a newer version: v2.1-rev20240825-2.0.0
Show newest version
/*
 * 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://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.content.model;

/**
 * Account data. After the creation of a new account it may take a few minutes before it's fully
 * operational. The methods delete, insert, and update require the admin role.
 *
 * 

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: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class Account extends com.google.api.client.json.GenericJson { /** * Output only. How the account is managed. Acceptable values are: - "`manual`" - "`automatic`" * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String accountManagement; /** * Linked Ads accounts that are active or pending approval. To create a new link request, add a * new link with status `active` to the list. It will remain in a `pending` state until approved * or rejected either in the Ads interface or through the Google Ads API. To delete an active * link, or to cancel a link request, remove it from the list. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List adsLinks; /** * Indicates whether the merchant sells adult content. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean adultContent; /** * The automatic improvements of the account can be used to automatically update items, improve * images and shipping. Each section inside AutomaticImprovements is updated separately. * The value may be {@code null}. */ @com.google.api.client.util.Key private AccountAutomaticImprovements automaticImprovements; /** * Automatically created label IDs that are assigned to the account by CSS Center. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.util.List automaticLabelIds; /** * The business identity attributes can be used to self-declare attributes that let customers know * more about your business. * The value may be {@code null}. */ @com.google.api.client.util.Key private AccountBusinessIdentity businessIdentity; /** * The business information of the account. * The value may be {@code null}. */ @com.google.api.client.util.Key private AccountBusinessInformation businessInformation; /** * Settings for conversion tracking. * The value may be {@code null}. */ @com.google.api.client.util.Key private AccountConversionSettings conversionSettings; /** * ID of CSS the account belongs to. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.math.BigInteger cssId; /** * The Business Profile which is linked or in the process of being linked with the Merchant Center * account. * The value may be {@code null}. */ @com.google.api.client.util.Key private AccountGoogleMyBusinessLink googleMyBusinessLink; /** * Required. 64-bit Merchant Center account ID. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private 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.Key private java.lang.String kind; /** * Manually created label IDs that are assigned to the account by CSS. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.util.List labelIds; /** * Required. Display name for the account. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Client-specific, locally-unique, internal ID for the child account. * The value may be {@code null}. */ @com.google.api.client.util.Key private 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.Key private java.util.List users; /** * The merchant's website. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String websiteUrl; /** * Linked YouTube channels that are active or pending approval. To create a new link request, add * a new link with status `active` to the list. It will remain in a `pending` state until approved * or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link * request, remove it from the list. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List youtubeChannelLinks; /** * Output only. How the account is managed. Acceptable values are: - "`manual`" - "`automatic`" * @return value or {@code null} for none */ public java.lang.String getAccountManagement() { return accountManagement; } /** * Output only. How the account is managed. Acceptable values are: - "`manual`" - "`automatic`" * @param accountManagement accountManagement or {@code null} for none */ public Account setAccountManagement(java.lang.String accountManagement) { this.accountManagement = accountManagement; return this; } /** * Linked Ads accounts that are active or pending approval. To create a new link request, add a * new link with status `active` to the list. It will remain in a `pending` state until approved * or rejected either in the Ads interface or through the Google Ads API. To delete an active * link, or to cancel a link request, remove it from the list. * @return value or {@code null} for none */ public java.util.List getAdsLinks() { return adsLinks; } /** * Linked Ads accounts that are active or pending approval. To create a new link request, add a * new link with status `active` to the list. It will remain in a `pending` state until approved * or rejected either in the Ads interface or through the Google Ads API. To delete an active * link, or to cancel a link request, remove it from the list. * @param adsLinks adsLinks or {@code null} for none */ public Account setAdsLinks(java.util.List adsLinks) { this.adsLinks = adsLinks; return this; } /** * 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; } /** * The automatic improvements of the account can be used to automatically update items, improve * images and shipping. Each section inside AutomaticImprovements is updated separately. * @return value or {@code null} for none */ public AccountAutomaticImprovements getAutomaticImprovements() { return automaticImprovements; } /** * The automatic improvements of the account can be used to automatically update items, improve * images and shipping. Each section inside AutomaticImprovements is updated separately. * @param automaticImprovements automaticImprovements or {@code null} for none */ public Account setAutomaticImprovements(AccountAutomaticImprovements automaticImprovements) { this.automaticImprovements = automaticImprovements; return this; } /** * Automatically created label IDs that are assigned to the account by CSS Center. * @return value or {@code null} for none */ public java.util.List getAutomaticLabelIds() { return automaticLabelIds; } /** * Automatically created label IDs that are assigned to the account by CSS Center. * @param automaticLabelIds automaticLabelIds or {@code null} for none */ public Account setAutomaticLabelIds(java.util.List automaticLabelIds) { this.automaticLabelIds = automaticLabelIds; return this; } /** * The business identity attributes can be used to self-declare attributes that let customers know * more about your business. * @return value or {@code null} for none */ public AccountBusinessIdentity getBusinessIdentity() { return businessIdentity; } /** * The business identity attributes can be used to self-declare attributes that let customers know * more about your business. * @param businessIdentity businessIdentity or {@code null} for none */ public Account setBusinessIdentity(AccountBusinessIdentity businessIdentity) { this.businessIdentity = businessIdentity; return this; } /** * The business information of the account. * @return value or {@code null} for none */ public AccountBusinessInformation getBusinessInformation() { return businessInformation; } /** * The business information of the account. * @param businessInformation businessInformation or {@code null} for none */ public Account setBusinessInformation(AccountBusinessInformation businessInformation) { this.businessInformation = businessInformation; return this; } /** * Settings for conversion tracking. * @return value or {@code null} for none */ public AccountConversionSettings getConversionSettings() { return conversionSettings; } /** * Settings for conversion tracking. * @param conversionSettings conversionSettings or {@code null} for none */ public Account setConversionSettings(AccountConversionSettings conversionSettings) { this.conversionSettings = conversionSettings; return this; } /** * ID of CSS the account belongs to. * @return value or {@code null} for none */ public java.math.BigInteger getCssId() { return cssId; } /** * ID of CSS the account belongs to. * @param cssId cssId or {@code null} for none */ public Account setCssId(java.math.BigInteger cssId) { this.cssId = cssId; return this; } /** * The Business Profile which is linked or in the process of being linked with the Merchant Center * account. * @return value or {@code null} for none */ public AccountGoogleMyBusinessLink getGoogleMyBusinessLink() { return googleMyBusinessLink; } /** * The Business Profile which is linked or in the process of being linked with the Merchant Center * account. * @param googleMyBusinessLink googleMyBusinessLink or {@code null} for none */ public Account setGoogleMyBusinessLink(AccountGoogleMyBusinessLink googleMyBusinessLink) { this.googleMyBusinessLink = googleMyBusinessLink; return this; } /** * Required. 64-bit Merchant Center account ID. * @return value or {@code null} for none */ public java.math.BigInteger getId() { return id; } /** * Required. 64-bit 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; } /** * Manually created label IDs that are assigned to the account by CSS. * @return value or {@code null} for none */ public java.util.List getLabelIds() { return labelIds; } /** * Manually created label IDs that are assigned to the account by CSS. * @param labelIds labelIds or {@code null} for none */ public Account setLabelIds(java.util.List labelIds) { this.labelIds = labelIds; return this; } /** * Required. Display name for the account. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Required. 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; } /** * 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 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 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; } /** * Linked YouTube channels that are active or pending approval. To create a new link request, add * a new link with status `active` to the list. It will remain in a `pending` state until approved * or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link * request, remove it from the list. * @return value or {@code null} for none */ public java.util.List getYoutubeChannelLinks() { return youtubeChannelLinks; } /** * Linked YouTube channels that are active or pending approval. To create a new link request, add * a new link with status `active` to the list. It will remain in a `pending` state until approved * or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link * request, remove it from the list. * @param youtubeChannelLinks youtubeChannelLinks or {@code null} for none */ public Account setYoutubeChannelLinks(java.util.List youtubeChannelLinks) { this.youtubeChannelLinks = youtubeChannelLinks; return this; } @Override public Account set(String fieldName, Object value) { return (Account) super.set(fieldName, value); } @Override public Account clone() { return (Account) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy