Class CreateResourceRequest

    • Method Detail

      • organizationId

        public final String organizationId()

        The identifier associated with the organization for which the resource is created.

        Returns:
        The identifier associated with the organization for which the resource is created.
      • name

        public final String name()

        The name of the new resource.

        Returns:
        The name of the new resource.
      • type

        public final ResourceType type()

        The type of the new resource. The available types are equipment and room.

        If the service returns an enum value that is not available in the current SDK version, type will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of the new resource. The available types are equipment and room.
        See Also:
        ResourceType
      • typeAsString

        public final String typeAsString()

        The type of the new resource. The available types are equipment and room.

        If the service returns an enum value that is not available in the current SDK version, type will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of the new resource. The available types are equipment and room.
        See Also:
        ResourceType
      • description

        public final String description()

        Resource description.

        Returns:
        Resource description.
      • hiddenFromGlobalAddressList

        public final Boolean hiddenFromGlobalAddressList()

        If this parameter is enabled, the resource will be hidden from the address book.

        Returns:
        If this parameter is enabled, the resource will be hidden from the address book.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object