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

com.softlayer.api.service.ticket.Chat Maven / Gradle / Ivy

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

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

/**
 * @see SoftLayer_Ticket_Chat
 */
@ApiType("SoftLayer_Ticket_Chat")
public class Chat extends Entity {

    @ApiProperty
    protected Employee agent;

    public Employee getAgent() {
        return agent;
    }

    public void setAgent(Employee agent) {
        this.agent = agent;
    }

    @ApiProperty
    protected Customer customer;

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    @ApiProperty
    protected com.softlayer.api.service.ticket.update.Chat ticketUpdate;

    public com.softlayer.api.service.ticket.update.Chat getTicketUpdate() {
        return ticketUpdate;
    }

    public void setTicketUpdate(com.softlayer.api.service.ticket.update.Chat ticketUpdate) {
        this.ticketUpdate = ticketUpdate;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long customerId;

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        customerIdSpecified = true;
        this.customerId = customerId;
    }

    protected boolean customerIdSpecified;

    public boolean isCustomerIdSpecified() {
        return customerIdSpecified;
    }

    public void unsetCustomerId() {
        customerId = null;
        customerIdSpecified = 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;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String transcript;

    public String getTranscript() {
        return transcript;
    }

    public void setTranscript(String transcript) {
        transcriptSpecified = true;
        this.transcript = transcript;
    }

    protected boolean transcriptSpecified;

    public boolean isTranscriptSpecified() {
        return transcriptSpecified;
    }

    public void unsetTranscript() {
        transcript = null;
        transcriptSpecified = false;
    }

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

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

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

        public com.softlayer.api.service.ticket.update.Chat.Mask ticketUpdate() {
            return withSubMask("ticketUpdate", com.softlayer.api.service.ticket.update.Chat.Mask.class);
        }

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy