All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.ticket.attachment.scheduled.Action Maven / Gradle / Ivy

The newest version!
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 scheduledAction;

    public Transaction getScheduledAction() {
        return scheduledAction;
    }

    public void setScheduledAction(Transaction scheduledAction) {
        this.scheduledAction = scheduledAction;
    }

    @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 scheduledAction() {
            return withSubMask("scheduledAction", 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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy