/*
 * 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.prod_tt_sasportal.v1alpha1.model;

/**
 * Request for [ProvisionDeployment].
 * [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment]. GCP Project, Organization Info,
 * and caller’s GAIA ID should be retrieved from the RPC handler, and used as inputs to create a new
 * SAS organization (if not exists) and a new SAS deployment.
 *
 * <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 SAS Portal API (Testing). 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 SasPortalProvisionDeploymentRequest extends com.google.api.client.json.GenericJson {

  /**
   * Optional. If this field is set, and a new SAS Portal Deployment needs to be created, its
   * display name will be set to the value of this field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String newDeploymentDisplayName;

  /**
   * Optional. If this field is set, and a new SAS Portal Organization needs to be created, its
   * display name will be set to the value of this field.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String newOrganizationDisplayName;

  /**
   * Optional. If this field is set then a new deployment will be created under the organization
   * specified by this id.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key @com.google.api.client.json.JsonString
  private java.lang.Long organizationId;

  /**
   * Optional. If this field is set, and a new SAS Portal Deployment needs to be created, its
   * display name will be set to the value of this field.
   * @return value or {@code null} for none
   */
  public java.lang.String getNewDeploymentDisplayName() {
    return newDeploymentDisplayName;
  }

  /**
   * Optional. If this field is set, and a new SAS Portal Deployment needs to be created, its
   * display name will be set to the value of this field.
   * @param newDeploymentDisplayName newDeploymentDisplayName or {@code null} for none
   */
  public SasPortalProvisionDeploymentRequest setNewDeploymentDisplayName(java.lang.String newDeploymentDisplayName) {
    this.newDeploymentDisplayName = newDeploymentDisplayName;
    return this;
  }

  /**
   * Optional. If this field is set, and a new SAS Portal Organization needs to be created, its
   * display name will be set to the value of this field.
   * @return value or {@code null} for none
   */
  public java.lang.String getNewOrganizationDisplayName() {
    return newOrganizationDisplayName;
  }

  /**
   * Optional. If this field is set, and a new SAS Portal Organization needs to be created, its
   * display name will be set to the value of this field.
   * @param newOrganizationDisplayName newOrganizationDisplayName or {@code null} for none
   */
  public SasPortalProvisionDeploymentRequest setNewOrganizationDisplayName(java.lang.String newOrganizationDisplayName) {
    this.newOrganizationDisplayName = newOrganizationDisplayName;
    return this;
  }

  /**
   * Optional. If this field is set then a new deployment will be created under the organization
   * specified by this id.
   * @return value or {@code null} for none
   */
  public java.lang.Long getOrganizationId() {
    return organizationId;
  }

  /**
   * Optional. If this field is set then a new deployment will be created under the organization
   * specified by this id.
   * @param organizationId organizationId or {@code null} for none
   */
  public SasPortalProvisionDeploymentRequest setOrganizationId(java.lang.Long organizationId) {
    this.organizationId = organizationId;
    return this;
  }

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

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

}
