Class Category
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.billing.item.cancellation.reason.Category
@ApiType("SoftLayer_Billing_Item_Cancellation_Reason_Category") public class Category extends Entity
The SoftLayer_Billing_Item_Cancellation_Reason_Category data type contains cancellation reason categories.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Category.Mask
static interface
Category.Service
static interface
Category.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
billingCancellationReasonCount
A count of the corresponding billing cancellation reasons having the specific billing cancellation reason category.protected List<Reason>
billingCancellationReasons
The corresponding billing cancellation reasons having the specific billing cancellation reason category.protected Long
id
A category internal identifier.protected boolean
idSpecified
protected String
name
The description of the categoryprotected boolean
nameSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
Modifier and Type Method Description Category.Service
asService(ApiClient client)
Long
getBillingCancellationReasonCount()
List<Reason>
getBillingCancellationReasons()
Long
getId()
String
getName()
boolean
isIdSpecified()
boolean
isNameSpecified()
static Category.Service
service(ApiClient client)
static Category.Service
service(ApiClient client, Long id)
void
setBillingCancellationReasonCount(Long billingCancellationReasonCount)
void
setId(Long id)
void
setName(String name)
void
unsetId()
void
unsetName()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
billingCancellationReasons
The corresponding billing cancellation reasons having the specific billing cancellation reason category. -
id
A category internal identifier. -
idSpecified
protected boolean idSpecified -
name
The description of the category -
nameSpecified
protected boolean nameSpecified -
billingCancellationReasonCount
A count of the corresponding billing cancellation reasons having the specific billing cancellation reason category.
-
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
getBillingCancellationReasons
-
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getBillingCancellationReasonCount
-
setBillingCancellationReasonCount
-
asService
-
service
-
service
-