com.softlayer.api.service.ticket.attachment.scheduled.Action 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.ticket.attachment.scheduled;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.provisioning.version1.Transaction;
import com.softlayer.api.service.ticket.Attachment;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_Ticket_Attachment_Scheduled_Action
*/
@ApiType("SoftLayer_Ticket_Attachment_Scheduled_Action")
public class Action extends Attachment {
@ApiProperty
protected Transaction resource;
public Transaction getResource() {
return resource;
}
public void setResource(Transaction resource) {
this.resource = resource;
}
@ApiProperty
protected Transaction transaction;
public Transaction getTransaction() {
return transaction;
}
public void setTransaction(Transaction transaction) {
this.transaction = transaction;
}
/**
* The internal identifier of a scheduled action transaction that is attached to a ticket.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar runDate;
public GregorianCalendar getRunDate() {
return runDate;
}
public void setRunDate(GregorianCalendar runDate) {
runDateSpecified = true;
this.runDate = runDate;
}
protected boolean runDateSpecified;
public boolean isRunDateSpecified() {
return runDateSpecified;
}
public void unsetRunDate() {
runDate = null;
runDateSpecified = false;
}
/**
* The internal identifier of a scheduled action transaction that is attached to a ticket.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long transactionId;
public Long getTransactionId() {
return transactionId;
}
public void setTransactionId(Long transactionId) {
transactionIdSpecified = true;
this.transactionId = transactionId;
}
protected boolean transactionIdSpecified;
public boolean isTransactionIdSpecified() {
return transactionIdSpecified;
}
public void unsetTransactionId() {
transactionId = null;
transactionIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.ticket.Attachment.Mask {
public com.softlayer.api.service.provisioning.version1.Transaction.Mask resource() {
return withSubMask("resource", com.softlayer.api.service.provisioning.version1.Transaction.Mask.class);
}
public com.softlayer.api.service.provisioning.version1.Transaction.Mask transaction() {
return withSubMask("transaction", com.softlayer.api.service.provisioning.version1.Transaction.Mask.class);
}
public Mask runDate() {
withLocalProperty("runDate");
return this;
}
public Mask transactionId() {
withLocalProperty("transactionId");
return this;
}
}
}