com.google.api.services.cloudchannel.v1.model.GoogleCloudChannelV1CloudIdentityCustomerAccount 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 Cloud Identity account that may be associated with a Channel Services API
* partner.
*
* 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 GoogleCloudChannelV1CloudIdentityCustomerAccount extends com.google.api.client.json.GenericJson {
/**
* If existing = true, and is 2-tier customer, the channel partner of the customer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String channelPartnerCloudIdentityId;
/**
* If existing = true, the Cloud Identity ID of the customer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String customerCloudIdentityId;
/**
* If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name
* uses the format: accounts/{account_id}/customers/{customer_id}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String customerName;
/**
* If existing = true, the type of the customer.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String customerType;
/**
* Returns true if a Cloud Identity account exists for a specific domain.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean existing;
/**
* Returns true if the Cloud Identity account is associated with a customer of the Channel
* Services partner (with active subscriptions or purchase consents).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean owned;
/**
* If existing = true, and is 2-tier customer, the channel partner of the customer.
* @return value or {@code null} for none
*/
public java.lang.String getChannelPartnerCloudIdentityId() {
return channelPartnerCloudIdentityId;
}
/**
* If existing = true, and is 2-tier customer, the channel partner of the customer.
* @param channelPartnerCloudIdentityId channelPartnerCloudIdentityId or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityCustomerAccount setChannelPartnerCloudIdentityId(java.lang.String channelPartnerCloudIdentityId) {
this.channelPartnerCloudIdentityId = channelPartnerCloudIdentityId;
return this;
}
/**
* If existing = true, the Cloud Identity ID of the customer.
* @return value or {@code null} for none
*/
public java.lang.String getCustomerCloudIdentityId() {
return customerCloudIdentityId;
}
/**
* If existing = true, the Cloud Identity ID of the customer.
* @param customerCloudIdentityId customerCloudIdentityId or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityCustomerAccount setCustomerCloudIdentityId(java.lang.String customerCloudIdentityId) {
this.customerCloudIdentityId = customerCloudIdentityId;
return this;
}
/**
* If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name
* uses the format: accounts/{account_id}/customers/{customer_id}
* @return value or {@code null} for none
*/
public java.lang.String getCustomerName() {
return customerName;
}
/**
* If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name
* uses the format: accounts/{account_id}/customers/{customer_id}
* @param customerName customerName or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityCustomerAccount setCustomerName(java.lang.String customerName) {
this.customerName = customerName;
return this;
}
/**
* If existing = true, the type of the customer.
* @return value or {@code null} for none
*/
public java.lang.String getCustomerType() {
return customerType;
}
/**
* If existing = true, the type of the customer.
* @param customerType customerType or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityCustomerAccount setCustomerType(java.lang.String customerType) {
this.customerType = customerType;
return this;
}
/**
* Returns true if a Cloud Identity account exists for a specific domain.
* @return value or {@code null} for none
*/
public java.lang.Boolean getExisting() {
return existing;
}
/**
* Returns true if a Cloud Identity account exists for a specific domain.
* @param existing existing or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityCustomerAccount setExisting(java.lang.Boolean existing) {
this.existing = existing;
return this;
}
/**
* Returns true if the Cloud Identity account is associated with a customer of the Channel
* Services partner (with active subscriptions or purchase consents).
* @return value or {@code null} for none
*/
public java.lang.Boolean getOwned() {
return owned;
}
/**
* Returns true if the Cloud Identity account is associated with a customer of the Channel
* Services partner (with active subscriptions or purchase consents).
* @param owned owned or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityCustomerAccount setOwned(java.lang.Boolean owned) {
this.owned = owned;
return this;
}
@Override
public GoogleCloudChannelV1CloudIdentityCustomerAccount set(String fieldName, Object value) {
return (GoogleCloudChannelV1CloudIdentityCustomerAccount) super.set(fieldName, value);
}
@Override
public GoogleCloudChannelV1CloudIdentityCustomerAccount clone() {
return (GoogleCloudChannelV1CloudIdentityCustomerAccount) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy