com.softlayer.api.service.user.customer.Link Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.user.customer;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.service.Provider;
import com.softlayer.api.service.user.Customer;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_User_Customer_Link
*/
@ApiType("SoftLayer_User_Customer_Link")
public class Link extends Entity {
@ApiProperty
protected Provider serviceProvider;
public Provider getServiceProvider() {
return serviceProvider;
}
public void setServiceProvider(Provider serviceProvider) {
this.serviceProvider = serviceProvider;
}
@ApiProperty
protected Customer user;
public Customer getUser() {
return user;
}
public void setUser(Customer user) {
this.user = user;
}
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar createDate;
public GregorianCalendar getCreateDate() {
return createDate;
}
public void setCreateDate(GregorianCalendar createDate) {
createDateSpecified = true;
this.createDate = createDate;
}
protected boolean createDateSpecified;
public boolean isCreateDateSpecified() {
return createDateSpecified;
}
public void unsetCreateDate() {
createDate = null;
createDateSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long defaultFlag;
public Long getDefaultFlag() {
return defaultFlag;
}
public void setDefaultFlag(Long defaultFlag) {
defaultFlagSpecified = true;
this.defaultFlag = defaultFlag;
}
protected boolean defaultFlagSpecified;
public boolean isDefaultFlagSpecified() {
return defaultFlagSpecified;
}
public void unsetDefaultFlag() {
defaultFlag = null;
defaultFlagSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String destinationUserAlphanumericId;
public String getDestinationUserAlphanumericId() {
return destinationUserAlphanumericId;
}
public void setDestinationUserAlphanumericId(String destinationUserAlphanumericId) {
destinationUserAlphanumericIdSpecified = true;
this.destinationUserAlphanumericId = destinationUserAlphanumericId;
}
protected boolean destinationUserAlphanumericIdSpecified;
public boolean isDestinationUserAlphanumericIdSpecified() {
return destinationUserAlphanumericIdSpecified;
}
public void unsetDestinationUserAlphanumericId() {
destinationUserAlphanumericId = null;
destinationUserAlphanumericIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long destinationUserId;
public Long getDestinationUserId() {
return destinationUserId;
}
public void setDestinationUserId(Long destinationUserId) {
destinationUserIdSpecified = true;
this.destinationUserId = destinationUserId;
}
protected boolean destinationUserIdSpecified;
public boolean isDestinationUserIdSpecified() {
return destinationUserIdSpecified;
}
public void unsetDestinationUserId() {
destinationUserId = null;
destinationUserIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long iamIdVerificationFlag;
public Long getIamIdVerificationFlag() {
return iamIdVerificationFlag;
}
public void setIamIdVerificationFlag(Long iamIdVerificationFlag) {
iamIdVerificationFlagSpecified = true;
this.iamIdVerificationFlag = iamIdVerificationFlag;
}
protected boolean iamIdVerificationFlagSpecified;
public boolean isIamIdVerificationFlagSpecified() {
return iamIdVerificationFlagSpecified;
}
public void unsetIamIdVerificationFlag() {
iamIdVerificationFlag = null;
iamIdVerificationFlagSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* The realm of the IAMid unique identifier.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String realm;
public String getRealm() {
return realm;
}
public void setRealm(String realm) {
realmSpecified = true;
this.realm = realm;
}
protected boolean realmSpecified;
public boolean isRealmSpecified() {
return realmSpecified;
}
public void unsetRealm() {
realm = null;
realmSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long serviceProviderId;
public Long getServiceProviderId() {
return serviceProviderId;
}
public void setServiceProviderId(Long serviceProviderId) {
serviceProviderIdSpecified = true;
this.serviceProviderId = serviceProviderId;
}
protected boolean serviceProviderIdSpecified;
public boolean isServiceProviderIdSpecified() {
return serviceProviderIdSpecified;
}
public void unsetServiceProviderId() {
serviceProviderId = null;
serviceProviderIdSpecified = false;
}
/**
* The IAMid Unique Identifier formed in the format of "realm-uniqueIdentifier"
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String uniqueIdentifier;
public String getUniqueIdentifier() {
return uniqueIdentifier;
}
public void setUniqueIdentifier(String uniqueIdentifier) {
uniqueIdentifierSpecified = true;
this.uniqueIdentifier = uniqueIdentifier;
}
protected boolean uniqueIdentifierSpecified;
public boolean isUniqueIdentifierSpecified() {
return uniqueIdentifierSpecified;
}
public void unsetUniqueIdentifier() {
uniqueIdentifier = null;
uniqueIdentifierSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long userId;
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
userIdSpecified = true;
this.userId = userId;
}
protected boolean userIdSpecified;
public boolean isUserIdSpecified() {
return userIdSpecified;
}
public void unsetUserId() {
userId = null;
userIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.service.Provider.Mask serviceProvider() {
return withSubMask("serviceProvider", com.softlayer.api.service.service.Provider.Mask.class);
}
public com.softlayer.api.service.user.Customer.Mask user() {
return withSubMask("user", com.softlayer.api.service.user.Customer.Mask.class);
}
public Mask createDate() {
withLocalProperty("createDate");
return this;
}
public Mask defaultFlag() {
withLocalProperty("defaultFlag");
return this;
}
public Mask destinationUserAlphanumericId() {
withLocalProperty("destinationUserAlphanumericId");
return this;
}
public Mask destinationUserId() {
withLocalProperty("destinationUserId");
return this;
}
public Mask iamIdVerificationFlag() {
withLocalProperty("iamIdVerificationFlag");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask realm() {
withLocalProperty("realm");
return this;
}
public Mask serviceProviderId() {
withLocalProperty("serviceProviderId");
return this;
}
public Mask uniqueIdentifier() {
withLocalProperty("uniqueIdentifier");
return this;
}
public Mask userId() {
withLocalProperty("userId");
return this;
}
}
}