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

com.softlayer.api.service.ticket.attachment.assigned.Agent Maven / Gradle / Ivy

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

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.ticket.Attachment;
import com.softlayer.api.service.user.Customer;

/**
 * @see SoftLayer_Ticket_Attachment_Assigned_Agent
 */
@ApiType("SoftLayer_Ticket_Attachment_Assigned_Agent")
public class Agent extends Attachment {

    @ApiProperty
    protected Customer assignedAgent;

    public Customer getAssignedAgent() {
        return assignedAgent;
    }

    public void setAssignedAgent(Customer assignedAgent) {
        this.assignedAgent = assignedAgent;
    }

    @ApiProperty
    protected Customer resource;

    public Customer getResource() {
        return resource;
    }

    public void setResource(Customer resource) {
        this.resource = resource;
    }

    /**
     * The internal identifier of an assigned Agent that is attached to a ticket.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected Long assignedAgentId;

    public Long getAssignedAgentId() {
        return assignedAgentId;
    }

    public void setAssignedAgentId(Long assignedAgentId) {
        assignedAgentIdSpecified = true;
        this.assignedAgentId = assignedAgentId;
    }

    protected boolean assignedAgentIdSpecified;

    public boolean isAssignedAgentIdSpecified() {
        return assignedAgentIdSpecified;
    }

    public void unsetAssignedAgentId() {
        assignedAgentId = null;
        assignedAgentIdSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.ticket.Attachment.Mask {

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy