Class LpwanDecoderInputData

  • All Implemented Interfaces:
    com.cumulocity.rest.representation.ResourceRepresentation, Serializable

    public class LpwanDecoderInputData
    extends DecoderInputData
    The LpwanDecoderInputData class represents the format and content of the request coming in for decoding a device data.
    See Also:
    Serialized Form
    • Constructor Detail

      • LpwanDecoderInputData

        public LpwanDecoderInputData​(@NotBlank
                                     @NotBlank String sourceDeviceId,
                                     @NotBlank
                                     @NotBlank String sourceDeviceEui,
                                     @NotNull
                                     @NotNull DeviceInfo sourceDeviceInfo,
                                     @NotBlank
                                     @NotBlank String inputData,
                                     @Null
                                     @Null Integer fport,
                                     @Null
                                     @Null Long updateTime)
        Instantiates a new LpwanDecoderInputData.
        Parameters:
        sourceDeviceId - the managed object id of the device
        sourceDeviceEui - represents the eui of the device
        sourceDeviceInfo - contains the information about the device such as Manufacturer or model of the device
        inputData - represents the actual payload data as a HEX string
        fport - represents the port number received as an input
        updateTime - represents the Date and Time when the payload is sent
      • LpwanDecoderInputData

        public LpwanDecoderInputData​(@NotBlank
                                     @NotBlank String inputData,
                                     @NotNull
                                     @NotNull com.cumulocity.model.idtype.GId sourceDeviceId,
                                     @NotNull
                                     @NotNull Map<String,​String> args)
        Instantiates a new LpwanDecoderInputData.
        Parameters:
        inputData - represents the actual payload data as a HEX string
        sourceDeviceId - the managed object id of the device
        args - represents the properties
    • Method Detail

      • getSourceDeviceEui

        @NotBlank
        public @NotBlank String getSourceDeviceEui()
        Gets the source device eui
        Returns:
        the source device eui
      • getSourceDeviceInfo

        @NotNull
        public @NotNull DeviceInfo getSourceDeviceInfo()
        Gets the source device info that contains the information about the device such as Manufacturer or model of the device
        Returns:
        the source device info
      • getUpdateTime

        @Null
        public @Null Long getUpdateTime()
        Gets update time.
        Returns:
        the update time
      • getFport

        @Null
        public @Null Integer getFport()
        Gets f-port.
        Returns:
        the f-port