Class ResourcePayload
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.case_management.v1.model.ResourcePayload
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ResourcePayload extends com.ibm.cloud.sdk.core.service.model.GenericModelPayload to add a resource to a case.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourcePayload.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Stringcrn()Gets the crn.java.lang.Doubleid()Deprecated.this method is deprecated and may be removed in a future releaseResourcePayload.BuildernewBuilder()New builder.java.lang.Stringnote()Gets the note.java.lang.Stringtype()Gets the type.
-
-
-
Method Detail
-
newBuilder
public ResourcePayload.Builder newBuilder()
New builder.- Returns:
- a ResourcePayload builder
-
crn
public java.lang.String crn()
Gets the crn. Cloud Resource Name of the resource.- Returns:
- the crn
-
type
public java.lang.String type()
Gets the type. Only used to attach Classic IaaS devices that have no CRN.- Returns:
- the type
-
id
@Deprecated public java.lang.Double id()
Deprecated.this method is deprecated and may be removed in a future releaseGets the id. Only used to attach Classic IaaS devices that have no CRN. Id of Classic IaaS device. This is deprecated in favor of the crn field.- Returns:
- the id
-
note
public java.lang.String note()
Gets the note. A note about this resource.- Returns:
- the note
-
-