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

com.google.api.services.directory.model.Domains Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240709-2.0.0
Show 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.directory.model;

/**
 * Model definition for Domains.
 *
 * 

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 Admin SDK 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 Domains extends com.google.api.client.json.GenericJson { /** * Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) * format. (Read-only). * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long creationTime; /** * List of domain alias objects. (Read-only) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List domainAliases; static { // hack to force ProGuard to consider DomainAlias used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(DomainAlias.class); } /** * The domain name of the customer. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String domainName; /** * ETag of the resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String etag; /** * Indicates if the domain is a primary domain (Read-only). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean isPrimary; /** * Kind of resource this is. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * Indicates the verification state of a domain. (Read-only). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean verified; /** * Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) * format. (Read-only). * @return value or {@code null} for none */ public java.lang.Long getCreationTime() { return creationTime; } /** * Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) * format. (Read-only). * @param creationTime creationTime or {@code null} for none */ public Domains setCreationTime(java.lang.Long creationTime) { this.creationTime = creationTime; return this; } /** * List of domain alias objects. (Read-only) * @return value or {@code null} for none */ public java.util.List getDomainAliases() { return domainAliases; } /** * List of domain alias objects. (Read-only) * @param domainAliases domainAliases or {@code null} for none */ public Domains setDomainAliases(java.util.List domainAliases) { this.domainAliases = domainAliases; return this; } /** * The domain name of the customer. * @return value or {@code null} for none */ public java.lang.String getDomainName() { return domainName; } /** * The domain name of the customer. * @param domainName domainName or {@code null} for none */ public Domains setDomainName(java.lang.String domainName) { this.domainName = domainName; return this; } /** * ETag of the resource. * @return value or {@code null} for none */ public java.lang.String getEtag() { return etag; } /** * ETag of the resource. * @param etag etag or {@code null} for none */ public Domains setEtag(java.lang.String etag) { this.etag = etag; return this; } /** * Indicates if the domain is a primary domain (Read-only). * @return value or {@code null} for none */ public java.lang.Boolean getIsPrimary() { return isPrimary; } /** * Indicates if the domain is a primary domain (Read-only). * @param isPrimary isPrimary or {@code null} for none */ public Domains setIsPrimary(java.lang.Boolean isPrimary) { this.isPrimary = isPrimary; return this; } /** * Kind of resource this is. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Kind of resource this is. * @param kind kind or {@code null} for none */ public Domains setKind(java.lang.String kind) { this.kind = kind; return this; } /** * Indicates the verification state of a domain. (Read-only). * @return value or {@code null} for none */ public java.lang.Boolean getVerified() { return verified; } /** * Indicates the verification state of a domain. (Read-only). * @param verified verified or {@code null} for none */ public Domains setVerified(java.lang.Boolean verified) { this.verified = verified; return this; } @Override public Domains set(String fieldName, Object value) { return (Domains) super.set(fieldName, value); } @Override public Domains clone() { return (Domains) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy