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

com.google.api.services.vault.v1.model.HeldAccount Maven / Gradle / Ivy

The 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.vault.v1.model;

/**
 * An account covered by a hold. This structure is immutable. It can be an individual account or a
 * Google Group, depending on the service. To work with Vault resources, the account must have the
 * [required Vault privileges] (https://support.google.com/vault/answer/2799699) and access to the
 * matter. To access a matter, the account must have created the matter, have the matter shared with
 * them, or have the **View All Matters** privilege.
 *
 * 

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 Google Vault API. 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 HeldAccount extends com.google.api.client.json.GenericJson { /** * The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String accountId; /** * The primary email address of the account. If used as an input, this takes precedence over * **accountId**. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String email; /** * Output only. The first name of the account holder. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String firstName; /** * Output only. When the account was put on hold. * The value may be {@code null}. */ @com.google.api.client.util.Key private String holdTime; /** * Output only. The last name of the account holder. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String lastName; /** * The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/). * @return value or {@code null} for none */ public java.lang.String getAccountId() { return accountId; } /** * The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/). * @param accountId accountId or {@code null} for none */ public HeldAccount setAccountId(java.lang.String accountId) { this.accountId = accountId; return this; } /** * The primary email address of the account. If used as an input, this takes precedence over * **accountId**. * @return value or {@code null} for none */ public java.lang.String getEmail() { return email; } /** * The primary email address of the account. If used as an input, this takes precedence over * **accountId**. * @param email email or {@code null} for none */ public HeldAccount setEmail(java.lang.String email) { this.email = email; return this; } /** * Output only. The first name of the account holder. * @return value or {@code null} for none */ public java.lang.String getFirstName() { return firstName; } /** * Output only. The first name of the account holder. * @param firstName firstName or {@code null} for none */ public HeldAccount setFirstName(java.lang.String firstName) { this.firstName = firstName; return this; } /** * Output only. When the account was put on hold. * @return value or {@code null} for none */ public String getHoldTime() { return holdTime; } /** * Output only. When the account was put on hold. * @param holdTime holdTime or {@code null} for none */ public HeldAccount setHoldTime(String holdTime) { this.holdTime = holdTime; return this; } /** * Output only. The last name of the account holder. * @return value or {@code null} for none */ public java.lang.String getLastName() { return lastName; } /** * Output only. The last name of the account holder. * @param lastName lastName or {@code null} for none */ public HeldAccount setLastName(java.lang.String lastName) { this.lastName = lastName; return this; } @Override public HeldAccount set(String fieldName, Object value) { return (HeldAccount) super.set(fieldName, value); } @Override public HeldAccount clone() { return (HeldAccount) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy