com.softlayer.api.service.container.account.update.Response 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
The newest version!
package com.softlayer.api.service.container.account.update;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.Ticket;
/**
* Contains data related to an account after editing its information.
*
* @see SoftLayer_Container_Account_Update_Response
*/
@ApiType("SoftLayer_Container_Account_Update_Response")
public class Response extends Entity {
/**
* Whether or not the update was accepted and applied.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean acceptedFlag;
public Boolean getAcceptedFlag() {
return acceptedFlag;
}
public void setAcceptedFlag(Boolean acceptedFlag) {
acceptedFlagSpecified = true;
this.acceptedFlag = acceptedFlag;
}
protected boolean acceptedFlagSpecified;
public boolean isAcceptedFlagSpecified() {
return acceptedFlagSpecified;
}
public void unsetAcceptedFlag() {
acceptedFlag = null;
acceptedFlagSpecified = false;
}
/**
* The updated SoftLayer_Account.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Account account;
public Account getAccount() {
return account;
}
public void setAccount(Account account) {
accountSpecified = true;
this.account = account;
}
protected boolean accountSpecified;
public boolean isAccountSpecified() {
return accountSpecified;
}
public void unsetAccount() {
account = null;
accountSpecified = false;
}
/**
* If a manual review is required, this will be populated with the SoftLayer_Ticket for that review.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Ticket ticket;
public Ticket getTicket() {
return ticket;
}
public void setTicket(Ticket ticket) {
ticketSpecified = true;
this.ticket = ticket;
}
protected boolean ticketSpecified;
public boolean isTicketSpecified() {
return ticketSpecified;
}
public void unsetTicket() {
ticket = null;
ticketSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask acceptedFlag() {
withLocalProperty("acceptedFlag");
return this;
}
public com.softlayer.api.service.Account.Mask account() {
return withSubMask("account", com.softlayer.api.service.Account.Mask.class);
}
public com.softlayer.api.service.Ticket.Mask ticket() {
return withSubMask("ticket", com.softlayer.api.service.Ticket.Mask.class);
}
}
}