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

com.softlayer.api.service.notification.occurrence.Update Maven / Gradle / Ivy

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.user.Employee;
import java.util.GregorianCalendar;

/**
 * @see SoftLayer_Notification_Occurrence_Update
 */
@ApiType("SoftLayer_Notification_Occurrence_Update")
public class Update extends Entity {

    @ApiProperty
    protected Employee employee;

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    @ApiProperty
    protected Event notificationOccurrenceEvent;

    public Event getNotificationOccurrenceEvent() {
        return notificationOccurrenceEvent;
    }

    public void setNotificationOccurrenceEvent(Event notificationOccurrenceEvent) {
        this.notificationOccurrenceEvent = notificationOccurrenceEvent;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String contents;

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        contentsSpecified = true;
        this.contents = contents;
    }

    protected boolean contentsSpecified;

    public boolean isContentsSpecified() {
        return contentsSpecified;
    }

    public void unsetContents() {
        contents = null;
        contentsSpecified = 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 GregorianCalendar endDate;

    public GregorianCalendar getEndDate() {
        return endDate;
    }

    public void setEndDate(GregorianCalendar endDate) {
        endDateSpecified = true;
        this.endDate = endDate;
    }

    protected boolean endDateSpecified;

    public boolean isEndDateSpecified() {
        return endDateSpecified;
    }

    public void unsetEndDate() {
        endDate = null;
        endDateSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar startDate;

    public GregorianCalendar getStartDate() {
        return startDate;
    }

    public void setStartDate(GregorianCalendar startDate) {
        startDateSpecified = true;
        this.startDate = startDate;
    }

    protected boolean startDateSpecified;

    public boolean isStartDateSpecified() {
        return startDateSpecified;
    }

    public void unsetStartDate() {
        startDate = null;
        startDateSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public com.softlayer.api.service.user.Employee.Mask employee() {
            return withSubMask("employee", com.softlayer.api.service.user.Employee.Mask.class);
        }

        public Event.Mask notificationOccurrenceEvent() {
            return withSubMask("notificationOccurrenceEvent", Event.Mask.class);
        }

        public Mask contents() {
            withLocalProperty("contents");
            return this;
        }

        public Mask createDate() {
            withLocalProperty("createDate");
            return this;
        }

        public Mask endDate() {
            withLocalProperty("endDate");
            return this;
        }

        public Mask startDate() {
            withLocalProperty("startDate");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy