com.softlayer.api.service.ticket.Group Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
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.ticket.group.Category;
/**
* SoftLayer tickets have the ability to be assigned to one of SoftLayer's internal departments. The department that a ticket is assigned to is modeled by the SoftLayer_Ticket_Group data type. Ticket groups help to ensure that the proper department is handling a ticket. Standard support tickets are created from a number of pre-determined subjects. These subjects help determine which group a standard ticket is assigned to.
*
* @see SoftLayer_Ticket_Group
*/
@ApiType("SoftLayer_Ticket_Group")
public class Group extends Entity {
/**
* The category that a ticket group belongs to.
*/
@ApiProperty
protected Category category;
public Category getCategory() {
return category;
}
public void setCategory(Category category) {
this.category = category;
}
/**
* A ticket group's internal identifier.
*/
@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;
}
/**
* A ticket group's name.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String name;
public String getName() {
return name;
}
public void setName(String name) {
nameSpecified = true;
this.name = name;
}
protected boolean nameSpecified;
public boolean isNameSpecified() {
return nameSpecified;
}
public void unsetName() {
name = null;
nameSpecified = false;
}
/**
* The internal identifier for the category that a ticket group belongs to..
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long ticketGroupCategoryId;
public Long getTicketGroupCategoryId() {
return ticketGroupCategoryId;
}
public void setTicketGroupCategoryId(Long ticketGroupCategoryId) {
ticketGroupCategoryIdSpecified = true;
this.ticketGroupCategoryId = ticketGroupCategoryId;
}
protected boolean ticketGroupCategoryIdSpecified;
public boolean isTicketGroupCategoryIdSpecified() {
return ticketGroupCategoryIdSpecified;
}
public void unsetTicketGroupCategoryId() {
ticketGroupCategoryId = null;
ticketGroupCategoryIdSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.ticket.group.Category.Mask category() {
return withSubMask("category", com.softlayer.api.service.ticket.group.Category.Mask.class);
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask name() {
withLocalProperty("name");
return this;
}
public Mask ticketGroupCategoryId() {
withLocalProperty("ticketGroupCategoryId");
return this;
}
}
}