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

com.softlayer.api.service.virtual.BrowserConsoleAccessLog Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.virtual;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;

/**
 * The SoftLayer_Virtual_BrowserConsoleAccessLog data type presents the data for events associated with accessing a VSIs console via the browser interface. 
 *
 * @see SoftLayer_Virtual_BrowserConsoleAccessLog
 */
@ApiType("SoftLayer_Virtual_BrowserConsoleAccessLog")
public class BrowserConsoleAccessLog extends Entity {

    /**
     * Date created 
     */
    @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;
    }

    /**
     * The event type that was triggered 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String eventType;

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        eventTypeSpecified = true;
        this.eventType = eventType;
    }

    protected boolean eventTypeSpecified;

    public boolean isEventTypeSpecified() {
        return eventTypeSpecified;
    }

    public void unsetEventType() {
        eventType = null;
        eventTypeSpecified = false;
    }

    /**
     * Unique ID for a console log event instance. 
     */
    @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;
    }

    /**
     * The message for the event 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        messageSpecified = true;
        this.message = message;
    }

    protected boolean messageSpecified;

    public boolean isMessageSpecified() {
        return messageSpecified;
    }

    public void unsetMessage() {
        message = null;
        messageSpecified = false;
    }

    /**
     * Date modified 
     */
    @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;
    }

    /**
     * The IP address of the client that triggered the event 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String sourceIp;

    public String getSourceIp() {
        return sourceIp;
    }

    public void setSourceIp(String sourceIp) {
        sourceIpSpecified = true;
        this.sourceIp = sourceIp;
    }

    protected boolean sourceIpSpecified;

    public boolean isSourceIpSpecified() {
        return sourceIpSpecified;
    }

    public void unsetSourceIp() {
        sourceIp = null;
        sourceIpSpecified = false;
    }

    /**
     * The IP port of the client that triggered the event 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long sourcePort;

    public Long getSourcePort() {
        return sourcePort;
    }

    public void setSourcePort(Long sourcePort) {
        sourcePortSpecified = true;
        this.sourcePort = sourcePort;
    }

    protected boolean sourcePortSpecified;

    public boolean isSourcePortSpecified() {
        return sourcePortSpecified;
    }

    public void unsetSourcePort() {
        sourcePort = null;
        sourcePortSpecified = false;
    }

    /**
     * The user id that triggered the event 
     */
    @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;
    }

    /**
     * The user type that triggered the event 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String userType;

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        userTypeSpecified = true;
        this.userType = userType;
    }

    protected boolean userTypeSpecified;

    public boolean isUserTypeSpecified() {
        return userTypeSpecified;
    }

    public void unsetUserType() {
        userType = null;
        userTypeSpecified = false;
    }

    /**
     * The username of the user that triggered the event 
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        usernameSpecified = true;
        this.username = username;
    }

    protected boolean usernameSpecified;

    public boolean isUsernameSpecified() {
        return usernameSpecified;
    }

    public void unsetUsername() {
        username = null;
        usernameSpecified = false;
    }

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

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

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

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

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy