com.softlayer.api.service.account.note.History 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.account.note;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.account.Note;
import com.softlayer.api.service.user.Customer;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_Account_Note_History
*/
@ApiType("SoftLayer_Account_Note_History")
public class History extends Entity {
@ApiProperty
protected Note accountNote;
public Note getAccountNote() {
return accountNote;
}
public void setAccountNote(Note accountNote) {
this.accountNote = accountNote;
}
@ApiProperty
protected Customer customer;
public Customer getCustomer() {
return customer;
}
public void setCustomer(Customer customer) {
this.customer = customer;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long accountNoteId;
public Long getAccountNoteId() {
return accountNoteId;
}
public void setAccountNoteId(Long accountNoteId) {
accountNoteIdSpecified = true;
this.accountNoteId = accountNoteId;
}
protected boolean accountNoteIdSpecified;
public boolean isAccountNoteIdSpecified() {
return accountNoteIdSpecified;
}
public void unsetAccountNoteId() {
accountNoteId = null;
accountNoteIdSpecified = false;
}
@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 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 GregorianCalendar modifyDate;
public GregorianCalendar getModifyDate() {
return modifyDate;
}
public void setModifyDate(GregorianCalendar modifyDate) {
modifyDateSpecified = true;
this.modifyDate = modifyDate;
}
protected boolean modifyDateSpecified;
public boolean isModifyDateSpecified() {
return modifyDateSpecified;
}
public void unsetModifyDate() {
modifyDate = null;
modifyDateSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String note;
public String getNote() {
return note;
}
public void setNote(String note) {
noteSpecified = true;
this.note = note;
}
protected boolean noteSpecified;
public boolean isNoteSpecified() {
return noteSpecified;
}
public void unsetNote() {
note = null;
noteSpecified = 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.account.Note.Mask accountNote() {
return withSubMask("accountNote", com.softlayer.api.service.account.Note.Mask.class);
}
public com.softlayer.api.service.user.Customer.Mask customer() {
return withSubMask("customer", com.softlayer.api.service.user.Customer.Mask.class);
}
public Mask accountNoteId() {
withLocalProperty("accountNoteId");
return this;
}
public Mask createDate() {
withLocalProperty("createDate");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask modifyDate() {
withLocalProperty("modifyDate");
return this;
}
public Mask note() {
withLocalProperty("note");
return this;
}
public Mask userId() {
withLocalProperty("userId");
return this;
}
}
}