com.google.api.services.cloudchannel.v1.model.GoogleCloudChannelV1Customer 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.cloudchannel.v1.model;
/**
* Entity representing a customer of a reseller or distributor.
*
* 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 Cloud Channel 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 GoogleCloudChannelV1Customer extends com.google.api.client.json.GenericJson {
/**
* Secondary contact email. You need to provide an alternate email to create different domains if
* a primary contact email already exists. Users will receive a notification with credentials when
* you create an admin.google.com account. Secondary emails are also recovery email addresses.
* Alternate emails are optional when you create Team customers.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String alternateEmail;
/**
* Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists
* for this customer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String channelPartnerId;
/**
* Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String cloudIdentityId;
/**
* Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity
* account exists for this customer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudChannelV1CloudIdentityInfo cloudIdentityInfo;
/**
* Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this
* customer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String correlationId;
/**
* Output only. Time when the customer was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Required. The customer's primary domain. Must match the primary contact email's domain.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String domain;
/**
* Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see
* https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String languageCode;
/**
* Output only. Resource name of the customer. Format:
* accounts/{account_id}/customers/{customer_id}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Required. Name of the organization that the customer entity represents.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String orgDisplayName;
/**
* Required. The organization address for the customer. To enforce US laws and embargoes, we
* require a region, postal code, and address lines. You must provide valid addresses for every
* customer. To set the customer's language, use the Customer-level language code.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleTypePostalAddress orgPostalAddress;
/**
* Primary contact info.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudChannelV1ContactInfo primaryContactInfo;
/**
* Output only. Time when the customer was updated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* Secondary contact email. You need to provide an alternate email to create different domains if
* a primary contact email already exists. Users will receive a notification with credentials when
* you create an admin.google.com account. Secondary emails are also recovery email addresses.
* Alternate emails are optional when you create Team customers.
* @return value or {@code null} for none
*/
public java.lang.String getAlternateEmail() {
return alternateEmail;
}
/**
* Secondary contact email. You need to provide an alternate email to create different domains if
* a primary contact email already exists. Users will receive a notification with credentials when
* you create an admin.google.com account. Secondary emails are also recovery email addresses.
* Alternate emails are optional when you create Team customers.
* @param alternateEmail alternateEmail or {@code null} for none
*/
public GoogleCloudChannelV1Customer setAlternateEmail(java.lang.String alternateEmail) {
this.alternateEmail = alternateEmail;
return this;
}
/**
* Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists
* for this customer.
* @return value or {@code null} for none
*/
public java.lang.String getChannelPartnerId() {
return channelPartnerId;
}
/**
* Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists
* for this customer.
* @param channelPartnerId channelPartnerId or {@code null} for none
*/
public GoogleCloudChannelV1Customer setChannelPartnerId(java.lang.String channelPartnerId) {
this.channelPartnerId = channelPartnerId;
return this;
}
/**
* Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
* @return value or {@code null} for none
*/
public java.lang.String getCloudIdentityId() {
return cloudIdentityId;
}
/**
* Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
* @param cloudIdentityId cloudIdentityId or {@code null} for none
*/
public GoogleCloudChannelV1Customer setCloudIdentityId(java.lang.String cloudIdentityId) {
this.cloudIdentityId = cloudIdentityId;
return this;
}
/**
* Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity
* account exists for this customer.
* @return value or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityInfo getCloudIdentityInfo() {
return cloudIdentityInfo;
}
/**
* Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity
* account exists for this customer.
* @param cloudIdentityInfo cloudIdentityInfo or {@code null} for none
*/
public GoogleCloudChannelV1Customer setCloudIdentityInfo(GoogleCloudChannelV1CloudIdentityInfo cloudIdentityInfo) {
this.cloudIdentityInfo = cloudIdentityInfo;
return this;
}
/**
* Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this
* customer.
* @return value or {@code null} for none
*/
public java.lang.String getCorrelationId() {
return correlationId;
}
/**
* Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this
* customer.
* @param correlationId correlationId or {@code null} for none
*/
public GoogleCloudChannelV1Customer setCorrelationId(java.lang.String correlationId) {
this.correlationId = correlationId;
return this;
}
/**
* Output only. Time when the customer was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. Time when the customer was created.
* @param createTime createTime or {@code null} for none
*/
public GoogleCloudChannelV1Customer setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Required. The customer's primary domain. Must match the primary contact email's domain.
* @return value or {@code null} for none
*/
public java.lang.String getDomain() {
return domain;
}
/**
* Required. The customer's primary domain. Must match the primary contact email's domain.
* @param domain domain or {@code null} for none
*/
public GoogleCloudChannelV1Customer setDomain(java.lang.String domain) {
this.domain = domain;
return this;
}
/**
* Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see
* https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
* @return value or {@code null} for none
*/
public java.lang.String getLanguageCode() {
return languageCode;
}
/**
* Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see
* https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
* @param languageCode languageCode or {@code null} for none
*/
public GoogleCloudChannelV1Customer setLanguageCode(java.lang.String languageCode) {
this.languageCode = languageCode;
return this;
}
/**
* Output only. Resource name of the customer. Format:
* accounts/{account_id}/customers/{customer_id}
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. Resource name of the customer. Format:
* accounts/{account_id}/customers/{customer_id}
* @param name name or {@code null} for none
*/
public GoogleCloudChannelV1Customer setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Required. Name of the organization that the customer entity represents.
* @return value or {@code null} for none
*/
public java.lang.String getOrgDisplayName() {
return orgDisplayName;
}
/**
* Required. Name of the organization that the customer entity represents.
* @param orgDisplayName orgDisplayName or {@code null} for none
*/
public GoogleCloudChannelV1Customer setOrgDisplayName(java.lang.String orgDisplayName) {
this.orgDisplayName = orgDisplayName;
return this;
}
/**
* Required. The organization address for the customer. To enforce US laws and embargoes, we
* require a region, postal code, and address lines. You must provide valid addresses for every
* customer. To set the customer's language, use the Customer-level language code.
* @return value or {@code null} for none
*/
public GoogleTypePostalAddress getOrgPostalAddress() {
return orgPostalAddress;
}
/**
* Required. The organization address for the customer. To enforce US laws and embargoes, we
* require a region, postal code, and address lines. You must provide valid addresses for every
* customer. To set the customer's language, use the Customer-level language code.
* @param orgPostalAddress orgPostalAddress or {@code null} for none
*/
public GoogleCloudChannelV1Customer setOrgPostalAddress(GoogleTypePostalAddress orgPostalAddress) {
this.orgPostalAddress = orgPostalAddress;
return this;
}
/**
* Primary contact info.
* @return value or {@code null} for none
*/
public GoogleCloudChannelV1ContactInfo getPrimaryContactInfo() {
return primaryContactInfo;
}
/**
* Primary contact info.
* @param primaryContactInfo primaryContactInfo or {@code null} for none
*/
public GoogleCloudChannelV1Customer setPrimaryContactInfo(GoogleCloudChannelV1ContactInfo primaryContactInfo) {
this.primaryContactInfo = primaryContactInfo;
return this;
}
/**
* Output only. Time when the customer was updated.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Output only. Time when the customer was updated.
* @param updateTime updateTime or {@code null} for none
*/
public GoogleCloudChannelV1Customer setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
@Override
public GoogleCloudChannelV1Customer set(String fieldName, Object value) {
return (GoogleCloudChannelV1Customer) super.set(fieldName, value);
}
@Override
public GoogleCloudChannelV1Customer clone() {
return (GoogleCloudChannelV1Customer) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy