/*
 * 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.searchads360.v0.model;

/**
 * A link between the given customer and a client customer. CustomerClients only exist for manager
 * customers. All direct and indirect client customers are included, as well as the manager itself.
 *
 * <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 Search Ads 360 Reporting API. For a detailed
 * explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GoogleAdsSearchads360V0ResourcesCustomerClient extends com.google.api.client.json.GenericJson {

  /**
   * Output only. The resource names of the labels owned by the requesting customer that are applied
   * to the client customer. Label resource names have the form:
   * `customers/{customer_id}/labels/{label_id}`
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<java.lang.String> appliedLabels;

  /**
   * Output only. The resource name of the client-customer which is linked to the given customer.
   * Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String clientCustomer;

  /**
   * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String currencyCode;

  /**
   * Output only. Descriptive name for the client. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String descriptiveName;

  /**
   * Output only. Specifies whether this is a hidden account. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Boolean hidden;

  /**
   * Output only. The ID of the client customer. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key @com.google.api.client.json.JsonString
  private java.lang.Long id;

  /**
   * Output only. Distance between given customer and client. For self link, the level value will be
   * 0. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key @com.google.api.client.json.JsonString
  private java.lang.Long level;

  /**
   * Output only. Identifies if the client is a manager. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Boolean manager;

  /**
   * Output only. The resource name of the customer client. CustomerClient resource names have the
   * form: `customers/{customer_id}/customerClients/{client_customer_id}`
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String resourceName;

  /**
   * Output only. The status of the client customer. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String status;

  /**
   * Output only. Identifies if the client is a test account. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Boolean testAccount;

  /**
   * Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the
   * client, for example, America/Los_Angeles. Read only.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String timeZone;

  /**
   * Output only. The resource names of the labels owned by the requesting customer that are applied
   * to the client customer. Label resource names have the form:
   * `customers/{customer_id}/labels/{label_id}`
   * @return value or {@code null} for none
   */
  public java.util.List<java.lang.String> getAppliedLabels() {
    return appliedLabels;
  }

  /**
   * Output only. The resource names of the labels owned by the requesting customer that are applied
   * to the client customer. Label resource names have the form:
   * `customers/{customer_id}/labels/{label_id}`
   * @param appliedLabels appliedLabels or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setAppliedLabels(java.util.List<java.lang.String> appliedLabels) {
    this.appliedLabels = appliedLabels;
    return this;
  }

  /**
   * Output only. The resource name of the client-customer which is linked to the given customer.
   * Read only.
   * @return value or {@code null} for none
   */
  public java.lang.String getClientCustomer() {
    return clientCustomer;
  }

  /**
   * Output only. The resource name of the client-customer which is linked to the given customer.
   * Read only.
   * @param clientCustomer clientCustomer or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setClientCustomer(java.lang.String clientCustomer) {
    this.clientCustomer = clientCustomer;
    return this;
  }

  /**
   * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.String getCurrencyCode() {
    return currencyCode;
  }

  /**
   * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
   * @param currencyCode currencyCode or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setCurrencyCode(java.lang.String currencyCode) {
    this.currencyCode = currencyCode;
    return this;
  }

  /**
   * Output only. Descriptive name for the client. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.String getDescriptiveName() {
    return descriptiveName;
  }

  /**
   * Output only. Descriptive name for the client. Read only.
   * @param descriptiveName descriptiveName or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setDescriptiveName(java.lang.String descriptiveName) {
    this.descriptiveName = descriptiveName;
    return this;
  }

  /**
   * Output only. Specifies whether this is a hidden account. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.Boolean getHidden() {
    return hidden;
  }

  /**
   * Output only. Specifies whether this is a hidden account. Read only.
   * @param hidden hidden or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setHidden(java.lang.Boolean hidden) {
    this.hidden = hidden;
    return this;
  }

  /**
   * Output only. The ID of the client customer. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.Long getId() {
    return id;
  }

  /**
   * Output only. The ID of the client customer. Read only.
   * @param id id or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setId(java.lang.Long id) {
    this.id = id;
    return this;
  }

  /**
   * Output only. Distance between given customer and client. For self link, the level value will be
   * 0. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.Long getLevel() {
    return level;
  }

  /**
   * Output only. Distance between given customer and client. For self link, the level value will be
   * 0. Read only.
   * @param level level or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setLevel(java.lang.Long level) {
    this.level = level;
    return this;
  }

  /**
   * Output only. Identifies if the client is a manager. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.Boolean getManager() {
    return manager;
  }

  /**
   * Output only. Identifies if the client is a manager. Read only.
   * @param manager manager or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setManager(java.lang.Boolean manager) {
    this.manager = manager;
    return this;
  }

  /**
   * Output only. The resource name of the customer client. CustomerClient resource names have the
   * form: `customers/{customer_id}/customerClients/{client_customer_id}`
   * @return value or {@code null} for none
   */
  public java.lang.String getResourceName() {
    return resourceName;
  }

  /**
   * Output only. The resource name of the customer client. CustomerClient resource names have the
   * form: `customers/{customer_id}/customerClients/{client_customer_id}`
   * @param resourceName resourceName or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setResourceName(java.lang.String resourceName) {
    this.resourceName = resourceName;
    return this;
  }

  /**
   * Output only. The status of the client customer. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.String getStatus() {
    return status;
  }

  /**
   * Output only. The status of the client customer. Read only.
   * @param status status or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setStatus(java.lang.String status) {
    this.status = status;
    return this;
  }

  /**
   * Output only. Identifies if the client is a test account. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.Boolean getTestAccount() {
    return testAccount;
  }

  /**
   * Output only. Identifies if the client is a test account. Read only.
   * @param testAccount testAccount or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setTestAccount(java.lang.Boolean testAccount) {
    this.testAccount = testAccount;
    return this;
  }

  /**
   * Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the
   * client, for example, America/Los_Angeles. Read only.
   * @return value or {@code null} for none
   */
  public java.lang.String getTimeZone() {
    return timeZone;
  }

  /**
   * Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the
   * client, for example, America/Los_Angeles. Read only.
   * @param timeZone timeZone or {@code null} for none
   */
  public GoogleAdsSearchads360V0ResourcesCustomerClient setTimeZone(java.lang.String timeZone) {
    this.timeZone = timeZone;
    return this;
  }

  @Override
  public GoogleAdsSearchads360V0ResourcesCustomerClient set(String fieldName, Object value) {
    return (GoogleAdsSearchads360V0ResourcesCustomerClient) super.set(fieldName, value);
  }

  @Override
  public GoogleAdsSearchads360V0ResourcesCustomerClient clone() {
    return (GoogleAdsSearchads360V0ResourcesCustomerClient) super.clone();
  }

}
