Class ResourcePayload

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ResourcePayload
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Payload to add a resource to a case.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ResourcePayload.Builder
      Builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String crn()
      Gets the crn.
      java.lang.Double id()
      Deprecated.
      this method is deprecated and may be removed in a future release
      ResourcePayload.Builder newBuilder()
      New builder.
      java.lang.String note()
      Gets the note.
      java.lang.String type()
      Gets the type.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • 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 release
        Gets 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