com.google.api.services.cloudchannel.v1.model.GoogleCloudChannelV1ChannelPartnerLink 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 link between distributors and their indirect resellers in an n-tier resale
* channel.
*
* 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 GoogleCloudChannelV1ChannelPartnerLink extends com.google.api.client.json.GenericJson {
/**
* Output only. Cloud Identity info of the channel partner (IR).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudChannelV1CloudIdentityInfo channelPartnerCloudIdentityInfo;
/**
* Output only. Timestamp of when the channel partner link is created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Output only. URI of the web page where partner accepts the link invitation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String inviteLinkUri;
/**
* Required. State of the channel partner link.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String linkState;
/**
* Output only. Resource name for the channel partner link, in the format
* accounts/{account_id}/channelPartnerLinks/{id}.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Output only. Public identifier that a customer must use to generate a transfer token to move to
* this distributor-reseller combination.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String publicId;
/**
* Required. Cloud Identity ID of the linked reseller.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String resellerCloudIdentityId;
/**
* Output only. Timestamp of when the channel partner link is updated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* Output only. Cloud Identity info of the channel partner (IR).
* @return value or {@code null} for none
*/
public GoogleCloudChannelV1CloudIdentityInfo getChannelPartnerCloudIdentityInfo() {
return channelPartnerCloudIdentityInfo;
}
/**
* Output only. Cloud Identity info of the channel partner (IR).
* @param channelPartnerCloudIdentityInfo channelPartnerCloudIdentityInfo or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setChannelPartnerCloudIdentityInfo(GoogleCloudChannelV1CloudIdentityInfo channelPartnerCloudIdentityInfo) {
this.channelPartnerCloudIdentityInfo = channelPartnerCloudIdentityInfo;
return this;
}
/**
* Output only. Timestamp of when the channel partner link is created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. Timestamp of when the channel partner link is created.
* @param createTime createTime or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Output only. URI of the web page where partner accepts the link invitation.
* @return value or {@code null} for none
*/
public java.lang.String getInviteLinkUri() {
return inviteLinkUri;
}
/**
* Output only. URI of the web page where partner accepts the link invitation.
* @param inviteLinkUri inviteLinkUri or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setInviteLinkUri(java.lang.String inviteLinkUri) {
this.inviteLinkUri = inviteLinkUri;
return this;
}
/**
* Required. State of the channel partner link.
* @return value or {@code null} for none
*/
public java.lang.String getLinkState() {
return linkState;
}
/**
* Required. State of the channel partner link.
* @param linkState linkState or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setLinkState(java.lang.String linkState) {
this.linkState = linkState;
return this;
}
/**
* Output only. Resource name for the channel partner link, in the format
* accounts/{account_id}/channelPartnerLinks/{id}.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. Resource name for the channel partner link, in the format
* accounts/{account_id}/channelPartnerLinks/{id}.
* @param name name or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Output only. Public identifier that a customer must use to generate a transfer token to move to
* this distributor-reseller combination.
* @return value or {@code null} for none
*/
public java.lang.String getPublicId() {
return publicId;
}
/**
* Output only. Public identifier that a customer must use to generate a transfer token to move to
* this distributor-reseller combination.
* @param publicId publicId or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setPublicId(java.lang.String publicId) {
this.publicId = publicId;
return this;
}
/**
* Required. Cloud Identity ID of the linked reseller.
* @return value or {@code null} for none
*/
public java.lang.String getResellerCloudIdentityId() {
return resellerCloudIdentityId;
}
/**
* Required. Cloud Identity ID of the linked reseller.
* @param resellerCloudIdentityId resellerCloudIdentityId or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setResellerCloudIdentityId(java.lang.String resellerCloudIdentityId) {
this.resellerCloudIdentityId = resellerCloudIdentityId;
return this;
}
/**
* Output only. Timestamp of when the channel partner link is updated.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Output only. Timestamp of when the channel partner link is updated.
* @param updateTime updateTime or {@code null} for none
*/
public GoogleCloudChannelV1ChannelPartnerLink setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
@Override
public GoogleCloudChannelV1ChannelPartnerLink set(String fieldName, Object value) {
return (GoogleCloudChannelV1ChannelPartnerLink) super.set(fieldName, value);
}
@Override
public GoogleCloudChannelV1ChannelPartnerLink clone() {
return (GoogleCloudChannelV1ChannelPartnerLink) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy