com.softlayer.api.service.notification.occurrence.Account 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.notification.occurrence;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.notification.occurrence.Event;
import com.softlayer.api.service.notification.occurrence.Update;
/**
* @see SoftLayer_Notification_Occurrence_Account
*/
@ApiType("SoftLayer_Notification_Occurrence_Account")
public class Account extends Entity {
@ApiProperty
protected com.softlayer.api.service.Account account;
public com.softlayer.api.service.Account getAccount() {
return account;
}
public void setAccount(com.softlayer.api.service.Account account) {
this.account = account;
}
@ApiProperty
protected Update lastNotificationUpdate;
public Update getLastNotificationUpdate() {
return lastNotificationUpdate;
}
public void setLastNotificationUpdate(Update lastNotificationUpdate) {
this.lastNotificationUpdate = lastNotificationUpdate;
}
@ApiProperty
protected Event notificationOccurrenceEvent;
public Event getNotificationOccurrenceEvent() {
return notificationOccurrenceEvent;
}
public void setNotificationOccurrenceEvent(Event notificationOccurrenceEvent) {
this.notificationOccurrenceEvent = notificationOccurrenceEvent;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Long active;
public Long getActive() {
return active;
}
public void setActive(Long active) {
activeSpecified = true;
this.active = active;
}
protected boolean activeSpecified;
public boolean isActiveSpecified() {
return activeSpecified;
}
public void unsetActive() {
active = null;
activeSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.Account.Mask account() {
return withSubMask("account", com.softlayer.api.service.Account.Mask.class);
}
public Update.Mask lastNotificationUpdate() {
return withSubMask("lastNotificationUpdate", Update.Mask.class);
}
public Event.Mask notificationOccurrenceEvent() {
return withSubMask("notificationOccurrenceEvent", Event.Mask.class);
}
public Mask active() {
withLocalProperty("active");
return this;
}
}
}