Class UploadRequest


  • public class UploadRequest
    extends Object
    JSON body parameters for Publishes end-to-end encryption keys for the device.
    • Field Detail

      • deviceKeys

        private DeviceKeys deviceKeys
        Identity keys for the device. May be absent if no new identity keys are required.
      • oneTimeKeys

        private Map<String,​Object> oneTimeKeys
        One-time public keys for "pre-key" messages. The names of the properties should be in the format (algorithm):(key_id). The format of the key is determined by the key algorithm.

        May be absent if no new one-time keys are required.

    • Constructor Detail

      • UploadRequest

        public UploadRequest()
    • Method Detail

      • getDeviceKeys

        public DeviceKeys getDeviceKeys()
      • setDeviceKeys

        public void setDeviceKeys​(DeviceKeys deviceKeys)
      • setOneTimeKeys

        public void setOneTimeKeys​(Map<String,​Object> oneTimeKeys)