/*
 * 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.recaptchaenterprise.v1.model;

/**
 * Contains fields that are required to perform Apple-specific integrity checks.
 *
 * <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 reCAPTCHA Enterprise 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 GoogleCloudRecaptchaenterpriseV1AppleDeveloperId extends com.google.api.client.json.GenericJson {

  /**
   * Required. The Apple developer key ID (10-character string).
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String keyId;

  /**
   * Required. Input only. A private key (downloaded as a text file with a .p8 file extension)
   * generated for your Apple Developer account. Ensure that Apple DeviceCheck is enabled for the
   * private key.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String privateKey;

  /**
   * Required. The Apple team ID (10-character string) owning the provisioning profile used to build
   * your application.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String teamId;

  /**
   * Required. The Apple developer key ID (10-character string).
   * @return value or {@code null} for none
   */
  public java.lang.String getKeyId() {
    return keyId;
  }

  /**
   * Required. The Apple developer key ID (10-character string).
   * @param keyId keyId or {@code null} for none
   */
  public GoogleCloudRecaptchaenterpriseV1AppleDeveloperId setKeyId(java.lang.String keyId) {
    this.keyId = keyId;
    return this;
  }

  /**
   * Required. Input only. A private key (downloaded as a text file with a .p8 file extension)
   * generated for your Apple Developer account. Ensure that Apple DeviceCheck is enabled for the
   * private key.
   * @return value or {@code null} for none
   */
  public java.lang.String getPrivateKey() {
    return privateKey;
  }

  /**
   * Required. Input only. A private key (downloaded as a text file with a .p8 file extension)
   * generated for your Apple Developer account. Ensure that Apple DeviceCheck is enabled for the
   * private key.
   * @param privateKey privateKey or {@code null} for none
   */
  public GoogleCloudRecaptchaenterpriseV1AppleDeveloperId setPrivateKey(java.lang.String privateKey) {
    this.privateKey = privateKey;
    return this;
  }

  /**
   * Required. The Apple team ID (10-character string) owning the provisioning profile used to build
   * your application.
   * @return value or {@code null} for none
   */
  public java.lang.String getTeamId() {
    return teamId;
  }

  /**
   * Required. The Apple team ID (10-character string) owning the provisioning profile used to build
   * your application.
   * @param teamId teamId or {@code null} for none
   */
  public GoogleCloudRecaptchaenterpriseV1AppleDeveloperId setTeamId(java.lang.String teamId) {
    this.teamId = teamId;
    return this;
  }

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

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

}
