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 String ibmIdUniqueIdentifier;
public String getIbmIdUniqueIdentifier() {
return ibmIdUniqueIdentifier;
}
public void setIbmIdUniqueIdentifier(String ibmIdUniqueIdentifier) {
ibmIdUniqueIdentifierSpecified = true;
this.ibmIdUniqueIdentifier = ibmIdUniqueIdentifier;
}
protected boolean ibmIdUniqueIdentifierSpecified;
public boolean isIbmIdUniqueIdentifierSpecified() {
return ibmIdUniqueIdentifierSpecified;
}
public void unsetIbmIdUniqueIdentifier() {
ibmIdUniqueIdentifier = null;
ibmIdUniqueIdentifierSpecified = 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;
}
@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;
}
@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 ibmIdUniqueIdentifier() {
withLocalProperty("ibmIdUniqueIdentifier");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask serviceProviderId() {
withLocalProperty("serviceProviderId");
return this;
}
public Mask userId() {
withLocalProperty("userId");
return this;
}
}
}