From b073c083da39ae913fd96e808a06457891b90b74 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Mon, 10 Aug 2026 12:45:55 +0100 Subject: [PATCH] Update CE OpenAPI spec in master (from master) --- ce/docs/DeviceProfile.md | 66 ++++++++- ce/docs/DeviceProfileData.md | 66 ++++++++- .../DeviceProfileTransportConfiguration.md | 66 ++++++++- ce/docs/DummyJobConfiguration.md | 12 ++ ce/docs/DummyJobResult.md | 12 ++ ce/docs/Job.md | 12 ++ ce/docs/JobConfiguration.md | 12 ++ ce/docs/JobResult.md | 12 ++ ce/docs/LwM2MBootstrapServerCredential.md | 66 +++++++++ ...wm2mDeviceProfileTransportConfiguration.md | 66 ++++++++- ce/docs/PageDataDeviceProfile.md | 66 ++++++++- ce/docs/PageDataJob.md | 12 ++ ce/docs/TaskResult.md | 16 +++ ce/docs/TelemetryMappingConfiguration.md | 2 +- ce/docs/TelemetryObserveStrategy.md | 8 +- ce/spec/openapi.json | 133 ++++++++++++++++-- .../org/thingsboard/client/ApiClient.java | 4 +- .../model/LwM2MBootstrapServerCredential.java | 16 +-- .../thingsboard/client/model/TaskResult.java | 4 +- .../model/TelemetryObserveStrategy.java | 8 +- 20 files changed, 623 insertions(+), 36 deletions(-) diff --git a/ce/docs/DeviceProfile.md b/ce/docs/DeviceProfile.md index e91d7242..3b4684d7 100644 --- a/ce/docs/DeviceProfile.md +++ b/ce/docs/DeviceProfile.md @@ -157,6 +157,70 @@ A JSON value representing the device profile. |------|------|-------------|-------| | securityMode | String | | | +#### NoSecLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`NO_SEC`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### PSKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`PSK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### RPKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`RPK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### X509LwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`X509`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + #### OtherConfiguration | Name | Type | Description | Notes | |------|------|-------------|-------| @@ -242,7 +306,7 @@ A JSON value representing the device profile. | epmax | Long | | [optional] | #### TelemetryObserveStrategy (enum) -`SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST` | `COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST` | `COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT` +`SINGLE` | `COMPOSITE_ALL` | `COMPOSITE_BY_OBJECT` #### PowerMode (enum) `PSM` | `DRX` | `E_DRX` diff --git a/ce/docs/DeviceProfileData.md b/ce/docs/DeviceProfileData.md index 1cd7c923..e07f0377 100644 --- a/ce/docs/DeviceProfileData.md +++ b/ce/docs/DeviceProfileData.md @@ -118,6 +118,70 @@ |------|------|-------------|-------| | securityMode | String | | | +#### NoSecLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`NO_SEC`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### PSKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`PSK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### RPKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`RPK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### X509LwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`X509`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + #### OtherConfiguration | Name | Type | Description | Notes | |------|------|-------------|-------| @@ -203,7 +267,7 @@ | epmax | Long | | [optional] | #### TelemetryObserveStrategy (enum) -`SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST` | `COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST` | `COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT` +`SINGLE` | `COMPOSITE_ALL` | `COMPOSITE_BY_OBJECT` #### PowerMode (enum) `PSM` | `DRX` | `E_DRX` diff --git a/ce/docs/DeviceProfileTransportConfiguration.md b/ce/docs/DeviceProfileTransportConfiguration.md index 67dc48a4..6e35f4b3 100644 --- a/ce/docs/DeviceProfileTransportConfiguration.md +++ b/ce/docs/DeviceProfileTransportConfiguration.md @@ -89,6 +89,70 @@ Configuration for device profile transport |------|------|-------------|-------| | securityMode | String | | | +#### NoSecLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`NO_SEC`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### PSKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`PSK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### RPKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`RPK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### X509LwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`X509`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + #### OtherConfiguration | Name | Type | Description | Notes | |------|------|-------------|-------| @@ -174,7 +238,7 @@ Configuration for device profile transport | epmax | Long | | [optional] | #### TelemetryObserveStrategy (enum) -`SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST` | `COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST` | `COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT` +`SINGLE` | `COMPOSITE_ALL` | `COMPOSITE_BY_OBJECT` #### SnmpCommunicationSpec (enum) `TELEMETRY_QUERYING` | `CLIENT_ATTRIBUTES_QUERYING` | `SHARED_ATTRIBUTES_SETTING` | `TO_DEVICE_RPC_REQUEST` | `TO_SERVER_RPC_REQUEST` diff --git a/ce/docs/DummyJobConfiguration.md b/ce/docs/DummyJobConfiguration.md index b0ed8861..ccc82dce 100644 --- a/ce/docs/DummyJobConfiguration.md +++ b/ce/docs/DummyJobConfiguration.md @@ -42,6 +42,18 @@ Dummy job configuration | error | String | | [optional] | | jobType | String | | | +#### DummyTaskResult *(extends TaskResult, jobType=`DUMMY`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| failure | DummyTaskFailure | | [optional] | + +#### DummyTaskFailure +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| error | String | | [optional] | +| number | Integer | | [optional] | +| failAlways | Boolean | | [optional] | + --- ### Conventions diff --git a/ce/docs/DummyJobResult.md b/ce/docs/DummyJobResult.md index 61368c91..54ac9651 100644 --- a/ce/docs/DummyJobResult.md +++ b/ce/docs/DummyJobResult.md @@ -38,6 +38,18 @@ | error | String | | [optional] | | jobType | String | | | +#### DummyTaskResult *(extends TaskResult, jobType=`DUMMY`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| failure | DummyTaskFailure | | [optional] | + +#### DummyTaskFailure +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| error | String | | [optional] | +| number | Integer | | [optional] | +| failAlways | Boolean | | [optional] | + --- ### Conventions diff --git a/ce/docs/Job.md b/ce/docs/Job.md index 90dfcae5..e128856f 100644 --- a/ce/docs/Job.md +++ b/ce/docs/Job.md @@ -80,6 +80,18 @@ | error | String | | [optional] | | jobType | String | | | +#### DummyTaskResult *(extends TaskResult, jobType=`DUMMY`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| failure | DummyTaskFailure | | [optional] | + +#### DummyTaskFailure +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| error | String | | [optional] | +| number | Integer | | [optional] | +| failAlways | Boolean | | [optional] | + --- ### Conventions diff --git a/ce/docs/JobConfiguration.md b/ce/docs/JobConfiguration.md index cfe8c5ab..19639705 100644 --- a/ce/docs/JobConfiguration.md +++ b/ce/docs/JobConfiguration.md @@ -40,6 +40,18 @@ | error | String | | [optional] | | jobType | String | | | +#### DummyTaskResult *(extends TaskResult, jobType=`DUMMY`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| failure | DummyTaskFailure | | [optional] | + +#### DummyTaskFailure +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| error | String | | [optional] | +| number | Integer | | [optional] | +| failAlways | Boolean | | [optional] | + --- ### Conventions diff --git a/ce/docs/JobResult.md b/ce/docs/JobResult.md index f0317cbf..42829869 100644 --- a/ce/docs/JobResult.md +++ b/ce/docs/JobResult.md @@ -39,6 +39,18 @@ Job execution result | error | String | | [optional] | | jobType | String | | | +#### DummyTaskResult *(extends TaskResult, jobType=`DUMMY`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| failure | DummyTaskFailure | | [optional] | + +#### DummyTaskFailure +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| error | String | | [optional] | +| number | Integer | | [optional] | +| failAlways | Boolean | | [optional] | + --- ### Conventions diff --git a/ce/docs/LwM2MBootstrapServerCredential.md b/ce/docs/LwM2MBootstrapServerCredential.md index 6f3c66e5..ce4ea705 100644 --- a/ce/docs/LwM2MBootstrapServerCredential.md +++ b/ce/docs/LwM2MBootstrapServerCredential.md @@ -11,6 +11,72 @@ +## Subtypes + +#### NoSecLwM2MBootstrapServerCredential *(securityMode=`NO_SEC`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### PSKLwM2MBootstrapServerCredential *(securityMode=`PSK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### RPKLwM2MBootstrapServerCredential *(securityMode=`RPK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### X509LwM2MBootstrapServerCredential *(securityMode=`X509`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + --- ### Conventions diff --git a/ce/docs/Lwm2mDeviceProfileTransportConfiguration.md b/ce/docs/Lwm2mDeviceProfileTransportConfiguration.md index a8b029d7..78091d6f 100644 --- a/ce/docs/Lwm2mDeviceProfileTransportConfiguration.md +++ b/ce/docs/Lwm2mDeviceProfileTransportConfiguration.md @@ -39,6 +39,70 @@ |------|------|-------------|-------| | securityMode | String | | | +#### NoSecLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`NO_SEC`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### PSKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`PSK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### RPKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`RPK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### X509LwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`X509`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + #### OtherConfiguration | Name | Type | Description | Notes | |------|------|-------------|-------| @@ -71,7 +135,7 @@ | epmax | Long | | [optional] | #### TelemetryObserveStrategy (enum) -`SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST` | `COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST` | `COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT` +`SINGLE` | `COMPOSITE_ALL` | `COMPOSITE_BY_OBJECT` #### PowerMode (enum) `PSM` | `DRX` | `E_DRX` diff --git a/ce/docs/PageDataDeviceProfile.md b/ce/docs/PageDataDeviceProfile.md index 2a0b6fe8..e71cee8e 100644 --- a/ce/docs/PageDataDeviceProfile.md +++ b/ce/docs/PageDataDeviceProfile.md @@ -163,6 +163,70 @@ |------|------|-------------|-------| | securityMode | String | | | +#### NoSecLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`NO_SEC`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### PSKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`PSK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### RPKLwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`RPK`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + +#### X509LwM2MBootstrapServerCredential *(extends LwM2MBootstrapServerCredential, securityMode=`X509`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| shortServerId | Integer | Server short Id. Used as link to associate server Object Instance. This identifier uniquely identifies each LwM2M Server configured for the LwM2M Client. This Resource MUST be set when the Bootstrap-Server Resource has a value of 'false'. The values ID:0 and ID:65535 values MUST NOT be used for identifying the LwM2M Server. | [optional] [readonly] | +| bootstrapServerIs | Boolean | Is Bootstrap Server or Lwm2m Server. The LwM2M Client MAY be configured to use one or more LwM2M Server Account(s). The LwM2M Client MUST have at most one LwM2M Bootstrap-Server Account. (*) The LwM2M client MUST have at least one LwM2M server account after completing the boot sequence specified. | [optional] [readonly] | +| host | String | Host for 'No Security' mode | [optional] [readonly] | +| port | Integer | Port for Lwm2m Server: 'No Security' mode: Lwm2m Server or Bootstrap Server | [optional] [readonly] | +| clientHoldOffTime | Integer | Client Hold Off Time. The number of seconds to wait before initiating a Client Initiated Bootstrap once the LwM2M Client has determined it should initiate this bootstrap mode. (This information is relevant for use with a Bootstrap-Server only.) | [optional] [readonly] | +| serverPublicKey | String | Server Public Key for 'Security' mode (DTLS): RPK or X509. Format: base64 encoded | [optional] [readonly] | +| serverCertificate | String | Server Public Key for 'Security' mode (DTLS): X509. Format: base64 encoded | [optional] [readonly] | +| bootstrapServerAccountTimeout | Integer | Bootstrap Server Account Timeout (If the value is set to 0, or if this resource is not instantiated, the Bootstrap-Server Account lifetime is infinite.) | [optional] [readonly] | +| lifetime | Integer | Specify the lifetime of the registration in seconds. | [optional] [readonly] | +| defaultMinPeriod | Integer | The default value the LwM2M Client should use for the Minimum Period of an Observation in the absence of this parameter being included in an Observation. If this Resource doesn’t exist, the default value is 0. | [optional] [readonly] | +| notifIfDisabled | Boolean | If true, the LwM2M Client stores “Notify” operations to the LwM2M Server while the LwM2M Server account is disabled or the LwM2M Client is offline. After the LwM2M Server account is enabled or the LwM2M Client is online, the LwM2M Client reports the stored “Notify” operations to the Server. If false, the LwM2M Client discards all the “Notify” operations or temporarily disables the Observe function while the LwM2M Server is disabled or the LwM2M Client is offline. The default value is true. | [optional] [readonly] | +| binding | String | This Resource defines the transport binding configured for the LwM2M Client. If the LwM2M Client supports the binding specified in this Resource, the LwM2M Client MUST use that transport for the Current Binding Mode. | [optional] [readonly] | + #### OtherConfiguration | Name | Type | Description | Notes | |------|------|-------------|-------| @@ -248,7 +312,7 @@ | epmax | Long | | [optional] | #### TelemetryObserveStrategy (enum) -`SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST` | `COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST` | `COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT` +`SINGLE` | `COMPOSITE_ALL` | `COMPOSITE_BY_OBJECT` #### PowerMode (enum) `PSM` | `DRX` | `E_DRX` diff --git a/ce/docs/PageDataJob.md b/ce/docs/PageDataJob.md index 904ee82c..2f67ce0f 100644 --- a/ce/docs/PageDataJob.md +++ b/ce/docs/PageDataJob.md @@ -88,6 +88,18 @@ | error | String | | [optional] | | jobType | String | | | +#### DummyTaskResult *(extends TaskResult, jobType=`DUMMY`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| failure | DummyTaskFailure | | [optional] | + +#### DummyTaskFailure +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| error | String | | [optional] | +| number | Integer | | [optional] | +| failAlways | Boolean | | [optional] | + --- ### Conventions diff --git a/ce/docs/TaskResult.md b/ce/docs/TaskResult.md index 9f87bdbf..2a524bec 100644 --- a/ce/docs/TaskResult.md +++ b/ce/docs/TaskResult.md @@ -16,6 +16,22 @@ +## Subtypes + +#### DummyTaskResult *(jobType=`DUMMY`)* +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| failure | DummyTaskFailure | | [optional] | + +## Referenced Types + +#### DummyTaskFailure +| Name | Type | Description | Notes | +|------|------|-------------|-------| +| error | String | | [optional] | +| number | Integer | | [optional] | +| failAlways | Boolean | | [optional] | + --- ### Conventions diff --git a/ce/docs/TelemetryMappingConfiguration.md b/ce/docs/TelemetryMappingConfiguration.md index 1eed16d4..195d2525 100644 --- a/ce/docs/TelemetryMappingConfiguration.md +++ b/ce/docs/TelemetryMappingConfiguration.md @@ -36,7 +36,7 @@ | epmax | Long | | [optional] | #### TelemetryObserveStrategy (enum) -`SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST` | `COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST` | `COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT` +`SINGLE` | `COMPOSITE_ALL` | `COMPOSITE_BY_OBJECT` #### LwM2mVersion | Name | Type | Description | Notes | diff --git a/ce/docs/TelemetryObserveStrategy.md b/ce/docs/TelemetryObserveStrategy.md index aaef96a8..7bc1a6f7 100644 --- a/ce/docs/TelemetryObserveStrategy.md +++ b/ce/docs/TelemetryObserveStrategy.md @@ -3,14 +3,16 @@ `org.thingsboard.client.model.TelemetryObserveStrategy` +Observation strategy for telemetry. SINGLE (0): one resource equals one single observe request. COMPOSITE_ALL (1): all resources in one composite observe request. COMPOSITE_BY_OBJECT (2): grouped composite observe requests by object. + ## Enum Values -* `SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST` (value: `"SINGLE (0): One resource equals one single observe request"`) +* `SINGLE` (value: `"SINGLE"`) -* `COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST` (value: `"COMPOSITE_ALL (1): All resources in one composite observe request"`) +* `COMPOSITE_ALL` (value: `"COMPOSITE_ALL"`) -* `COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT` (value: `"COMPOSITE_BY_OBJECT (2): Grouped composite observe requests by object"`) +* `COMPOSITE_BY_OBJECT` (value: `"COMPOSITE_BY_OBJECT"`) diff --git a/ce/spec/openapi.json b/ce/spec/openapi.json index 8d696472..ae6e8fa7 100644 --- a/ce/spec/openapi.json +++ b/ce/spec/openapi.json @@ -16,7 +16,7 @@ }, "servers": [ { - "url": "http://localhost:8080", + "url": "http://localhost:42271", "description": "Generated server url" } ], @@ -88327,7 +88327,20 @@ } } } - ] + ], + "example": { + "key": null, + "success": null, + "discarded": null, + "finishTs": null, + "error": null, + "jobType": "DUMMY", + "failure": { + "error": null, + "number": null, + "failAlways": null + } + } }, "DurationAlarmCondition": { "allOf": [ @@ -91554,7 +91567,28 @@ }, "LwM2MBootstrapServerCredential": { "discriminator": { - "propertyName": "securityMode" + "propertyName": "securityMode", + "mapping": { + "NO_SEC": "#/components/schemas/NoSecLwM2MBootstrapServerCredential", + "PSK": "#/components/schemas/PSKLwM2MBootstrapServerCredential", + "RPK": "#/components/schemas/RPKLwM2MBootstrapServerCredential", + "X509": "#/components/schemas/X509LwM2MBootstrapServerCredential" + } + }, + "example": { + "securityMode": "NO_SEC", + "shortServerId": 123, + "bootstrapServerIs": true, + "host": "0.0.0.0", + "port": "'5685' or '5687'", + "clientHoldOffTime": 1, + "serverPublicKey": "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZ0pSaGKHk/GrDaUDnQZpeEdGwX7m3Ws+U/kiVat\n+44sgk3c8g0LotfMpLlZJPhPwJ6ipXV+O1r7IZUjBs3LNA==", + "serverCertificate": "MMIICODCCAd6gAwIBAgIUI88U1zowOdrxDK/dOV+36gJxI2MwCgYIKoZIzj0EAwIwejELMAkGA1UEBhMCVUs\nxEjAQBgNVBAgTCUt5aXYgY2l0eTENMAsGA1UEBxMES3lpdjEUMBIGA1UEChMLVGhpbmdzYm9hcmQxFzAVBgNVBAsMDkRFVkVMT1BFUl9URVNUMRkwFwYDVQQDDBBpbnRlcm1lZGlhdGVfY2EwMB4XDTIyMDEwOTEzMDMwMFoXDTI3MDEwODEzMDMwMFowFDESMBAGA1UEAxM\nJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUO3vBo/JTv0eooY7XHiKAIVDoWKFqtrU7C6q8AIKqpLcqhCdW+haFeBOH3PjY6EwaWkY04Bir4oanU0s7tz2uKOBpzCBpDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/\nBAIwADAdBgNVHQ4EFgQUEjc3Q4a0TxzP/3x3EV4fHxYUg0YwHwYDVR0jBBgwFoAUuSquGycMU6Q0SYNcbtSkSD3TfH0wLwYDVR0RBCgwJoIVbG9jYWxob3N0LmxvY2FsZG9tYWlugglsb2NhbGhvc3SCAiAtMAoGCCqGSM49BAMCA0gAMEUCIQD7dbZObyUaoDiNbX+9fUNp\nAWrD7N7XuJUwZ9FcN75R3gIgb2RNjDkHoyUyF1YajwkBk+7XmIXNClmizNJigj908mw=", + "bootstrapServerAccountTimeout": 0, + "lifetime": 300, + "defaultMinPeriod": 1, + "notifIfDisabled": true, + "binding": "U" }, "properties": { "securityMode": { @@ -92668,7 +92702,22 @@ } } } - ] + ], + "example": { + "securityMode": "NO_SEC", + "shortServerId": 123, + "bootstrapServerIs": true, + "host": "0.0.0.0", + "port": "'5685' or '5687'", + "clientHoldOffTime": 1, + "serverPublicKey": "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZ0pSaGKHk/GrDaUDnQZpeEdGwX7m3Ws+U/kiVat\n+44sgk3c8g0LotfMpLlZJPhPwJ6ipXV+O1r7IZUjBs3LNA==", + "serverCertificate": "MMIICODCCAd6gAwIBAgIUI88U1zowOdrxDK/dOV+36gJxI2MwCgYIKoZIzj0EAwIwejELMAkGA1UEBhMCVUs\nxEjAQBgNVBAgTCUt5aXYgY2l0eTENMAsGA1UEBxMES3lpdjEUMBIGA1UEChMLVGhpbmdzYm9hcmQxFzAVBgNVBAsMDkRFVkVMT1BFUl9URVNUMRkwFwYDVQQDDBBpbnRlcm1lZGlhdGVfY2EwMB4XDTIyMDEwOTEzMDMwMFoXDTI3MDEwODEzMDMwMFowFDESMBAGA1UEAxM\nJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUO3vBo/JTv0eooY7XHiKAIVDoWKFqtrU7C6q8AIKqpLcqhCdW+haFeBOH3PjY6EwaWkY04Bir4oanU0s7tz2uKOBpzCBpDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/\nBAIwADAdBgNVHQ4EFgQUEjc3Q4a0TxzP/3x3EV4fHxYUg0YwHwYDVR0jBBgwFoAUuSquGycMU6Q0SYNcbtSkSD3TfH0wLwYDVR0RBCgwJoIVbG9jYWxob3N0LmxvY2FsZG9tYWlugglsb2NhbGhvc3SCAiAtMAoGCCqGSM49BAMCA0gAMEUCIQD7dbZObyUaoDiNbX+9fUNp\nAWrD7N7XuJUwZ9FcN75R3gIgb2RNjDkHoyUyF1YajwkBk+7XmIXNClmizNJigj908mw=", + "bootstrapServerAccountTimeout": 0, + "lifetime": 300, + "defaultMinPeriod": 1, + "notifIfDisabled": true, + "binding": "U" + } }, "NodeConnectionInfo": { "type": "object", @@ -94633,7 +94682,22 @@ } } } - ] + ], + "example": { + "securityMode": "PSK", + "shortServerId": 123, + "bootstrapServerIs": true, + "host": "0.0.0.0", + "port": "'5685' or '5687'", + "clientHoldOffTime": 1, + "serverPublicKey": "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZ0pSaGKHk/GrDaUDnQZpeEdGwX7m3Ws+U/kiVat\n+44sgk3c8g0LotfMpLlZJPhPwJ6ipXV+O1r7IZUjBs3LNA==", + "serverCertificate": "MMIICODCCAd6gAwIBAgIUI88U1zowOdrxDK/dOV+36gJxI2MwCgYIKoZIzj0EAwIwejELMAkGA1UEBhMCVUs\nxEjAQBgNVBAgTCUt5aXYgY2l0eTENMAsGA1UEBxMES3lpdjEUMBIGA1UEChMLVGhpbmdzYm9hcmQxFzAVBgNVBAsMDkRFVkVMT1BFUl9URVNUMRkwFwYDVQQDDBBpbnRlcm1lZGlhdGVfY2EwMB4XDTIyMDEwOTEzMDMwMFoXDTI3MDEwODEzMDMwMFowFDESMBAGA1UEAxM\nJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUO3vBo/JTv0eooY7XHiKAIVDoWKFqtrU7C6q8AIKqpLcqhCdW+haFeBOH3PjY6EwaWkY04Bir4oanU0s7tz2uKOBpzCBpDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/\nBAIwADAdBgNVHQ4EFgQUEjc3Q4a0TxzP/3x3EV4fHxYUg0YwHwYDVR0jBBgwFoAUuSquGycMU6Q0SYNcbtSkSD3TfH0wLwYDVR0RBCgwJoIVbG9jYWxob3N0LmxvY2FsZG9tYWlugglsb2NhbGhvc3SCAiAtMAoGCCqGSM49BAMCA0gAMEUCIQD7dbZObyUaoDiNbX+9fUNp\nAWrD7N7XuJUwZ9FcN75R3gIgb2RNjDkHoyUyF1YajwkBk+7XmIXNClmizNJigj908mw=", + "bootstrapServerAccountTimeout": 0, + "lifetime": 300, + "defaultMinPeriod": 1, + "notifIfDisabled": true, + "binding": "U" + } }, "PageDataAiModel": { "type": "object", @@ -96773,7 +96837,22 @@ } } } - ] + ], + "example": { + "securityMode": "RPK", + "shortServerId": 123, + "bootstrapServerIs": true, + "host": "0.0.0.0", + "port": "'5685' or '5687'", + "clientHoldOffTime": 1, + "serverPublicKey": "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZ0pSaGKHk/GrDaUDnQZpeEdGwX7m3Ws+U/kiVat\n+44sgk3c8g0LotfMpLlZJPhPwJ6ipXV+O1r7IZUjBs3LNA==", + "serverCertificate": "MMIICODCCAd6gAwIBAgIUI88U1zowOdrxDK/dOV+36gJxI2MwCgYIKoZIzj0EAwIwejELMAkGA1UEBhMCVUs\nxEjAQBgNVBAgTCUt5aXYgY2l0eTENMAsGA1UEBxMES3lpdjEUMBIGA1UEChMLVGhpbmdzYm9hcmQxFzAVBgNVBAsMDkRFVkVMT1BFUl9URVNUMRkwFwYDVQQDDBBpbnRlcm1lZGlhdGVfY2EwMB4XDTIyMDEwOTEzMDMwMFoXDTI3MDEwODEzMDMwMFowFDESMBAGA1UEAxM\nJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUO3vBo/JTv0eooY7XHiKAIVDoWKFqtrU7C6q8AIKqpLcqhCdW+haFeBOH3PjY6EwaWkY04Bir4oanU0s7tz2uKOBpzCBpDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/\nBAIwADAdBgNVHQ4EFgQUEjc3Q4a0TxzP/3x3EV4fHxYUg0YwHwYDVR0jBBgwFoAUuSquGycMU6Q0SYNcbtSkSD3TfH0wLwYDVR0RBCgwJoIVbG9jYWxob3N0LmxvY2FsZG9tYWlugglsb2NhbGhvc3SCAiAtMAoGCCqGSM49BAMCA0gAMEUCIQD7dbZObyUaoDiNbX+9fUNp\nAWrD7N7XuJUwZ9FcN75R3gIgb2RNjDkHoyUyF1YajwkBk+7XmIXNClmizNJigj908mw=", + "bootstrapServerAccountTimeout": 0, + "lifetime": 300, + "defaultMinPeriod": 1, + "notifIfDisabled": true, + "binding": "U" + } }, "RateLimitsNotificationRuleTriggerConfig": { "allOf": [ @@ -99274,7 +99353,23 @@ "TaskResult": { "type": "object", "discriminator": { - "propertyName": "jobType" + "propertyName": "jobType", + "mapping": { + "DUMMY": "#/components/schemas/DummyTaskResult" + } + }, + "example": { + "key": null, + "success": null, + "discarded": null, + "finishTs": null, + "error": null, + "jobType": "DUMMY", + "failure": { + "error": null, + "number": null, + "failAlways": null + } }, "properties": { "key": { @@ -99744,10 +99839,11 @@ }, "TelemetryObserveStrategy": { "type": "string", + "description": "Observation strategy for telemetry. SINGLE (0): one resource equals one single observe request. COMPOSITE_ALL (1): all resources in one composite observe request. COMPOSITE_BY_OBJECT (2): grouped composite observe requests by object.", "enum": [ - "SINGLE (0): One resource equals one single observe request", - "COMPOSITE_ALL (1): All resources in one composite observe request", - "COMPOSITE_BY_OBJECT (2): Grouped composite observe requests by object" + "SINGLE", + "COMPOSITE_ALL", + "COMPOSITE_BY_OBJECT" ] }, "TelemetryQueryingSnmpCommunicationConfig": { @@ -101959,7 +102055,22 @@ } } } - ] + ], + "example": { + "securityMode": "X509", + "shortServerId": 123, + "bootstrapServerIs": true, + "host": "0.0.0.0", + "port": "'5685' or '5687'", + "clientHoldOffTime": 1, + "serverPublicKey": "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAZ0pSaGKHk/GrDaUDnQZpeEdGwX7m3Ws+U/kiVat\n+44sgk3c8g0LotfMpLlZJPhPwJ6ipXV+O1r7IZUjBs3LNA==", + "serverCertificate": "MMIICODCCAd6gAwIBAgIUI88U1zowOdrxDK/dOV+36gJxI2MwCgYIKoZIzj0EAwIwejELMAkGA1UEBhMCVUs\nxEjAQBgNVBAgTCUt5aXYgY2l0eTENMAsGA1UEBxMES3lpdjEUMBIGA1UEChMLVGhpbmdzYm9hcmQxFzAVBgNVBAsMDkRFVkVMT1BFUl9URVNUMRkwFwYDVQQDDBBpbnRlcm1lZGlhdGVfY2EwMB4XDTIyMDEwOTEzMDMwMFoXDTI3MDEwODEzMDMwMFowFDESMBAGA1UEAxM\nJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUO3vBo/JTv0eooY7XHiKAIVDoWKFqtrU7C6q8AIKqpLcqhCdW+haFeBOH3PjY6EwaWkY04Bir4oanU0s7tz2uKOBpzCBpDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/\nBAIwADAdBgNVHQ4EFgQUEjc3Q4a0TxzP/3x3EV4fHxYUg0YwHwYDVR0jBBgwFoAUuSquGycMU6Q0SYNcbtSkSD3TfH0wLwYDVR0RBCgwJoIVbG9jYWxob3N0LmxvY2FsZG9tYWlugglsb2NhbGhvc3SCAiAtMAoGCCqGSM49BAMCA0gAMEUCIQD7dbZObyUaoDiNbX+9fUNp\nAWrD7N7XuJUwZ9FcN75R3gIgb2RNjDkHoyUyF1YajwkBk+7XmIXNClmizNJigj908mw=", + "bootstrapServerAccountTimeout": 0, + "lifetime": 300, + "defaultMinPeriod": 1, + "notifIfDisabled": true, + "binding": "U" + } }, "YearInterval": { "allOf": [ diff --git a/ce/src/main/java/org/thingsboard/client/ApiClient.java b/ce/src/main/java/org/thingsboard/client/ApiClient.java index 9eb6f0f7..53215cb9 100644 --- a/ce/src/main/java/org/thingsboard/client/ApiClient.java +++ b/ce/src/main/java/org/thingsboard/client/ApiClient.java @@ -173,7 +173,7 @@ public static List parameterToPairs( public ApiClient() { this.builder = createDefaultHttpClientBuilder(); this.mapper = createDefaultObjectMapper(); - updateBaseUri("http://localhost:8080"); + updateBaseUri("http://localhost:42271"); interceptor = null; readTimeout = null; connectTimeout = null; @@ -191,7 +191,7 @@ public ApiClient() { public ApiClient(HttpClient.Builder builder, ObjectMapper mapper, String baseUri) { this.builder = builder; this.mapper = mapper; - updateBaseUri(baseUri != null ? baseUri : "http://localhost:8080"); + updateBaseUri(baseUri != null ? baseUri : "http://localhost:42271"); interceptor = null; readTimeout = null; connectTimeout = null; diff --git a/ce/src/main/java/org/thingsboard/client/model/LwM2MBootstrapServerCredential.java b/ce/src/main/java/org/thingsboard/client/model/LwM2MBootstrapServerCredential.java index a3e9241b..0cb8c4ad 100644 --- a/ce/src/main/java/org/thingsboard/client/model/LwM2MBootstrapServerCredential.java +++ b/ce/src/main/java/org/thingsboard/client/model/LwM2MBootstrapServerCredential.java @@ -50,10 +50,10 @@ ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "securityMode", visible = true) @JsonSubTypes({ - @JsonSubTypes.Type(value = NoSecLwM2MBootstrapServerCredential.class, name = "NoSecLwM2MBootstrapServerCredential"), - @JsonSubTypes.Type(value = PSKLwM2MBootstrapServerCredential.class, name = "PSKLwM2MBootstrapServerCredential"), - @JsonSubTypes.Type(value = RPKLwM2MBootstrapServerCredential.class, name = "RPKLwM2MBootstrapServerCredential"), - @JsonSubTypes.Type(value = X509LwM2MBootstrapServerCredential.class, name = "X509LwM2MBootstrapServerCredential"), + @JsonSubTypes.Type(value = NoSecLwM2MBootstrapServerCredential.class, name = "NO_SEC"), + @JsonSubTypes.Type(value = PSKLwM2MBootstrapServerCredential.class, name = "PSK"), + @JsonSubTypes.Type(value = RPKLwM2MBootstrapServerCredential.class, name = "RPK"), + @JsonSubTypes.Type(value = X509LwM2MBootstrapServerCredential.class, name = "X509"), }) public class LwM2MBootstrapServerCredential { @@ -170,10 +170,10 @@ public String toUrlQueryString(String prefix) { static { // Initialize and register the discriminator mappings. Map> mappings = new HashMap>(); - mappings.put("NoSecLwM2MBootstrapServerCredential", NoSecLwM2MBootstrapServerCredential.class); - mappings.put("PSKLwM2MBootstrapServerCredential", PSKLwM2MBootstrapServerCredential.class); - mappings.put("RPKLwM2MBootstrapServerCredential", RPKLwM2MBootstrapServerCredential.class); - mappings.put("X509LwM2MBootstrapServerCredential", X509LwM2MBootstrapServerCredential.class); + mappings.put("NO_SEC", NoSecLwM2MBootstrapServerCredential.class); + mappings.put("PSK", PSKLwM2MBootstrapServerCredential.class); + mappings.put("RPK", RPKLwM2MBootstrapServerCredential.class); + mappings.put("X509", X509LwM2MBootstrapServerCredential.class); mappings.put("LwM2MBootstrapServerCredential", LwM2MBootstrapServerCredential.class); JSON.registerDiscriminator(LwM2MBootstrapServerCredential.class, "securityMode", mappings); } diff --git a/ce/src/main/java/org/thingsboard/client/model/TaskResult.java b/ce/src/main/java/org/thingsboard/client/model/TaskResult.java index 8af64f0d..4c60c77e 100644 --- a/ce/src/main/java/org/thingsboard/client/model/TaskResult.java +++ b/ce/src/main/java/org/thingsboard/client/model/TaskResult.java @@ -56,7 +56,7 @@ ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "jobType", visible = true) @JsonSubTypes({ - @JsonSubTypes.Type(value = DummyTaskResult.class, name = "DummyTaskResult"), + @JsonSubTypes.Type(value = DummyTaskResult.class, name = "DUMMY"), }) public class TaskResult { @@ -348,7 +348,7 @@ public String toUrlQueryString(String prefix) { static { // Initialize and register the discriminator mappings. Map> mappings = new HashMap>(); - mappings.put("DummyTaskResult", DummyTaskResult.class); + mappings.put("DUMMY", DummyTaskResult.class); mappings.put("TaskResult", TaskResult.class); JSON.registerDiscriminator(TaskResult.class, "jobType", mappings); } diff --git a/ce/src/main/java/org/thingsboard/client/model/TelemetryObserveStrategy.java b/ce/src/main/java/org/thingsboard/client/model/TelemetryObserveStrategy.java index 70724946..de9777d2 100644 --- a/ce/src/main/java/org/thingsboard/client/model/TelemetryObserveStrategy.java +++ b/ce/src/main/java/org/thingsboard/client/model/TelemetryObserveStrategy.java @@ -28,15 +28,15 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * Gets or Sets TelemetryObserveStrategy + * Observation strategy for telemetry. SINGLE (0): one resource equals one single observe request. COMPOSITE_ALL (1): all resources in one composite observe request. COMPOSITE_BY_OBJECT (2): grouped composite observe requests by object. */ public enum TelemetryObserveStrategy { - SINGLE_0_ONE_RESOURCE_EQUALS_ONE_SINGLE_OBSERVE_REQUEST("SINGLE (0): One resource equals one single observe request"), + SINGLE("SINGLE"), - COMPOSITE_ALL_1_ALL_RESOURCES_IN_ONE_COMPOSITE_OBSERVE_REQUEST("COMPOSITE_ALL (1): All resources in one composite observe request"), + COMPOSITE_ALL("COMPOSITE_ALL"), - COMPOSITE_BY_OBJECT_2_GROUPED_COMPOSITE_OBSERVE_REQUESTS_BY_OBJECT("COMPOSITE_BY_OBJECT (2): Grouped composite observe requests by object"); + COMPOSITE_BY_OBJECT("COMPOSITE_BY_OBJECT"); private String value;