Class CreateCaseOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.case_management.v1.model.CreateCaseOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateCaseOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createCase options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateCaseOptions.Builder
Builder.static interface
CreateCaseOptions.Type
Case type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
description()
Gets the description.CasePayloadEu
eu()
Gets the eu.java.lang.String
invoiceNumber()
Gets the invoiceNumber.CreateCaseOptions.Builder
newBuilder()
New builder.Offering
offering()
Gets the offering.java.util.List<ResourcePayload>
resources()
Gets the resources.java.lang.Long
severity()
Gets the severity.java.lang.Boolean
slaCreditRequest()
Gets the slaCreditRequest.java.lang.String
subject()
Gets the subject.java.lang.String
type()
Gets the type.java.util.List<User>
watchlist()
Gets the watchlist.
-
-
-
Method Detail
-
newBuilder
public CreateCaseOptions.Builder newBuilder()
New builder.- Returns:
- a CreateCaseOptions builder
-
type
public java.lang.String type()
Gets the type. Case type.- Returns:
- the type
-
subject
public java.lang.String subject()
Gets the subject. Short description used to identify the case.- Returns:
- the subject
-
description
public java.lang.String description()
Gets the description. Detailed description of the issue.- Returns:
- the description
-
severity
public java.lang.Long severity()
Gets the severity. Severity of the case. Smaller values mean higher severity.- Returns:
- the severity
-
eu
public CasePayloadEu eu()
Gets the eu. Specify if the case should be treated as EU regulated. Only one of the following properties is required. Call EU support utility endpoint to determine which property must be specified for your account.- Returns:
- the eu
-
offering
public Offering offering()
Gets the offering. Offering details.- Returns:
- the offering
-
resources
public java.util.List<ResourcePayload> resources()
Gets the resources. List of resources to attach to case. If you attach Classic IaaS devices, use the type and id fields if the Cloud Resource Name (CRN) is unavailable. Otherwise, pass the resource CRN. The resource list must be consistent with the value that is selected for the resource offering.- Returns:
- the resources
-
watchlist
public java.util.List<User> watchlist()
Gets the watchlist. Array of user IDs to add to the watchlist.- Returns:
- the watchlist
-
invoiceNumber
public java.lang.String invoiceNumber()
Gets the invoiceNumber. Invoice number of "Billing and Invoice" case type.- Returns:
- the invoiceNumber
-
slaCreditRequest
public java.lang.Boolean slaCreditRequest()
Gets the slaCreditRequest. Flag to indicate if case is for an Service Level Agreement (SLA) credit request.- Returns:
- the slaCreditRequest
-
-