com.google.api.services.directory.model.DomainAlias Maven / Gradle / Ivy
/*
* 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 DomainAlias.
*
* 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 DomainAlias extends com.google.api.client.json.GenericJson {
/**
* The creation time of the domain alias. (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;
/**
* The domain alias name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String domainAliasName;
/**
* ETag of the resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String etag;
/**
* Kind of resource this is.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kind;
/**
* The parent domain name that the domain alias is associated with. This can either be a primary
* or secondary domain name within a customer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String parentDomainName;
/**
* Indicates the verification state of a domain alias. (Read-only)
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean verified;
/**
* The creation time of the domain alias. (Read-only).
* @return value or {@code null} for none
*/
public java.lang.Long getCreationTime() {
return creationTime;
}
/**
* The creation time of the domain alias. (Read-only).
* @param creationTime creationTime or {@code null} for none
*/
public DomainAlias setCreationTime(java.lang.Long creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The domain alias name.
* @return value or {@code null} for none
*/
public java.lang.String getDomainAliasName() {
return domainAliasName;
}
/**
* The domain alias name.
* @param domainAliasName domainAliasName or {@code null} for none
*/
public DomainAlias setDomainAliasName(java.lang.String domainAliasName) {
this.domainAliasName = domainAliasName;
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 DomainAlias setEtag(java.lang.String etag) {
this.etag = etag;
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 DomainAlias setKind(java.lang.String kind) {
this.kind = kind;
return this;
}
/**
* The parent domain name that the domain alias is associated with. This can either be a primary
* or secondary domain name within a customer.
* @return value or {@code null} for none
*/
public java.lang.String getParentDomainName() {
return parentDomainName;
}
/**
* The parent domain name that the domain alias is associated with. This can either be a primary
* or secondary domain name within a customer.
* @param parentDomainName parentDomainName or {@code null} for none
*/
public DomainAlias setParentDomainName(java.lang.String parentDomainName) {
this.parentDomainName = parentDomainName;
return this;
}
/**
* Indicates the verification state of a domain alias. (Read-only)
* @return value or {@code null} for none
*/
public java.lang.Boolean getVerified() {
return verified;
}
/**
* Indicates the verification state of a domain alias. (Read-only)
* @param verified verified or {@code null} for none
*/
public DomainAlias setVerified(java.lang.Boolean verified) {
this.verified = verified;
return this;
}
@Override
public DomainAlias set(String fieldName, Object value) {
return (DomainAlias) super.set(fieldName, value);
}
@Override
public DomainAlias clone() {
return (DomainAlias) super.clone();
}
}