/*
 * 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.drivelabels.v2.model;

/**
 * A single response from an update.
 *
 * <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 Drive Labels 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 GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse extends com.google.api.client.json.GenericJson {

  /**
   * Creates a new Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse createField;

  /**
   * Creates a new selection list option to add to a Selection Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse createSelectionChoice;

  /**
   * Deletes a Field from the label.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse deleteField;

  /**
   * Deletes a Choice from a Selection Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse deleteSelectionChoice;

  /**
   * Disables Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse disableField;

  /**
   * Disables a Choice within a Selection Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse disableSelectionChoice;

  /**
   * Enables Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse enableField;

  /**
   * Enables a Choice within a Selection Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse enableSelectionChoice;

  /**
   * Updates basic properties of a Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse updateField;

  /**
   * Update Field type and/or type options.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse updateFieldType;

  /**
   * Updated basic properties of a Label.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse updateLabel;

  /**
   * Updates a Choice within a Selection Field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse updateSelectionChoiceProperties;

  /**
   * Creates a new Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse getCreateField() {
    return createField;
  }

  /**
   * Creates a new Field.
   * @param createField createField or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setCreateField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse createField) {
    this.createField = createField;
    return this;
  }

  /**
   * Creates a new selection list option to add to a Selection Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse getCreateSelectionChoice() {
    return createSelectionChoice;
  }

  /**
   * Creates a new selection list option to add to a Selection Field.
   * @param createSelectionChoice createSelectionChoice or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setCreateSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse createSelectionChoice) {
    this.createSelectionChoice = createSelectionChoice;
    return this;
  }

  /**
   * Deletes a Field from the label.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse getDeleteField() {
    return deleteField;
  }

  /**
   * Deletes a Field from the label.
   * @param deleteField deleteField or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setDeleteField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse deleteField) {
    this.deleteField = deleteField;
    return this;
  }

  /**
   * Deletes a Choice from a Selection Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse getDeleteSelectionChoice() {
    return deleteSelectionChoice;
  }

  /**
   * Deletes a Choice from a Selection Field.
   * @param deleteSelectionChoice deleteSelectionChoice or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setDeleteSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse deleteSelectionChoice) {
    this.deleteSelectionChoice = deleteSelectionChoice;
    return this;
  }

  /**
   * Disables Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse getDisableField() {
    return disableField;
  }

  /**
   * Disables Field.
   * @param disableField disableField or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setDisableField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse disableField) {
    this.disableField = disableField;
    return this;
  }

  /**
   * Disables a Choice within a Selection Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse getDisableSelectionChoice() {
    return disableSelectionChoice;
  }

  /**
   * Disables a Choice within a Selection Field.
   * @param disableSelectionChoice disableSelectionChoice or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setDisableSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse disableSelectionChoice) {
    this.disableSelectionChoice = disableSelectionChoice;
    return this;
  }

  /**
   * Enables Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse getEnableField() {
    return enableField;
  }

  /**
   * Enables Field.
   * @param enableField enableField or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setEnableField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse enableField) {
    this.enableField = enableField;
    return this;
  }

  /**
   * Enables a Choice within a Selection Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse getEnableSelectionChoice() {
    return enableSelectionChoice;
  }

  /**
   * Enables a Choice within a Selection Field.
   * @param enableSelectionChoice enableSelectionChoice or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setEnableSelectionChoice(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse enableSelectionChoice) {
    this.enableSelectionChoice = enableSelectionChoice;
    return this;
  }

  /**
   * Updates basic properties of a Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse getUpdateField() {
    return updateField;
  }

  /**
   * Updates basic properties of a Field.
   * @param updateField updateField or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setUpdateField(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse updateField) {
    this.updateField = updateField;
    return this;
  }

  /**
   * Update Field type and/or type options.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse getUpdateFieldType() {
    return updateFieldType;
  }

  /**
   * Update Field type and/or type options.
   * @param updateFieldType updateFieldType or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setUpdateFieldType(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse updateFieldType) {
    this.updateFieldType = updateFieldType;
    return this;
  }

  /**
   * Updated basic properties of a Label.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse getUpdateLabel() {
    return updateLabel;
  }

  /**
   * Updated basic properties of a Label.
   * @param updateLabel updateLabel or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setUpdateLabel(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse updateLabel) {
    this.updateLabel = updateLabel;
    return this;
  }

  /**
   * Updates a Choice within a Selection Field.
   * @return value or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse getUpdateSelectionChoiceProperties() {
    return updateSelectionChoiceProperties;
  }

  /**
   * Updates a Choice within a Selection Field.
   * @param updateSelectionChoiceProperties updateSelectionChoiceProperties or {@code null} for none
   */
  public GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse setUpdateSelectionChoiceProperties(GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse updateSelectionChoiceProperties) {
    this.updateSelectionChoiceProperties = updateSelectionChoiceProperties;
    return this;
  }

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

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

}
