Class UpdateResourcePositionRequest

    • Method Detail

      • resourceIdentifier

        public final String resourceIdentifier()

        The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.

        Returns:
        The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
      • resourceType

        public final PositionResourceType resourceType()

        The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.

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

        Returns:
        The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
        See Also:
        PositionResourceType
      • resourceTypeAsString

        public final String resourceTypeAsString()

        The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.

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

        Returns:
        The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
        See Also:
        PositionResourceType
      • geoJsonPayload

        public final SdkBytes geoJsonPayload()

        The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.

        Returns:
        The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
      • 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