From 98b1ef2aead3224b0cbc8ade08ba6ffe42d4a841 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 13 Sep 2021 09:28:42 +0000 Subject: [PATCH] Generated 2019-03-01 for LinkWAN. --- CHANGELOG | 3 + VERSION | 2 +- linkwan/CMakeLists.txt | 466 +++ .../alibabacloud/linkwan/LinkWANClient.h | 814 ++++ .../alibabacloud/linkwan/LinkWANExport.h | 32 + .../AcceptJoinPermissionAuthOrderRequest.h | 54 + .../AcceptJoinPermissionAuthOrderResult.h | 51 + .../linkwan/model/AddNodeToGroupRequest.h | 60 + .../linkwan/model/AddNodeToGroupResult.h | 51 + .../model/ApplyRoamingJoinPermissionRequest.h | 66 + .../model/ApplyRoamingJoinPermissionResult.h | 53 + .../BindJoinPermissionToNodeGroupRequest.h | 57 + .../BindJoinPermissionToNodeGroupResult.h | 51 + .../CancelJoinPermissionAuthOrderRequest.h | 54 + .../CancelJoinPermissionAuthOrderResult.h | 51 + .../CheckCloudProductOpenStatusRequest.h | 54 + .../model/CheckCloudProductOpenStatusResult.h | 53 + .../model/CheckUserChargeStatusRequest.h | 51 + .../model/CheckUserChargeStatusResult.h | 53 + .../model/CountGatewayTupleOrdersRequest.h | 54 + .../model/CountGatewayTupleOrdersResult.h | 53 + .../linkwan/model/CountGatewaysRequest.h | 78 + .../linkwan/model/CountGatewaysResult.h | 53 + .../linkwan/model/CountNodeGroupsRequest.h | 63 + .../linkwan/model/CountNodeGroupsResult.h | 53 + .../model/CountNodeTupleOrdersRequest.h | 57 + .../model/CountNodeTupleOrdersResult.h | 53 + .../model/CountNodesByNodeGroupIdRequest.h | 57 + .../model/CountNodesByNodeGroupIdResult.h | 53 + ...CountNodesByOwnedJoinPermissionIdRequest.h | 57 + .../CountNodesByOwnedJoinPermissionIdResult.h | 53 + .../linkwan/model/CountNotificationsRequest.h | 63 + .../linkwan/model/CountNotificationsResult.h | 53 + .../model/CountOwnedJoinPermissionsRequest.h | 63 + .../model/CountOwnedJoinPermissionsResult.h | 53 + .../model/CountRentedJoinPermissionsRequest.h | 69 + .../model/CountRentedJoinPermissionsResult.h | 53 + .../CreateCustomLocalJoinPermissionRequest.h | 63 + .../CreateCustomLocalJoinPermissionResult.h | 53 + .../linkwan/model/CreateGatewayRequest.h | 93 + .../linkwan/model/CreateGatewayResult.h | 51 + .../model/CreateLocalJoinPermissionRequest.h | 75 + .../model/CreateLocalJoinPermissionResult.h | 53 + .../linkwan/model/CreateNodeGroupRequest.h | 57 + .../linkwan/model/CreateNodeGroupResult.h | 53 + .../linkwan/model/DeleteGatewayRequest.h | 57 + .../linkwan/model/DeleteGatewayResult.h | 51 + .../model/DeleteLocalJoinPermissionRequest.h | 57 + .../model/DeleteLocalJoinPermissionResult.h | 51 + .../linkwan/model/DeleteNodeGroupRequest.h | 54 + .../linkwan/model/DeleteNodeGroupResult.h | 51 + .../linkwan/model/DescribeRegionsRequest.h | 51 + .../linkwan/model/DescribeRegionsResult.h | 58 + .../model/GetFreqBandPlanGroupRequest.h | 54 + .../model/GetFreqBandPlanGroupResult.h | 61 + .../model/GetGatewayPacketStatRequest.h | 63 + .../model/GetGatewayPacketStatResult.h | 60 + .../linkwan/model/GetGatewayRequest.h | 57 + .../linkwan/model/GetGatewayResult.h | 77 + .../model/GetGatewayStatusStatRequest.h | 57 + .../model/GetGatewayStatusStatResult.h | 64 + ...GatewayTransferPacketsDownloadUrlRequest.h | 75 + ...tGatewayTransferPacketsDownloadUrlResult.h | 53 + .../model/GetGatewayTupleOrderRequest.h | 54 + .../model/GetGatewayTupleOrderResult.h | 61 + .../GetGatewayTuplesDownloadUrlRequest.h | 54 + .../model/GetGatewayTuplesDownloadUrlResult.h | 53 + .../model/GetJoinPermissionAuthOrderRequest.h | 54 + .../model/GetJoinPermissionAuthOrderResult.h | 65 + .../model/GetLocalConfigSyncTaskRequest.h | 54 + .../model/GetLocalConfigSyncTaskResult.h | 72 + .../linkwan/model/GetNodeGroupRequest.h | 57 + .../linkwan/model/GetNodeGroupResult.h | 106 + ...deGroupTransferPacketsDownloadUrlRequest.h | 75 + ...odeGroupTransferPacketsDownloadUrlResult.h | 53 + .../linkwan/model/GetNodeLocalConfigRequest.h | 54 + .../linkwan/model/GetNodeLocalConfigResult.h | 69 + .../linkwan/model/GetNodeRequest.h | 54 + .../linkwan/model/GetNodeResult.h | 62 + .../model/GetNodeTransferPacketRequest.h | 63 + .../model/GetNodeTransferPacketResult.h | 75 + ...GetNodeTransferPacketsDownloadUrlRequest.h | 72 + .../GetNodeTransferPacketsDownloadUrlResult.h | 53 + .../linkwan/model/GetNodeTupleOrderRequest.h | 54 + .../linkwan/model/GetNodeTupleOrderResult.h | 62 + .../model/GetNodeTuplesDownloadUrlRequest.h | 54 + .../model/GetNodeTuplesDownloadUrlResult.h | 53 + .../linkwan/model/GetNotificationRequest.h | 54 + .../linkwan/model/GetNotificationResult.h | 82 + .../model/GetOwnedJoinPermissionRequest.h | 57 + .../model/GetOwnedJoinPermissionResult.h | 77 + .../model/GetRentedJoinPermissionRequest.h | 54 + .../model/GetRentedJoinPermissionResult.h | 73 + .../linkwan/model/GetUserLicenseRequest.h | 51 + .../linkwan/model/GetUserLicenseResult.h | 92 + .../GetUserNetProfileDescriptionRequest.h | 51 + .../GetUserNetProfileDescriptionResult.h | 62 + .../model/ListActivatedFeaturesRequest.h | 54 + .../model/ListActivatedFeaturesResult.h | 53 + .../linkwan/model/ListActiveGatewaysRequest.h | 51 + .../linkwan/model/ListActiveGatewaysResult.h | 70 + .../model/ListFreqBandPlanGroupsRequest.h | 51 + .../model/ListFreqBandPlanGroupsResult.h | 61 + .../model/ListGatewayLocalConfigsRequest.h | 54 + .../model/ListGatewayLocalConfigsResult.h | 69 + .../model/ListGatewayOnlineRecordsRequest.h | 66 + .../model/ListGatewayOnlineRecordsResult.h | 64 + .../ListGatewayTransferFlowStatsRequest.h | 66 + .../ListGatewayTransferFlowStatsResult.h | 59 + .../model/ListGatewayTransferPacketsRequest.h | 81 + .../model/ListGatewayTransferPacketsResult.h | 79 + .../model/ListGatewayTupleOrdersRequest.h | 66 + .../model/ListGatewayTupleOrdersResult.h | 67 + .../model/ListGatewaysGisInfoRequest.h | 54 + .../linkwan/model/ListGatewaysGisInfoResult.h | 67 + .../model/ListGatewaysPacketStatRequest.h | 63 + .../model/ListGatewaysPacketStatResult.h | 59 + .../linkwan/model/ListGatewaysRequest.h | 84 + .../linkwan/model/ListGatewaysResult.h | 82 + .../ListNodeGroupTransferFlowStatsRequest.h | 66 + .../ListNodeGroupTransferFlowStatsResult.h | 59 + .../ListNodeGroupTransferPacketsRequest.h | 81 + .../ListNodeGroupTransferPacketsResult.h | 82 + .../model/ListNodeGroupsPacketStatRequest.h | 63 + .../model/ListNodeGroupsPacketStatResult.h | 59 + .../linkwan/model/ListNodeGroupsRequest.h | 75 + .../linkwan/model/ListNodeGroupsResult.h | 107 + .../ListNodeTransferPacketPathsRequest.h | 69 + .../model/ListNodeTransferPacketPathsResult.h | 66 + .../model/ListNodeTransferPacketsRequest.h | 78 + .../model/ListNodeTransferPacketsResult.h | 69 + .../model/ListNodeTupleOrdersRequest.h | 69 + .../linkwan/model/ListNodeTupleOrdersResult.h | 71 + .../model/ListNodesByNodeGroupIdRequest.h | 72 + .../model/ListNodesByNodeGroupIdResult.h | 71 + .../ListNodesByOwnedJoinPermissionIdRequest.h | 72 + .../ListNodesByOwnedJoinPermissionIdResult.h | 66 + .../linkwan/model/ListNotificationsRequest.h | 75 + .../linkwan/model/ListNotificationsResult.h | 94 + .../model/ListOwnedJoinPermissionsRequest.h | 78 + .../model/ListOwnedJoinPermissionsResult.h | 71 + .../model/ListRentedJoinPermissionsRequest.h | 84 + .../model/ListRentedJoinPermissionsResult.h | 95 + .../linkwan/model/ListTransferPacketRequest.h | 69 + .../linkwan/model/ListTransferPacketResult.h | 84 + .../RejectJoinPermissionAuthOrderRequest.h | 54 + .../RejectJoinPermissionAuthOrderResult.h | 51 + .../model/RemoveNodeFromGroupRequest.h | 57 + .../linkwan/model/RemoveNodeFromGroupResult.h | 51 + .../model/ReturnJoinPermissionRequest.h | 57 + .../model/ReturnJoinPermissionResult.h | 51 + .../linkwan/model/SendUnicastCommandRequest.h | 72 + .../linkwan/model/SendUnicastCommandResult.h | 51 + ...ubmitGatewayLocalConfigAddingTaskRequest.h | 66 + ...SubmitGatewayLocalConfigAddingTaskResult.h | 57 + ...mitGatewayLocalConfigDeletingTaskRequest.h | 57 + ...bmitGatewayLocalConfigDeletingTaskResult.h | 57 + .../model/SubmitGatewayTupleOrderRequest.h | 57 + .../model/SubmitGatewayTupleOrderResult.h | 53 + .../SubmitJoinPermissionAuthOrderRequest.h | 57 + .../SubmitJoinPermissionAuthOrderResult.h | 53 + .../SubmitKpmEncryptedNodeTupleOrderRequest.h | 60 + .../SubmitKpmEncryptedNodeTupleOrderResult.h | 53 + .../SubmitNodeLocalConfigAddingTaskRequest.h | 66 + .../SubmitNodeLocalConfigAddingTaskResult.h | 57 + ...SubmitNodeLocalConfigDeletingTaskRequest.h | 54 + .../SubmitNodeLocalConfigDeletingTaskResult.h | 57 + .../model/SubmitNodeTupleOrderRequest.h | 60 + .../model/SubmitNodeTupleOrderResult.h | 53 + ...UnbindJoinPermissionFromNodeGroupRequest.h | 57 + .../UnbindJoinPermissionFromNodeGroupResult.h | 51 + .../model/UpdateDataDispatchConfigRequest.h | 75 + .../model/UpdateDataDispatchConfigResult.h | 51 + .../UpdateDataDispatchEnablingStateRequest.h | 57 + .../UpdateDataDispatchEnablingStateResult.h | 51 + .../model/UpdateGatewayEnablingStateRequest.h | 60 + .../model/UpdateGatewayEnablingStateResult.h | 51 + .../linkwan/model/UpdateGatewayRequest.h | 90 + .../linkwan/model/UpdateGatewayResult.h | 51 + .../model/UpdateGatewaySshCtrlRequest.h | 60 + .../model/UpdateGatewaySshCtrlResult.h | 51 + .../model/UpdateNodeEnablingStateRequest.h | 57 + .../model/UpdateNodeEnablingStateResult.h | 55 + .../linkwan/model/UpdateNodeGroupRequest.h | 57 + .../linkwan/model/UpdateNodeGroupResult.h | 51 + .../UpdateNotificationsHandleStateRequest.h | 57 + .../UpdateNotificationsHandleStateResult.h | 51 + ...dLocalJoinPermissionEnablingStateRequest.h | 60 + ...edLocalJoinPermissionEnablingStateResult.h | 51 + .../UpdateOwnedLocalJoinPermissionRequest.h | 75 + .../UpdateOwnedLocalJoinPermissionResult.h | 51 + ...oamingJoinPermissionEnablingStateRequest.h | 57 + ...RoamingJoinPermissionEnablingStateResult.h | 51 + .../UpdateRoamingJoinPermissionRequest.h | 63 + .../model/UpdateRoamingJoinPermissionResult.h | 51 + .../model/UpdateUserIsolationStateRequest.h | 54 + .../model/UpdateUserIsolationStateResult.h | 55 + linkwan/src/LinkWANClient.cc | 3509 +++++++++++++++++ .../AcceptJoinPermissionAuthOrderRequest.cc | 62 + .../AcceptJoinPermissionAuthOrderResult.cc | 51 + linkwan/src/model/AddNodeToGroupRequest.cc | 84 + linkwan/src/model/AddNodeToGroupResult.cc | 51 + .../ApplyRoamingJoinPermissionRequest.cc | 106 + .../model/ApplyRoamingJoinPermissionResult.cc | 58 + .../BindJoinPermissionToNodeGroupRequest.cc | 73 + .../BindJoinPermissionToNodeGroupResult.cc | 51 + .../CancelJoinPermissionAuthOrderRequest.cc | 62 + .../CancelJoinPermissionAuthOrderResult.cc | 51 + .../CheckCloudProductOpenStatusRequest.cc | 62 + .../CheckCloudProductOpenStatusResult.cc | 58 + .../src/model/CheckUserChargeStatusRequest.cc | 51 + .../src/model/CheckUserChargeStatusResult.cc | 58 + .../model/CountGatewayTupleOrdersRequest.cc | 64 + .../model/CountGatewayTupleOrdersResult.cc | 58 + linkwan/src/model/CountGatewaysRequest.cc | 150 + linkwan/src/model/CountGatewaysResult.cc | 58 + linkwan/src/model/CountNodeGroupsRequest.cc | 95 + linkwan/src/model/CountNodeGroupsResult.cc | 58 + .../src/model/CountNodeTupleOrdersRequest.cc | 75 + .../src/model/CountNodeTupleOrdersResult.cc | 58 + .../model/CountNodesByNodeGroupIdRequest.cc | 73 + .../model/CountNodesByNodeGroupIdResult.cc | 58 + ...ountNodesByOwnedJoinPermissionIdRequest.cc | 73 + ...CountNodesByOwnedJoinPermissionIdResult.cc | 58 + .../src/model/CountNotificationsRequest.cc | 97 + linkwan/src/model/CountNotificationsResult.cc | 58 + .../model/CountOwnedJoinPermissionsRequest.cc | 95 + .../model/CountOwnedJoinPermissionsResult.cc | 58 + .../CountRentedJoinPermissionsRequest.cc | 117 + .../model/CountRentedJoinPermissionsResult.cc | 58 + .../CreateCustomLocalJoinPermissionRequest.cc | 95 + .../CreateCustomLocalJoinPermissionResult.cc | 58 + linkwan/src/model/CreateGatewayRequest.cc | 205 + linkwan/src/model/CreateGatewayResult.cc | 51 + .../model/CreateLocalJoinPermissionRequest.cc | 139 + .../model/CreateLocalJoinPermissionResult.cc | 58 + linkwan/src/model/CreateNodeGroupRequest.cc | 73 + linkwan/src/model/CreateNodeGroupResult.cc | 58 + linkwan/src/model/DeleteGatewayRequest.cc | 73 + linkwan/src/model/DeleteGatewayResult.cc | 51 + .../model/DeleteLocalJoinPermissionRequest.cc | 73 + .../model/DeleteLocalJoinPermissionResult.cc | 51 + linkwan/src/model/DeleteNodeGroupRequest.cc | 62 + linkwan/src/model/DeleteNodeGroupResult.cc | 51 + linkwan/src/model/DescribeRegionsRequest.cc | 51 + linkwan/src/model/DescribeRegionsResult.cc | 66 + .../src/model/GetFreqBandPlanGroupRequest.cc | 62 + .../src/model/GetFreqBandPlanGroupResult.cc | 67 + .../src/model/GetGatewayPacketStatRequest.cc | 95 + .../src/model/GetGatewayPacketStatResult.cc | 65 + linkwan/src/model/GetGatewayRequest.cc | 73 + linkwan/src/model/GetGatewayResult.cc | 99 + .../src/model/GetGatewayStatusStatRequest.cc | 73 + .../src/model/GetGatewayStatusStatResult.cc | 73 + ...atewayTransferPacketsDownloadUrlRequest.cc | 139 + ...GatewayTransferPacketsDownloadUrlResult.cc | 58 + .../src/model/GetGatewayTupleOrderRequest.cc | 62 + .../src/model/GetGatewayTupleOrderResult.cc | 67 + .../GetGatewayTuplesDownloadUrlRequest.cc | 62 + .../GetGatewayTuplesDownloadUrlResult.cc | 58 + .../GetJoinPermissionAuthOrderRequest.cc | 62 + .../model/GetJoinPermissionAuthOrderResult.cc | 75 + .../model/GetLocalConfigSyncTaskRequest.cc | 62 + .../src/model/GetLocalConfigSyncTaskResult.cc | 95 + linkwan/src/model/GetNodeGroupRequest.cc | 73 + linkwan/src/model/GetNodeGroupResult.cc | 134 + ...eGroupTransferPacketsDownloadUrlRequest.cc | 139 + ...deGroupTransferPacketsDownloadUrlResult.cc | 58 + .../src/model/GetNodeLocalConfigRequest.cc | 62 + linkwan/src/model/GetNodeLocalConfigResult.cc | 89 + linkwan/src/model/GetNodeRequest.cc | 62 + linkwan/src/model/GetNodeResult.cc | 69 + .../src/model/GetNodeTransferPacketRequest.cc | 95 + .../src/model/GetNodeTransferPacketResult.cc | 96 + ...etNodeTransferPacketsDownloadUrlRequest.cc | 128 + ...GetNodeTransferPacketsDownloadUrlResult.cc | 58 + linkwan/src/model/GetNodeTupleOrderRequest.cc | 62 + linkwan/src/model/GetNodeTupleOrderResult.cc | 69 + .../model/GetNodeTuplesDownloadUrlRequest.cc | 62 + .../model/GetNodeTuplesDownloadUrlResult.cc | 58 + linkwan/src/model/GetNotificationRequest.cc | 62 + linkwan/src/model/GetNotificationResult.cc | 95 + .../model/GetOwnedJoinPermissionRequest.cc | 73 + .../src/model/GetOwnedJoinPermissionResult.cc | 99 + .../model/GetRentedJoinPermissionRequest.cc | 62 + .../model/GetRentedJoinPermissionResult.cc | 91 + linkwan/src/model/GetUserLicenseRequest.cc | 51 + linkwan/src/model/GetUserLicenseResult.cc | 129 + .../GetUserNetProfileDescriptionRequest.cc | 51 + .../GetUserNetProfileDescriptionResult.cc | 75 + .../src/model/ListActivatedFeaturesRequest.cc | 62 + .../src/model/ListActivatedFeaturesResult.cc | 59 + .../src/model/ListActiveGatewaysRequest.cc | 51 + linkwan/src/model/ListActiveGatewaysResult.cc | 90 + .../model/ListFreqBandPlanGroupsRequest.cc | 51 + .../src/model/ListFreqBandPlanGroupsResult.cc | 72 + .../model/ListGatewayLocalConfigsRequest.cc | 62 + .../model/ListGatewayLocalConfigsResult.cc | 94 + .../model/ListGatewayOnlineRecordsRequest.cc | 106 + .../model/ListGatewayOnlineRecordsResult.cc | 71 + .../ListGatewayTransferFlowStatsRequest.cc | 106 + .../ListGatewayTransferFlowStatsResult.cc | 68 + .../ListGatewayTransferPacketsRequest.cc | 161 + .../model/ListGatewayTransferPacketsResult.cc | 102 + .../model/ListGatewayTupleOrdersRequest.cc | 108 + .../src/model/ListGatewayTupleOrdersResult.cc | 77 + .../src/model/ListGatewaysGisInfoRequest.cc | 62 + .../src/model/ListGatewaysGisInfoResult.cc | 84 + .../model/ListGatewaysPacketStatRequest.cc | 97 + .../src/model/ListGatewaysPacketStatResult.cc | 68 + linkwan/src/model/ListGatewaysRequest.cc | 172 + linkwan/src/model/ListGatewaysResult.cc | 107 + .../ListNodeGroupTransferFlowStatsRequest.cc | 106 + .../ListNodeGroupTransferFlowStatsResult.cc | 68 + .../ListNodeGroupTransferPacketsRequest.cc | 161 + .../ListNodeGroupTransferPacketsResult.cc | 107 + .../model/ListNodeGroupsPacketStatRequest.cc | 97 + .../model/ListNodeGroupsPacketStatResult.cc | 68 + linkwan/src/model/ListNodeGroupsRequest.cc | 139 + linkwan/src/model/ListNodeGroupsResult.cc | 134 + .../ListNodeTransferPacketPathsRequest.cc | 117 + .../ListNodeTransferPacketPathsResult.cc | 75 + .../model/ListNodeTransferPacketsRequest.cc | 150 + .../model/ListNodeTransferPacketsResult.cc | 81 + .../src/model/ListNodeTupleOrdersRequest.cc | 119 + .../src/model/ListNodeTupleOrdersResult.cc | 85 + .../model/ListNodesByNodeGroupIdRequest.cc | 128 + .../src/model/ListNodesByNodeGroupIdResult.cc | 85 + ...ListNodesByOwnedJoinPermissionIdRequest.cc | 128 + .../ListNodesByOwnedJoinPermissionIdResult.cc | 75 + linkwan/src/model/ListNotificationsRequest.cc | 141 + linkwan/src/model/ListNotificationsResult.cc | 110 + .../model/ListOwnedJoinPermissionsRequest.cc | 150 + .../model/ListOwnedJoinPermissionsResult.cc | 85 + .../model/ListRentedJoinPermissionsRequest.cc | 172 + .../model/ListRentedJoinPermissionsResult.cc | 112 + .../src/model/ListTransferPacketRequest.cc | 117 + linkwan/src/model/ListTransferPacketResult.cc | 117 + .../RejectJoinPermissionAuthOrderRequest.cc | 62 + .../RejectJoinPermissionAuthOrderResult.cc | 51 + .../src/model/RemoveNodeFromGroupRequest.cc | 73 + .../src/model/RemoveNodeFromGroupResult.cc | 51 + .../src/model/ReturnJoinPermissionRequest.cc | 73 + .../src/model/ReturnJoinPermissionResult.cc | 51 + .../src/model/SendUnicastCommandRequest.cc | 128 + linkwan/src/model/SendUnicastCommandResult.cc | 51 + ...bmitGatewayLocalConfigAddingTaskRequest.cc | 106 + ...ubmitGatewayLocalConfigAddingTaskResult.cc | 72 + ...itGatewayLocalConfigDeletingTaskRequest.cc | 73 + ...mitGatewayLocalConfigDeletingTaskResult.cc | 72 + .../model/SubmitGatewayTupleOrderRequest.cc | 73 + .../model/SubmitGatewayTupleOrderResult.cc | 58 + .../SubmitJoinPermissionAuthOrderRequest.cc | 73 + .../SubmitJoinPermissionAuthOrderResult.cc | 58 + ...SubmitKpmEncryptedNodeTupleOrderRequest.cc | 84 + .../SubmitKpmEncryptedNodeTupleOrderResult.cc | 58 + .../SubmitNodeLocalConfigAddingTaskRequest.cc | 106 + .../SubmitNodeLocalConfigAddingTaskResult.cc | 72 + ...ubmitNodeLocalConfigDeletingTaskRequest.cc | 62 + ...SubmitNodeLocalConfigDeletingTaskResult.cc | 72 + .../src/model/SubmitNodeTupleOrderRequest.cc | 84 + .../src/model/SubmitNodeTupleOrderResult.cc | 58 + ...nbindJoinPermissionFromNodeGroupRequest.cc | 73 + ...UnbindJoinPermissionFromNodeGroupResult.cc | 51 + .../model/UpdateDataDispatchConfigRequest.cc | 139 + .../model/UpdateDataDispatchConfigResult.cc | 51 + .../UpdateDataDispatchEnablingStateRequest.cc | 73 + .../UpdateDataDispatchEnablingStateResult.cc | 51 + .../UpdateGatewayEnablingStateRequest.cc | 84 + .../model/UpdateGatewayEnablingStateResult.cc | 51 + linkwan/src/model/UpdateGatewayRequest.cc | 194 + linkwan/src/model/UpdateGatewayResult.cc | 51 + .../src/model/UpdateGatewaySshCtrlRequest.cc | 84 + .../src/model/UpdateGatewaySshCtrlResult.cc | 51 + .../model/UpdateNodeEnablingStateRequest.cc | 73 + .../model/UpdateNodeEnablingStateResult.cc | 65 + linkwan/src/model/UpdateNodeGroupRequest.cc | 73 + linkwan/src/model/UpdateNodeGroupResult.cc | 51 + .../UpdateNotificationsHandleStateRequest.cc | 75 + .../UpdateNotificationsHandleStateResult.cc | 51 + ...LocalJoinPermissionEnablingStateRequest.cc | 84 + ...dLocalJoinPermissionEnablingStateResult.cc | 51 + .../UpdateOwnedLocalJoinPermissionRequest.cc | 139 + .../UpdateOwnedLocalJoinPermissionResult.cc | 51 + ...amingJoinPermissionEnablingStateRequest.cc | 73 + ...oamingJoinPermissionEnablingStateResult.cc | 51 + .../UpdateRoamingJoinPermissionRequest.cc | 95 + .../UpdateRoamingJoinPermissionResult.cc | 51 + .../model/UpdateUserIsolationStateRequest.cc | 62 + .../model/UpdateUserIsolationStateResult.cc | 65 + 390 files changed, 32178 insertions(+), 1 deletion(-) create mode 100644 linkwan/CMakeLists.txt create mode 100644 linkwan/include/alibabacloud/linkwan/LinkWANClient.h create mode 100644 linkwan/include/alibabacloud/linkwan/LinkWANExport.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountGatewaysRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountGatewaysResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNotificationsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountNotificationsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateGatewayRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateGatewayResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DeleteGatewayRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DeleteGatewayResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DescribeRegionsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/DescribeRegionsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNotificationRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetNotificationResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetUserLicenseRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetUserLicenseResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewaysRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListGatewaysResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNotificationsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListNotificationsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListTransferPacketRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ListTransferPacketResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateGatewayRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateGatewayResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionResult.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateRequest.h create mode 100644 linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateResult.h create mode 100644 linkwan/src/LinkWANClient.cc create mode 100644 linkwan/src/model/AcceptJoinPermissionAuthOrderRequest.cc create mode 100644 linkwan/src/model/AcceptJoinPermissionAuthOrderResult.cc create mode 100644 linkwan/src/model/AddNodeToGroupRequest.cc create mode 100644 linkwan/src/model/AddNodeToGroupResult.cc create mode 100644 linkwan/src/model/ApplyRoamingJoinPermissionRequest.cc create mode 100644 linkwan/src/model/ApplyRoamingJoinPermissionResult.cc create mode 100644 linkwan/src/model/BindJoinPermissionToNodeGroupRequest.cc create mode 100644 linkwan/src/model/BindJoinPermissionToNodeGroupResult.cc create mode 100644 linkwan/src/model/CancelJoinPermissionAuthOrderRequest.cc create mode 100644 linkwan/src/model/CancelJoinPermissionAuthOrderResult.cc create mode 100644 linkwan/src/model/CheckCloudProductOpenStatusRequest.cc create mode 100644 linkwan/src/model/CheckCloudProductOpenStatusResult.cc create mode 100644 linkwan/src/model/CheckUserChargeStatusRequest.cc create mode 100644 linkwan/src/model/CheckUserChargeStatusResult.cc create mode 100644 linkwan/src/model/CountGatewayTupleOrdersRequest.cc create mode 100644 linkwan/src/model/CountGatewayTupleOrdersResult.cc create mode 100644 linkwan/src/model/CountGatewaysRequest.cc create mode 100644 linkwan/src/model/CountGatewaysResult.cc create mode 100644 linkwan/src/model/CountNodeGroupsRequest.cc create mode 100644 linkwan/src/model/CountNodeGroupsResult.cc create mode 100644 linkwan/src/model/CountNodeTupleOrdersRequest.cc create mode 100644 linkwan/src/model/CountNodeTupleOrdersResult.cc create mode 100644 linkwan/src/model/CountNodesByNodeGroupIdRequest.cc create mode 100644 linkwan/src/model/CountNodesByNodeGroupIdResult.cc create mode 100644 linkwan/src/model/CountNodesByOwnedJoinPermissionIdRequest.cc create mode 100644 linkwan/src/model/CountNodesByOwnedJoinPermissionIdResult.cc create mode 100644 linkwan/src/model/CountNotificationsRequest.cc create mode 100644 linkwan/src/model/CountNotificationsResult.cc create mode 100644 linkwan/src/model/CountOwnedJoinPermissionsRequest.cc create mode 100644 linkwan/src/model/CountOwnedJoinPermissionsResult.cc create mode 100644 linkwan/src/model/CountRentedJoinPermissionsRequest.cc create mode 100644 linkwan/src/model/CountRentedJoinPermissionsResult.cc create mode 100644 linkwan/src/model/CreateCustomLocalJoinPermissionRequest.cc create mode 100644 linkwan/src/model/CreateCustomLocalJoinPermissionResult.cc create mode 100644 linkwan/src/model/CreateGatewayRequest.cc create mode 100644 linkwan/src/model/CreateGatewayResult.cc create mode 100644 linkwan/src/model/CreateLocalJoinPermissionRequest.cc create mode 100644 linkwan/src/model/CreateLocalJoinPermissionResult.cc create mode 100644 linkwan/src/model/CreateNodeGroupRequest.cc create mode 100644 linkwan/src/model/CreateNodeGroupResult.cc create mode 100644 linkwan/src/model/DeleteGatewayRequest.cc create mode 100644 linkwan/src/model/DeleteGatewayResult.cc create mode 100644 linkwan/src/model/DeleteLocalJoinPermissionRequest.cc create mode 100644 linkwan/src/model/DeleteLocalJoinPermissionResult.cc create mode 100644 linkwan/src/model/DeleteNodeGroupRequest.cc create mode 100644 linkwan/src/model/DeleteNodeGroupResult.cc create mode 100644 linkwan/src/model/DescribeRegionsRequest.cc create mode 100644 linkwan/src/model/DescribeRegionsResult.cc create mode 100644 linkwan/src/model/GetFreqBandPlanGroupRequest.cc create mode 100644 linkwan/src/model/GetFreqBandPlanGroupResult.cc create mode 100644 linkwan/src/model/GetGatewayPacketStatRequest.cc create mode 100644 linkwan/src/model/GetGatewayPacketStatResult.cc create mode 100644 linkwan/src/model/GetGatewayRequest.cc create mode 100644 linkwan/src/model/GetGatewayResult.cc create mode 100644 linkwan/src/model/GetGatewayStatusStatRequest.cc create mode 100644 linkwan/src/model/GetGatewayStatusStatResult.cc create mode 100644 linkwan/src/model/GetGatewayTransferPacketsDownloadUrlRequest.cc create mode 100644 linkwan/src/model/GetGatewayTransferPacketsDownloadUrlResult.cc create mode 100644 linkwan/src/model/GetGatewayTupleOrderRequest.cc create mode 100644 linkwan/src/model/GetGatewayTupleOrderResult.cc create mode 100644 linkwan/src/model/GetGatewayTuplesDownloadUrlRequest.cc create mode 100644 linkwan/src/model/GetGatewayTuplesDownloadUrlResult.cc create mode 100644 linkwan/src/model/GetJoinPermissionAuthOrderRequest.cc create mode 100644 linkwan/src/model/GetJoinPermissionAuthOrderResult.cc create mode 100644 linkwan/src/model/GetLocalConfigSyncTaskRequest.cc create mode 100644 linkwan/src/model/GetLocalConfigSyncTaskResult.cc create mode 100644 linkwan/src/model/GetNodeGroupRequest.cc create mode 100644 linkwan/src/model/GetNodeGroupResult.cc create mode 100644 linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlRequest.cc create mode 100644 linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlResult.cc create mode 100644 linkwan/src/model/GetNodeLocalConfigRequest.cc create mode 100644 linkwan/src/model/GetNodeLocalConfigResult.cc create mode 100644 linkwan/src/model/GetNodeRequest.cc create mode 100644 linkwan/src/model/GetNodeResult.cc create mode 100644 linkwan/src/model/GetNodeTransferPacketRequest.cc create mode 100644 linkwan/src/model/GetNodeTransferPacketResult.cc create mode 100644 linkwan/src/model/GetNodeTransferPacketsDownloadUrlRequest.cc create mode 100644 linkwan/src/model/GetNodeTransferPacketsDownloadUrlResult.cc create mode 100644 linkwan/src/model/GetNodeTupleOrderRequest.cc create mode 100644 linkwan/src/model/GetNodeTupleOrderResult.cc create mode 100644 linkwan/src/model/GetNodeTuplesDownloadUrlRequest.cc create mode 100644 linkwan/src/model/GetNodeTuplesDownloadUrlResult.cc create mode 100644 linkwan/src/model/GetNotificationRequest.cc create mode 100644 linkwan/src/model/GetNotificationResult.cc create mode 100644 linkwan/src/model/GetOwnedJoinPermissionRequest.cc create mode 100644 linkwan/src/model/GetOwnedJoinPermissionResult.cc create mode 100644 linkwan/src/model/GetRentedJoinPermissionRequest.cc create mode 100644 linkwan/src/model/GetRentedJoinPermissionResult.cc create mode 100644 linkwan/src/model/GetUserLicenseRequest.cc create mode 100644 linkwan/src/model/GetUserLicenseResult.cc create mode 100644 linkwan/src/model/GetUserNetProfileDescriptionRequest.cc create mode 100644 linkwan/src/model/GetUserNetProfileDescriptionResult.cc create mode 100644 linkwan/src/model/ListActivatedFeaturesRequest.cc create mode 100644 linkwan/src/model/ListActivatedFeaturesResult.cc create mode 100644 linkwan/src/model/ListActiveGatewaysRequest.cc create mode 100644 linkwan/src/model/ListActiveGatewaysResult.cc create mode 100644 linkwan/src/model/ListFreqBandPlanGroupsRequest.cc create mode 100644 linkwan/src/model/ListFreqBandPlanGroupsResult.cc create mode 100644 linkwan/src/model/ListGatewayLocalConfigsRequest.cc create mode 100644 linkwan/src/model/ListGatewayLocalConfigsResult.cc create mode 100644 linkwan/src/model/ListGatewayOnlineRecordsRequest.cc create mode 100644 linkwan/src/model/ListGatewayOnlineRecordsResult.cc create mode 100644 linkwan/src/model/ListGatewayTransferFlowStatsRequest.cc create mode 100644 linkwan/src/model/ListGatewayTransferFlowStatsResult.cc create mode 100644 linkwan/src/model/ListGatewayTransferPacketsRequest.cc create mode 100644 linkwan/src/model/ListGatewayTransferPacketsResult.cc create mode 100644 linkwan/src/model/ListGatewayTupleOrdersRequest.cc create mode 100644 linkwan/src/model/ListGatewayTupleOrdersResult.cc create mode 100644 linkwan/src/model/ListGatewaysGisInfoRequest.cc create mode 100644 linkwan/src/model/ListGatewaysGisInfoResult.cc create mode 100644 linkwan/src/model/ListGatewaysPacketStatRequest.cc create mode 100644 linkwan/src/model/ListGatewaysPacketStatResult.cc create mode 100644 linkwan/src/model/ListGatewaysRequest.cc create mode 100644 linkwan/src/model/ListGatewaysResult.cc create mode 100644 linkwan/src/model/ListNodeGroupTransferFlowStatsRequest.cc create mode 100644 linkwan/src/model/ListNodeGroupTransferFlowStatsResult.cc create mode 100644 linkwan/src/model/ListNodeGroupTransferPacketsRequest.cc create mode 100644 linkwan/src/model/ListNodeGroupTransferPacketsResult.cc create mode 100644 linkwan/src/model/ListNodeGroupsPacketStatRequest.cc create mode 100644 linkwan/src/model/ListNodeGroupsPacketStatResult.cc create mode 100644 linkwan/src/model/ListNodeGroupsRequest.cc create mode 100644 linkwan/src/model/ListNodeGroupsResult.cc create mode 100644 linkwan/src/model/ListNodeTransferPacketPathsRequest.cc create mode 100644 linkwan/src/model/ListNodeTransferPacketPathsResult.cc create mode 100644 linkwan/src/model/ListNodeTransferPacketsRequest.cc create mode 100644 linkwan/src/model/ListNodeTransferPacketsResult.cc create mode 100644 linkwan/src/model/ListNodeTupleOrdersRequest.cc create mode 100644 linkwan/src/model/ListNodeTupleOrdersResult.cc create mode 100644 linkwan/src/model/ListNodesByNodeGroupIdRequest.cc create mode 100644 linkwan/src/model/ListNodesByNodeGroupIdResult.cc create mode 100644 linkwan/src/model/ListNodesByOwnedJoinPermissionIdRequest.cc create mode 100644 linkwan/src/model/ListNodesByOwnedJoinPermissionIdResult.cc create mode 100644 linkwan/src/model/ListNotificationsRequest.cc create mode 100644 linkwan/src/model/ListNotificationsResult.cc create mode 100644 linkwan/src/model/ListOwnedJoinPermissionsRequest.cc create mode 100644 linkwan/src/model/ListOwnedJoinPermissionsResult.cc create mode 100644 linkwan/src/model/ListRentedJoinPermissionsRequest.cc create mode 100644 linkwan/src/model/ListRentedJoinPermissionsResult.cc create mode 100644 linkwan/src/model/ListTransferPacketRequest.cc create mode 100644 linkwan/src/model/ListTransferPacketResult.cc create mode 100644 linkwan/src/model/RejectJoinPermissionAuthOrderRequest.cc create mode 100644 linkwan/src/model/RejectJoinPermissionAuthOrderResult.cc create mode 100644 linkwan/src/model/RemoveNodeFromGroupRequest.cc create mode 100644 linkwan/src/model/RemoveNodeFromGroupResult.cc create mode 100644 linkwan/src/model/ReturnJoinPermissionRequest.cc create mode 100644 linkwan/src/model/ReturnJoinPermissionResult.cc create mode 100644 linkwan/src/model/SendUnicastCommandRequest.cc create mode 100644 linkwan/src/model/SendUnicastCommandResult.cc create mode 100644 linkwan/src/model/SubmitGatewayLocalConfigAddingTaskRequest.cc create mode 100644 linkwan/src/model/SubmitGatewayLocalConfigAddingTaskResult.cc create mode 100644 linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskRequest.cc create mode 100644 linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskResult.cc create mode 100644 linkwan/src/model/SubmitGatewayTupleOrderRequest.cc create mode 100644 linkwan/src/model/SubmitGatewayTupleOrderResult.cc create mode 100644 linkwan/src/model/SubmitJoinPermissionAuthOrderRequest.cc create mode 100644 linkwan/src/model/SubmitJoinPermissionAuthOrderResult.cc create mode 100644 linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderRequest.cc create mode 100644 linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderResult.cc create mode 100644 linkwan/src/model/SubmitNodeLocalConfigAddingTaskRequest.cc create mode 100644 linkwan/src/model/SubmitNodeLocalConfigAddingTaskResult.cc create mode 100644 linkwan/src/model/SubmitNodeLocalConfigDeletingTaskRequest.cc create mode 100644 linkwan/src/model/SubmitNodeLocalConfigDeletingTaskResult.cc create mode 100644 linkwan/src/model/SubmitNodeTupleOrderRequest.cc create mode 100644 linkwan/src/model/SubmitNodeTupleOrderResult.cc create mode 100644 linkwan/src/model/UnbindJoinPermissionFromNodeGroupRequest.cc create mode 100644 linkwan/src/model/UnbindJoinPermissionFromNodeGroupResult.cc create mode 100644 linkwan/src/model/UpdateDataDispatchConfigRequest.cc create mode 100644 linkwan/src/model/UpdateDataDispatchConfigResult.cc create mode 100644 linkwan/src/model/UpdateDataDispatchEnablingStateRequest.cc create mode 100644 linkwan/src/model/UpdateDataDispatchEnablingStateResult.cc create mode 100644 linkwan/src/model/UpdateGatewayEnablingStateRequest.cc create mode 100644 linkwan/src/model/UpdateGatewayEnablingStateResult.cc create mode 100644 linkwan/src/model/UpdateGatewayRequest.cc create mode 100644 linkwan/src/model/UpdateGatewayResult.cc create mode 100644 linkwan/src/model/UpdateGatewaySshCtrlRequest.cc create mode 100644 linkwan/src/model/UpdateGatewaySshCtrlResult.cc create mode 100644 linkwan/src/model/UpdateNodeEnablingStateRequest.cc create mode 100644 linkwan/src/model/UpdateNodeEnablingStateResult.cc create mode 100644 linkwan/src/model/UpdateNodeGroupRequest.cc create mode 100644 linkwan/src/model/UpdateNodeGroupResult.cc create mode 100644 linkwan/src/model/UpdateNotificationsHandleStateRequest.cc create mode 100644 linkwan/src/model/UpdateNotificationsHandleStateResult.cc create mode 100644 linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.cc create mode 100644 linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.cc create mode 100644 linkwan/src/model/UpdateOwnedLocalJoinPermissionRequest.cc create mode 100644 linkwan/src/model/UpdateOwnedLocalJoinPermissionResult.cc create mode 100644 linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateRequest.cc create mode 100644 linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateResult.cc create mode 100644 linkwan/src/model/UpdateRoamingJoinPermissionRequest.cc create mode 100644 linkwan/src/model/UpdateRoamingJoinPermissionResult.cc create mode 100644 linkwan/src/model/UpdateUserIsolationStateRequest.cc create mode 100644 linkwan/src/model/UpdateUserIsolationStateResult.cc diff --git a/CHANGELOG b/CHANGELOG index 60659ece5..a0e6e819c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-09-13 Version: 1.36.873 +- Generated 2019-03-01 for `LinkWAN`. + 2021-09-13 Version: 1.36.872 - Supported CallerLocation, CalleeLocation in CDR API. diff --git a/VERSION b/VERSION index d5ad53d85..a16207c47 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.872 \ No newline at end of file +1.36.873 \ No newline at end of file diff --git a/linkwan/CMakeLists.txt b/linkwan/CMakeLists.txt new file mode 100644 index 000000000..e171bc98a --- /dev/null +++ b/linkwan/CMakeLists.txt @@ -0,0 +1,466 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(linkwan_public_header + include/alibabacloud/linkwan/LinkWANClient.h + include/alibabacloud/linkwan/LinkWANExport.h ) + +set(linkwan_public_header_model + include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderRequest.h + include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderResult.h + include/alibabacloud/linkwan/model/AddNodeToGroupRequest.h + include/alibabacloud/linkwan/model/AddNodeToGroupResult.h + include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionRequest.h + include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionResult.h + include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupRequest.h + include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupResult.h + include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderRequest.h + include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderResult.h + include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusRequest.h + include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusResult.h + include/alibabacloud/linkwan/model/CheckUserChargeStatusRequest.h + include/alibabacloud/linkwan/model/CheckUserChargeStatusResult.h + include/alibabacloud/linkwan/model/CountGatewayTupleOrdersRequest.h + include/alibabacloud/linkwan/model/CountGatewayTupleOrdersResult.h + include/alibabacloud/linkwan/model/CountGatewaysRequest.h + include/alibabacloud/linkwan/model/CountGatewaysResult.h + include/alibabacloud/linkwan/model/CountNodeGroupsRequest.h + include/alibabacloud/linkwan/model/CountNodeGroupsResult.h + include/alibabacloud/linkwan/model/CountNodeTupleOrdersRequest.h + include/alibabacloud/linkwan/model/CountNodeTupleOrdersResult.h + include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdRequest.h + include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdResult.h + include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdRequest.h + include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdResult.h + include/alibabacloud/linkwan/model/CountNotificationsRequest.h + include/alibabacloud/linkwan/model/CountNotificationsResult.h + include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsRequest.h + include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsResult.h + include/alibabacloud/linkwan/model/CountRentedJoinPermissionsRequest.h + include/alibabacloud/linkwan/model/CountRentedJoinPermissionsResult.h + include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionRequest.h + include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionResult.h + include/alibabacloud/linkwan/model/CreateGatewayRequest.h + include/alibabacloud/linkwan/model/CreateGatewayResult.h + include/alibabacloud/linkwan/model/CreateLocalJoinPermissionRequest.h + include/alibabacloud/linkwan/model/CreateLocalJoinPermissionResult.h + include/alibabacloud/linkwan/model/CreateNodeGroupRequest.h + include/alibabacloud/linkwan/model/CreateNodeGroupResult.h + include/alibabacloud/linkwan/model/DeleteGatewayRequest.h + include/alibabacloud/linkwan/model/DeleteGatewayResult.h + include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionRequest.h + include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionResult.h + include/alibabacloud/linkwan/model/DeleteNodeGroupRequest.h + include/alibabacloud/linkwan/model/DeleteNodeGroupResult.h + include/alibabacloud/linkwan/model/DescribeRegionsRequest.h + include/alibabacloud/linkwan/model/DescribeRegionsResult.h + include/alibabacloud/linkwan/model/GetFreqBandPlanGroupRequest.h + include/alibabacloud/linkwan/model/GetFreqBandPlanGroupResult.h + include/alibabacloud/linkwan/model/GetGatewayRequest.h + include/alibabacloud/linkwan/model/GetGatewayResult.h + include/alibabacloud/linkwan/model/GetGatewayPacketStatRequest.h + include/alibabacloud/linkwan/model/GetGatewayPacketStatResult.h + include/alibabacloud/linkwan/model/GetGatewayStatusStatRequest.h + include/alibabacloud/linkwan/model/GetGatewayStatusStatResult.h + include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlRequest.h + include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlResult.h + include/alibabacloud/linkwan/model/GetGatewayTupleOrderRequest.h + include/alibabacloud/linkwan/model/GetGatewayTupleOrderResult.h + include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlRequest.h + include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlResult.h + include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderRequest.h + include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderResult.h + include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskRequest.h + include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskResult.h + include/alibabacloud/linkwan/model/GetNodeRequest.h + include/alibabacloud/linkwan/model/GetNodeResult.h + include/alibabacloud/linkwan/model/GetNodeGroupRequest.h + include/alibabacloud/linkwan/model/GetNodeGroupResult.h + include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlRequest.h + include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlResult.h + include/alibabacloud/linkwan/model/GetNodeLocalConfigRequest.h + include/alibabacloud/linkwan/model/GetNodeLocalConfigResult.h + include/alibabacloud/linkwan/model/GetNodeTransferPacketRequest.h + include/alibabacloud/linkwan/model/GetNodeTransferPacketResult.h + include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlRequest.h + include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlResult.h + include/alibabacloud/linkwan/model/GetNodeTupleOrderRequest.h + include/alibabacloud/linkwan/model/GetNodeTupleOrderResult.h + include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlRequest.h + include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlResult.h + include/alibabacloud/linkwan/model/GetNotificationRequest.h + include/alibabacloud/linkwan/model/GetNotificationResult.h + include/alibabacloud/linkwan/model/GetOwnedJoinPermissionRequest.h + include/alibabacloud/linkwan/model/GetOwnedJoinPermissionResult.h + include/alibabacloud/linkwan/model/GetRentedJoinPermissionRequest.h + include/alibabacloud/linkwan/model/GetRentedJoinPermissionResult.h + include/alibabacloud/linkwan/model/GetUserLicenseRequest.h + include/alibabacloud/linkwan/model/GetUserLicenseResult.h + include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionRequest.h + include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionResult.h + include/alibabacloud/linkwan/model/ListActivatedFeaturesRequest.h + include/alibabacloud/linkwan/model/ListActivatedFeaturesResult.h + include/alibabacloud/linkwan/model/ListActiveGatewaysRequest.h + include/alibabacloud/linkwan/model/ListActiveGatewaysResult.h + include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsRequest.h + include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsResult.h + include/alibabacloud/linkwan/model/ListGatewayLocalConfigsRequest.h + include/alibabacloud/linkwan/model/ListGatewayLocalConfigsResult.h + include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsRequest.h + include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsResult.h + include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsRequest.h + include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsResult.h + include/alibabacloud/linkwan/model/ListGatewayTransferPacketsRequest.h + include/alibabacloud/linkwan/model/ListGatewayTransferPacketsResult.h + include/alibabacloud/linkwan/model/ListGatewayTupleOrdersRequest.h + include/alibabacloud/linkwan/model/ListGatewayTupleOrdersResult.h + include/alibabacloud/linkwan/model/ListGatewaysRequest.h + include/alibabacloud/linkwan/model/ListGatewaysResult.h + include/alibabacloud/linkwan/model/ListGatewaysGisInfoRequest.h + include/alibabacloud/linkwan/model/ListGatewaysGisInfoResult.h + include/alibabacloud/linkwan/model/ListGatewaysPacketStatRequest.h + include/alibabacloud/linkwan/model/ListGatewaysPacketStatResult.h + include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsRequest.h + include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsResult.h + include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsRequest.h + include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsResult.h + include/alibabacloud/linkwan/model/ListNodeGroupsRequest.h + include/alibabacloud/linkwan/model/ListNodeGroupsResult.h + include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatRequest.h + include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatResult.h + include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsRequest.h + include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsResult.h + include/alibabacloud/linkwan/model/ListNodeTransferPacketsRequest.h + include/alibabacloud/linkwan/model/ListNodeTransferPacketsResult.h + include/alibabacloud/linkwan/model/ListNodeTupleOrdersRequest.h + include/alibabacloud/linkwan/model/ListNodeTupleOrdersResult.h + include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdRequest.h + include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdResult.h + include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdRequest.h + include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdResult.h + include/alibabacloud/linkwan/model/ListNotificationsRequest.h + include/alibabacloud/linkwan/model/ListNotificationsResult.h + include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsRequest.h + include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsResult.h + include/alibabacloud/linkwan/model/ListRentedJoinPermissionsRequest.h + include/alibabacloud/linkwan/model/ListRentedJoinPermissionsResult.h + include/alibabacloud/linkwan/model/ListTransferPacketRequest.h + include/alibabacloud/linkwan/model/ListTransferPacketResult.h + include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderRequest.h + include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderResult.h + include/alibabacloud/linkwan/model/RemoveNodeFromGroupRequest.h + include/alibabacloud/linkwan/model/RemoveNodeFromGroupResult.h + include/alibabacloud/linkwan/model/ReturnJoinPermissionRequest.h + include/alibabacloud/linkwan/model/ReturnJoinPermissionResult.h + include/alibabacloud/linkwan/model/SendUnicastCommandRequest.h + include/alibabacloud/linkwan/model/SendUnicastCommandResult.h + include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskRequest.h + include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskResult.h + include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskRequest.h + include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskResult.h + include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderRequest.h + include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderResult.h + include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderRequest.h + include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderResult.h + include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderRequest.h + include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderResult.h + include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskRequest.h + include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskResult.h + include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskRequest.h + include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskResult.h + include/alibabacloud/linkwan/model/SubmitNodeTupleOrderRequest.h + include/alibabacloud/linkwan/model/SubmitNodeTupleOrderResult.h + include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupRequest.h + include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupResult.h + include/alibabacloud/linkwan/model/UpdateDataDispatchConfigRequest.h + include/alibabacloud/linkwan/model/UpdateDataDispatchConfigResult.h + include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateRequest.h + include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateResult.h + include/alibabacloud/linkwan/model/UpdateGatewayRequest.h + include/alibabacloud/linkwan/model/UpdateGatewayResult.h + include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateRequest.h + include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateResult.h + include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlRequest.h + include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlResult.h + include/alibabacloud/linkwan/model/UpdateNodeEnablingStateRequest.h + include/alibabacloud/linkwan/model/UpdateNodeEnablingStateResult.h + include/alibabacloud/linkwan/model/UpdateNodeGroupRequest.h + include/alibabacloud/linkwan/model/UpdateNodeGroupResult.h + include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateRequest.h + include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateResult.h + include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionRequest.h + include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionResult.h + include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.h + include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.h + include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionRequest.h + include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionResult.h + include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateRequest.h + include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateResult.h + include/alibabacloud/linkwan/model/UpdateUserIsolationStateRequest.h + include/alibabacloud/linkwan/model/UpdateUserIsolationStateResult.h ) + +set(linkwan_src + src/LinkWANClient.cc + src/model/AcceptJoinPermissionAuthOrderRequest.cc + src/model/AcceptJoinPermissionAuthOrderResult.cc + src/model/AddNodeToGroupRequest.cc + src/model/AddNodeToGroupResult.cc + src/model/ApplyRoamingJoinPermissionRequest.cc + src/model/ApplyRoamingJoinPermissionResult.cc + src/model/BindJoinPermissionToNodeGroupRequest.cc + src/model/BindJoinPermissionToNodeGroupResult.cc + src/model/CancelJoinPermissionAuthOrderRequest.cc + src/model/CancelJoinPermissionAuthOrderResult.cc + src/model/CheckCloudProductOpenStatusRequest.cc + src/model/CheckCloudProductOpenStatusResult.cc + src/model/CheckUserChargeStatusRequest.cc + src/model/CheckUserChargeStatusResult.cc + src/model/CountGatewayTupleOrdersRequest.cc + src/model/CountGatewayTupleOrdersResult.cc + src/model/CountGatewaysRequest.cc + src/model/CountGatewaysResult.cc + src/model/CountNodeGroupsRequest.cc + src/model/CountNodeGroupsResult.cc + src/model/CountNodeTupleOrdersRequest.cc + src/model/CountNodeTupleOrdersResult.cc + src/model/CountNodesByNodeGroupIdRequest.cc + src/model/CountNodesByNodeGroupIdResult.cc + src/model/CountNodesByOwnedJoinPermissionIdRequest.cc + src/model/CountNodesByOwnedJoinPermissionIdResult.cc + src/model/CountNotificationsRequest.cc + src/model/CountNotificationsResult.cc + src/model/CountOwnedJoinPermissionsRequest.cc + src/model/CountOwnedJoinPermissionsResult.cc + src/model/CountRentedJoinPermissionsRequest.cc + src/model/CountRentedJoinPermissionsResult.cc + src/model/CreateCustomLocalJoinPermissionRequest.cc + src/model/CreateCustomLocalJoinPermissionResult.cc + src/model/CreateGatewayRequest.cc + src/model/CreateGatewayResult.cc + src/model/CreateLocalJoinPermissionRequest.cc + src/model/CreateLocalJoinPermissionResult.cc + src/model/CreateNodeGroupRequest.cc + src/model/CreateNodeGroupResult.cc + src/model/DeleteGatewayRequest.cc + src/model/DeleteGatewayResult.cc + src/model/DeleteLocalJoinPermissionRequest.cc + src/model/DeleteLocalJoinPermissionResult.cc + src/model/DeleteNodeGroupRequest.cc + src/model/DeleteNodeGroupResult.cc + src/model/DescribeRegionsRequest.cc + src/model/DescribeRegionsResult.cc + src/model/GetFreqBandPlanGroupRequest.cc + src/model/GetFreqBandPlanGroupResult.cc + src/model/GetGatewayRequest.cc + src/model/GetGatewayResult.cc + src/model/GetGatewayPacketStatRequest.cc + src/model/GetGatewayPacketStatResult.cc + src/model/GetGatewayStatusStatRequest.cc + src/model/GetGatewayStatusStatResult.cc + src/model/GetGatewayTransferPacketsDownloadUrlRequest.cc + src/model/GetGatewayTransferPacketsDownloadUrlResult.cc + src/model/GetGatewayTupleOrderRequest.cc + src/model/GetGatewayTupleOrderResult.cc + src/model/GetGatewayTuplesDownloadUrlRequest.cc + src/model/GetGatewayTuplesDownloadUrlResult.cc + src/model/GetJoinPermissionAuthOrderRequest.cc + src/model/GetJoinPermissionAuthOrderResult.cc + src/model/GetLocalConfigSyncTaskRequest.cc + src/model/GetLocalConfigSyncTaskResult.cc + src/model/GetNodeRequest.cc + src/model/GetNodeResult.cc + src/model/GetNodeGroupRequest.cc + src/model/GetNodeGroupResult.cc + src/model/GetNodeGroupTransferPacketsDownloadUrlRequest.cc + src/model/GetNodeGroupTransferPacketsDownloadUrlResult.cc + src/model/GetNodeLocalConfigRequest.cc + src/model/GetNodeLocalConfigResult.cc + src/model/GetNodeTransferPacketRequest.cc + src/model/GetNodeTransferPacketResult.cc + src/model/GetNodeTransferPacketsDownloadUrlRequest.cc + src/model/GetNodeTransferPacketsDownloadUrlResult.cc + src/model/GetNodeTupleOrderRequest.cc + src/model/GetNodeTupleOrderResult.cc + src/model/GetNodeTuplesDownloadUrlRequest.cc + src/model/GetNodeTuplesDownloadUrlResult.cc + src/model/GetNotificationRequest.cc + src/model/GetNotificationResult.cc + src/model/GetOwnedJoinPermissionRequest.cc + src/model/GetOwnedJoinPermissionResult.cc + src/model/GetRentedJoinPermissionRequest.cc + src/model/GetRentedJoinPermissionResult.cc + src/model/GetUserLicenseRequest.cc + src/model/GetUserLicenseResult.cc + src/model/GetUserNetProfileDescriptionRequest.cc + src/model/GetUserNetProfileDescriptionResult.cc + src/model/ListActivatedFeaturesRequest.cc + src/model/ListActivatedFeaturesResult.cc + src/model/ListActiveGatewaysRequest.cc + src/model/ListActiveGatewaysResult.cc + src/model/ListFreqBandPlanGroupsRequest.cc + src/model/ListFreqBandPlanGroupsResult.cc + src/model/ListGatewayLocalConfigsRequest.cc + src/model/ListGatewayLocalConfigsResult.cc + src/model/ListGatewayOnlineRecordsRequest.cc + src/model/ListGatewayOnlineRecordsResult.cc + src/model/ListGatewayTransferFlowStatsRequest.cc + src/model/ListGatewayTransferFlowStatsResult.cc + src/model/ListGatewayTransferPacketsRequest.cc + src/model/ListGatewayTransferPacketsResult.cc + src/model/ListGatewayTupleOrdersRequest.cc + src/model/ListGatewayTupleOrdersResult.cc + src/model/ListGatewaysRequest.cc + src/model/ListGatewaysResult.cc + src/model/ListGatewaysGisInfoRequest.cc + src/model/ListGatewaysGisInfoResult.cc + src/model/ListGatewaysPacketStatRequest.cc + src/model/ListGatewaysPacketStatResult.cc + src/model/ListNodeGroupTransferFlowStatsRequest.cc + src/model/ListNodeGroupTransferFlowStatsResult.cc + src/model/ListNodeGroupTransferPacketsRequest.cc + src/model/ListNodeGroupTransferPacketsResult.cc + src/model/ListNodeGroupsRequest.cc + src/model/ListNodeGroupsResult.cc + src/model/ListNodeGroupsPacketStatRequest.cc + src/model/ListNodeGroupsPacketStatResult.cc + src/model/ListNodeTransferPacketPathsRequest.cc + src/model/ListNodeTransferPacketPathsResult.cc + src/model/ListNodeTransferPacketsRequest.cc + src/model/ListNodeTransferPacketsResult.cc + src/model/ListNodeTupleOrdersRequest.cc + src/model/ListNodeTupleOrdersResult.cc + src/model/ListNodesByNodeGroupIdRequest.cc + src/model/ListNodesByNodeGroupIdResult.cc + src/model/ListNodesByOwnedJoinPermissionIdRequest.cc + src/model/ListNodesByOwnedJoinPermissionIdResult.cc + src/model/ListNotificationsRequest.cc + src/model/ListNotificationsResult.cc + src/model/ListOwnedJoinPermissionsRequest.cc + src/model/ListOwnedJoinPermissionsResult.cc + src/model/ListRentedJoinPermissionsRequest.cc + src/model/ListRentedJoinPermissionsResult.cc + src/model/ListTransferPacketRequest.cc + src/model/ListTransferPacketResult.cc + src/model/RejectJoinPermissionAuthOrderRequest.cc + src/model/RejectJoinPermissionAuthOrderResult.cc + src/model/RemoveNodeFromGroupRequest.cc + src/model/RemoveNodeFromGroupResult.cc + src/model/ReturnJoinPermissionRequest.cc + src/model/ReturnJoinPermissionResult.cc + src/model/SendUnicastCommandRequest.cc + src/model/SendUnicastCommandResult.cc + src/model/SubmitGatewayLocalConfigAddingTaskRequest.cc + src/model/SubmitGatewayLocalConfigAddingTaskResult.cc + src/model/SubmitGatewayLocalConfigDeletingTaskRequest.cc + src/model/SubmitGatewayLocalConfigDeletingTaskResult.cc + src/model/SubmitGatewayTupleOrderRequest.cc + src/model/SubmitGatewayTupleOrderResult.cc + src/model/SubmitJoinPermissionAuthOrderRequest.cc + src/model/SubmitJoinPermissionAuthOrderResult.cc + src/model/SubmitKpmEncryptedNodeTupleOrderRequest.cc + src/model/SubmitKpmEncryptedNodeTupleOrderResult.cc + src/model/SubmitNodeLocalConfigAddingTaskRequest.cc + src/model/SubmitNodeLocalConfigAddingTaskResult.cc + src/model/SubmitNodeLocalConfigDeletingTaskRequest.cc + src/model/SubmitNodeLocalConfigDeletingTaskResult.cc + src/model/SubmitNodeTupleOrderRequest.cc + src/model/SubmitNodeTupleOrderResult.cc + src/model/UnbindJoinPermissionFromNodeGroupRequest.cc + src/model/UnbindJoinPermissionFromNodeGroupResult.cc + src/model/UpdateDataDispatchConfigRequest.cc + src/model/UpdateDataDispatchConfigResult.cc + src/model/UpdateDataDispatchEnablingStateRequest.cc + src/model/UpdateDataDispatchEnablingStateResult.cc + src/model/UpdateGatewayRequest.cc + src/model/UpdateGatewayResult.cc + src/model/UpdateGatewayEnablingStateRequest.cc + src/model/UpdateGatewayEnablingStateResult.cc + src/model/UpdateGatewaySshCtrlRequest.cc + src/model/UpdateGatewaySshCtrlResult.cc + src/model/UpdateNodeEnablingStateRequest.cc + src/model/UpdateNodeEnablingStateResult.cc + src/model/UpdateNodeGroupRequest.cc + src/model/UpdateNodeGroupResult.cc + src/model/UpdateNotificationsHandleStateRequest.cc + src/model/UpdateNotificationsHandleStateResult.cc + src/model/UpdateOwnedLocalJoinPermissionRequest.cc + src/model/UpdateOwnedLocalJoinPermissionResult.cc + src/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.cc + src/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.cc + src/model/UpdateRoamingJoinPermissionRequest.cc + src/model/UpdateRoamingJoinPermissionResult.cc + src/model/UpdateRoamingJoinPermissionEnablingStateRequest.cc + src/model/UpdateRoamingJoinPermissionEnablingStateResult.cc + src/model/UpdateUserIsolationStateRequest.cc + src/model/UpdateUserIsolationStateResult.cc ) + +add_library(linkwan ${LIB_TYPE} + ${linkwan_public_header} + ${linkwan_public_header_model} + ${linkwan_src}) + +set_target_properties(linkwan + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}linkwan + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(linkwan + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_LINKWAN_LIBRARY) +endif() + +target_include_directories(linkwan + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(linkwan + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(linkwan + jsoncpp) + target_include_directories(linkwan + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(linkwan + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(linkwan + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(linkwan + PRIVATE /usr/include/jsoncpp) + target_link_libraries(linkwan + jsoncpp) +endif() + +install(FILES ${linkwan_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/linkwan) +install(FILES ${linkwan_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/linkwan/model) +install(TARGETS linkwan + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/LinkWANClient.h b/linkwan/include/alibabacloud/linkwan/LinkWANClient.h new file mode 100644 index 000000000..ca05b5c63 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/LinkWANClient.h @@ -0,0 +1,814 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_LINKWANCLIENT_H_ +#define ALIBABACLOUD_LINKWAN_LINKWANCLIENT_H_ + +#include +#include +#include +#include +#include "LinkWANExport.h" +#include "model/AcceptJoinPermissionAuthOrderRequest.h" +#include "model/AcceptJoinPermissionAuthOrderResult.h" +#include "model/AddNodeToGroupRequest.h" +#include "model/AddNodeToGroupResult.h" +#include "model/ApplyRoamingJoinPermissionRequest.h" +#include "model/ApplyRoamingJoinPermissionResult.h" +#include "model/BindJoinPermissionToNodeGroupRequest.h" +#include "model/BindJoinPermissionToNodeGroupResult.h" +#include "model/CancelJoinPermissionAuthOrderRequest.h" +#include "model/CancelJoinPermissionAuthOrderResult.h" +#include "model/CheckCloudProductOpenStatusRequest.h" +#include "model/CheckCloudProductOpenStatusResult.h" +#include "model/CheckUserChargeStatusRequest.h" +#include "model/CheckUserChargeStatusResult.h" +#include "model/CountGatewayTupleOrdersRequest.h" +#include "model/CountGatewayTupleOrdersResult.h" +#include "model/CountGatewaysRequest.h" +#include "model/CountGatewaysResult.h" +#include "model/CountNodeGroupsRequest.h" +#include "model/CountNodeGroupsResult.h" +#include "model/CountNodeTupleOrdersRequest.h" +#include "model/CountNodeTupleOrdersResult.h" +#include "model/CountNodesByNodeGroupIdRequest.h" +#include "model/CountNodesByNodeGroupIdResult.h" +#include "model/CountNodesByOwnedJoinPermissionIdRequest.h" +#include "model/CountNodesByOwnedJoinPermissionIdResult.h" +#include "model/CountNotificationsRequest.h" +#include "model/CountNotificationsResult.h" +#include "model/CountOwnedJoinPermissionsRequest.h" +#include "model/CountOwnedJoinPermissionsResult.h" +#include "model/CountRentedJoinPermissionsRequest.h" +#include "model/CountRentedJoinPermissionsResult.h" +#include "model/CreateCustomLocalJoinPermissionRequest.h" +#include "model/CreateCustomLocalJoinPermissionResult.h" +#include "model/CreateGatewayRequest.h" +#include "model/CreateGatewayResult.h" +#include "model/CreateLocalJoinPermissionRequest.h" +#include "model/CreateLocalJoinPermissionResult.h" +#include "model/CreateNodeGroupRequest.h" +#include "model/CreateNodeGroupResult.h" +#include "model/DeleteGatewayRequest.h" +#include "model/DeleteGatewayResult.h" +#include "model/DeleteLocalJoinPermissionRequest.h" +#include "model/DeleteLocalJoinPermissionResult.h" +#include "model/DeleteNodeGroupRequest.h" +#include "model/DeleteNodeGroupResult.h" +#include "model/DescribeRegionsRequest.h" +#include "model/DescribeRegionsResult.h" +#include "model/GetFreqBandPlanGroupRequest.h" +#include "model/GetFreqBandPlanGroupResult.h" +#include "model/GetGatewayRequest.h" +#include "model/GetGatewayResult.h" +#include "model/GetGatewayPacketStatRequest.h" +#include "model/GetGatewayPacketStatResult.h" +#include "model/GetGatewayStatusStatRequest.h" +#include "model/GetGatewayStatusStatResult.h" +#include "model/GetGatewayTransferPacketsDownloadUrlRequest.h" +#include "model/GetGatewayTransferPacketsDownloadUrlResult.h" +#include "model/GetGatewayTupleOrderRequest.h" +#include "model/GetGatewayTupleOrderResult.h" +#include "model/GetGatewayTuplesDownloadUrlRequest.h" +#include "model/GetGatewayTuplesDownloadUrlResult.h" +#include "model/GetJoinPermissionAuthOrderRequest.h" +#include "model/GetJoinPermissionAuthOrderResult.h" +#include "model/GetLocalConfigSyncTaskRequest.h" +#include "model/GetLocalConfigSyncTaskResult.h" +#include "model/GetNodeRequest.h" +#include "model/GetNodeResult.h" +#include "model/GetNodeGroupRequest.h" +#include "model/GetNodeGroupResult.h" +#include "model/GetNodeGroupTransferPacketsDownloadUrlRequest.h" +#include "model/GetNodeGroupTransferPacketsDownloadUrlResult.h" +#include "model/GetNodeLocalConfigRequest.h" +#include "model/GetNodeLocalConfigResult.h" +#include "model/GetNodeTransferPacketRequest.h" +#include "model/GetNodeTransferPacketResult.h" +#include "model/GetNodeTransferPacketsDownloadUrlRequest.h" +#include "model/GetNodeTransferPacketsDownloadUrlResult.h" +#include "model/GetNodeTupleOrderRequest.h" +#include "model/GetNodeTupleOrderResult.h" +#include "model/GetNodeTuplesDownloadUrlRequest.h" +#include "model/GetNodeTuplesDownloadUrlResult.h" +#include "model/GetNotificationRequest.h" +#include "model/GetNotificationResult.h" +#include "model/GetOwnedJoinPermissionRequest.h" +#include "model/GetOwnedJoinPermissionResult.h" +#include "model/GetRentedJoinPermissionRequest.h" +#include "model/GetRentedJoinPermissionResult.h" +#include "model/GetUserLicenseRequest.h" +#include "model/GetUserLicenseResult.h" +#include "model/GetUserNetProfileDescriptionRequest.h" +#include "model/GetUserNetProfileDescriptionResult.h" +#include "model/ListActivatedFeaturesRequest.h" +#include "model/ListActivatedFeaturesResult.h" +#include "model/ListActiveGatewaysRequest.h" +#include "model/ListActiveGatewaysResult.h" +#include "model/ListFreqBandPlanGroupsRequest.h" +#include "model/ListFreqBandPlanGroupsResult.h" +#include "model/ListGatewayLocalConfigsRequest.h" +#include "model/ListGatewayLocalConfigsResult.h" +#include "model/ListGatewayOnlineRecordsRequest.h" +#include "model/ListGatewayOnlineRecordsResult.h" +#include "model/ListGatewayTransferFlowStatsRequest.h" +#include "model/ListGatewayTransferFlowStatsResult.h" +#include "model/ListGatewayTransferPacketsRequest.h" +#include "model/ListGatewayTransferPacketsResult.h" +#include "model/ListGatewayTupleOrdersRequest.h" +#include "model/ListGatewayTupleOrdersResult.h" +#include "model/ListGatewaysRequest.h" +#include "model/ListGatewaysResult.h" +#include "model/ListGatewaysGisInfoRequest.h" +#include "model/ListGatewaysGisInfoResult.h" +#include "model/ListGatewaysPacketStatRequest.h" +#include "model/ListGatewaysPacketStatResult.h" +#include "model/ListNodeGroupTransferFlowStatsRequest.h" +#include "model/ListNodeGroupTransferFlowStatsResult.h" +#include "model/ListNodeGroupTransferPacketsRequest.h" +#include "model/ListNodeGroupTransferPacketsResult.h" +#include "model/ListNodeGroupsRequest.h" +#include "model/ListNodeGroupsResult.h" +#include "model/ListNodeGroupsPacketStatRequest.h" +#include "model/ListNodeGroupsPacketStatResult.h" +#include "model/ListNodeTransferPacketPathsRequest.h" +#include "model/ListNodeTransferPacketPathsResult.h" +#include "model/ListNodeTransferPacketsRequest.h" +#include "model/ListNodeTransferPacketsResult.h" +#include "model/ListNodeTupleOrdersRequest.h" +#include "model/ListNodeTupleOrdersResult.h" +#include "model/ListNodesByNodeGroupIdRequest.h" +#include "model/ListNodesByNodeGroupIdResult.h" +#include "model/ListNodesByOwnedJoinPermissionIdRequest.h" +#include "model/ListNodesByOwnedJoinPermissionIdResult.h" +#include "model/ListNotificationsRequest.h" +#include "model/ListNotificationsResult.h" +#include "model/ListOwnedJoinPermissionsRequest.h" +#include "model/ListOwnedJoinPermissionsResult.h" +#include "model/ListRentedJoinPermissionsRequest.h" +#include "model/ListRentedJoinPermissionsResult.h" +#include "model/ListTransferPacketRequest.h" +#include "model/ListTransferPacketResult.h" +#include "model/RejectJoinPermissionAuthOrderRequest.h" +#include "model/RejectJoinPermissionAuthOrderResult.h" +#include "model/RemoveNodeFromGroupRequest.h" +#include "model/RemoveNodeFromGroupResult.h" +#include "model/ReturnJoinPermissionRequest.h" +#include "model/ReturnJoinPermissionResult.h" +#include "model/SendUnicastCommandRequest.h" +#include "model/SendUnicastCommandResult.h" +#include "model/SubmitGatewayLocalConfigAddingTaskRequest.h" +#include "model/SubmitGatewayLocalConfigAddingTaskResult.h" +#include "model/SubmitGatewayLocalConfigDeletingTaskRequest.h" +#include "model/SubmitGatewayLocalConfigDeletingTaskResult.h" +#include "model/SubmitGatewayTupleOrderRequest.h" +#include "model/SubmitGatewayTupleOrderResult.h" +#include "model/SubmitJoinPermissionAuthOrderRequest.h" +#include "model/SubmitJoinPermissionAuthOrderResult.h" +#include "model/SubmitKpmEncryptedNodeTupleOrderRequest.h" +#include "model/SubmitKpmEncryptedNodeTupleOrderResult.h" +#include "model/SubmitNodeLocalConfigAddingTaskRequest.h" +#include "model/SubmitNodeLocalConfigAddingTaskResult.h" +#include "model/SubmitNodeLocalConfigDeletingTaskRequest.h" +#include "model/SubmitNodeLocalConfigDeletingTaskResult.h" +#include "model/SubmitNodeTupleOrderRequest.h" +#include "model/SubmitNodeTupleOrderResult.h" +#include "model/UnbindJoinPermissionFromNodeGroupRequest.h" +#include "model/UnbindJoinPermissionFromNodeGroupResult.h" +#include "model/UpdateDataDispatchConfigRequest.h" +#include "model/UpdateDataDispatchConfigResult.h" +#include "model/UpdateDataDispatchEnablingStateRequest.h" +#include "model/UpdateDataDispatchEnablingStateResult.h" +#include "model/UpdateGatewayRequest.h" +#include "model/UpdateGatewayResult.h" +#include "model/UpdateGatewayEnablingStateRequest.h" +#include "model/UpdateGatewayEnablingStateResult.h" +#include "model/UpdateGatewaySshCtrlRequest.h" +#include "model/UpdateGatewaySshCtrlResult.h" +#include "model/UpdateNodeEnablingStateRequest.h" +#include "model/UpdateNodeEnablingStateResult.h" +#include "model/UpdateNodeGroupRequest.h" +#include "model/UpdateNodeGroupResult.h" +#include "model/UpdateNotificationsHandleStateRequest.h" +#include "model/UpdateNotificationsHandleStateResult.h" +#include "model/UpdateOwnedLocalJoinPermissionRequest.h" +#include "model/UpdateOwnedLocalJoinPermissionResult.h" +#include "model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.h" +#include "model/UpdateOwnedLocalJoinPermissionEnablingStateResult.h" +#include "model/UpdateRoamingJoinPermissionRequest.h" +#include "model/UpdateRoamingJoinPermissionResult.h" +#include "model/UpdateRoamingJoinPermissionEnablingStateRequest.h" +#include "model/UpdateRoamingJoinPermissionEnablingStateResult.h" +#include "model/UpdateUserIsolationStateRequest.h" +#include "model/UpdateUserIsolationStateResult.h" + + +namespace AlibabaCloud +{ + namespace LinkWAN + { + class ALIBABACLOUD_LINKWAN_EXPORT LinkWANClient : public RpcServiceClient + { + public: + typedef Outcome AcceptJoinPermissionAuthOrderOutcome; + typedef std::future AcceptJoinPermissionAuthOrderOutcomeCallable; + typedef std::function&)> AcceptJoinPermissionAuthOrderAsyncHandler; + typedef Outcome AddNodeToGroupOutcome; + typedef std::future AddNodeToGroupOutcomeCallable; + typedef std::function&)> AddNodeToGroupAsyncHandler; + typedef Outcome ApplyRoamingJoinPermissionOutcome; + typedef std::future ApplyRoamingJoinPermissionOutcomeCallable; + typedef std::function&)> ApplyRoamingJoinPermissionAsyncHandler; + typedef Outcome BindJoinPermissionToNodeGroupOutcome; + typedef std::future BindJoinPermissionToNodeGroupOutcomeCallable; + typedef std::function&)> BindJoinPermissionToNodeGroupAsyncHandler; + typedef Outcome CancelJoinPermissionAuthOrderOutcome; + typedef std::future CancelJoinPermissionAuthOrderOutcomeCallable; + typedef std::function&)> CancelJoinPermissionAuthOrderAsyncHandler; + typedef Outcome CheckCloudProductOpenStatusOutcome; + typedef std::future CheckCloudProductOpenStatusOutcomeCallable; + typedef std::function&)> CheckCloudProductOpenStatusAsyncHandler; + typedef Outcome CheckUserChargeStatusOutcome; + typedef std::future CheckUserChargeStatusOutcomeCallable; + typedef std::function&)> CheckUserChargeStatusAsyncHandler; + typedef Outcome CountGatewayTupleOrdersOutcome; + typedef std::future CountGatewayTupleOrdersOutcomeCallable; + typedef std::function&)> CountGatewayTupleOrdersAsyncHandler; + typedef Outcome CountGatewaysOutcome; + typedef std::future CountGatewaysOutcomeCallable; + typedef std::function&)> CountGatewaysAsyncHandler; + typedef Outcome CountNodeGroupsOutcome; + typedef std::future CountNodeGroupsOutcomeCallable; + typedef std::function&)> CountNodeGroupsAsyncHandler; + typedef Outcome CountNodeTupleOrdersOutcome; + typedef std::future CountNodeTupleOrdersOutcomeCallable; + typedef std::function&)> CountNodeTupleOrdersAsyncHandler; + typedef Outcome CountNodesByNodeGroupIdOutcome; + typedef std::future CountNodesByNodeGroupIdOutcomeCallable; + typedef std::function&)> CountNodesByNodeGroupIdAsyncHandler; + typedef Outcome CountNodesByOwnedJoinPermissionIdOutcome; + typedef std::future CountNodesByOwnedJoinPermissionIdOutcomeCallable; + typedef std::function&)> CountNodesByOwnedJoinPermissionIdAsyncHandler; + typedef Outcome CountNotificationsOutcome; + typedef std::future CountNotificationsOutcomeCallable; + typedef std::function&)> CountNotificationsAsyncHandler; + typedef Outcome CountOwnedJoinPermissionsOutcome; + typedef std::future CountOwnedJoinPermissionsOutcomeCallable; + typedef std::function&)> CountOwnedJoinPermissionsAsyncHandler; + typedef Outcome CountRentedJoinPermissionsOutcome; + typedef std::future CountRentedJoinPermissionsOutcomeCallable; + typedef std::function&)> CountRentedJoinPermissionsAsyncHandler; + typedef Outcome CreateCustomLocalJoinPermissionOutcome; + typedef std::future CreateCustomLocalJoinPermissionOutcomeCallable; + typedef std::function&)> CreateCustomLocalJoinPermissionAsyncHandler; + typedef Outcome CreateGatewayOutcome; + typedef std::future CreateGatewayOutcomeCallable; + typedef std::function&)> CreateGatewayAsyncHandler; + typedef Outcome CreateLocalJoinPermissionOutcome; + typedef std::future CreateLocalJoinPermissionOutcomeCallable; + typedef std::function&)> CreateLocalJoinPermissionAsyncHandler; + typedef Outcome CreateNodeGroupOutcome; + typedef std::future CreateNodeGroupOutcomeCallable; + typedef std::function&)> CreateNodeGroupAsyncHandler; + typedef Outcome DeleteGatewayOutcome; + typedef std::future DeleteGatewayOutcomeCallable; + typedef std::function&)> DeleteGatewayAsyncHandler; + typedef Outcome DeleteLocalJoinPermissionOutcome; + typedef std::future DeleteLocalJoinPermissionOutcomeCallable; + typedef std::function&)> DeleteLocalJoinPermissionAsyncHandler; + typedef Outcome DeleteNodeGroupOutcome; + typedef std::future DeleteNodeGroupOutcomeCallable; + typedef std::function&)> DeleteNodeGroupAsyncHandler; + typedef Outcome DescribeRegionsOutcome; + typedef std::future DescribeRegionsOutcomeCallable; + typedef std::function&)> DescribeRegionsAsyncHandler; + typedef Outcome GetFreqBandPlanGroupOutcome; + typedef std::future GetFreqBandPlanGroupOutcomeCallable; + typedef std::function&)> GetFreqBandPlanGroupAsyncHandler; + typedef Outcome GetGatewayOutcome; + typedef std::future GetGatewayOutcomeCallable; + typedef std::function&)> GetGatewayAsyncHandler; + typedef Outcome GetGatewayPacketStatOutcome; + typedef std::future GetGatewayPacketStatOutcomeCallable; + typedef std::function&)> GetGatewayPacketStatAsyncHandler; + typedef Outcome GetGatewayStatusStatOutcome; + typedef std::future GetGatewayStatusStatOutcomeCallable; + typedef std::function&)> GetGatewayStatusStatAsyncHandler; + typedef Outcome GetGatewayTransferPacketsDownloadUrlOutcome; + typedef std::future GetGatewayTransferPacketsDownloadUrlOutcomeCallable; + typedef std::function&)> GetGatewayTransferPacketsDownloadUrlAsyncHandler; + typedef Outcome GetGatewayTupleOrderOutcome; + typedef std::future GetGatewayTupleOrderOutcomeCallable; + typedef std::function&)> GetGatewayTupleOrderAsyncHandler; + typedef Outcome GetGatewayTuplesDownloadUrlOutcome; + typedef std::future GetGatewayTuplesDownloadUrlOutcomeCallable; + typedef std::function&)> GetGatewayTuplesDownloadUrlAsyncHandler; + typedef Outcome GetJoinPermissionAuthOrderOutcome; + typedef std::future GetJoinPermissionAuthOrderOutcomeCallable; + typedef std::function&)> GetJoinPermissionAuthOrderAsyncHandler; + typedef Outcome GetLocalConfigSyncTaskOutcome; + typedef std::future GetLocalConfigSyncTaskOutcomeCallable; + typedef std::function&)> GetLocalConfigSyncTaskAsyncHandler; + typedef Outcome GetNodeOutcome; + typedef std::future GetNodeOutcomeCallable; + typedef std::function&)> GetNodeAsyncHandler; + typedef Outcome GetNodeGroupOutcome; + typedef std::future GetNodeGroupOutcomeCallable; + typedef std::function&)> GetNodeGroupAsyncHandler; + typedef Outcome GetNodeGroupTransferPacketsDownloadUrlOutcome; + typedef std::future GetNodeGroupTransferPacketsDownloadUrlOutcomeCallable; + typedef std::function&)> GetNodeGroupTransferPacketsDownloadUrlAsyncHandler; + typedef Outcome GetNodeLocalConfigOutcome; + typedef std::future GetNodeLocalConfigOutcomeCallable; + typedef std::function&)> GetNodeLocalConfigAsyncHandler; + typedef Outcome GetNodeTransferPacketOutcome; + typedef std::future GetNodeTransferPacketOutcomeCallable; + typedef std::function&)> GetNodeTransferPacketAsyncHandler; + typedef Outcome GetNodeTransferPacketsDownloadUrlOutcome; + typedef std::future GetNodeTransferPacketsDownloadUrlOutcomeCallable; + typedef std::function&)> GetNodeTransferPacketsDownloadUrlAsyncHandler; + typedef Outcome GetNodeTupleOrderOutcome; + typedef std::future GetNodeTupleOrderOutcomeCallable; + typedef std::function&)> GetNodeTupleOrderAsyncHandler; + typedef Outcome GetNodeTuplesDownloadUrlOutcome; + typedef std::future GetNodeTuplesDownloadUrlOutcomeCallable; + typedef std::function&)> GetNodeTuplesDownloadUrlAsyncHandler; + typedef Outcome GetNotificationOutcome; + typedef std::future GetNotificationOutcomeCallable; + typedef std::function&)> GetNotificationAsyncHandler; + typedef Outcome GetOwnedJoinPermissionOutcome; + typedef std::future GetOwnedJoinPermissionOutcomeCallable; + typedef std::function&)> GetOwnedJoinPermissionAsyncHandler; + typedef Outcome GetRentedJoinPermissionOutcome; + typedef std::future GetRentedJoinPermissionOutcomeCallable; + typedef std::function&)> GetRentedJoinPermissionAsyncHandler; + typedef Outcome GetUserLicenseOutcome; + typedef std::future GetUserLicenseOutcomeCallable; + typedef std::function&)> GetUserLicenseAsyncHandler; + typedef Outcome GetUserNetProfileDescriptionOutcome; + typedef std::future GetUserNetProfileDescriptionOutcomeCallable; + typedef std::function&)> GetUserNetProfileDescriptionAsyncHandler; + typedef Outcome ListActivatedFeaturesOutcome; + typedef std::future ListActivatedFeaturesOutcomeCallable; + typedef std::function&)> ListActivatedFeaturesAsyncHandler; + typedef Outcome ListActiveGatewaysOutcome; + typedef std::future ListActiveGatewaysOutcomeCallable; + typedef std::function&)> ListActiveGatewaysAsyncHandler; + typedef Outcome ListFreqBandPlanGroupsOutcome; + typedef std::future ListFreqBandPlanGroupsOutcomeCallable; + typedef std::function&)> ListFreqBandPlanGroupsAsyncHandler; + typedef Outcome ListGatewayLocalConfigsOutcome; + typedef std::future ListGatewayLocalConfigsOutcomeCallable; + typedef std::function&)> ListGatewayLocalConfigsAsyncHandler; + typedef Outcome ListGatewayOnlineRecordsOutcome; + typedef std::future ListGatewayOnlineRecordsOutcomeCallable; + typedef std::function&)> ListGatewayOnlineRecordsAsyncHandler; + typedef Outcome ListGatewayTransferFlowStatsOutcome; + typedef std::future ListGatewayTransferFlowStatsOutcomeCallable; + typedef std::function&)> ListGatewayTransferFlowStatsAsyncHandler; + typedef Outcome ListGatewayTransferPacketsOutcome; + typedef std::future ListGatewayTransferPacketsOutcomeCallable; + typedef std::function&)> ListGatewayTransferPacketsAsyncHandler; + typedef Outcome ListGatewayTupleOrdersOutcome; + typedef std::future ListGatewayTupleOrdersOutcomeCallable; + typedef std::function&)> ListGatewayTupleOrdersAsyncHandler; + typedef Outcome ListGatewaysOutcome; + typedef std::future ListGatewaysOutcomeCallable; + typedef std::function&)> ListGatewaysAsyncHandler; + typedef Outcome ListGatewaysGisInfoOutcome; + typedef std::future ListGatewaysGisInfoOutcomeCallable; + typedef std::function&)> ListGatewaysGisInfoAsyncHandler; + typedef Outcome ListGatewaysPacketStatOutcome; + typedef std::future ListGatewaysPacketStatOutcomeCallable; + typedef std::function&)> ListGatewaysPacketStatAsyncHandler; + typedef Outcome ListNodeGroupTransferFlowStatsOutcome; + typedef std::future ListNodeGroupTransferFlowStatsOutcomeCallable; + typedef std::function&)> ListNodeGroupTransferFlowStatsAsyncHandler; + typedef Outcome ListNodeGroupTransferPacketsOutcome; + typedef std::future ListNodeGroupTransferPacketsOutcomeCallable; + typedef std::function&)> ListNodeGroupTransferPacketsAsyncHandler; + typedef Outcome ListNodeGroupsOutcome; + typedef std::future ListNodeGroupsOutcomeCallable; + typedef std::function&)> ListNodeGroupsAsyncHandler; + typedef Outcome ListNodeGroupsPacketStatOutcome; + typedef std::future ListNodeGroupsPacketStatOutcomeCallable; + typedef std::function&)> ListNodeGroupsPacketStatAsyncHandler; + typedef Outcome ListNodeTransferPacketPathsOutcome; + typedef std::future ListNodeTransferPacketPathsOutcomeCallable; + typedef std::function&)> ListNodeTransferPacketPathsAsyncHandler; + typedef Outcome ListNodeTransferPacketsOutcome; + typedef std::future ListNodeTransferPacketsOutcomeCallable; + typedef std::function&)> ListNodeTransferPacketsAsyncHandler; + typedef Outcome ListNodeTupleOrdersOutcome; + typedef std::future ListNodeTupleOrdersOutcomeCallable; + typedef std::function&)> ListNodeTupleOrdersAsyncHandler; + typedef Outcome ListNodesByNodeGroupIdOutcome; + typedef std::future ListNodesByNodeGroupIdOutcomeCallable; + typedef std::function&)> ListNodesByNodeGroupIdAsyncHandler; + typedef Outcome ListNodesByOwnedJoinPermissionIdOutcome; + typedef std::future ListNodesByOwnedJoinPermissionIdOutcomeCallable; + typedef std::function&)> ListNodesByOwnedJoinPermissionIdAsyncHandler; + typedef Outcome ListNotificationsOutcome; + typedef std::future ListNotificationsOutcomeCallable; + typedef std::function&)> ListNotificationsAsyncHandler; + typedef Outcome ListOwnedJoinPermissionsOutcome; + typedef std::future ListOwnedJoinPermissionsOutcomeCallable; + typedef std::function&)> ListOwnedJoinPermissionsAsyncHandler; + typedef Outcome ListRentedJoinPermissionsOutcome; + typedef std::future ListRentedJoinPermissionsOutcomeCallable; + typedef std::function&)> ListRentedJoinPermissionsAsyncHandler; + typedef Outcome ListTransferPacketOutcome; + typedef std::future ListTransferPacketOutcomeCallable; + typedef std::function&)> ListTransferPacketAsyncHandler; + typedef Outcome RejectJoinPermissionAuthOrderOutcome; + typedef std::future RejectJoinPermissionAuthOrderOutcomeCallable; + typedef std::function&)> RejectJoinPermissionAuthOrderAsyncHandler; + typedef Outcome RemoveNodeFromGroupOutcome; + typedef std::future RemoveNodeFromGroupOutcomeCallable; + typedef std::function&)> RemoveNodeFromGroupAsyncHandler; + typedef Outcome ReturnJoinPermissionOutcome; + typedef std::future ReturnJoinPermissionOutcomeCallable; + typedef std::function&)> ReturnJoinPermissionAsyncHandler; + typedef Outcome SendUnicastCommandOutcome; + typedef std::future SendUnicastCommandOutcomeCallable; + typedef std::function&)> SendUnicastCommandAsyncHandler; + typedef Outcome SubmitGatewayLocalConfigAddingTaskOutcome; + typedef std::future SubmitGatewayLocalConfigAddingTaskOutcomeCallable; + typedef std::function&)> SubmitGatewayLocalConfigAddingTaskAsyncHandler; + typedef Outcome SubmitGatewayLocalConfigDeletingTaskOutcome; + typedef std::future SubmitGatewayLocalConfigDeletingTaskOutcomeCallable; + typedef std::function&)> SubmitGatewayLocalConfigDeletingTaskAsyncHandler; + typedef Outcome SubmitGatewayTupleOrderOutcome; + typedef std::future SubmitGatewayTupleOrderOutcomeCallable; + typedef std::function&)> SubmitGatewayTupleOrderAsyncHandler; + typedef Outcome SubmitJoinPermissionAuthOrderOutcome; + typedef std::future SubmitJoinPermissionAuthOrderOutcomeCallable; + typedef std::function&)> SubmitJoinPermissionAuthOrderAsyncHandler; + typedef Outcome SubmitKpmEncryptedNodeTupleOrderOutcome; + typedef std::future SubmitKpmEncryptedNodeTupleOrderOutcomeCallable; + typedef std::function&)> SubmitKpmEncryptedNodeTupleOrderAsyncHandler; + typedef Outcome SubmitNodeLocalConfigAddingTaskOutcome; + typedef std::future SubmitNodeLocalConfigAddingTaskOutcomeCallable; + typedef std::function&)> SubmitNodeLocalConfigAddingTaskAsyncHandler; + typedef Outcome SubmitNodeLocalConfigDeletingTaskOutcome; + typedef std::future SubmitNodeLocalConfigDeletingTaskOutcomeCallable; + typedef std::function&)> SubmitNodeLocalConfigDeletingTaskAsyncHandler; + typedef Outcome SubmitNodeTupleOrderOutcome; + typedef std::future SubmitNodeTupleOrderOutcomeCallable; + typedef std::function&)> SubmitNodeTupleOrderAsyncHandler; + typedef Outcome UnbindJoinPermissionFromNodeGroupOutcome; + typedef std::future UnbindJoinPermissionFromNodeGroupOutcomeCallable; + typedef std::function&)> UnbindJoinPermissionFromNodeGroupAsyncHandler; + typedef Outcome UpdateDataDispatchConfigOutcome; + typedef std::future UpdateDataDispatchConfigOutcomeCallable; + typedef std::function&)> UpdateDataDispatchConfigAsyncHandler; + typedef Outcome UpdateDataDispatchEnablingStateOutcome; + typedef std::future UpdateDataDispatchEnablingStateOutcomeCallable; + typedef std::function&)> UpdateDataDispatchEnablingStateAsyncHandler; + typedef Outcome UpdateGatewayOutcome; + typedef std::future UpdateGatewayOutcomeCallable; + typedef std::function&)> UpdateGatewayAsyncHandler; + typedef Outcome UpdateGatewayEnablingStateOutcome; + typedef std::future UpdateGatewayEnablingStateOutcomeCallable; + typedef std::function&)> UpdateGatewayEnablingStateAsyncHandler; + typedef Outcome UpdateGatewaySshCtrlOutcome; + typedef std::future UpdateGatewaySshCtrlOutcomeCallable; + typedef std::function&)> UpdateGatewaySshCtrlAsyncHandler; + typedef Outcome UpdateNodeEnablingStateOutcome; + typedef std::future UpdateNodeEnablingStateOutcomeCallable; + typedef std::function&)> UpdateNodeEnablingStateAsyncHandler; + typedef Outcome UpdateNodeGroupOutcome; + typedef std::future UpdateNodeGroupOutcomeCallable; + typedef std::function&)> UpdateNodeGroupAsyncHandler; + typedef Outcome UpdateNotificationsHandleStateOutcome; + typedef std::future UpdateNotificationsHandleStateOutcomeCallable; + typedef std::function&)> UpdateNotificationsHandleStateAsyncHandler; + typedef Outcome UpdateOwnedLocalJoinPermissionOutcome; + typedef std::future UpdateOwnedLocalJoinPermissionOutcomeCallable; + typedef std::function&)> UpdateOwnedLocalJoinPermissionAsyncHandler; + typedef Outcome UpdateOwnedLocalJoinPermissionEnablingStateOutcome; + typedef std::future UpdateOwnedLocalJoinPermissionEnablingStateOutcomeCallable; + typedef std::function&)> UpdateOwnedLocalJoinPermissionEnablingStateAsyncHandler; + typedef Outcome UpdateRoamingJoinPermissionOutcome; + typedef std::future UpdateRoamingJoinPermissionOutcomeCallable; + typedef std::function&)> UpdateRoamingJoinPermissionAsyncHandler; + typedef Outcome UpdateRoamingJoinPermissionEnablingStateOutcome; + typedef std::future UpdateRoamingJoinPermissionEnablingStateOutcomeCallable; + typedef std::function&)> UpdateRoamingJoinPermissionEnablingStateAsyncHandler; + typedef Outcome UpdateUserIsolationStateOutcome; + typedef std::future UpdateUserIsolationStateOutcomeCallable; + typedef std::function&)> UpdateUserIsolationStateAsyncHandler; + + LinkWANClient(const Credentials &credentials, const ClientConfiguration &configuration); + LinkWANClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + LinkWANClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~LinkWANClient(); + AcceptJoinPermissionAuthOrderOutcome acceptJoinPermissionAuthOrder(const Model::AcceptJoinPermissionAuthOrderRequest &request)const; + void acceptJoinPermissionAuthOrderAsync(const Model::AcceptJoinPermissionAuthOrderRequest& request, const AcceptJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AcceptJoinPermissionAuthOrderOutcomeCallable acceptJoinPermissionAuthOrderCallable(const Model::AcceptJoinPermissionAuthOrderRequest& request) const; + AddNodeToGroupOutcome addNodeToGroup(const Model::AddNodeToGroupRequest &request)const; + void addNodeToGroupAsync(const Model::AddNodeToGroupRequest& request, const AddNodeToGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddNodeToGroupOutcomeCallable addNodeToGroupCallable(const Model::AddNodeToGroupRequest& request) const; + ApplyRoamingJoinPermissionOutcome applyRoamingJoinPermission(const Model::ApplyRoamingJoinPermissionRequest &request)const; + void applyRoamingJoinPermissionAsync(const Model::ApplyRoamingJoinPermissionRequest& request, const ApplyRoamingJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ApplyRoamingJoinPermissionOutcomeCallable applyRoamingJoinPermissionCallable(const Model::ApplyRoamingJoinPermissionRequest& request) const; + BindJoinPermissionToNodeGroupOutcome bindJoinPermissionToNodeGroup(const Model::BindJoinPermissionToNodeGroupRequest &request)const; + void bindJoinPermissionToNodeGroupAsync(const Model::BindJoinPermissionToNodeGroupRequest& request, const BindJoinPermissionToNodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindJoinPermissionToNodeGroupOutcomeCallable bindJoinPermissionToNodeGroupCallable(const Model::BindJoinPermissionToNodeGroupRequest& request) const; + CancelJoinPermissionAuthOrderOutcome cancelJoinPermissionAuthOrder(const Model::CancelJoinPermissionAuthOrderRequest &request)const; + void cancelJoinPermissionAuthOrderAsync(const Model::CancelJoinPermissionAuthOrderRequest& request, const CancelJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelJoinPermissionAuthOrderOutcomeCallable cancelJoinPermissionAuthOrderCallable(const Model::CancelJoinPermissionAuthOrderRequest& request) const; + CheckCloudProductOpenStatusOutcome checkCloudProductOpenStatus(const Model::CheckCloudProductOpenStatusRequest &request)const; + void checkCloudProductOpenStatusAsync(const Model::CheckCloudProductOpenStatusRequest& request, const CheckCloudProductOpenStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckCloudProductOpenStatusOutcomeCallable checkCloudProductOpenStatusCallable(const Model::CheckCloudProductOpenStatusRequest& request) const; + CheckUserChargeStatusOutcome checkUserChargeStatus(const Model::CheckUserChargeStatusRequest &request)const; + void checkUserChargeStatusAsync(const Model::CheckUserChargeStatusRequest& request, const CheckUserChargeStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckUserChargeStatusOutcomeCallable checkUserChargeStatusCallable(const Model::CheckUserChargeStatusRequest& request) const; + CountGatewayTupleOrdersOutcome countGatewayTupleOrders(const Model::CountGatewayTupleOrdersRequest &request)const; + void countGatewayTupleOrdersAsync(const Model::CountGatewayTupleOrdersRequest& request, const CountGatewayTupleOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountGatewayTupleOrdersOutcomeCallable countGatewayTupleOrdersCallable(const Model::CountGatewayTupleOrdersRequest& request) const; + CountGatewaysOutcome countGateways(const Model::CountGatewaysRequest &request)const; + void countGatewaysAsync(const Model::CountGatewaysRequest& request, const CountGatewaysAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountGatewaysOutcomeCallable countGatewaysCallable(const Model::CountGatewaysRequest& request) const; + CountNodeGroupsOutcome countNodeGroups(const Model::CountNodeGroupsRequest &request)const; + void countNodeGroupsAsync(const Model::CountNodeGroupsRequest& request, const CountNodeGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountNodeGroupsOutcomeCallable countNodeGroupsCallable(const Model::CountNodeGroupsRequest& request) const; + CountNodeTupleOrdersOutcome countNodeTupleOrders(const Model::CountNodeTupleOrdersRequest &request)const; + void countNodeTupleOrdersAsync(const Model::CountNodeTupleOrdersRequest& request, const CountNodeTupleOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountNodeTupleOrdersOutcomeCallable countNodeTupleOrdersCallable(const Model::CountNodeTupleOrdersRequest& request) const; + CountNodesByNodeGroupIdOutcome countNodesByNodeGroupId(const Model::CountNodesByNodeGroupIdRequest &request)const; + void countNodesByNodeGroupIdAsync(const Model::CountNodesByNodeGroupIdRequest& request, const CountNodesByNodeGroupIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountNodesByNodeGroupIdOutcomeCallable countNodesByNodeGroupIdCallable(const Model::CountNodesByNodeGroupIdRequest& request) const; + CountNodesByOwnedJoinPermissionIdOutcome countNodesByOwnedJoinPermissionId(const Model::CountNodesByOwnedJoinPermissionIdRequest &request)const; + void countNodesByOwnedJoinPermissionIdAsync(const Model::CountNodesByOwnedJoinPermissionIdRequest& request, const CountNodesByOwnedJoinPermissionIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountNodesByOwnedJoinPermissionIdOutcomeCallable countNodesByOwnedJoinPermissionIdCallable(const Model::CountNodesByOwnedJoinPermissionIdRequest& request) const; + CountNotificationsOutcome countNotifications(const Model::CountNotificationsRequest &request)const; + void countNotificationsAsync(const Model::CountNotificationsRequest& request, const CountNotificationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountNotificationsOutcomeCallable countNotificationsCallable(const Model::CountNotificationsRequest& request) const; + CountOwnedJoinPermissionsOutcome countOwnedJoinPermissions(const Model::CountOwnedJoinPermissionsRequest &request)const; + void countOwnedJoinPermissionsAsync(const Model::CountOwnedJoinPermissionsRequest& request, const CountOwnedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountOwnedJoinPermissionsOutcomeCallable countOwnedJoinPermissionsCallable(const Model::CountOwnedJoinPermissionsRequest& request) const; + CountRentedJoinPermissionsOutcome countRentedJoinPermissions(const Model::CountRentedJoinPermissionsRequest &request)const; + void countRentedJoinPermissionsAsync(const Model::CountRentedJoinPermissionsRequest& request, const CountRentedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CountRentedJoinPermissionsOutcomeCallable countRentedJoinPermissionsCallable(const Model::CountRentedJoinPermissionsRequest& request) const; + CreateCustomLocalJoinPermissionOutcome createCustomLocalJoinPermission(const Model::CreateCustomLocalJoinPermissionRequest &request)const; + void createCustomLocalJoinPermissionAsync(const Model::CreateCustomLocalJoinPermissionRequest& request, const CreateCustomLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCustomLocalJoinPermissionOutcomeCallable createCustomLocalJoinPermissionCallable(const Model::CreateCustomLocalJoinPermissionRequest& request) const; + CreateGatewayOutcome createGateway(const Model::CreateGatewayRequest &request)const; + void createGatewayAsync(const Model::CreateGatewayRequest& request, const CreateGatewayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateGatewayOutcomeCallable createGatewayCallable(const Model::CreateGatewayRequest& request) const; + CreateLocalJoinPermissionOutcome createLocalJoinPermission(const Model::CreateLocalJoinPermissionRequest &request)const; + void createLocalJoinPermissionAsync(const Model::CreateLocalJoinPermissionRequest& request, const CreateLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateLocalJoinPermissionOutcomeCallable createLocalJoinPermissionCallable(const Model::CreateLocalJoinPermissionRequest& request) const; + CreateNodeGroupOutcome createNodeGroup(const Model::CreateNodeGroupRequest &request)const; + void createNodeGroupAsync(const Model::CreateNodeGroupRequest& request, const CreateNodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateNodeGroupOutcomeCallable createNodeGroupCallable(const Model::CreateNodeGroupRequest& request) const; + DeleteGatewayOutcome deleteGateway(const Model::DeleteGatewayRequest &request)const; + void deleteGatewayAsync(const Model::DeleteGatewayRequest& request, const DeleteGatewayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteGatewayOutcomeCallable deleteGatewayCallable(const Model::DeleteGatewayRequest& request) const; + DeleteLocalJoinPermissionOutcome deleteLocalJoinPermission(const Model::DeleteLocalJoinPermissionRequest &request)const; + void deleteLocalJoinPermissionAsync(const Model::DeleteLocalJoinPermissionRequest& request, const DeleteLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLocalJoinPermissionOutcomeCallable deleteLocalJoinPermissionCallable(const Model::DeleteLocalJoinPermissionRequest& request) const; + DeleteNodeGroupOutcome deleteNodeGroup(const Model::DeleteNodeGroupRequest &request)const; + void deleteNodeGroupAsync(const Model::DeleteNodeGroupRequest& request, const DeleteNodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteNodeGroupOutcomeCallable deleteNodeGroupCallable(const Model::DeleteNodeGroupRequest& request) const; + DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const; + void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const; + GetFreqBandPlanGroupOutcome getFreqBandPlanGroup(const Model::GetFreqBandPlanGroupRequest &request)const; + void getFreqBandPlanGroupAsync(const Model::GetFreqBandPlanGroupRequest& request, const GetFreqBandPlanGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFreqBandPlanGroupOutcomeCallable getFreqBandPlanGroupCallable(const Model::GetFreqBandPlanGroupRequest& request) const; + GetGatewayOutcome getGateway(const Model::GetGatewayRequest &request)const; + void getGatewayAsync(const Model::GetGatewayRequest& request, const GetGatewayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetGatewayOutcomeCallable getGatewayCallable(const Model::GetGatewayRequest& request) const; + GetGatewayPacketStatOutcome getGatewayPacketStat(const Model::GetGatewayPacketStatRequest &request)const; + void getGatewayPacketStatAsync(const Model::GetGatewayPacketStatRequest& request, const GetGatewayPacketStatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetGatewayPacketStatOutcomeCallable getGatewayPacketStatCallable(const Model::GetGatewayPacketStatRequest& request) const; + GetGatewayStatusStatOutcome getGatewayStatusStat(const Model::GetGatewayStatusStatRequest &request)const; + void getGatewayStatusStatAsync(const Model::GetGatewayStatusStatRequest& request, const GetGatewayStatusStatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetGatewayStatusStatOutcomeCallable getGatewayStatusStatCallable(const Model::GetGatewayStatusStatRequest& request) const; + GetGatewayTransferPacketsDownloadUrlOutcome getGatewayTransferPacketsDownloadUrl(const Model::GetGatewayTransferPacketsDownloadUrlRequest &request)const; + void getGatewayTransferPacketsDownloadUrlAsync(const Model::GetGatewayTransferPacketsDownloadUrlRequest& request, const GetGatewayTransferPacketsDownloadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetGatewayTransferPacketsDownloadUrlOutcomeCallable getGatewayTransferPacketsDownloadUrlCallable(const Model::GetGatewayTransferPacketsDownloadUrlRequest& request) const; + GetGatewayTupleOrderOutcome getGatewayTupleOrder(const Model::GetGatewayTupleOrderRequest &request)const; + void getGatewayTupleOrderAsync(const Model::GetGatewayTupleOrderRequest& request, const GetGatewayTupleOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetGatewayTupleOrderOutcomeCallable getGatewayTupleOrderCallable(const Model::GetGatewayTupleOrderRequest& request) const; + GetGatewayTuplesDownloadUrlOutcome getGatewayTuplesDownloadUrl(const Model::GetGatewayTuplesDownloadUrlRequest &request)const; + void getGatewayTuplesDownloadUrlAsync(const Model::GetGatewayTuplesDownloadUrlRequest& request, const GetGatewayTuplesDownloadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetGatewayTuplesDownloadUrlOutcomeCallable getGatewayTuplesDownloadUrlCallable(const Model::GetGatewayTuplesDownloadUrlRequest& request) const; + GetJoinPermissionAuthOrderOutcome getJoinPermissionAuthOrder(const Model::GetJoinPermissionAuthOrderRequest &request)const; + void getJoinPermissionAuthOrderAsync(const Model::GetJoinPermissionAuthOrderRequest& request, const GetJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetJoinPermissionAuthOrderOutcomeCallable getJoinPermissionAuthOrderCallable(const Model::GetJoinPermissionAuthOrderRequest& request) const; + GetLocalConfigSyncTaskOutcome getLocalConfigSyncTask(const Model::GetLocalConfigSyncTaskRequest &request)const; + void getLocalConfigSyncTaskAsync(const Model::GetLocalConfigSyncTaskRequest& request, const GetLocalConfigSyncTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetLocalConfigSyncTaskOutcomeCallable getLocalConfigSyncTaskCallable(const Model::GetLocalConfigSyncTaskRequest& request) const; + GetNodeOutcome getNode(const Model::GetNodeRequest &request)const; + void getNodeAsync(const Model::GetNodeRequest& request, const GetNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeOutcomeCallable getNodeCallable(const Model::GetNodeRequest& request) const; + GetNodeGroupOutcome getNodeGroup(const Model::GetNodeGroupRequest &request)const; + void getNodeGroupAsync(const Model::GetNodeGroupRequest& request, const GetNodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeGroupOutcomeCallable getNodeGroupCallable(const Model::GetNodeGroupRequest& request) const; + GetNodeGroupTransferPacketsDownloadUrlOutcome getNodeGroupTransferPacketsDownloadUrl(const Model::GetNodeGroupTransferPacketsDownloadUrlRequest &request)const; + void getNodeGroupTransferPacketsDownloadUrlAsync(const Model::GetNodeGroupTransferPacketsDownloadUrlRequest& request, const GetNodeGroupTransferPacketsDownloadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeGroupTransferPacketsDownloadUrlOutcomeCallable getNodeGroupTransferPacketsDownloadUrlCallable(const Model::GetNodeGroupTransferPacketsDownloadUrlRequest& request) const; + GetNodeLocalConfigOutcome getNodeLocalConfig(const Model::GetNodeLocalConfigRequest &request)const; + void getNodeLocalConfigAsync(const Model::GetNodeLocalConfigRequest& request, const GetNodeLocalConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeLocalConfigOutcomeCallable getNodeLocalConfigCallable(const Model::GetNodeLocalConfigRequest& request) const; + GetNodeTransferPacketOutcome getNodeTransferPacket(const Model::GetNodeTransferPacketRequest &request)const; + void getNodeTransferPacketAsync(const Model::GetNodeTransferPacketRequest& request, const GetNodeTransferPacketAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeTransferPacketOutcomeCallable getNodeTransferPacketCallable(const Model::GetNodeTransferPacketRequest& request) const; + GetNodeTransferPacketsDownloadUrlOutcome getNodeTransferPacketsDownloadUrl(const Model::GetNodeTransferPacketsDownloadUrlRequest &request)const; + void getNodeTransferPacketsDownloadUrlAsync(const Model::GetNodeTransferPacketsDownloadUrlRequest& request, const GetNodeTransferPacketsDownloadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeTransferPacketsDownloadUrlOutcomeCallable getNodeTransferPacketsDownloadUrlCallable(const Model::GetNodeTransferPacketsDownloadUrlRequest& request) const; + GetNodeTupleOrderOutcome getNodeTupleOrder(const Model::GetNodeTupleOrderRequest &request)const; + void getNodeTupleOrderAsync(const Model::GetNodeTupleOrderRequest& request, const GetNodeTupleOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeTupleOrderOutcomeCallable getNodeTupleOrderCallable(const Model::GetNodeTupleOrderRequest& request) const; + GetNodeTuplesDownloadUrlOutcome getNodeTuplesDownloadUrl(const Model::GetNodeTuplesDownloadUrlRequest &request)const; + void getNodeTuplesDownloadUrlAsync(const Model::GetNodeTuplesDownloadUrlRequest& request, const GetNodeTuplesDownloadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNodeTuplesDownloadUrlOutcomeCallable getNodeTuplesDownloadUrlCallable(const Model::GetNodeTuplesDownloadUrlRequest& request) const; + GetNotificationOutcome getNotification(const Model::GetNotificationRequest &request)const; + void getNotificationAsync(const Model::GetNotificationRequest& request, const GetNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetNotificationOutcomeCallable getNotificationCallable(const Model::GetNotificationRequest& request) const; + GetOwnedJoinPermissionOutcome getOwnedJoinPermission(const Model::GetOwnedJoinPermissionRequest &request)const; + void getOwnedJoinPermissionAsync(const Model::GetOwnedJoinPermissionRequest& request, const GetOwnedJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOwnedJoinPermissionOutcomeCallable getOwnedJoinPermissionCallable(const Model::GetOwnedJoinPermissionRequest& request) const; + GetRentedJoinPermissionOutcome getRentedJoinPermission(const Model::GetRentedJoinPermissionRequest &request)const; + void getRentedJoinPermissionAsync(const Model::GetRentedJoinPermissionRequest& request, const GetRentedJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetRentedJoinPermissionOutcomeCallable getRentedJoinPermissionCallable(const Model::GetRentedJoinPermissionRequest& request) const; + GetUserLicenseOutcome getUserLicense(const Model::GetUserLicenseRequest &request)const; + void getUserLicenseAsync(const Model::GetUserLicenseRequest& request, const GetUserLicenseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetUserLicenseOutcomeCallable getUserLicenseCallable(const Model::GetUserLicenseRequest& request) const; + GetUserNetProfileDescriptionOutcome getUserNetProfileDescription(const Model::GetUserNetProfileDescriptionRequest &request)const; + void getUserNetProfileDescriptionAsync(const Model::GetUserNetProfileDescriptionRequest& request, const GetUserNetProfileDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetUserNetProfileDescriptionOutcomeCallable getUserNetProfileDescriptionCallable(const Model::GetUserNetProfileDescriptionRequest& request) const; + ListActivatedFeaturesOutcome listActivatedFeatures(const Model::ListActivatedFeaturesRequest &request)const; + void listActivatedFeaturesAsync(const Model::ListActivatedFeaturesRequest& request, const ListActivatedFeaturesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListActivatedFeaturesOutcomeCallable listActivatedFeaturesCallable(const Model::ListActivatedFeaturesRequest& request) const; + ListActiveGatewaysOutcome listActiveGateways(const Model::ListActiveGatewaysRequest &request)const; + void listActiveGatewaysAsync(const Model::ListActiveGatewaysRequest& request, const ListActiveGatewaysAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListActiveGatewaysOutcomeCallable listActiveGatewaysCallable(const Model::ListActiveGatewaysRequest& request) const; + ListFreqBandPlanGroupsOutcome listFreqBandPlanGroups(const Model::ListFreqBandPlanGroupsRequest &request)const; + void listFreqBandPlanGroupsAsync(const Model::ListFreqBandPlanGroupsRequest& request, const ListFreqBandPlanGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFreqBandPlanGroupsOutcomeCallable listFreqBandPlanGroupsCallable(const Model::ListFreqBandPlanGroupsRequest& request) const; + ListGatewayLocalConfigsOutcome listGatewayLocalConfigs(const Model::ListGatewayLocalConfigsRequest &request)const; + void listGatewayLocalConfigsAsync(const Model::ListGatewayLocalConfigsRequest& request, const ListGatewayLocalConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewayLocalConfigsOutcomeCallable listGatewayLocalConfigsCallable(const Model::ListGatewayLocalConfigsRequest& request) const; + ListGatewayOnlineRecordsOutcome listGatewayOnlineRecords(const Model::ListGatewayOnlineRecordsRequest &request)const; + void listGatewayOnlineRecordsAsync(const Model::ListGatewayOnlineRecordsRequest& request, const ListGatewayOnlineRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewayOnlineRecordsOutcomeCallable listGatewayOnlineRecordsCallable(const Model::ListGatewayOnlineRecordsRequest& request) const; + ListGatewayTransferFlowStatsOutcome listGatewayTransferFlowStats(const Model::ListGatewayTransferFlowStatsRequest &request)const; + void listGatewayTransferFlowStatsAsync(const Model::ListGatewayTransferFlowStatsRequest& request, const ListGatewayTransferFlowStatsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewayTransferFlowStatsOutcomeCallable listGatewayTransferFlowStatsCallable(const Model::ListGatewayTransferFlowStatsRequest& request) const; + ListGatewayTransferPacketsOutcome listGatewayTransferPackets(const Model::ListGatewayTransferPacketsRequest &request)const; + void listGatewayTransferPacketsAsync(const Model::ListGatewayTransferPacketsRequest& request, const ListGatewayTransferPacketsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewayTransferPacketsOutcomeCallable listGatewayTransferPacketsCallable(const Model::ListGatewayTransferPacketsRequest& request) const; + ListGatewayTupleOrdersOutcome listGatewayTupleOrders(const Model::ListGatewayTupleOrdersRequest &request)const; + void listGatewayTupleOrdersAsync(const Model::ListGatewayTupleOrdersRequest& request, const ListGatewayTupleOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewayTupleOrdersOutcomeCallable listGatewayTupleOrdersCallable(const Model::ListGatewayTupleOrdersRequest& request) const; + ListGatewaysOutcome listGateways(const Model::ListGatewaysRequest &request)const; + void listGatewaysAsync(const Model::ListGatewaysRequest& request, const ListGatewaysAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewaysOutcomeCallable listGatewaysCallable(const Model::ListGatewaysRequest& request) const; + ListGatewaysGisInfoOutcome listGatewaysGisInfo(const Model::ListGatewaysGisInfoRequest &request)const; + void listGatewaysGisInfoAsync(const Model::ListGatewaysGisInfoRequest& request, const ListGatewaysGisInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewaysGisInfoOutcomeCallable listGatewaysGisInfoCallable(const Model::ListGatewaysGisInfoRequest& request) const; + ListGatewaysPacketStatOutcome listGatewaysPacketStat(const Model::ListGatewaysPacketStatRequest &request)const; + void listGatewaysPacketStatAsync(const Model::ListGatewaysPacketStatRequest& request, const ListGatewaysPacketStatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListGatewaysPacketStatOutcomeCallable listGatewaysPacketStatCallable(const Model::ListGatewaysPacketStatRequest& request) const; + ListNodeGroupTransferFlowStatsOutcome listNodeGroupTransferFlowStats(const Model::ListNodeGroupTransferFlowStatsRequest &request)const; + void listNodeGroupTransferFlowStatsAsync(const Model::ListNodeGroupTransferFlowStatsRequest& request, const ListNodeGroupTransferFlowStatsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeGroupTransferFlowStatsOutcomeCallable listNodeGroupTransferFlowStatsCallable(const Model::ListNodeGroupTransferFlowStatsRequest& request) const; + ListNodeGroupTransferPacketsOutcome listNodeGroupTransferPackets(const Model::ListNodeGroupTransferPacketsRequest &request)const; + void listNodeGroupTransferPacketsAsync(const Model::ListNodeGroupTransferPacketsRequest& request, const ListNodeGroupTransferPacketsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeGroupTransferPacketsOutcomeCallable listNodeGroupTransferPacketsCallable(const Model::ListNodeGroupTransferPacketsRequest& request) const; + ListNodeGroupsOutcome listNodeGroups(const Model::ListNodeGroupsRequest &request)const; + void listNodeGroupsAsync(const Model::ListNodeGroupsRequest& request, const ListNodeGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeGroupsOutcomeCallable listNodeGroupsCallable(const Model::ListNodeGroupsRequest& request) const; + ListNodeGroupsPacketStatOutcome listNodeGroupsPacketStat(const Model::ListNodeGroupsPacketStatRequest &request)const; + void listNodeGroupsPacketStatAsync(const Model::ListNodeGroupsPacketStatRequest& request, const ListNodeGroupsPacketStatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeGroupsPacketStatOutcomeCallable listNodeGroupsPacketStatCallable(const Model::ListNodeGroupsPacketStatRequest& request) const; + ListNodeTransferPacketPathsOutcome listNodeTransferPacketPaths(const Model::ListNodeTransferPacketPathsRequest &request)const; + void listNodeTransferPacketPathsAsync(const Model::ListNodeTransferPacketPathsRequest& request, const ListNodeTransferPacketPathsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeTransferPacketPathsOutcomeCallable listNodeTransferPacketPathsCallable(const Model::ListNodeTransferPacketPathsRequest& request) const; + ListNodeTransferPacketsOutcome listNodeTransferPackets(const Model::ListNodeTransferPacketsRequest &request)const; + void listNodeTransferPacketsAsync(const Model::ListNodeTransferPacketsRequest& request, const ListNodeTransferPacketsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeTransferPacketsOutcomeCallable listNodeTransferPacketsCallable(const Model::ListNodeTransferPacketsRequest& request) const; + ListNodeTupleOrdersOutcome listNodeTupleOrders(const Model::ListNodeTupleOrdersRequest &request)const; + void listNodeTupleOrdersAsync(const Model::ListNodeTupleOrdersRequest& request, const ListNodeTupleOrdersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodeTupleOrdersOutcomeCallable listNodeTupleOrdersCallable(const Model::ListNodeTupleOrdersRequest& request) const; + ListNodesByNodeGroupIdOutcome listNodesByNodeGroupId(const Model::ListNodesByNodeGroupIdRequest &request)const; + void listNodesByNodeGroupIdAsync(const Model::ListNodesByNodeGroupIdRequest& request, const ListNodesByNodeGroupIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodesByNodeGroupIdOutcomeCallable listNodesByNodeGroupIdCallable(const Model::ListNodesByNodeGroupIdRequest& request) const; + ListNodesByOwnedJoinPermissionIdOutcome listNodesByOwnedJoinPermissionId(const Model::ListNodesByOwnedJoinPermissionIdRequest &request)const; + void listNodesByOwnedJoinPermissionIdAsync(const Model::ListNodesByOwnedJoinPermissionIdRequest& request, const ListNodesByOwnedJoinPermissionIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNodesByOwnedJoinPermissionIdOutcomeCallable listNodesByOwnedJoinPermissionIdCallable(const Model::ListNodesByOwnedJoinPermissionIdRequest& request) const; + ListNotificationsOutcome listNotifications(const Model::ListNotificationsRequest &request)const; + void listNotificationsAsync(const Model::ListNotificationsRequest& request, const ListNotificationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListNotificationsOutcomeCallable listNotificationsCallable(const Model::ListNotificationsRequest& request) const; + ListOwnedJoinPermissionsOutcome listOwnedJoinPermissions(const Model::ListOwnedJoinPermissionsRequest &request)const; + void listOwnedJoinPermissionsAsync(const Model::ListOwnedJoinPermissionsRequest& request, const ListOwnedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListOwnedJoinPermissionsOutcomeCallable listOwnedJoinPermissionsCallable(const Model::ListOwnedJoinPermissionsRequest& request) const; + ListRentedJoinPermissionsOutcome listRentedJoinPermissions(const Model::ListRentedJoinPermissionsRequest &request)const; + void listRentedJoinPermissionsAsync(const Model::ListRentedJoinPermissionsRequest& request, const ListRentedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListRentedJoinPermissionsOutcomeCallable listRentedJoinPermissionsCallable(const Model::ListRentedJoinPermissionsRequest& request) const; + ListTransferPacketOutcome listTransferPacket(const Model::ListTransferPacketRequest &request)const; + void listTransferPacketAsync(const Model::ListTransferPacketRequest& request, const ListTransferPacketAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTransferPacketOutcomeCallable listTransferPacketCallable(const Model::ListTransferPacketRequest& request) const; + RejectJoinPermissionAuthOrderOutcome rejectJoinPermissionAuthOrder(const Model::RejectJoinPermissionAuthOrderRequest &request)const; + void rejectJoinPermissionAuthOrderAsync(const Model::RejectJoinPermissionAuthOrderRequest& request, const RejectJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RejectJoinPermissionAuthOrderOutcomeCallable rejectJoinPermissionAuthOrderCallable(const Model::RejectJoinPermissionAuthOrderRequest& request) const; + RemoveNodeFromGroupOutcome removeNodeFromGroup(const Model::RemoveNodeFromGroupRequest &request)const; + void removeNodeFromGroupAsync(const Model::RemoveNodeFromGroupRequest& request, const RemoveNodeFromGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveNodeFromGroupOutcomeCallable removeNodeFromGroupCallable(const Model::RemoveNodeFromGroupRequest& request) const; + ReturnJoinPermissionOutcome returnJoinPermission(const Model::ReturnJoinPermissionRequest &request)const; + void returnJoinPermissionAsync(const Model::ReturnJoinPermissionRequest& request, const ReturnJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ReturnJoinPermissionOutcomeCallable returnJoinPermissionCallable(const Model::ReturnJoinPermissionRequest& request) const; + SendUnicastCommandOutcome sendUnicastCommand(const Model::SendUnicastCommandRequest &request)const; + void sendUnicastCommandAsync(const Model::SendUnicastCommandRequest& request, const SendUnicastCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendUnicastCommandOutcomeCallable sendUnicastCommandCallable(const Model::SendUnicastCommandRequest& request) const; + SubmitGatewayLocalConfigAddingTaskOutcome submitGatewayLocalConfigAddingTask(const Model::SubmitGatewayLocalConfigAddingTaskRequest &request)const; + void submitGatewayLocalConfigAddingTaskAsync(const Model::SubmitGatewayLocalConfigAddingTaskRequest& request, const SubmitGatewayLocalConfigAddingTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitGatewayLocalConfigAddingTaskOutcomeCallable submitGatewayLocalConfigAddingTaskCallable(const Model::SubmitGatewayLocalConfigAddingTaskRequest& request) const; + SubmitGatewayLocalConfigDeletingTaskOutcome submitGatewayLocalConfigDeletingTask(const Model::SubmitGatewayLocalConfigDeletingTaskRequest &request)const; + void submitGatewayLocalConfigDeletingTaskAsync(const Model::SubmitGatewayLocalConfigDeletingTaskRequest& request, const SubmitGatewayLocalConfigDeletingTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitGatewayLocalConfigDeletingTaskOutcomeCallable submitGatewayLocalConfigDeletingTaskCallable(const Model::SubmitGatewayLocalConfigDeletingTaskRequest& request) const; + SubmitGatewayTupleOrderOutcome submitGatewayTupleOrder(const Model::SubmitGatewayTupleOrderRequest &request)const; + void submitGatewayTupleOrderAsync(const Model::SubmitGatewayTupleOrderRequest& request, const SubmitGatewayTupleOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitGatewayTupleOrderOutcomeCallable submitGatewayTupleOrderCallable(const Model::SubmitGatewayTupleOrderRequest& request) const; + SubmitJoinPermissionAuthOrderOutcome submitJoinPermissionAuthOrder(const Model::SubmitJoinPermissionAuthOrderRequest &request)const; + void submitJoinPermissionAuthOrderAsync(const Model::SubmitJoinPermissionAuthOrderRequest& request, const SubmitJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitJoinPermissionAuthOrderOutcomeCallable submitJoinPermissionAuthOrderCallable(const Model::SubmitJoinPermissionAuthOrderRequest& request) const; + SubmitKpmEncryptedNodeTupleOrderOutcome submitKpmEncryptedNodeTupleOrder(const Model::SubmitKpmEncryptedNodeTupleOrderRequest &request)const; + void submitKpmEncryptedNodeTupleOrderAsync(const Model::SubmitKpmEncryptedNodeTupleOrderRequest& request, const SubmitKpmEncryptedNodeTupleOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitKpmEncryptedNodeTupleOrderOutcomeCallable submitKpmEncryptedNodeTupleOrderCallable(const Model::SubmitKpmEncryptedNodeTupleOrderRequest& request) const; + SubmitNodeLocalConfigAddingTaskOutcome submitNodeLocalConfigAddingTask(const Model::SubmitNodeLocalConfigAddingTaskRequest &request)const; + void submitNodeLocalConfigAddingTaskAsync(const Model::SubmitNodeLocalConfigAddingTaskRequest& request, const SubmitNodeLocalConfigAddingTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitNodeLocalConfigAddingTaskOutcomeCallable submitNodeLocalConfigAddingTaskCallable(const Model::SubmitNodeLocalConfigAddingTaskRequest& request) const; + SubmitNodeLocalConfigDeletingTaskOutcome submitNodeLocalConfigDeletingTask(const Model::SubmitNodeLocalConfigDeletingTaskRequest &request)const; + void submitNodeLocalConfigDeletingTaskAsync(const Model::SubmitNodeLocalConfigDeletingTaskRequest& request, const SubmitNodeLocalConfigDeletingTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitNodeLocalConfigDeletingTaskOutcomeCallable submitNodeLocalConfigDeletingTaskCallable(const Model::SubmitNodeLocalConfigDeletingTaskRequest& request) const; + SubmitNodeTupleOrderOutcome submitNodeTupleOrder(const Model::SubmitNodeTupleOrderRequest &request)const; + void submitNodeTupleOrderAsync(const Model::SubmitNodeTupleOrderRequest& request, const SubmitNodeTupleOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SubmitNodeTupleOrderOutcomeCallable submitNodeTupleOrderCallable(const Model::SubmitNodeTupleOrderRequest& request) const; + UnbindJoinPermissionFromNodeGroupOutcome unbindJoinPermissionFromNodeGroup(const Model::UnbindJoinPermissionFromNodeGroupRequest &request)const; + void unbindJoinPermissionFromNodeGroupAsync(const Model::UnbindJoinPermissionFromNodeGroupRequest& request, const UnbindJoinPermissionFromNodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindJoinPermissionFromNodeGroupOutcomeCallable unbindJoinPermissionFromNodeGroupCallable(const Model::UnbindJoinPermissionFromNodeGroupRequest& request) const; + UpdateDataDispatchConfigOutcome updateDataDispatchConfig(const Model::UpdateDataDispatchConfigRequest &request)const; + void updateDataDispatchConfigAsync(const Model::UpdateDataDispatchConfigRequest& request, const UpdateDataDispatchConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDataDispatchConfigOutcomeCallable updateDataDispatchConfigCallable(const Model::UpdateDataDispatchConfigRequest& request) const; + UpdateDataDispatchEnablingStateOutcome updateDataDispatchEnablingState(const Model::UpdateDataDispatchEnablingStateRequest &request)const; + void updateDataDispatchEnablingStateAsync(const Model::UpdateDataDispatchEnablingStateRequest& request, const UpdateDataDispatchEnablingStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDataDispatchEnablingStateOutcomeCallable updateDataDispatchEnablingStateCallable(const Model::UpdateDataDispatchEnablingStateRequest& request) const; + UpdateGatewayOutcome updateGateway(const Model::UpdateGatewayRequest &request)const; + void updateGatewayAsync(const Model::UpdateGatewayRequest& request, const UpdateGatewayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGatewayOutcomeCallable updateGatewayCallable(const Model::UpdateGatewayRequest& request) const; + UpdateGatewayEnablingStateOutcome updateGatewayEnablingState(const Model::UpdateGatewayEnablingStateRequest &request)const; + void updateGatewayEnablingStateAsync(const Model::UpdateGatewayEnablingStateRequest& request, const UpdateGatewayEnablingStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGatewayEnablingStateOutcomeCallable updateGatewayEnablingStateCallable(const Model::UpdateGatewayEnablingStateRequest& request) const; + UpdateGatewaySshCtrlOutcome updateGatewaySshCtrl(const Model::UpdateGatewaySshCtrlRequest &request)const; + void updateGatewaySshCtrlAsync(const Model::UpdateGatewaySshCtrlRequest& request, const UpdateGatewaySshCtrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateGatewaySshCtrlOutcomeCallable updateGatewaySshCtrlCallable(const Model::UpdateGatewaySshCtrlRequest& request) const; + UpdateNodeEnablingStateOutcome updateNodeEnablingState(const Model::UpdateNodeEnablingStateRequest &request)const; + void updateNodeEnablingStateAsync(const Model::UpdateNodeEnablingStateRequest& request, const UpdateNodeEnablingStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateNodeEnablingStateOutcomeCallable updateNodeEnablingStateCallable(const Model::UpdateNodeEnablingStateRequest& request) const; + UpdateNodeGroupOutcome updateNodeGroup(const Model::UpdateNodeGroupRequest &request)const; + void updateNodeGroupAsync(const Model::UpdateNodeGroupRequest& request, const UpdateNodeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateNodeGroupOutcomeCallable updateNodeGroupCallable(const Model::UpdateNodeGroupRequest& request) const; + UpdateNotificationsHandleStateOutcome updateNotificationsHandleState(const Model::UpdateNotificationsHandleStateRequest &request)const; + void updateNotificationsHandleStateAsync(const Model::UpdateNotificationsHandleStateRequest& request, const UpdateNotificationsHandleStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateNotificationsHandleStateOutcomeCallable updateNotificationsHandleStateCallable(const Model::UpdateNotificationsHandleStateRequest& request) const; + UpdateOwnedLocalJoinPermissionOutcome updateOwnedLocalJoinPermission(const Model::UpdateOwnedLocalJoinPermissionRequest &request)const; + void updateOwnedLocalJoinPermissionAsync(const Model::UpdateOwnedLocalJoinPermissionRequest& request, const UpdateOwnedLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateOwnedLocalJoinPermissionOutcomeCallable updateOwnedLocalJoinPermissionCallable(const Model::UpdateOwnedLocalJoinPermissionRequest& request) const; + UpdateOwnedLocalJoinPermissionEnablingStateOutcome updateOwnedLocalJoinPermissionEnablingState(const Model::UpdateOwnedLocalJoinPermissionEnablingStateRequest &request)const; + void updateOwnedLocalJoinPermissionEnablingStateAsync(const Model::UpdateOwnedLocalJoinPermissionEnablingStateRequest& request, const UpdateOwnedLocalJoinPermissionEnablingStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateOwnedLocalJoinPermissionEnablingStateOutcomeCallable updateOwnedLocalJoinPermissionEnablingStateCallable(const Model::UpdateOwnedLocalJoinPermissionEnablingStateRequest& request) const; + UpdateRoamingJoinPermissionOutcome updateRoamingJoinPermission(const Model::UpdateRoamingJoinPermissionRequest &request)const; + void updateRoamingJoinPermissionAsync(const Model::UpdateRoamingJoinPermissionRequest& request, const UpdateRoamingJoinPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateRoamingJoinPermissionOutcomeCallable updateRoamingJoinPermissionCallable(const Model::UpdateRoamingJoinPermissionRequest& request) const; + UpdateRoamingJoinPermissionEnablingStateOutcome updateRoamingJoinPermissionEnablingState(const Model::UpdateRoamingJoinPermissionEnablingStateRequest &request)const; + void updateRoamingJoinPermissionEnablingStateAsync(const Model::UpdateRoamingJoinPermissionEnablingStateRequest& request, const UpdateRoamingJoinPermissionEnablingStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateRoamingJoinPermissionEnablingStateOutcomeCallable updateRoamingJoinPermissionEnablingStateCallable(const Model::UpdateRoamingJoinPermissionEnablingStateRequest& request) const; + UpdateUserIsolationStateOutcome updateUserIsolationState(const Model::UpdateUserIsolationStateRequest &request)const; + void updateUserIsolationStateAsync(const Model::UpdateUserIsolationStateRequest& request, const UpdateUserIsolationStateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateUserIsolationStateOutcomeCallable updateUserIsolationStateCallable(const Model::UpdateUserIsolationStateRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_LINKWAN_LINKWANCLIENT_H_ diff --git a/linkwan/include/alibabacloud/linkwan/LinkWANExport.h b/linkwan/include/alibabacloud/linkwan/LinkWANExport.h new file mode 100644 index 000000000..f76369b96 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/LinkWANExport.h @@ -0,0 +1,32 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_LINKWANEXPORT_H_ +#define ALIBABACLOUD_LINKWAN_LINKWANEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_LINKWAN_LIBRARY) +# define ALIBABACLOUD_LINKWAN_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_LINKWAN_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_LINKWAN_EXPORT +#endif + +#endif // !ALIBABACLOUD_LINKWAN_LINKWANEXPORT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderRequest.h new file mode 100644 index 000000000..102c97fd4 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_ACCEPTJOINPERMISSIONAUTHORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_ACCEPTJOINPERMISSIONAUTHORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT AcceptJoinPermissionAuthOrderRequest : public RpcServiceRequest + { + + public: + AcceptJoinPermissionAuthOrderRequest(); + ~AcceptJoinPermissionAuthOrderRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_ACCEPTJOINPERMISSIONAUTHORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderResult.h new file mode 100644 index 000000000..b00dd56c1 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/AcceptJoinPermissionAuthOrderResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_ACCEPTJOINPERMISSIONAUTHORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_ACCEPTJOINPERMISSIONAUTHORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT AcceptJoinPermissionAuthOrderResult : public ServiceResult + { + public: + + + AcceptJoinPermissionAuthOrderResult(); + explicit AcceptJoinPermissionAuthOrderResult(const std::string &payload); + ~AcceptJoinPermissionAuthOrderResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_ACCEPTJOINPERMISSIONAUTHORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupRequest.h new file mode 100644 index 000000000..5a4a7ab3f --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_ADDNODETOGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_ADDNODETOGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT AddNodeToGroupRequest : public RpcServiceRequest + { + + public: + AddNodeToGroupRequest(); + ~AddNodeToGroupRequest(); + + std::string getPinCode()const; + void setPinCode(const std::string& pinCode); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string pinCode_; + std::string devEui_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_ADDNODETOGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupResult.h new file mode 100644 index 000000000..7a8dc83fd --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/AddNodeToGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_ADDNODETOGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_ADDNODETOGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT AddNodeToGroupResult : public ServiceResult + { + public: + + + AddNodeToGroupResult(); + explicit AddNodeToGroupResult(const std::string &payload); + ~AddNodeToGroupResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_ADDNODETOGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionRequest.h new file mode 100644 index 000000000..19dd1b44e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_APPLYROAMINGJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_APPLYROAMINGJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ApplyRoamingJoinPermissionRequest : public RpcServiceRequest + { + + public: + ApplyRoamingJoinPermissionRequest(); + ~ApplyRoamingJoinPermissionRequest(); + + long getRxDelay()const; + void setRxDelay(long rxDelay); + std::string getClassMode()const; + void setClassMode(const std::string& classMode); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getJoinPermissionName()const; + void setJoinPermissionName(const std::string& joinPermissionName); + long getDataRate()const; + void setDataRate(long dataRate); + + private: + long rxDelay_; + std::string classMode_; + long freqBandPlanGroupId_; + std::string apiProduct_; + std::string apiRevision_; + std::string joinPermissionName_; + long dataRate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_APPLYROAMINGJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionResult.h new file mode 100644 index 000000000..210362d77 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ApplyRoamingJoinPermissionResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_APPLYROAMINGJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_APPLYROAMINGJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ApplyRoamingJoinPermissionResult : public ServiceResult + { + public: + + + ApplyRoamingJoinPermissionResult(); + explicit ApplyRoamingJoinPermissionResult(const std::string &payload); + ~ApplyRoamingJoinPermissionResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_APPLYROAMINGJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupRequest.h new file mode 100644 index 000000000..fd6283c07 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_BINDJOINPERMISSIONTONODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_BINDJOINPERMISSIONTONODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT BindJoinPermissionToNodeGroupRequest : public RpcServiceRequest + { + + public: + BindJoinPermissionToNodeGroupRequest(); + ~BindJoinPermissionToNodeGroupRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_BINDJOINPERMISSIONTONODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupResult.h new file mode 100644 index 000000000..fedb4d7f8 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/BindJoinPermissionToNodeGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_BINDJOINPERMISSIONTONODEGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_BINDJOINPERMISSIONTONODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT BindJoinPermissionToNodeGroupResult : public ServiceResult + { + public: + + + BindJoinPermissionToNodeGroupResult(); + explicit BindJoinPermissionToNodeGroupResult(const std::string &payload); + ~BindJoinPermissionToNodeGroupResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_BINDJOINPERMISSIONTONODEGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderRequest.h new file mode 100644 index 000000000..0a7b4bfee --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CANCELJOINPERMISSIONAUTHORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CANCELJOINPERMISSIONAUTHORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CancelJoinPermissionAuthOrderRequest : public RpcServiceRequest + { + + public: + CancelJoinPermissionAuthOrderRequest(); + ~CancelJoinPermissionAuthOrderRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CANCELJOINPERMISSIONAUTHORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderResult.h new file mode 100644 index 000000000..625939ecc --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CancelJoinPermissionAuthOrderResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CANCELJOINPERMISSIONAUTHORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CANCELJOINPERMISSIONAUTHORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CancelJoinPermissionAuthOrderResult : public ServiceResult + { + public: + + + CancelJoinPermissionAuthOrderResult(); + explicit CancelJoinPermissionAuthOrderResult(const std::string &payload); + ~CancelJoinPermissionAuthOrderResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CANCELJOINPERMISSIONAUTHORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusRequest.h b/linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusRequest.h new file mode 100644 index 000000000..ebea6448a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CHECKCLOUDPRODUCTOPENSTATUSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CHECKCLOUDPRODUCTOPENSTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CheckCloudProductOpenStatusRequest : public RpcServiceRequest + { + + public: + CheckCloudProductOpenStatusRequest(); + ~CheckCloudProductOpenStatusRequest(); + + std::string getServiceCode()const; + void setServiceCode(const std::string& serviceCode); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string serviceCode_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CHECKCLOUDPRODUCTOPENSTATUSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusResult.h b/linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusResult.h new file mode 100644 index 000000000..a01ea3b59 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CheckCloudProductOpenStatusResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CHECKCLOUDPRODUCTOPENSTATUSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CHECKCLOUDPRODUCTOPENSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CheckCloudProductOpenStatusResult : public ServiceResult + { + public: + + + CheckCloudProductOpenStatusResult(); + explicit CheckCloudProductOpenStatusResult(const std::string &payload); + ~CheckCloudProductOpenStatusResult(); + bool getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CHECKCLOUDPRODUCTOPENSTATUSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusRequest.h b/linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusRequest.h new file mode 100644 index 000000000..f5b70d78e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CHECKUSERCHARGESTATUSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CHECKUSERCHARGESTATUSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CheckUserChargeStatusRequest : public RpcServiceRequest + { + + public: + CheckUserChargeStatusRequest(); + ~CheckUserChargeStatusRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CHECKUSERCHARGESTATUSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusResult.h b/linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusResult.h new file mode 100644 index 000000000..a1e37fac0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CheckUserChargeStatusResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CHECKUSERCHARGESTATUSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CHECKUSERCHARGESTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CheckUserChargeStatusResult : public ServiceResult + { + public: + + + CheckUserChargeStatusResult(); + explicit CheckUserChargeStatusResult(const std::string &payload); + ~CheckUserChargeStatusResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CHECKUSERCHARGESTATUSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersRequest.h new file mode 100644 index 000000000..a9e2a03e5 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYTUPLEORDERSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYTUPLEORDERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountGatewayTupleOrdersRequest : public RpcServiceRequest + { + + public: + CountGatewayTupleOrdersRequest(); + ~CountGatewayTupleOrdersRequest(); + + std::vector getStates()const; + void setStates(const std::vector& states); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::vector states_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYTUPLEORDERSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersResult.h b/linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersResult.h new file mode 100644 index 000000000..06e6f8fa2 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountGatewayTupleOrdersResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYTUPLEORDERSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYTUPLEORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountGatewayTupleOrdersResult : public ServiceResult + { + public: + + + CountGatewayTupleOrdersResult(); + explicit CountGatewayTupleOrdersResult(const std::string &payload); + ~CountGatewayTupleOrdersResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYTUPLEORDERSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountGatewaysRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountGatewaysRequest.h new file mode 100644 index 000000000..3cabd9b62 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountGatewaysRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountGatewaysRequest : public RpcServiceRequest + { + + public: + CountGatewaysRequest(); + ~CountGatewaysRequest(); + + std::string getRealTenantId()const; + void setRealTenantId(const std::string& realTenantId); + std::string getRealTripartiteKey()const; + void setRealTripartiteKey(const std::string& realTripartiteKey); + std::string getFuzzyGwEui()const; + void setFuzzyGwEui(const std::string& fuzzyGwEui); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getFuzzyCity()const; + void setFuzzyCity(const std::string& fuzzyCity); + std::string getOnlineState()const; + void setOnlineState(const std::string& onlineState); + bool getIsEnabled()const; + void setIsEnabled(bool isEnabled); + std::string getFuzzyName()const; + void setFuzzyName(const std::string& fuzzyName); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string realTenantId_; + std::string realTripartiteKey_; + std::string fuzzyGwEui_; + std::string iotInstanceId_; + std::string fuzzyCity_; + std::string onlineState_; + bool isEnabled_; + std::string fuzzyName_; + long freqBandPlanGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountGatewaysResult.h b/linkwan/include/alibabacloud/linkwan/model/CountGatewaysResult.h new file mode 100644 index 000000000..2dc7fc83e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountGatewaysResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountGatewaysResult : public ServiceResult + { + public: + + + CountGatewaysResult(); + explicit CountGatewaysResult(const std::string &payload); + ~CountGatewaysResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTGATEWAYSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsRequest.h new file mode 100644 index 000000000..6b93505ca --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODEGROUPSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODEGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodeGroupsRequest : public RpcServiceRequest + { + + public: + CountNodeGroupsRequest(); + ~CountNodeGroupsRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getFuzzyJoinEui()const; + void setFuzzyJoinEui(const std::string& fuzzyJoinEui); + std::string getFuzzyDevEui()const; + void setFuzzyDevEui(const std::string& fuzzyDevEui); + std::string getFuzzyName()const; + void setFuzzyName(const std::string& fuzzyName); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string iotInstanceId_; + std::string fuzzyJoinEui_; + std::string fuzzyDevEui_; + std::string fuzzyName_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODEGROUPSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsResult.h b/linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsResult.h new file mode 100644 index 000000000..f72ec6c1e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodeGroupsResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODEGROUPSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODEGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodeGroupsResult : public ServiceResult + { + public: + + + CountNodeGroupsResult(); + explicit CountNodeGroupsResult(const std::string &payload); + ~CountNodeGroupsResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODEGROUPSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersRequest.h new file mode 100644 index 000000000..7da92bab1 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODETUPLEORDERSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODETUPLEORDERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodeTupleOrdersRequest : public RpcServiceRequest + { + + public: + CountNodeTupleOrdersRequest(); + ~CountNodeTupleOrdersRequest(); + + bool getIsKpm()const; + void setIsKpm(bool isKpm); + std::vector getStates()const; + void setStates(const std::vector& states); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + bool isKpm_; + std::vector states_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODETUPLEORDERSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersResult.h b/linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersResult.h new file mode 100644 index 000000000..279330c1a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodeTupleOrdersResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODETUPLEORDERSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODETUPLEORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodeTupleOrdersResult : public ServiceResult + { + public: + + + CountNodeTupleOrdersResult(); + explicit CountNodeTupleOrdersResult(const std::string &payload); + ~CountNodeTupleOrdersResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODETUPLEORDERSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdRequest.h new file mode 100644 index 000000000..dc45db70d --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYNODEGROUPIDREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYNODEGROUPIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodesByNodeGroupIdRequest : public RpcServiceRequest + { + + public: + CountNodesByNodeGroupIdRequest(); + ~CountNodesByNodeGroupIdRequest(); + + std::string getFuzzyDevEui()const; + void setFuzzyDevEui(const std::string& fuzzyDevEui); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string fuzzyDevEui_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYNODEGROUPIDREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdResult.h b/linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdResult.h new file mode 100644 index 000000000..131b250c5 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodesByNodeGroupIdResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYNODEGROUPIDRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYNODEGROUPIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodesByNodeGroupIdResult : public ServiceResult + { + public: + + + CountNodesByNodeGroupIdResult(); + explicit CountNodesByNodeGroupIdResult(const std::string &payload); + ~CountNodesByNodeGroupIdResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYNODEGROUPIDRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdRequest.h new file mode 100644 index 000000000..8996ee4cd --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYOWNEDJOINPERMISSIONIDREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYOWNEDJOINPERMISSIONIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodesByOwnedJoinPermissionIdRequest : public RpcServiceRequest + { + + public: + CountNodesByOwnedJoinPermissionIdRequest(); + ~CountNodesByOwnedJoinPermissionIdRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getFuzzyDevEui()const; + void setFuzzyDevEui(const std::string& fuzzyDevEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string fuzzyDevEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYOWNEDJOINPERMISSIONIDREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdResult.h b/linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdResult.h new file mode 100644 index 000000000..cde757ae2 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNodesByOwnedJoinPermissionIdResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYOWNEDJOINPERMISSIONIDRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYOWNEDJOINPERMISSIONIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNodesByOwnedJoinPermissionIdResult : public ServiceResult + { + public: + + + CountNodesByOwnedJoinPermissionIdResult(); + explicit CountNodesByOwnedJoinPermissionIdResult(const std::string &payload); + ~CountNodesByOwnedJoinPermissionIdResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNODESBYOWNEDJOINPERMISSIONIDRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNotificationsRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountNotificationsRequest.h new file mode 100644 index 000000000..6a8283eba --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNotificationsRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNOTIFICATIONSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNOTIFICATIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNotificationsRequest : public RpcServiceRequest + { + + public: + CountNotificationsRequest(); + ~CountNotificationsRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getHandleState()const; + void setHandleState(const std::string& handleState); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::vector getCategory()const; + void setCategory(const std::vector& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + + private: + long endMillis_; + std::string handleState_; + std::string apiProduct_; + std::string apiRevision_; + std::vector category_; + long beginMillis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNOTIFICATIONSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountNotificationsResult.h b/linkwan/include/alibabacloud/linkwan/model/CountNotificationsResult.h new file mode 100644 index 000000000..278de50ff --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountNotificationsResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTNOTIFICATIONSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTNOTIFICATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountNotificationsResult : public ServiceResult + { + public: + + + CountNotificationsResult(); + explicit CountNotificationsResult(const std::string &payload); + ~CountNotificationsResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTNOTIFICATIONSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsRequest.h new file mode 100644 index 000000000..a5e80f98d --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTOWNEDJOINPERMISSIONSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTOWNEDJOINPERMISSIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountOwnedJoinPermissionsRequest : public RpcServiceRequest + { + + public: + CountOwnedJoinPermissionsRequest(); + ~CountOwnedJoinPermissionsRequest(); + + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getFuzzyJoinEui()const; + void setFuzzyJoinEui(const std::string& fuzzyJoinEui); + std::string getFuzzyJoinPermissionName()const; + void setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName); + std::string getFuzzyRenterAliyunId()const; + void setFuzzyRenterAliyunId(const std::string& fuzzyRenterAliyunId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + bool enabled_; + std::string fuzzyJoinEui_; + std::string fuzzyJoinPermissionName_; + std::string fuzzyRenterAliyunId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTOWNEDJOINPERMISSIONSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsResult.h b/linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsResult.h new file mode 100644 index 000000000..a8a128f40 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountOwnedJoinPermissionsResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTOWNEDJOINPERMISSIONSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTOWNEDJOINPERMISSIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountOwnedJoinPermissionsResult : public ServiceResult + { + public: + + + CountOwnedJoinPermissionsResult(); + explicit CountOwnedJoinPermissionsResult(const std::string &payload); + ~CountOwnedJoinPermissionsResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTOWNEDJOINPERMISSIONSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsRequest.h b/linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsRequest.h new file mode 100644 index 000000000..d4b0459a0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTRENTEDJOINPERMISSIONSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTRENTEDJOINPERMISSIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountRentedJoinPermissionsRequest : public RpcServiceRequest + { + + public: + CountRentedJoinPermissionsRequest(); + ~CountRentedJoinPermissionsRequest(); + + std::string getType()const; + void setType(const std::string& type); + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getFuzzyJoinEui()const; + void setFuzzyJoinEui(const std::string& fuzzyJoinEui); + std::string getFuzzyJoinPermissionName()const; + void setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName); + bool getBoundNodeGroup()const; + void setBoundNodeGroup(bool boundNodeGroup); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getFuzzyOwnerAliyunId()const; + void setFuzzyOwnerAliyunId(const std::string& fuzzyOwnerAliyunId); + + private: + std::string type_; + bool enabled_; + std::string fuzzyJoinEui_; + std::string fuzzyJoinPermissionName_; + bool boundNodeGroup_; + std::string apiProduct_; + std::string apiRevision_; + std::string fuzzyOwnerAliyunId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTRENTEDJOINPERMISSIONSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsResult.h b/linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsResult.h new file mode 100644 index 000000000..ad06fec11 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CountRentedJoinPermissionsResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_COUNTRENTEDJOINPERMISSIONSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_COUNTRENTEDJOINPERMISSIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CountRentedJoinPermissionsResult : public ServiceResult + { + public: + + + CountRentedJoinPermissionsResult(); + explicit CountRentedJoinPermissionsResult(const std::string &payload); + ~CountRentedJoinPermissionsResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_COUNTRENTEDJOINPERMISSIONSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionRequest.h new file mode 100644 index 000000000..b155c92a7 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATECUSTOMLOCALJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATECUSTOMLOCALJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateCustomLocalJoinPermissionRequest : public RpcServiceRequest + { + + public: + CreateCustomLocalJoinPermissionRequest(); + ~CreateCustomLocalJoinPermissionRequest(); + + std::string getClassMode()const; + void setClassMode(const std::string& classMode); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getJoinEui()const; + void setJoinEui(const std::string& joinEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getJoinPermissionName()const; + void setJoinPermissionName(const std::string& joinPermissionName); + + private: + std::string classMode_; + long freqBandPlanGroupId_; + std::string joinEui_; + std::string apiProduct_; + std::string apiRevision_; + std::string joinPermissionName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATECUSTOMLOCALJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionResult.h new file mode 100644 index 000000000..b1295bb03 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateCustomLocalJoinPermissionResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATECUSTOMLOCALJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATECUSTOMLOCALJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateCustomLocalJoinPermissionResult : public ServiceResult + { + public: + + + CreateCustomLocalJoinPermissionResult(); + explicit CreateCustomLocalJoinPermissionResult(const std::string &payload); + ~CreateCustomLocalJoinPermissionResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATECUSTOMLOCALJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateGatewayRequest.h b/linkwan/include/alibabacloud/linkwan/model/CreateGatewayRequest.h new file mode 100644 index 000000000..a2d4e9520 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateGatewayRequest.h @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATEGATEWAYREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATEGATEWAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateGatewayRequest : public RpcServiceRequest + { + + public: + CreateGatewayRequest(); + ~CreateGatewayRequest(); + + std::string getCity()const; + void setCity(const std::string& city); + float getLatitude()const; + void setLatitude(float latitude); + std::string getDescription()const; + void setDescription(const std::string& description); + long getAddressCode()const; + void setAddressCode(long addressCode); + std::string getGisCoordinateSystem()const; + void setGisCoordinateSystem(const std::string& gisCoordinateSystem); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + float getLongitude()const; + void setLongitude(float longitude); + std::string getPinCode()const; + void setPinCode(const std::string& pinCode); + std::string getAddress()const; + void setAddress(const std::string& address); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getDistrict()const; + void setDistrict(const std::string& district); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getName()const; + void setName(const std::string& name); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCommunicationMode()const; + void setCommunicationMode(const std::string& communicationMode); + + private: + std::string city_; + float latitude_; + std::string description_; + long addressCode_; + std::string gisCoordinateSystem_; + std::string iotInstanceId_; + float longitude_; + std::string pinCode_; + std::string address_; + std::string gwEui_; + long freqBandPlanGroupId_; + std::string district_; + std::string apiProduct_; + std::string name_; + std::string apiRevision_; + std::string communicationMode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATEGATEWAYREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateGatewayResult.h b/linkwan/include/alibabacloud/linkwan/model/CreateGatewayResult.h new file mode 100644 index 000000000..7c07f3dd4 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateGatewayResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATEGATEWAYRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATEGATEWAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateGatewayResult : public ServiceResult + { + public: + + + CreateGatewayResult(); + explicit CreateGatewayResult(const std::string &payload); + ~CreateGatewayResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATEGATEWAYRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionRequest.h new file mode 100644 index 000000000..91523a98c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATELOCALJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATELOCALJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateLocalJoinPermissionRequest : public RpcServiceRequest + { + + public: + CreateLocalJoinPermissionRequest(); + ~CreateLocalJoinPermissionRequest(); + + long getRxDelay()const; + void setRxDelay(long rxDelay); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + bool getUseDefaultJoinEui()const; + void setUseDefaultJoinEui(bool useDefaultJoinEui); + std::string getClassMode()const; + void setClassMode(const std::string& classMode); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getJoinEui()const; + void setJoinEui(const std::string& joinEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getJoinPermissionName()const; + void setJoinPermissionName(const std::string& joinPermissionName); + long getDataRate()const; + void setDataRate(long dataRate); + + private: + long rxDelay_; + std::string iotInstanceId_; + bool useDefaultJoinEui_; + std::string classMode_; + long freqBandPlanGroupId_; + std::string joinEui_; + std::string apiProduct_; + std::string apiRevision_; + std::string joinPermissionName_; + long dataRate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATELOCALJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionResult.h new file mode 100644 index 000000000..b9f0acfb9 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateLocalJoinPermissionResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATELOCALJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATELOCALJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateLocalJoinPermissionResult : public ServiceResult + { + public: + + + CreateLocalJoinPermissionResult(); + explicit CreateLocalJoinPermissionResult(const std::string &payload); + ~CreateLocalJoinPermissionResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATELOCALJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupRequest.h new file mode 100644 index 000000000..4ade46d00 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATENODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATENODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateNodeGroupRequest : public RpcServiceRequest + { + + public: + CreateNodeGroupRequest(); + ~CreateNodeGroupRequest(); + + std::string getNodeGroupName()const; + void setNodeGroupName(const std::string& nodeGroupName); + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string nodeGroupName_; + std::string joinPermissionId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATENODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupResult.h new file mode 100644 index 000000000..4c3bb79eb --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/CreateNodeGroupResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_CREATENODEGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_CREATENODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT CreateNodeGroupResult : public ServiceResult + { + public: + + + CreateNodeGroupResult(); + explicit CreateNodeGroupResult(const std::string &payload); + ~CreateNodeGroupResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_CREATENODEGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DeleteGatewayRequest.h b/linkwan/include/alibabacloud/linkwan/model/DeleteGatewayRequest.h new file mode 100644 index 000000000..a49a973fc --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DeleteGatewayRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DELETEGATEWAYREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DELETEGATEWAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DeleteGatewayRequest : public RpcServiceRequest + { + + public: + DeleteGatewayRequest(); + ~DeleteGatewayRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string iotInstanceId_; + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DELETEGATEWAYREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DeleteGatewayResult.h b/linkwan/include/alibabacloud/linkwan/model/DeleteGatewayResult.h new file mode 100644 index 000000000..10dc208e0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DeleteGatewayResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DELETEGATEWAYRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DELETEGATEWAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DeleteGatewayResult : public ServiceResult + { + public: + + + DeleteGatewayResult(); + explicit DeleteGatewayResult(const std::string &payload); + ~DeleteGatewayResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DELETEGATEWAYRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionRequest.h new file mode 100644 index 000000000..d9817cc33 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DELETELOCALJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DELETELOCALJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DeleteLocalJoinPermissionRequest : public RpcServiceRequest + { + + public: + DeleteLocalJoinPermissionRequest(); + ~DeleteLocalJoinPermissionRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DELETELOCALJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionResult.h new file mode 100644 index 000000000..25e45e8c0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DeleteLocalJoinPermissionResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DELETELOCALJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DELETELOCALJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DeleteLocalJoinPermissionResult : public ServiceResult + { + public: + + + DeleteLocalJoinPermissionResult(); + explicit DeleteLocalJoinPermissionResult(const std::string &payload); + ~DeleteLocalJoinPermissionResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DELETELOCALJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupRequest.h new file mode 100644 index 000000000..6a2ed76ad --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DELETENODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DELETENODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DeleteNodeGroupRequest : public RpcServiceRequest + { + + public: + DeleteNodeGroupRequest(); + ~DeleteNodeGroupRequest(); + + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DELETENODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupResult.h new file mode 100644 index 000000000..73ae7cb5f --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DeleteNodeGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DELETENODEGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DELETENODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DeleteNodeGroupResult : public ServiceResult + { + public: + + + DeleteNodeGroupResult(); + explicit DeleteNodeGroupResult(const std::string &payload); + ~DeleteNodeGroupResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DELETENODEGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DescribeRegionsRequest.h b/linkwan/include/alibabacloud/linkwan/model/DescribeRegionsRequest.h new file mode 100644 index 000000000..cdf1429ec --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DescribeRegionsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DESCRIBEREGIONSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DESCRIBEREGIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DescribeRegionsRequest : public RpcServiceRequest + { + + public: + DescribeRegionsRequest(); + ~DescribeRegionsRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DESCRIBEREGIONSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/DescribeRegionsResult.h b/linkwan/include/alibabacloud/linkwan/model/DescribeRegionsResult.h new file mode 100644 index 000000000..2a40a7cd5 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/DescribeRegionsResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_DESCRIBEREGIONSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_DESCRIBEREGIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT DescribeRegionsResult : public ServiceResult + { + public: + struct Region + { + std::string regionId; + std::string localName; + }; + + + DescribeRegionsResult(); + explicit DescribeRegionsResult(const std::string &payload); + ~DescribeRegionsResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_DESCRIBEREGIONSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupRequest.h new file mode 100644 index 000000000..fde4189d7 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETFREQBANDPLANGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETFREQBANDPLANGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetFreqBandPlanGroupRequest : public RpcServiceRequest + { + + public: + GetFreqBandPlanGroupRequest(); + ~GetFreqBandPlanGroupRequest(); + + long getGroupId()const; + void setGroupId(long groupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + long groupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETFREQBANDPLANGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupResult.h new file mode 100644 index 000000000..8716b3939 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetFreqBandPlanGroupResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETFREQBANDPLANGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETFREQBANDPLANGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetFreqBandPlanGroupResult : public ServiceResult + { + public: + struct Data + { + std::string frequencyRegionId; + std::string frequencyType; + long beginFrequency; + long endFrequency; + long groupId; + }; + + + GetFreqBandPlanGroupResult(); + explicit GetFreqBandPlanGroupResult(const std::string &payload); + ~GetFreqBandPlanGroupResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETFREQBANDPLANGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatRequest.h new file mode 100644 index 000000000..d8c4540a1 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYPACKETSTATREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYPACKETSTATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayPacketStatRequest : public RpcServiceRequest + { + + public: + GetGatewayPacketStatRequest(); + ~GetGatewayPacketStatRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + + private: + long endMillis_; + std::string iotInstanceId_; + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + long beginMillis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYPACKETSTATREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatResult.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatResult.h new file mode 100644 index 000000000..45b9ed72d --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayPacketStatResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYPACKETSTATRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYPACKETSTATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayPacketStatResult : public ServiceResult + { + public: + struct Data + { + int uplinkInvalid; + int downlinkInvalid; + int downlinkValid; + int uplinkValid; + }; + + + GetGatewayPacketStatResult(); + explicit GetGatewayPacketStatResult(const std::string &payload); + ~GetGatewayPacketStatResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYPACKETSTATRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayRequest.h new file mode 100644 index 000000000..f7bb58819 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayRequest : public RpcServiceRequest + { + + public: + GetGatewayRequest(); + ~GetGatewayRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string iotInstanceId_; + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayResult.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayResult.h new file mode 100644 index 000000000..c6fea494e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayResult : public ServiceResult + { + public: + struct Data + { + std::string communicationMode; + std::string description; + std::string address; + bool classBSupported; + bool timeCorrectable; + bool classBWorking; + bool enabled; + std::string embeddedNsId; + float latitude; + std::string city; + long addressCode; + float longitude; + std::string name; + std::string chargeStatus; + std::string onlineState; + std::string gwEui; + long onlineStateChangedMillis; + std::string district; + std::string authTypes; + std::string gisCoordinateSystem; + long freqBandPlanGroupId; + }; + + + GetGatewayResult(); + explicit GetGatewayResult(const std::string &payload); + ~GetGatewayResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatRequest.h new file mode 100644 index 000000000..6e16fa788 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYSTATUSSTATREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYSTATUSSTATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayStatusStatRequest : public RpcServiceRequest + { + + public: + GetGatewayStatusStatRequest(); + ~GetGatewayStatusStatRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string iotInstanceId_; + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYSTATUSSTATREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatResult.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatResult.h new file mode 100644 index 000000000..86c7002a3 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayStatusStatResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYSTATUSSTATRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYSTATUSSTATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayStatusStatResult : public ServiceResult + { + public: + struct Data + { + float memoryRadio; + long rxCount; + long onlineHour; + float cpuRadio; + std::string onlineState; + std::string gwEui; + bool enabled; + long txCount; + }; + + + GetGatewayStatusStatResult(); + explicit GetGatewayStatusStatResult(const std::string &payload); + ~GetGatewayStatusStatResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYSTATUSSTATRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlRequest.h new file mode 100644 index 000000000..df04abdb7 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTRANSFERPACKETSDOWNLOADURLREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTRANSFERPACKETSDOWNLOADURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayTransferPacketsDownloadUrlRequest : public RpcServiceRequest + { + + public: + GetGatewayTransferPacketsDownloadUrlRequest(); + ~GetGatewayTransferPacketsDownloadUrlRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + bool getAscending()const; + void setAscending(bool ascending); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCategory()const; + void setCategory(const std::string& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + std::string iotInstanceId_; + std::string gwEui_; + bool ascending_; + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + std::string category_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTRANSFERPACKETSDOWNLOADURLREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlResult.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlResult.h new file mode 100644 index 000000000..add1a954c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTransferPacketsDownloadUrlResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTRANSFERPACKETSDOWNLOADURLRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTRANSFERPACKETSDOWNLOADURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayTransferPacketsDownloadUrlResult : public ServiceResult + { + public: + + + GetGatewayTransferPacketsDownloadUrlResult(); + explicit GetGatewayTransferPacketsDownloadUrlResult(const std::string &payload); + ~GetGatewayTransferPacketsDownloadUrlResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTRANSFERPACKETSDOWNLOADURLRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderRequest.h new file mode 100644 index 000000000..553504a46 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLEORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLEORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayTupleOrderRequest : public RpcServiceRequest + { + + public: + GetGatewayTupleOrderRequest(); + ~GetGatewayTupleOrderRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLEORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderResult.h new file mode 100644 index 000000000..1d6a91654 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTupleOrderResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLEORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLEORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayTupleOrderResult : public ServiceResult + { + public: + struct Data + { + long createdMillis; + long requiredCount; + std::string orderId; + std::string orderState; + long acceptedMillis; + }; + + + GetGatewayTupleOrderResult(); + explicit GetGatewayTupleOrderResult(const std::string &payload); + ~GetGatewayTupleOrderResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLEORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlRequest.h new file mode 100644 index 000000000..8d5124cda --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLESDOWNLOADURLREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLESDOWNLOADURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayTuplesDownloadUrlRequest : public RpcServiceRequest + { + + public: + GetGatewayTuplesDownloadUrlRequest(); + ~GetGatewayTuplesDownloadUrlRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLESDOWNLOADURLREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlResult.h b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlResult.h new file mode 100644 index 000000000..ea32ef097 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetGatewayTuplesDownloadUrlResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLESDOWNLOADURLRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLESDOWNLOADURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetGatewayTuplesDownloadUrlResult : public ServiceResult + { + public: + + + GetGatewayTuplesDownloadUrlResult(); + explicit GetGatewayTuplesDownloadUrlResult(const std::string &payload); + ~GetGatewayTuplesDownloadUrlResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETGATEWAYTUPLESDOWNLOADURLRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderRequest.h new file mode 100644 index 000000000..a112b9948 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETJOINPERMISSIONAUTHORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETJOINPERMISSIONAUTHORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetJoinPermissionAuthOrderRequest : public RpcServiceRequest + { + + public: + GetJoinPermissionAuthOrderRequest(); + ~GetJoinPermissionAuthOrderRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETJOINPERMISSIONAUTHORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderResult.h new file mode 100644 index 000000000..1c6402df2 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetJoinPermissionAuthOrderResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETJOINPERMISSIONAUTHORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETJOINPERMISSIONAUTHORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetJoinPermissionAuthOrderResult : public ServiceResult + { + public: + struct Data + { + std::string ownerAliyunId; + long rejectedMillis; + std::string renterAliyunId; + long canceledMillis; + long applyingMillis; + std::string orderId; + std::string joinPermissionId; + std::string orderState; + long acceptedMillis; + }; + + + GetJoinPermissionAuthOrderResult(); + explicit GetJoinPermissionAuthOrderResult(const std::string &payload); + ~GetJoinPermissionAuthOrderResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETJOINPERMISSIONAUTHORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskRequest.h new file mode 100644 index 000000000..a5c33d83e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETLOCALCONFIGSYNCTASKREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETLOCALCONFIGSYNCTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetLocalConfigSyncTaskRequest : public RpcServiceRequest + { + + public: + GetLocalConfigSyncTaskRequest(); + ~GetLocalConfigSyncTaskRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getTaskId()const; + void setTaskId(long taskId); + + private: + std::string apiProduct_; + std::string apiRevision_; + long taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETLOCALCONFIGSYNCTASKREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskResult.h b/linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskResult.h new file mode 100644 index 000000000..ede019150 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetLocalConfigSyncTaskResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETLOCALCONFIGSYNCTASKRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETLOCALCONFIGSYNCTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetLocalConfigSyncTaskResult : public ServiceResult + { + public: + struct Data + { + std::string d2dKey; + std::string state; + std::string devType; + long createMillis; + std::string taskTYpe; + std::string eui; + int freq; + long id; + int datr; + long processingMillis; + std::string d2dAddr; + long modifiedMillis; + }; + + + GetLocalConfigSyncTaskResult(); + explicit GetLocalConfigSyncTaskResult(const std::string &payload); + ~GetLocalConfigSyncTaskResult(); + Data getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETLOCALCONFIGSYNCTASKRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupRequest.h new file mode 100644 index 000000000..8932cd0e1 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeGroupRequest : public RpcServiceRequest + { + + public: + GetNodeGroupRequest(); + ~GetNodeGroupRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string iotInstanceId_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupResult.h new file mode 100644 index 000000000..f034a68a0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupResult.h @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeGroupResult : public ServiceResult + { + public: + struct Data + { + struct DataDispatchConfig + { + struct IotProduct + { + bool debugSwitch; + std::string productName; + std::string productType; + std::string productKey; + }; + struct OnsTopics + { + std::string uplinkRegionName; + std::string downlinkTopic; + std::string uplinkTopic; + std::string downlinkRegionName; + }; + std::string destination; + OnsTopics onsTopics; + IotProduct iotProduct; + }; + struct LocksItem + { + long createMillis; + bool enabled; + std::string lockId; + std::string lockType; + }; + long nodesCnt; + std::string classMode; + long rxMonthSum; + int multicastNodeCapacity; + std::string nodeGroupName; + std::string rxDailySum; + long txDailySum; + std::vector locks; + long txMonthSum; + int multicastNodeCount; + std::string joinPermissionType; + bool multicastEnabled; + DataDispatchConfig dataDispatchConfig; + std::string nodeGroupId; + std::string joinPermissionOwnerAliyunId; + std::string multicastGroupId; + long createMillis; + std::string joinPermissionId; + std::string joinEui; + long freqBandPlanGroupId; + bool joinPermissionEnabled; + std::string joinPermissionName; + bool dataDispatchEnabled; + }; + + + GetNodeGroupResult(); + explicit GetNodeGroupResult(const std::string &payload); + ~GetNodeGroupResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlRequest.h new file mode 100644 index 000000000..1797e83a3 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPTRANSFERPACKETSDOWNLOADURLREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPTRANSFERPACKETSDOWNLOADURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeGroupTransferPacketsDownloadUrlRequest : public RpcServiceRequest + { + + public: + GetNodeGroupTransferPacketsDownloadUrlRequest(); + ~GetNodeGroupTransferPacketsDownloadUrlRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + bool getAscending()const; + void setAscending(bool ascending); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCategory()const; + void setCategory(const std::string& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + std::string iotInstanceId_; + bool ascending_; + std::string devEui_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + std::string category_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPTRANSFERPACKETSDOWNLOADURLREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlResult.h new file mode 100644 index 000000000..f6a42f683 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeGroupTransferPacketsDownloadUrlResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPTRANSFERPACKETSDOWNLOADURLRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPTRANSFERPACKETSDOWNLOADURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeGroupTransferPacketsDownloadUrlResult : public ServiceResult + { + public: + + + GetNodeGroupTransferPacketsDownloadUrlResult(); + explicit GetNodeGroupTransferPacketsDownloadUrlResult(const std::string &payload); + ~GetNodeGroupTransferPacketsDownloadUrlResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODEGROUPTRANSFERPACKETSDOWNLOADURLRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigRequest.h new file mode 100644 index 000000000..b7fa0e01a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODELOCALCONFIGREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODELOCALCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeLocalConfigRequest : public RpcServiceRequest + { + + public: + GetNodeLocalConfigRequest(); + ~GetNodeLocalConfigRequest(); + + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODELOCALCONFIGREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigResult.h new file mode 100644 index 000000000..252f1298c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeLocalConfigResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODELOCALCONFIGRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODELOCALCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeLocalConfigResult : public ServiceResult + { + public: + struct Data + { + std::string d2dKey; + long taskId; + std::string devType; + std::string eui; + long createMillis; + int freq; + int datr; + std::string d2dAddr; + long modifiedMillis; + }; + + + GetNodeLocalConfigResult(); + explicit GetNodeLocalConfigResult(const std::string &payload); + ~GetNodeLocalConfigResult(); + Data getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODELOCALCONFIGRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeRequest.h new file mode 100644 index 000000000..7ba00e16a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeRequest : public RpcServiceRequest + { + + public: + GetNodeRequest(); + ~GetNodeRequest(); + + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeResult.h new file mode 100644 index 000000000..fb854616c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeResult : public ServiceResult + { + public: + struct Data + { + long boundMillis; + std::string classMode; + std::string devAddr; + std::string devEui; + long lastJoinMillis; + std::string authTypes; + }; + + + GetNodeResult(); + explicit GetNodeResult(const std::string &payload); + ~GetNodeResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketRequest.h new file mode 100644 index 000000000..b92cd577b --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTransferPacketRequest : public RpcServiceRequest + { + + public: + GetNodeTransferPacketRequest(); + ~GetNodeTransferPacketRequest(); + + std::string getBase64EncodedMacPayload()const; + void setBase64EncodedMacPayload(const std::string& base64EncodedMacPayload); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + long getLogMillis()const; + void setLogMillis(long logMillis); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string base64EncodedMacPayload_; + std::string iotInstanceId_; + long logMillis_; + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketResult.h new file mode 100644 index 000000000..63ad2a843 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTransferPacketResult : public ServiceResult + { + public: + struct Data + { + std::string classMode; + std::string base64EncodedMacPayload; + std::string processEvent; + int fPort; + std::vector macCommandCIDs; + std::string devEui; + bool hasMacCommand; + float lsnr; + int rssi; + int macPayloadSize; + std::string gwEui; + std::string devAddr; + float freq; + std::string gwOwnerAliyunId; + std::string datr; + long logMillis; + long freqBandPlanGroupId; + std::string messageType; + bool hasData; + }; + + + GetNodeTransferPacketResult(); + explicit GetNodeTransferPacketResult(const std::string &payload); + ~GetNodeTransferPacketResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlRequest.h new file mode 100644 index 000000000..6803ba760 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETSDOWNLOADURLREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETSDOWNLOADURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTransferPacketsDownloadUrlRequest : public RpcServiceRequest + { + + public: + GetNodeTransferPacketsDownloadUrlRequest(); + ~GetNodeTransferPacketsDownloadUrlRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + bool getAscending()const; + void setAscending(bool ascending); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCategory()const; + void setCategory(const std::string& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + std::string gwEui_; + bool ascending_; + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + std::string category_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETSDOWNLOADURLREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlResult.h new file mode 100644 index 000000000..bc3b02c95 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTransferPacketsDownloadUrlResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETSDOWNLOADURLRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETSDOWNLOADURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTransferPacketsDownloadUrlResult : public ServiceResult + { + public: + + + GetNodeTransferPacketsDownloadUrlResult(); + explicit GetNodeTransferPacketsDownloadUrlResult(const std::string &payload); + ~GetNodeTransferPacketsDownloadUrlResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETRANSFERPACKETSDOWNLOADURLRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderRequest.h new file mode 100644 index 000000000..2731b5084 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLEORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLEORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTupleOrderRequest : public RpcServiceRequest + { + + public: + GetNodeTupleOrderRequest(); + ~GetNodeTupleOrderRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLEORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderResult.h new file mode 100644 index 000000000..cd6458473 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTupleOrderResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLEORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLEORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTupleOrderResult : public ServiceResult + { + public: + struct Data + { + long createdMillis; + bool isKpm; + long requiredCount; + std::string orderId; + std::string orderState; + long acceptedMillis; + }; + + + GetNodeTupleOrderResult(); + explicit GetNodeTupleOrderResult(const std::string &payload); + ~GetNodeTupleOrderResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLEORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlRequest.h new file mode 100644 index 000000000..deca4a165 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLESDOWNLOADURLREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLESDOWNLOADURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTuplesDownloadUrlRequest : public RpcServiceRequest + { + + public: + GetNodeTuplesDownloadUrlRequest(); + ~GetNodeTuplesDownloadUrlRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLESDOWNLOADURLREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlResult.h new file mode 100644 index 000000000..deed7d32a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNodeTuplesDownloadUrlResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLESDOWNLOADURLRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLESDOWNLOADURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNodeTuplesDownloadUrlResult : public ServiceResult + { + public: + + + GetNodeTuplesDownloadUrlResult(); + explicit GetNodeTuplesDownloadUrlResult(const std::string &payload); + ~GetNodeTuplesDownloadUrlResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNODETUPLESDOWNLOADURLRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNotificationRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetNotificationRequest.h new file mode 100644 index 000000000..616b289e4 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNotificationRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNotificationRequest : public RpcServiceRequest + { + + public: + GetNotificationRequest(); + ~GetNotificationRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getNotificationId()const; + void setNotificationId(const std::string& notificationId); + + private: + std::string apiProduct_; + std::string apiRevision_; + std::string notificationId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNOTIFICATIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetNotificationResult.h b/linkwan/include/alibabacloud/linkwan/model/GetNotificationResult.h new file mode 100644 index 000000000..284340373 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetNotificationResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETNOTIFICATIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETNOTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetNotificationResult : public ServiceResult + { + public: + struct Data + { + struct GatewayOfflineInfo + { + long offlineMillis; + std::string gwEui; + }; + struct JoinPermissionAuthInfo + { + std::string ownerAliyunId; + long rejectedMillis; + std::string renterAliyunId; + long canceledMillis; + long applyingMillis; + std::string orderId; + std::string joinPermissionId; + std::string orderState; + std::string joinEui; + std::string joinPermissionName; + long acceptedMillis; + }; + JoinPermissionAuthInfo joinPermissionAuthInfo; + long handledMillis; + std::string category; + std::string notificationId; + long noticeMillis; + std::string handleState; + GatewayOfflineInfo gatewayOfflineInfo; + }; + + + GetNotificationResult(); + explicit GetNotificationResult(const std::string &payload); + ~GetNotificationResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETNOTIFICATIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionRequest.h new file mode 100644 index 000000000..668c65843 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETOWNEDJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETOWNEDJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetOwnedJoinPermissionRequest : public RpcServiceRequest + { + + public: + GetOwnedJoinPermissionRequest(); + ~GetOwnedJoinPermissionRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETOWNEDJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionResult.h new file mode 100644 index 000000000..1214cac9c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetOwnedJoinPermissionResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETOWNEDJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETOWNEDJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetOwnedJoinPermissionResult : public ServiceResult + { + public: + struct Data + { + long nodesCnt; + std::string classMode; + long rxMonthSum; + int multicastNodeCapacity; + long rxDailySum; + long txDailySum; + bool enabled; + std::string renterAliyunId; + long txMonthSum; + int multicastNodeCount; + bool multicastEnabled; + long rxDelay; + std::string dataDispatchDestination; + std::string authState; + long dataRate; + std::string boundProductName; + long createMillis; + std::string joinPermissionId; + std::string joinEui; + long freqBandPlanGroupId; + std::string joinPermissionName; + }; + + + GetOwnedJoinPermissionResult(); + explicit GetOwnedJoinPermissionResult(const std::string &payload); + ~GetOwnedJoinPermissionResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETOWNEDJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionRequest.h new file mode 100644 index 000000000..879adedba --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETRENTEDJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETRENTEDJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetRentedJoinPermissionRequest : public RpcServiceRequest + { + + public: + GetRentedJoinPermissionRequest(); + ~GetRentedJoinPermissionRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETRENTEDJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionResult.h new file mode 100644 index 000000000..913f98d7e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetRentedJoinPermissionResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETRENTEDJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETRENTEDJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetRentedJoinPermissionResult : public ServiceResult + { + public: + struct Data + { + long nodesCnt; + std::string classMode; + long rxMonthSum; + std::string boundNodeGroupId; + long rxDailySum; + long txDailySum; + bool enabled; + long txMonthSum; + std::string boundNodeGroupName; + long rxDelay; + std::string type; + long dataRate; + long createMillis; + std::string joinPermissionId; + std::string joinEui; + long freqBandPlanGroupId; + std::string joinPermissionName; + }; + + + GetRentedJoinPermissionResult(); + explicit GetRentedJoinPermissionResult(const std::string &payload); + ~GetRentedJoinPermissionResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETRENTEDJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetUserLicenseRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetUserLicenseRequest.h new file mode 100644 index 000000000..c83b6de92 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetUserLicenseRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETUSERLICENSEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETUSERLICENSEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetUserLicenseRequest : public RpcServiceRequest + { + + public: + GetUserLicenseRequest(); + ~GetUserLicenseRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETUSERLICENSEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetUserLicenseResult.h b/linkwan/include/alibabacloud/linkwan/model/GetUserLicenseResult.h new file mode 100644 index 000000000..81a685845 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetUserLicenseResult.h @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETUSERLICENSERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETUSERLICENSERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetUserLicenseResult : public ServiceResult + { + public: + struct Data + { + long roamingJoinPermissionLimit; + long gatewayLimit; + long gatewayTupleStandardLimit; + long gatewayTupleLimit; + long gatewayTupleCount; + long gatewayTupleSingleChannelLimit; + long gatewayTupleSingleChannelCount; + long gatewayProfessionalCount; + long localJoinPermissionCount; + long nodeTupleFreeLimit; + long roamingJoinPermissionCount; + long gatewayPrePayCount; + long gatewayTupleHybridCount; + long nodeTupleLimit; + long gatewayDingTalkCount; + long relayLimit; + long gatewayTupleFreeLimit; + long nodeTupleRelayLimit; + long nodeLimit; + long nodeTupleStandardCount; + long nodeFreeLimit; + std::string oui; + long gatewayTupleHybridLimit; + long nodeCount; + long nodeTupleRelayCount; + long nodeTupleCount; + long gatewayFreeLimit; + long roamingJoinPermissionFreeLimit; + long gatewayCount; + long gatewayTupleStandardCount; + long gatewayProfessionalLimit; + long nodeTupleStandardLimit; + long localJoinPermissionLimit; + long localJoinPermissionFreeLimit; + long gatewayDingTalkLimit; + long relayCount; + }; + + + GetUserLicenseResult(); + explicit GetUserLicenseResult(const std::string &payload); + ~GetUserLicenseResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETUSERLICENSERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionRequest.h b/linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionRequest.h new file mode 100644 index 000000000..5873cf714 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETUSERNETPROFILEDESCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETUSERNETPROFILEDESCRIPTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetUserNetProfileDescriptionRequest : public RpcServiceRequest + { + + public: + GetUserNetProfileDescriptionRequest(); + ~GetUserNetProfileDescriptionRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETUSERNETPROFILEDESCRIPTIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionResult.h b/linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionResult.h new file mode 100644 index 000000000..be6eba0d9 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/GetUserNetProfileDescriptionResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_GETUSERNETPROFILEDESCRIPTIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_GETUSERNETPROFILEDESCRIPTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT GetUserNetProfileDescriptionResult : public ServiceResult + { + public: + struct Data + { + bool isolated; + long isoUpdatedRemainingSec; + }; + + + GetUserNetProfileDescriptionResult(); + explicit GetUserNetProfileDescriptionResult(const std::string &payload); + ~GetUserNetProfileDescriptionResult(); + Data getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_GETUSERNETPROFILEDESCRIPTIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesRequest.h new file mode 100644 index 000000000..5d0d3c821 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVATEDFEATURESREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVATEDFEATURESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListActivatedFeaturesRequest : public RpcServiceRequest + { + + public: + ListActivatedFeaturesRequest(); + ~ListActivatedFeaturesRequest(); + + std::string getEnvironment()const; + void setEnvironment(const std::string& environment); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string environment_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVATEDFEATURESREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesResult.h b/linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesResult.h new file mode 100644 index 000000000..8298b081c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListActivatedFeaturesResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVATEDFEATURESRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVATEDFEATURESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListActivatedFeaturesResult : public ServiceResult + { + public: + + + ListActivatedFeaturesResult(); + explicit ListActivatedFeaturesResult(const std::string &payload); + ~ListActivatedFeaturesResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVATEDFEATURESRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysRequest.h new file mode 100644 index 000000000..8be028df0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVEGATEWAYSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVEGATEWAYSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListActiveGatewaysRequest : public RpcServiceRequest + { + + public: + ListActiveGatewaysRequest(); + ~ListActiveGatewaysRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVEGATEWAYSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysResult.h b/linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysResult.h new file mode 100644 index 000000000..cee98d11e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListActiveGatewaysResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVEGATEWAYSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVEGATEWAYSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListActiveGatewaysResult : public ServiceResult + { + public: + struct Gateway + { + std::string communicationMode; + std::string description; + std::string address; + float latitude; + std::string city; + long addressCode; + float longitude; + std::string name; + std::string chargeStatus; + std::string onlineState; + std::string gwEui; + std::string district; + std::string gisCoordinateSystem; + long freqBandPlanGroupId; + }; + + + ListActiveGatewaysResult(); + explicit ListActiveGatewaysResult(const std::string &payload); + ~ListActiveGatewaysResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTACTIVEGATEWAYSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsRequest.h new file mode 100644 index 000000000..be0a78195 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTFREQBANDPLANGROUPSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTFREQBANDPLANGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListFreqBandPlanGroupsRequest : public RpcServiceRequest + { + + public: + ListFreqBandPlanGroupsRequest(); + ~ListFreqBandPlanGroupsRequest(); + + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTFREQBANDPLANGROUPSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsResult.h new file mode 100644 index 000000000..b02413ea0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListFreqBandPlanGroupsResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTFREQBANDPLANGROUPSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTFREQBANDPLANGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListFreqBandPlanGroupsResult : public ServiceResult + { + public: + struct Group + { + std::string frequencyRegionId; + std::string frequencyType; + long beginFrequency; + long endFrequency; + long groupId; + }; + + + ListFreqBandPlanGroupsResult(); + explicit ListFreqBandPlanGroupsResult(const std::string &payload); + ~ListFreqBandPlanGroupsResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTFREQBANDPLANGROUPSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsRequest.h new file mode 100644 index 000000000..9b1dbd031 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYLOCALCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYLOCALCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayLocalConfigsRequest : public RpcServiceRequest + { + + public: + ListGatewayLocalConfigsRequest(); + ~ListGatewayLocalConfigsRequest(); + + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYLOCALCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsResult.h new file mode 100644 index 000000000..545bdafc9 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayLocalConfigsResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYLOCALCONFIGSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYLOCALCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayLocalConfigsResult : public ServiceResult + { + public: + struct D2dConfig + { + std::string d2dKey; + long taskId; + std::string devType; + std::string eui; + long createMillis; + int freq; + int datr; + std::string d2dAddr; + long modifiedMillis; + }; + + + ListGatewayLocalConfigsResult(); + explicit ListGatewayLocalConfigsResult(const std::string &payload); + ~ListGatewayLocalConfigsResult(); + std::vector getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYLOCALCONFIGSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsRequest.h new file mode 100644 index 000000000..1116a8203 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYONLINERECORDSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYONLINERECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayOnlineRecordsRequest : public RpcServiceRequest + { + + public: + ListGatewayOnlineRecordsRequest(); + ~ListGatewayOnlineRecordsRequest(); + + long getLimit()const; + void setLimit(long limit); + long getOffSet()const; + void setOffSet(long offSet); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + bool getAscending()const; + void setAscending(bool ascending); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long limit_; + long offSet_; + std::string gwEui_; + bool ascending_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYONLINERECORDSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsResult.h new file mode 100644 index 000000000..57edf1039 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayOnlineRecordsResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYONLINERECORDSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYONLINERECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayOnlineRecordsResult : public ServiceResult + { + public: + struct Data + { + struct Record + { + std::string onlineState; + std::string gwEui; + long stateChangedMillis; + }; + long totalCount; + std::vector list; + }; + + + ListGatewayOnlineRecordsResult(); + explicit ListGatewayOnlineRecordsResult(const std::string &payload); + ~ListGatewayOnlineRecordsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYONLINERECORDSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsRequest.h new file mode 100644 index 000000000..3442db531 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERFLOWSTATSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERFLOWSTATSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayTransferFlowStatsRequest : public RpcServiceRequest + { + + public: + ListGatewayTransferFlowStatsRequest(); + ~ListGatewayTransferFlowStatsRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getTimeIntervalUnit()const; + void setTimeIntervalUnit(const std::string& timeIntervalUnit); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + + private: + long endMillis_; + std::string iotInstanceId_; + std::string timeIntervalUnit_; + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + long beginMillis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERFLOWSTATSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsResult.h new file mode 100644 index 000000000..a9dee3b43 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferFlowStatsResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERFLOWSTATSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERFLOWSTATSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayTransferFlowStatsResult : public ServiceResult + { + public: + struct FlowStat + { + long downlinkCount; + long uplinkCount; + std::string statMillis; + }; + + + ListGatewayTransferFlowStatsResult(); + explicit ListGatewayTransferFlowStatsResult(const std::string &payload); + ~ListGatewayTransferFlowStatsResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERFLOWSTATSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsRequest.h new file mode 100644 index 000000000..62d934ed0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERPACKETSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERPACKETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayTransferPacketsRequest : public RpcServiceRequest + { + + public: + ListGatewayTransferPacketsRequest(); + ~ListGatewayTransferPacketsRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + bool getAscending()const; + void setAscending(bool ascending); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCategory()const; + void setCategory(const std::string& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + int pageNumber_; + std::string iotInstanceId_; + int pageSize_; + std::string gwEui_; + bool ascending_; + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + std::string category_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERPACKETSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsResult.h new file mode 100644 index 000000000..81693f025 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTransferPacketsResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERPACKETSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERPACKETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayTransferPacketsResult : public ServiceResult + { + public: + struct Data + { + struct Packet + { + std::string classMode; + std::string base64EncodedMacPayload; + std::string processEvent; + int fPort; + std::vector macCommandCIDs; + std::string devEui; + bool hasMacCommand; + std::string nodeOwnerAliyunId; + float lsnr; + int rssi; + long macPayloadSize; + std::string gwEui; + std::string devAddr; + std::string freq; + std::string datr; + std::string logMillis; + std::string messageType; + bool hasData; + }; + long totalCount; + std::vector list; + }; + + + ListGatewayTransferPacketsResult(); + explicit ListGatewayTransferPacketsResult(const std::string &payload); + ~ListGatewayTransferPacketsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTRANSFERPACKETSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersRequest.h new file mode 100644 index 000000000..8da4a6c8f --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTUPLEORDERSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTUPLEORDERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayTupleOrdersRequest : public RpcServiceRequest + { + + public: + ListGatewayTupleOrdersRequest(); + ~ListGatewayTupleOrdersRequest(); + + long getLimit()const; + void setLimit(long limit); + std::vector getState()const; + void setState(const std::vector& state); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long limit_; + std::vector state_; + long offset_; + bool ascending_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTUPLEORDERSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersResult.h new file mode 100644 index 000000000..5f32a5475 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewayTupleOrdersResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTUPLEORDERSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTUPLEORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewayTupleOrdersResult : public ServiceResult + { + public: + struct Data + { + struct GatewayTupleOrder + { + long createdMillis; + long requiredCount; + std::string tupleType; + std::string orderId; + std::string orderState; + long acceptedMillis; + }; + long totalCount; + std::vector list; + }; + + + ListGatewayTupleOrdersResult(); + explicit ListGatewayTupleOrdersResult(const std::string &payload); + ~ListGatewayTupleOrdersResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYTUPLEORDERSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoRequest.h new file mode 100644 index 000000000..c9b62076b --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSGISINFOREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSGISINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewaysGisInfoRequest : public RpcServiceRequest + { + + public: + ListGatewaysGisInfoRequest(); + ~ListGatewaysGisInfoRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSGISINFOREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoResult.h new file mode 100644 index 000000000..a178c16a2 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysGisInfoResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSGISINFORESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSGISINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewaysGisInfoResult : public ServiceResult + { + public: + struct GatewayGisInfo + { + std::string chargeStatus; + std::string onlineState; + std::string gisSourceType; + std::string gwEui; + bool enabled; + float latitude; + float longitude; + std::string authTypes; + std::string gisCoordinateSystem; + long freqBandPlanGroupId; + std::string name; + }; + + + ListGatewaysGisInfoResult(); + explicit ListGatewaysGisInfoResult(const std::string &payload); + ~ListGatewaysGisInfoResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSGISINFORESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatRequest.h new file mode 100644 index 000000000..580e119d4 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSPACKETSTATREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSPACKETSTATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewaysPacketStatRequest : public RpcServiceRequest + { + + public: + ListGatewaysPacketStatRequest(); + ~ListGatewaysPacketStatRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::vector getGwEuiList()const; + void setGwEuiList(const std::vector& gwEuiList); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + + private: + long endMillis_; + std::vector gwEuiList_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + long beginMillis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSPACKETSTATREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatResult.h new file mode 100644 index 000000000..bb35f265d --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysPacketStatResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSPACKETSTATRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSPACKETSTATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewaysPacketStatResult : public ServiceResult + { + public: + struct GatewayPacketStat + { + std::string gwEui; + int downlinkCount; + int uplinkCount; + }; + + + ListGatewaysPacketStatResult(); + explicit ListGatewaysPacketStatResult(const std::string &payload); + ~ListGatewaysPacketStatResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSPACKETSTATRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewaysRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysRequest.h new file mode 100644 index 000000000..c6bb8a0f0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewaysRequest : public RpcServiceRequest + { + + public: + ListGatewaysRequest(); + ~ListGatewaysRequest(); + + std::string getFuzzyGwEui()const; + void setFuzzyGwEui(const std::string& fuzzyGwEui); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + long getLimit()const; + void setLimit(long limit); + std::string getFuzzyCity()const; + void setFuzzyCity(const std::string& fuzzyCity); + std::string getOnlineState()const; + void setOnlineState(const std::string& onlineState); + bool getIsEnabled()const; + void setIsEnabled(bool isEnabled); + std::string getFuzzyName()const; + void setFuzzyName(const std::string& fuzzyName); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + std::string fuzzyGwEui_; + std::string iotInstanceId_; + long limit_; + std::string fuzzyCity_; + std::string onlineState_; + bool isEnabled_; + std::string fuzzyName_; + long offset_; + bool ascending_; + long freqBandPlanGroupId_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListGatewaysResult.h b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysResult.h new file mode 100644 index 000000000..a17e6f802 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListGatewaysResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListGatewaysResult : public ServiceResult + { + public: + struct Data + { + struct Gateway + { + std::string communicationMode; + std::string description; + std::string address; + bool classBSupported; + bool enabled; + bool classBWorking; + bool timeCorrectable; + std::string embeddedNsId; + float latitude; + std::string city; + long addressCode; + float longitude; + std::string name; + std::string chargeStatus; + std::string onlineState; + std::string gwEui; + long onlineStateChangedMillis; + std::string district; + std::string authTypes; + std::string gisCoordinateSystem; + long freqBandPlanGroupId; + }; + long totalCount; + std::vector list; + }; + + + ListGatewaysResult(); + explicit ListGatewaysResult(const std::string &payload); + ~ListGatewaysResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTGATEWAYSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsRequest.h new file mode 100644 index 000000000..548aaed85 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERFLOWSTATSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERFLOWSTATSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupTransferFlowStatsRequest : public RpcServiceRequest + { + + public: + ListNodeGroupTransferFlowStatsRequest(); + ~ListNodeGroupTransferFlowStatsRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getTimeIntervalUnit()const; + void setTimeIntervalUnit(const std::string& timeIntervalUnit); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + + private: + long endMillis_; + std::string iotInstanceId_; + std::string timeIntervalUnit_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + long beginMillis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERFLOWSTATSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsResult.h new file mode 100644 index 000000000..65a981cf7 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferFlowStatsResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERFLOWSTATSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERFLOWSTATSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupTransferFlowStatsResult : public ServiceResult + { + public: + struct FlowStat + { + long downlinkCount; + long uplinkCount; + long statMillis; + }; + + + ListNodeGroupTransferFlowStatsResult(); + explicit ListNodeGroupTransferFlowStatsResult(const std::string &payload); + ~ListNodeGroupTransferFlowStatsResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERFLOWSTATSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsRequest.h new file mode 100644 index 000000000..53f7891cc --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERPACKETSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERPACKETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupTransferPacketsRequest : public RpcServiceRequest + { + + public: + ListNodeGroupTransferPacketsRequest(); + ~ListNodeGroupTransferPacketsRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + int getPageSize()const; + void setPageSize(int pageSize); + bool getAscending()const; + void setAscending(bool ascending); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCategory()const; + void setCategory(const std::string& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + int pageNumber_; + std::string iotInstanceId_; + int pageSize_; + bool ascending_; + std::string devEui_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + std::string category_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERPACKETSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsResult.h new file mode 100644 index 000000000..812ffc1ce --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupTransferPacketsResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERPACKETSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERPACKETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupTransferPacketsResult : public ServiceResult + { + public: + struct Data + { + struct Packet + { + std::string classMode; + std::string base64EncodedMacPayload; + long fcntUp; + std::string processEvent; + int fPort; + std::string macCommandCIDs; + std::string devEui; + bool hasMacCommand; + float lsnr; + int rssi; + long macPayloadSize; + std::string gwEui; + long fcntDown; + std::string devAddr; + float freq; + std::string gwOwnerAliyunId; + std::string datr; + long freqBandPlanGroupId; + long logMillis; + std::string messageType; + bool hasData; + }; + long totalCount; + std::vector list; + }; + + + ListNodeGroupTransferPacketsResult(); + explicit ListNodeGroupTransferPacketsResult(const std::string &payload); + ~ListNodeGroupTransferPacketsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPTRANSFERPACKETSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatRequest.h new file mode 100644 index 000000000..165093707 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSPACKETSTATREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSPACKETSTATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupsPacketStatRequest : public RpcServiceRequest + { + + public: + ListNodeGroupsPacketStatRequest(); + ~ListNodeGroupsPacketStatRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::vector getNodeGroupIdList()const; + void setNodeGroupIdList(const std::vector& nodeGroupIdList); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + + private: + long endMillis_; + std::string iotInstanceId_; + std::vector nodeGroupIdList_; + std::string apiProduct_; + std::string apiRevision_; + long beginMillis_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSPACKETSTATREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatResult.h new file mode 100644 index 000000000..821218080 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsPacketStatResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSPACKETSTATRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSPACKETSTATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupsPacketStatResult : public ServiceResult + { + public: + struct NodeGroupPacketStat + { + std::string nodeGroupId; + int downlinkCount; + int uplinkCount; + }; + + + ListNodeGroupsPacketStatResult(); + explicit ListNodeGroupsPacketStatResult(const std::string &payload); + ~ListNodeGroupsPacketStatResult(); + std::vector getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSPACKETSTATRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsRequest.h new file mode 100644 index 000000000..4f7358e93 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupsRequest : public RpcServiceRequest + { + + public: + ListNodeGroupsRequest(); + ~ListNodeGroupsRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getFuzzyJoinEui()const; + void setFuzzyJoinEui(const std::string& fuzzyJoinEui); + std::string getFuzzyDevEui()const; + void setFuzzyDevEui(const std::string& fuzzyDevEui); + long getLimit()const; + void setLimit(long limit); + std::string getFuzzyName()const; + void setFuzzyName(const std::string& fuzzyName); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + std::string iotInstanceId_; + std::string fuzzyJoinEui_; + std::string fuzzyDevEui_; + long limit_; + std::string fuzzyName_; + long offset_; + bool ascending_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsResult.h new file mode 100644 index 000000000..3eb27e64f --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeGroupsResult.h @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeGroupsResult : public ServiceResult + { + public: + struct Data + { + struct NodeGroup + { + struct DataDispatchConfig + { + struct IotProduct + { + bool debugSwitch; + std::string productName; + std::string productType; + std::string productKey; + }; + struct OnsTopics + { + std::string uplinkRegionName; + std::string downlinkTopic; + std::string uplinkTopic; + std::string downlinkRegionName; + }; + std::string destination; + OnsTopics onsTopics; + IotProduct iotProduct; + }; + struct Lock + { + long createMillis; + bool enabled; + std::string lockId; + std::string lockType; + }; + long nodesCnt; + std::string classMode; + long rxMonthSum; + std::string nodeGroupName; + long rxDailySum; + long txDailySum; + std::vector locks; + long txMonthSum; + std::string joinPermissionType; + DataDispatchConfig dataDispatchConfig; + std::string nodeGroupId; + std::string joinPermissionOwnerAliyunId; + long createMillis; + std::string joinPermissionId; + std::string joinEui; + long freqBandPlanGroupId; + bool joinPermissionEnabled; + std::string joinPermissionName; + bool dataDispatchEnabled; + }; + long totalCount; + std::vector list; + }; + + + ListNodeGroupsResult(); + explicit ListNodeGroupsResult(const std::string &payload); + ~ListNodeGroupsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODEGROUPSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsRequest.h new file mode 100644 index 000000000..5d283de81 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETPATHSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETPATHSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeTransferPacketPathsRequest : public RpcServiceRequest + { + + public: + ListNodeTransferPacketPathsRequest(); + ~ListNodeTransferPacketPathsRequest(); + + std::string getBase64EncodedMacPayload()const; + void setBase64EncodedMacPayload(const std::string& base64EncodedMacPayload); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + long getLogMillis()const; + void setLogMillis(long logMillis); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string base64EncodedMacPayload_; + int pageNumber_; + std::string iotInstanceId_; + long logMillis_; + int pageSize_; + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETPATHSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsResult.h new file mode 100644 index 000000000..14808568a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketPathsResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETPATHSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETPATHSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeTransferPacketPathsResult : public ServiceResult + { + public: + struct Data + { + struct Path + { + int rssi; + bool bestPath; + std::string gwEui; + std::string devEui; + float lsnr; + }; + long totalCount; + std::vector list; + }; + + + ListNodeTransferPacketPathsResult(); + explicit ListNodeTransferPacketPathsResult(const std::string &payload); + ~ListNodeTransferPacketPathsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETPATHSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsRequest.h new file mode 100644 index 000000000..bebcadcbb --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeTransferPacketsRequest : public RpcServiceRequest + { + + public: + ListNodeTransferPacketsRequest(); + ~ListNodeTransferPacketsRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + bool getAscending()const; + void setAscending(bool ascending); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCategory()const; + void setCategory(const std::string& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + int pageNumber_; + int pageSize_; + std::string gwEui_; + bool ascending_; + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + std::string category_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsResult.h new file mode 100644 index 000000000..97124b189 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeTransferPacketsResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeTransferPacketsResult : public ServiceResult + { + public: + struct Data + { + struct Packet + { + int rssi; + std::string classMode; + std::string gwEui; + float snr; + float freq; + std::string devEui; + std::string datr; + long logMillis; + }; + long totalCount; + std::vector list; + }; + + + ListNodeTransferPacketsResult(); + explicit ListNodeTransferPacketsResult(const std::string &payload); + ~ListNodeTransferPacketsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODETRANSFERPACKETSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersRequest.h new file mode 100644 index 000000000..1ec72b9f5 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODETUPLEORDERSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODETUPLEORDERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeTupleOrdersRequest : public RpcServiceRequest + { + + public: + ListNodeTupleOrdersRequest(); + ~ListNodeTupleOrdersRequest(); + + bool getIsKpm()const; + void setIsKpm(bool isKpm); + long getLimit()const; + void setLimit(long limit); + std::vector getState()const; + void setState(const std::vector& state); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + bool isKpm_; + long limit_; + std::vector state_; + long offset_; + bool ascending_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODETUPLEORDERSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersResult.h new file mode 100644 index 000000000..89a134ade --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodeTupleOrdersResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODETUPLEORDERSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODETUPLEORDERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodeTupleOrdersResult : public ServiceResult + { + public: + struct Data + { + struct Order + { + std::string loraVersion; + long createdMillis; + bool isKpm; + long requiredCount; + std::string tupleType; + long failedCount; + std::string orderId; + long successCount; + std::string orderState; + long acceptedMillis; + }; + long totalCount; + std::vector list; + }; + + + ListNodeTupleOrdersResult(); + explicit ListNodeTupleOrdersResult(const std::string &payload); + ~ListNodeTupleOrdersResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODETUPLEORDERSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdRequest.h new file mode 100644 index 000000000..23754d7d7 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYNODEGROUPIDREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYNODEGROUPIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodesByNodeGroupIdRequest : public RpcServiceRequest + { + + public: + ListNodesByNodeGroupIdRequest(); + ~ListNodesByNodeGroupIdRequest(); + + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getFuzzyDevEui()const; + void setFuzzyDevEui(const std::string& fuzzyDevEui); + long getLimit()const; + void setLimit(long limit); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + std::string iotInstanceId_; + std::string fuzzyDevEui_; + long limit_; + long offset_; + bool ascending_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYNODEGROUPIDREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdResult.h new file mode 100644 index 000000000..e044a5d5c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodesByNodeGroupIdResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYNODEGROUPIDRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYNODEGROUPIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodesByNodeGroupIdResult : public ServiceResult + { + public: + struct Data + { + struct Node + { + long boundMillis; + std::string classMode; + std::string multicastGroupId; + std::string appkey; + std::string nodeType; + std::string devAddr; + std::string devEui; + long lastJoinMillis; + std::string authTypes; + std::string joinEui; + }; + long totalCount; + std::vector list; + }; + + + ListNodesByNodeGroupIdResult(); + explicit ListNodesByNodeGroupIdResult(const std::string &payload); + ~ListNodesByNodeGroupIdResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYNODEGROUPIDRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdRequest.h new file mode 100644 index 000000000..cb8777890 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYOWNEDJOINPERMISSIONIDREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYOWNEDJOINPERMISSIONIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodesByOwnedJoinPermissionIdRequest : public RpcServiceRequest + { + + public: + ListNodesByOwnedJoinPermissionIdRequest(); + ~ListNodesByOwnedJoinPermissionIdRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getFuzzyDevEui()const; + void setFuzzyDevEui(const std::string& fuzzyDevEui); + long getLimit()const; + void setLimit(long limit); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + std::string joinPermissionId_; + std::string iotInstanceId_; + std::string fuzzyDevEui_; + long limit_; + long offset_; + bool ascending_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYOWNEDJOINPERMISSIONIDREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdResult.h new file mode 100644 index 000000000..d3065f716 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNodesByOwnedJoinPermissionIdResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYOWNEDJOINPERMISSIONIDRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYOWNEDJOINPERMISSIONIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNodesByOwnedJoinPermissionIdResult : public ServiceResult + { + public: + struct Data + { + struct Node + { + long boundMillis; + std::string classMode; + std::string devAddr; + std::string devEui; + long lastJoinMillis; + }; + long totalCount; + std::vector list; + }; + + + ListNodesByOwnedJoinPermissionIdResult(); + explicit ListNodesByOwnedJoinPermissionIdResult(const std::string &payload); + ~ListNodesByOwnedJoinPermissionIdResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNODESBYOWNEDJOINPERMISSIONIDRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNotificationsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListNotificationsRequest.h new file mode 100644 index 000000000..27874e01d --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNotificationsRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNOTIFICATIONSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNOTIFICATIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNotificationsRequest : public RpcServiceRequest + { + + public: + ListNotificationsRequest(); + ~ListNotificationsRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + long getLimit()const; + void setLimit(long limit); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + std::string getHandleState()const; + void setHandleState(const std::string& handleState); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::vector getCategory()const; + void setCategory(const std::vector& category); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + long limit_; + long offset_; + bool ascending_; + std::string handleState_; + std::string apiProduct_; + std::string apiRevision_; + std::vector category_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNOTIFICATIONSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListNotificationsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListNotificationsResult.h new file mode 100644 index 000000000..0f6e263d7 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListNotificationsResult.h @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTNOTIFICATIONSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTNOTIFICATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListNotificationsResult : public ServiceResult + { + public: + struct Data + { + struct Notification + { + struct GatewayOfflineInfo + { + long offlineMillis; + std::string gwEui; + }; + struct JoinPermissionAuthInfo + { + std::string ownerAliyunId; + long rejectedMillis; + std::string renterAliyunId; + long canceledMillis; + long applyingMillis; + std::string orderId; + std::string joinPermissionId; + std::string orderState; + std::string joinEui; + std::string joinPermissionName; + long acceptedMillis; + }; + struct GatewayDataflowLimit + { + long dataflowLimitMillis; + std::string alarmDetail; + std::string gwEui; + }; + JoinPermissionAuthInfo joinPermissionAuthInfo; + long handledMillis; + std::string category; + std::string notificationId; + long noticeMillis; + std::string handleState; + GatewayOfflineInfo gatewayOfflineInfo; + GatewayDataflowLimit gatewayDataflowLimit; + }; + long totalCount; + std::vector list; + }; + + + ListNotificationsResult(); + explicit ListNotificationsResult(const std::string &payload); + ~ListNotificationsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTNOTIFICATIONSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsRequest.h new file mode 100644 index 000000000..b10d13ff8 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTOWNEDJOINPERMISSIONSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTOWNEDJOINPERMISSIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListOwnedJoinPermissionsRequest : public RpcServiceRequest + { + + public: + ListOwnedJoinPermissionsRequest(); + ~ListOwnedJoinPermissionsRequest(); + + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getFuzzyJoinEui()const; + void setFuzzyJoinEui(const std::string& fuzzyJoinEui); + long getLimit()const; + void setLimit(long limit); + std::string getFuzzyJoinPermissionName()const; + void setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName); + long getOffset()const; + void setOffset(long offset); + std::string getFuzzyRenterAliyunId()const; + void setFuzzyRenterAliyunId(const std::string& fuzzyRenterAliyunId); + bool getAscending()const; + void setAscending(bool ascending); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + bool enabled_; + std::string iotInstanceId_; + std::string fuzzyJoinEui_; + long limit_; + std::string fuzzyJoinPermissionName_; + long offset_; + std::string fuzzyRenterAliyunId_; + bool ascending_; + std::string apiProduct_; + std::string apiRevision_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTOWNEDJOINPERMISSIONSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsResult.h new file mode 100644 index 000000000..9c3e3aaf7 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListOwnedJoinPermissionsResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTOWNEDJOINPERMISSIONSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTOWNEDJOINPERMISSIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListOwnedJoinPermissionsResult : public ServiceResult + { + public: + struct Data + { + struct JoinPermission + { + std::string classMode; + std::string authState; + long dataRate; + bool enabled; + std::string renterAliyunId; + std::string joinPermissionId; + std::string joinEui; + long freqBandPlanGroupId; + std::string joinPermissionName; + long rxDelay; + }; + long totalCount; + std::vector list; + }; + + + ListOwnedJoinPermissionsResult(); + explicit ListOwnedJoinPermissionsResult(const std::string &payload); + ~ListOwnedJoinPermissionsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTOWNEDJOINPERMISSIONSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsRequest.h new file mode 100644 index 000000000..eee664640 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTRENTEDJOINPERMISSIONSREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTRENTEDJOINPERMISSIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListRentedJoinPermissionsRequest : public RpcServiceRequest + { + + public: + ListRentedJoinPermissionsRequest(); + ~ListRentedJoinPermissionsRequest(); + + std::string getType()const; + void setType(const std::string& type); + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getFuzzyJoinEui()const; + void setFuzzyJoinEui(const std::string& fuzzyJoinEui); + long getLimit()const; + void setLimit(long limit); + std::string getFuzzyJoinPermissionName()const; + void setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName); + long getOffset()const; + void setOffset(long offset); + bool getAscending()const; + void setAscending(bool ascending); + bool getBoundNodeGroup()const; + void setBoundNodeGroup(bool boundNodeGroup); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getFuzzyOwnerAliyunId()const; + void setFuzzyOwnerAliyunId(const std::string& fuzzyOwnerAliyunId); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + std::string type_; + bool enabled_; + std::string iotInstanceId_; + std::string fuzzyJoinEui_; + long limit_; + std::string fuzzyJoinPermissionName_; + long offset_; + bool ascending_; + bool boundNodeGroup_; + std::string apiProduct_; + std::string apiRevision_; + std::string fuzzyOwnerAliyunId_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTRENTEDJOINPERMISSIONSREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsResult.h b/linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsResult.h new file mode 100644 index 000000000..1087186f9 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListRentedJoinPermissionsResult.h @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTRENTEDJOINPERMISSIONSRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTRENTEDJOINPERMISSIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListRentedJoinPermissionsResult : public ServiceResult + { + public: + struct Data + { + struct JoinPermission + { + struct DataDispatchConfig + { + struct IotProduct + { + bool debugSwitch; + std::string productName; + std::string productType; + std::string productKey; + }; + struct OnsTopics + { + std::string uplinkRegionName; + std::string downlinkTopic; + std::string uplinkTopic; + std::string downlinkRegionName; + }; + std::string destination; + OnsTopics onsTopics; + IotProduct iotProduct; + }; + std::string classMode; + std::string boundNodeGroupId; + bool enabled; + std::string boundNodeGroupName; + std::string rxDelay; + std::string type; + DataDispatchConfig dataDispatchConfig; + std::string ownerAliyunId; + std::string dataRate; + bool boundNodeGroup; + std::string joinPermissionId; + std::string joinEui; + std::string freqBandPlanGroupId; + std::string joinPermissionName; + }; + long totalCount; + std::vector list; + }; + + + ListRentedJoinPermissionsResult(); + explicit ListRentedJoinPermissionsResult(const std::string &payload); + ~ListRentedJoinPermissionsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTRENTEDJOINPERMISSIONSRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListTransferPacketRequest.h b/linkwan/include/alibabacloud/linkwan/model/ListTransferPacketRequest.h new file mode 100644 index 000000000..9eebb05fa --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListTransferPacketRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTTRANSFERPACKETREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTTRANSFERPACKETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListTransferPacketRequest : public RpcServiceRequest + { + + public: + ListTransferPacketRequest(); + ~ListTransferPacketRequest(); + + long getEndMillis()const; + void setEndMillis(long endMillis); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + bool getAscending()const; + void setAscending(bool ascending); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getBeginMillis()const; + void setBeginMillis(long beginMillis); + std::string getSortingField()const; + void setSortingField(const std::string& sortingField); + + private: + long endMillis_; + int pageNumber_; + int pageSize_; + bool ascending_; + std::string apiProduct_; + std::string apiRevision_; + long beginMillis_; + std::string sortingField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTTRANSFERPACKETREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ListTransferPacketResult.h b/linkwan/include/alibabacloud/linkwan/model/ListTransferPacketResult.h new file mode 100644 index 000000000..dcbcada26 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ListTransferPacketResult.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_LISTTRANSFERPACKETRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_LISTTRANSFERPACKETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ListTransferPacketResult : public ServiceResult + { + public: + struct Data + { + struct Packet + { + std::string classMode; + std::string base64EncodedMacPayload; + long fcntUp; + std::string processEvent; + int fPort; + std::string devEui; + bool hasMacCommand; + float lsnr; + int rssi; + long macPayloadSize; + std::string gwEui; + long fcntDown; + std::string devAddr; + float freq; + std::string datr; + long freqBandPlanGroupId; + long logMillis; + std::string messageType; + bool hasData; + }; + long totalCount; + std::vector list; + }; + + + ListTransferPacketResult(); + explicit ListTransferPacketResult(const std::string &payload); + ~ListTransferPacketResult(); + Data getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_LISTTRANSFERPACKETRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderRequest.h new file mode 100644 index 000000000..8280675c3 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_REJECTJOINPERMISSIONAUTHORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_REJECTJOINPERMISSIONAUTHORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT RejectJoinPermissionAuthOrderRequest : public RpcServiceRequest + { + + public: + RejectJoinPermissionAuthOrderRequest(); + ~RejectJoinPermissionAuthOrderRequest(); + + std::string getOrderId()const; + void setOrderId(const std::string& orderId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string orderId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_REJECTJOINPERMISSIONAUTHORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderResult.h new file mode 100644 index 000000000..d8f4ee45b --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/RejectJoinPermissionAuthOrderResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_REJECTJOINPERMISSIONAUTHORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_REJECTJOINPERMISSIONAUTHORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT RejectJoinPermissionAuthOrderResult : public ServiceResult + { + public: + + + RejectJoinPermissionAuthOrderResult(); + explicit RejectJoinPermissionAuthOrderResult(const std::string &payload); + ~RejectJoinPermissionAuthOrderResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_REJECTJOINPERMISSIONAUTHORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupRequest.h new file mode 100644 index 000000000..374384ee5 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_REMOVENODEFROMGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_REMOVENODEFROMGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT RemoveNodeFromGroupRequest : public RpcServiceRequest + { + + public: + RemoveNodeFromGroupRequest(); + ~RemoveNodeFromGroupRequest(); + + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string devEui_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_REMOVENODEFROMGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupResult.h new file mode 100644 index 000000000..0bbd7ee0e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/RemoveNodeFromGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_REMOVENODEFROMGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_REMOVENODEFROMGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT RemoveNodeFromGroupResult : public ServiceResult + { + public: + + + RemoveNodeFromGroupResult(); + explicit RemoveNodeFromGroupResult(const std::string &payload); + ~RemoveNodeFromGroupResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_REMOVENODEFROMGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionRequest.h new file mode 100644 index 000000000..1e40ea546 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_RETURNJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_RETURNJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ReturnJoinPermissionRequest : public RpcServiceRequest + { + + public: + ReturnJoinPermissionRequest(); + ~ReturnJoinPermissionRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getJoinPermissionType()const; + void setJoinPermissionType(const std::string& joinPermissionType); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string joinPermissionType_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_RETURNJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionResult.h new file mode 100644 index 000000000..a5b4dd1c3 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/ReturnJoinPermissionResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_RETURNJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_RETURNJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT ReturnJoinPermissionResult : public ServiceResult + { + public: + + + ReturnJoinPermissionResult(); + explicit ReturnJoinPermissionResult(const std::string &payload); + ~ReturnJoinPermissionResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_RETURNJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandRequest.h b/linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandRequest.h new file mode 100644 index 000000000..dfbea3b69 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SENDUNICASTCOMMANDREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SENDUNICASTCOMMANDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SendUnicastCommandRequest : public RpcServiceRequest + { + + public: + SendUnicastCommandRequest(); + ~SendUnicastCommandRequest(); + + bool getConfirmed()const; + void setConfirmed(bool confirmed); + std::string getContent()const; + void setContent(const std::string& content); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + int getMaxRetries()const; + void setMaxRetries(int maxRetries); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + bool getCleanUp()const; + void setCleanUp(bool cleanUp); + int getFPort()const; + void setFPort(int fPort); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + bool confirmed_; + std::string content_; + std::string iotInstanceId_; + int maxRetries_; + std::string devEui_; + bool cleanUp_; + int fPort_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SENDUNICASTCOMMANDREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandResult.h b/linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandResult.h new file mode 100644 index 000000000..b32c5ac4e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SendUnicastCommandResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SENDUNICASTCOMMANDRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SENDUNICASTCOMMANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SendUnicastCommandResult : public ServiceResult + { + public: + + + SendUnicastCommandResult(); + explicit SendUnicastCommandResult(const std::string &payload); + ~SendUnicastCommandResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SENDUNICASTCOMMANDRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskRequest.h new file mode 100644 index 000000000..0466836f9 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGADDINGTASKREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGADDINGTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitGatewayLocalConfigAddingTaskRequest : public RpcServiceRequest + { + + public: + SubmitGatewayLocalConfigAddingTaskRequest(); + ~SubmitGatewayLocalConfigAddingTaskRequest(); + + int getFreq()const; + void setFreq(int freq); + int getDatr()const; + void setDatr(int datr); + std::string getD2dKey()const; + void setD2dKey(const std::string& d2dKey); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getD2dAddr()const; + void setD2dAddr(const std::string& d2dAddr); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + int freq_; + int datr_; + std::string d2dKey_; + std::string gwEui_; + std::string d2dAddr_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGADDINGTASKREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskResult.h new file mode 100644 index 000000000..6572ab072 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigAddingTaskResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGADDINGTASKRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGADDINGTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitGatewayLocalConfigAddingTaskResult : public ServiceResult + { + public: + + + SubmitGatewayLocalConfigAddingTaskResult(); + explicit SubmitGatewayLocalConfigAddingTaskResult(const std::string &payload); + ~SubmitGatewayLocalConfigAddingTaskResult(); + long getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGADDINGTASKRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskRequest.h new file mode 100644 index 000000000..e00f2a667 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGDELETINGTASKREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGDELETINGTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitGatewayLocalConfigDeletingTaskRequest : public RpcServiceRequest + { + + public: + SubmitGatewayLocalConfigDeletingTaskRequest(); + ~SubmitGatewayLocalConfigDeletingTaskRequest(); + + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getD2dAddr()const; + void setD2dAddr(const std::string& d2dAddr); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string gwEui_; + std::string d2dAddr_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGDELETINGTASKREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskResult.h new file mode 100644 index 000000000..60cce9e92 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayLocalConfigDeletingTaskResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGDELETINGTASKRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGDELETINGTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitGatewayLocalConfigDeletingTaskResult : public ServiceResult + { + public: + + + SubmitGatewayLocalConfigDeletingTaskResult(); + explicit SubmitGatewayLocalConfigDeletingTaskResult(const std::string &payload); + ~SubmitGatewayLocalConfigDeletingTaskResult(); + long getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYLOCALCONFIGDELETINGTASKRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderRequest.h new file mode 100644 index 000000000..7f62778e8 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYTUPLEORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYTUPLEORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitGatewayTupleOrderRequest : public RpcServiceRequest + { + + public: + SubmitGatewayTupleOrderRequest(); + ~SubmitGatewayTupleOrderRequest(); + + std::string getTupleType()const; + void setTupleType(const std::string& tupleType); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getRequiredCount()const; + void setRequiredCount(long requiredCount); + + private: + std::string tupleType_; + std::string apiProduct_; + std::string apiRevision_; + long requiredCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYTUPLEORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderResult.h new file mode 100644 index 000000000..48add5e4c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitGatewayTupleOrderResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYTUPLEORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYTUPLEORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitGatewayTupleOrderResult : public ServiceResult + { + public: + + + SubmitGatewayTupleOrderResult(); + explicit SubmitGatewayTupleOrderResult(const std::string &payload); + ~SubmitGatewayTupleOrderResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITGATEWAYTUPLEORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderRequest.h new file mode 100644 index 000000000..f91c2d7e0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITJOINPERMISSIONAUTHORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITJOINPERMISSIONAUTHORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitJoinPermissionAuthOrderRequest : public RpcServiceRequest + { + + public: + SubmitJoinPermissionAuthOrderRequest(); + ~SubmitJoinPermissionAuthOrderRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getRenterAliyunId()const; + void setRenterAliyunId(const std::string& renterAliyunId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string renterAliyunId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITJOINPERMISSIONAUTHORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderResult.h new file mode 100644 index 000000000..915a2e225 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitJoinPermissionAuthOrderResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITJOINPERMISSIONAUTHORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITJOINPERMISSIONAUTHORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitJoinPermissionAuthOrderResult : public ServiceResult + { + public: + + + SubmitJoinPermissionAuthOrderResult(); + explicit SubmitJoinPermissionAuthOrderResult(const std::string &payload); + ~SubmitJoinPermissionAuthOrderResult(); + long getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITJOINPERMISSIONAUTHORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderRequest.h new file mode 100644 index 000000000..e2e670a35 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITKPMENCRYPTEDNODETUPLEORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITKPMENCRYPTEDNODETUPLEORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitKpmEncryptedNodeTupleOrderRequest : public RpcServiceRequest + { + + public: + SubmitKpmEncryptedNodeTupleOrderRequest(); + ~SubmitKpmEncryptedNodeTupleOrderRequest(); + + std::string getLoraVersion()const; + void setLoraVersion(const std::string& loraVersion); + std::string getTupleType()const; + void setTupleType(const std::string& tupleType); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getRequiredCount()const; + void setRequiredCount(long requiredCount); + + private: + std::string loraVersion_; + std::string tupleType_; + std::string apiProduct_; + std::string apiRevision_; + long requiredCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITKPMENCRYPTEDNODETUPLEORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderResult.h new file mode 100644 index 000000000..6babe64a9 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitKpmEncryptedNodeTupleOrderResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITKPMENCRYPTEDNODETUPLEORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITKPMENCRYPTEDNODETUPLEORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitKpmEncryptedNodeTupleOrderResult : public ServiceResult + { + public: + + + SubmitKpmEncryptedNodeTupleOrderResult(); + explicit SubmitKpmEncryptedNodeTupleOrderResult(const std::string &payload); + ~SubmitKpmEncryptedNodeTupleOrderResult(); + std::string getOrderId()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string orderId_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITKPMENCRYPTEDNODETUPLEORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskRequest.h new file mode 100644 index 000000000..704b4bf92 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGADDINGTASKREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGADDINGTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitNodeLocalConfigAddingTaskRequest : public RpcServiceRequest + { + + public: + SubmitNodeLocalConfigAddingTaskRequest(); + ~SubmitNodeLocalConfigAddingTaskRequest(); + + int getFreq()const; + void setFreq(int freq); + int getDatr()const; + void setDatr(int datr); + std::string getD2dKey()const; + void setD2dKey(const std::string& d2dKey); + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getD2dAddr()const; + void setD2dAddr(const std::string& d2dAddr); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + int freq_; + int datr_; + std::string d2dKey_; + std::string devEui_; + std::string d2dAddr_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGADDINGTASKREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskResult.h new file mode 100644 index 000000000..a54279d1e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigAddingTaskResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGADDINGTASKRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGADDINGTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitNodeLocalConfigAddingTaskResult : public ServiceResult + { + public: + + + SubmitNodeLocalConfigAddingTaskResult(); + explicit SubmitNodeLocalConfigAddingTaskResult(const std::string &payload); + ~SubmitNodeLocalConfigAddingTaskResult(); + long getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGADDINGTASKRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskRequest.h new file mode 100644 index 000000000..7e6aad49b --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGDELETINGTASKREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGDELETINGTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitNodeLocalConfigDeletingTaskRequest : public RpcServiceRequest + { + + public: + SubmitNodeLocalConfigDeletingTaskRequest(); + ~SubmitNodeLocalConfigDeletingTaskRequest(); + + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string devEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGDELETINGTASKREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskResult.h new file mode 100644 index 000000000..4507aca97 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeLocalConfigDeletingTaskResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGDELETINGTASKRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGDELETINGTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitNodeLocalConfigDeletingTaskResult : public ServiceResult + { + public: + + + SubmitNodeLocalConfigDeletingTaskResult(); + explicit SubmitNodeLocalConfigDeletingTaskResult(const std::string &payload); + ~SubmitNodeLocalConfigDeletingTaskResult(); + long getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + long data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODELOCALCONFIGDELETINGTASKRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderRequest.h b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderRequest.h new file mode 100644 index 000000000..6383210c3 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODETUPLEORDERREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODETUPLEORDERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitNodeTupleOrderRequest : public RpcServiceRequest + { + + public: + SubmitNodeTupleOrderRequest(); + ~SubmitNodeTupleOrderRequest(); + + std::string getLoraVersion()const; + void setLoraVersion(const std::string& loraVersion); + std::string getTupleType()const; + void setTupleType(const std::string& tupleType); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + long getRequiredCount()const; + void setRequiredCount(long requiredCount); + + private: + std::string loraVersion_; + std::string tupleType_; + std::string apiProduct_; + std::string apiRevision_; + long requiredCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODETUPLEORDERREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderResult.h b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderResult.h new file mode 100644 index 000000000..9ee1a26cf --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/SubmitNodeTupleOrderResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODETUPLEORDERRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODETUPLEORDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT SubmitNodeTupleOrderResult : public ServiceResult + { + public: + + + SubmitNodeTupleOrderResult(); + explicit SubmitNodeTupleOrderResult(const std::string &payload); + ~SubmitNodeTupleOrderResult(); + std::string getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_SUBMITNODETUPLEORDERRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupRequest.h new file mode 100644 index 000000000..2b71fc954 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UNBINDJOINPERMISSIONFROMNODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UNBINDJOINPERMISSIONFROMNODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UnbindJoinPermissionFromNodeGroupRequest : public RpcServiceRequest + { + + public: + UnbindJoinPermissionFromNodeGroupRequest(); + ~UnbindJoinPermissionFromNodeGroupRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UNBINDJOINPERMISSIONFROMNODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupResult.h new file mode 100644 index 000000000..d0691692f --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UnbindJoinPermissionFromNodeGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UNBINDJOINPERMISSIONFROMNODEGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UNBINDJOINPERMISSIONFROMNODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UnbindJoinPermissionFromNodeGroupResult : public ServiceResult + { + public: + + + UnbindJoinPermissionFromNodeGroupResult(); + explicit UnbindJoinPermissionFromNodeGroupResult(const std::string &payload); + ~UnbindJoinPermissionFromNodeGroupResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UNBINDJOINPERMISSIONFROMNODEGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigRequest.h new file mode 100644 index 000000000..14e8672df --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHCONFIGREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateDataDispatchConfigRequest : public RpcServiceRequest + { + + public: + UpdateDataDispatchConfigRequest(); + ~UpdateDataDispatchConfigRequest(); + + std::string getUplinkTopic()const; + void setUplinkTopic(const std::string& uplinkTopic); + bool getDebugSwitch()const; + void setDebugSwitch(bool debugSwitch); + std::string getProductType()const; + void setProductType(const std::string& productType); + std::string getProductName()const; + void setProductName(const std::string& productName); + std::string getDataDispatchDestination()const; + void setDataDispatchDestination(const std::string& dataDispatchDestination); + std::string getUplinkRegionName()const; + void setUplinkRegionName(const std::string& uplinkRegionName); + std::string getProductKey()const; + void setProductKey(const std::string& productKey); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string uplinkTopic_; + bool debugSwitch_; + std::string productType_; + std::string productName_; + std::string dataDispatchDestination_; + std::string uplinkRegionName_; + std::string productKey_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHCONFIGREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigResult.h new file mode 100644 index 000000000..241d21eea --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchConfigResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHCONFIGRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateDataDispatchConfigResult : public ServiceResult + { + public: + + + UpdateDataDispatchConfigResult(); + explicit UpdateDataDispatchConfigResult(const std::string &payload); + ~UpdateDataDispatchConfigResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHCONFIGRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateRequest.h new file mode 100644 index 000000000..740b03c1a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHENABLINGSTATEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHENABLINGSTATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateDataDispatchEnablingStateRequest : public RpcServiceRequest + { + + public: + UpdateDataDispatchEnablingStateRequest(); + ~UpdateDataDispatchEnablingStateRequest(); + + bool getDataDispatchEnabled()const; + void setDataDispatchEnabled(bool dataDispatchEnabled); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + bool dataDispatchEnabled_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHENABLINGSTATEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateResult.h new file mode 100644 index 000000000..2ed865561 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateDataDispatchEnablingStateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHENABLINGSTATERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHENABLINGSTATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateDataDispatchEnablingStateResult : public ServiceResult + { + public: + + + UpdateDataDispatchEnablingStateResult(); + explicit UpdateDataDispatchEnablingStateResult(const std::string &payload); + ~UpdateDataDispatchEnablingStateResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEDATADISPATCHENABLINGSTATERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateRequest.h new file mode 100644 index 000000000..f26c441df --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYENABLINGSTATEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYENABLINGSTATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateGatewayEnablingStateRequest : public RpcServiceRequest + { + + public: + UpdateGatewayEnablingStateRequest(); + ~UpdateGatewayEnablingStateRequest(); + + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + bool enabled_; + std::string iotInstanceId_; + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYENABLINGSTATEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateResult.h new file mode 100644 index 000000000..0f9c37dea --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayEnablingStateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYENABLINGSTATERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYENABLINGSTATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateGatewayEnablingStateResult : public ServiceResult + { + public: + + + UpdateGatewayEnablingStateResult(); + explicit UpdateGatewayEnablingStateResult(const std::string &payload); + ~UpdateGatewayEnablingStateResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYENABLINGSTATERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayRequest.h new file mode 100644 index 000000000..3618064df --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayRequest.h @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateGatewayRequest : public RpcServiceRequest + { + + public: + UpdateGatewayRequest(); + ~UpdateGatewayRequest(); + + std::string getCity()const; + void setCity(const std::string& city); + float getLatitude()const; + void setLatitude(float latitude); + std::string getDescription()const; + void setDescription(const std::string& description); + long getAddressCode()const; + void setAddressCode(long addressCode); + std::string getGisCoordinateSystem()const; + void setGisCoordinateSystem(const std::string& gisCoordinateSystem); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + float getLongitude()const; + void setLongitude(float longitude); + std::string getAddress()const; + void setAddress(const std::string& address); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getDistrict()const; + void setDistrict(const std::string& district); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getName()const; + void setName(const std::string& name); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getCommunicationMode()const; + void setCommunicationMode(const std::string& communicationMode); + + private: + std::string city_; + float latitude_; + std::string description_; + long addressCode_; + std::string gisCoordinateSystem_; + std::string iotInstanceId_; + float longitude_; + std::string address_; + std::string gwEui_; + long freqBandPlanGroupId_; + std::string district_; + std::string apiProduct_; + std::string name_; + std::string apiRevision_; + std::string communicationMode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayResult.h new file mode 100644 index 000000000..05df41e8c --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewayResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateGatewayResult : public ServiceResult + { + public: + + + UpdateGatewayResult(); + explicit UpdateGatewayResult(const std::string &payload); + ~UpdateGatewayResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlRequest.h new file mode 100644 index 000000000..1af5db1f5 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYSSHCTRLREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYSSHCTRLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateGatewaySshCtrlRequest : public RpcServiceRequest + { + + public: + UpdateGatewaySshCtrlRequest(); + ~UpdateGatewaySshCtrlRequest(); + + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getGwEui()const; + void setGwEui(const std::string& gwEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + bool enabled_; + std::string iotInstanceId_; + std::string gwEui_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYSSHCTRLREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlResult.h new file mode 100644 index 000000000..52bf63a1e --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateGatewaySshCtrlResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYSSHCTRLRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYSSHCTRLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateGatewaySshCtrlResult : public ServiceResult + { + public: + + + UpdateGatewaySshCtrlResult(); + explicit UpdateGatewaySshCtrlResult(const std::string &payload); + ~UpdateGatewaySshCtrlResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEGATEWAYSSHCTRLRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateRequest.h new file mode 100644 index 000000000..eb5e27406 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEENABLINGSTATEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEENABLINGSTATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateNodeEnablingStateRequest : public RpcServiceRequest + { + + public: + UpdateNodeEnablingStateRequest(); + ~UpdateNodeEnablingStateRequest(); + + std::string getDevEui()const; + void setDevEui(const std::string& devEui); + bool getIsEnable()const; + void setIsEnable(bool isEnable); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string devEui_; + bool isEnable_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEENABLINGSTATEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateResult.h new file mode 100644 index 000000000..f3641f171 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeEnablingStateResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEENABLINGSTATERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEENABLINGSTATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateNodeEnablingStateResult : public ServiceResult + { + public: + + + UpdateNodeEnablingStateResult(); + explicit UpdateNodeEnablingStateResult(const std::string &payload); + ~UpdateNodeEnablingStateResult(); + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEENABLINGSTATERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupRequest.h new file mode 100644 index 000000000..edd15e324 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateNodeGroupRequest : public RpcServiceRequest + { + + public: + UpdateNodeGroupRequest(); + ~UpdateNodeGroupRequest(); + + std::string getNodeGroupName()const; + void setNodeGroupName(const std::string& nodeGroupName); + std::string getNodeGroupId()const; + void setNodeGroupId(const std::string& nodeGroupId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string nodeGroupName_; + std::string nodeGroupId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEGROUPREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupResult.h new file mode 100644 index 000000000..1097447c4 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateNodeGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEGROUPRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateNodeGroupResult : public ServiceResult + { + public: + + + UpdateNodeGroupResult(); + explicit UpdateNodeGroupResult(const std::string &payload); + ~UpdateNodeGroupResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATENODEGROUPRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateRequest.h new file mode 100644 index 000000000..e583eb427 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATENOTIFICATIONSHANDLESTATEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATENOTIFICATIONSHANDLESTATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateNotificationsHandleStateRequest : public RpcServiceRequest + { + + public: + UpdateNotificationsHandleStateRequest(); + ~UpdateNotificationsHandleStateRequest(); + + std::string getTargetHandleState()const; + void setTargetHandleState(const std::string& targetHandleState); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::vector getNotificationId()const; + void setNotificationId(const std::vector& notificationId); + + private: + std::string targetHandleState_; + std::string apiProduct_; + std::string apiRevision_; + std::vector notificationId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATENOTIFICATIONSHANDLESTATEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateResult.h new file mode 100644 index 000000000..f923039d4 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateNotificationsHandleStateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATENOTIFICATIONSHANDLESTATERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATENOTIFICATIONSHANDLESTATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateNotificationsHandleStateResult : public ServiceResult + { + public: + + + UpdateNotificationsHandleStateResult(); + explicit UpdateNotificationsHandleStateResult(const std::string &payload); + ~UpdateNotificationsHandleStateResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATENOTIFICATIONSHANDLESTATERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.h new file mode 100644 index 000000000..aca609676 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONENABLINGSTATEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONENABLINGSTATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateOwnedLocalJoinPermissionEnablingStateRequest : public RpcServiceRequest + { + + public: + UpdateOwnedLocalJoinPermissionEnablingStateRequest(); + ~UpdateOwnedLocalJoinPermissionEnablingStateRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + bool enabled_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONENABLINGSTATEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.h new file mode 100644 index 000000000..c38c8459a --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONENABLINGSTATERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONENABLINGSTATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateOwnedLocalJoinPermissionEnablingStateResult : public ServiceResult + { + public: + + + UpdateOwnedLocalJoinPermissionEnablingStateResult(); + explicit UpdateOwnedLocalJoinPermissionEnablingStateResult(const std::string &payload); + ~UpdateOwnedLocalJoinPermissionEnablingStateResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONENABLINGSTATERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionRequest.h new file mode 100644 index 000000000..d5f3c2204 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateOwnedLocalJoinPermissionRequest : public RpcServiceRequest + { + + public: + UpdateOwnedLocalJoinPermissionRequest(); + ~UpdateOwnedLocalJoinPermissionRequest(); + + std::string getRxDelay()const; + void setRxDelay(const std::string& rxDelay); + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getClassMode()const; + void setClassMode(const std::string& classMode); + long getFreqBandPlanGroupId()const; + void setFreqBandPlanGroupId(long freqBandPlanGroupId); + std::string getJoinEui()const; + void setJoinEui(const std::string& joinEui); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getJoinPermissionName()const; + void setJoinPermissionName(const std::string& joinPermissionName); + std::string getDataRate()const; + void setDataRate(const std::string& dataRate); + + private: + std::string rxDelay_; + std::string joinPermissionId_; + std::string iotInstanceId_; + std::string classMode_; + long freqBandPlanGroupId_; + std::string joinEui_; + std::string apiProduct_; + std::string apiRevision_; + std::string joinPermissionName_; + std::string dataRate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionResult.h new file mode 100644 index 000000000..203090da0 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateOwnedLocalJoinPermissionResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateOwnedLocalJoinPermissionResult : public ServiceResult + { + public: + + + UpdateOwnedLocalJoinPermissionResult(); + explicit UpdateOwnedLocalJoinPermissionResult(const std::string &payload); + ~UpdateOwnedLocalJoinPermissionResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEOWNEDLOCALJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateRequest.h new file mode 100644 index 000000000..b471d8c1d --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONENABLINGSTATEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONENABLINGSTATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateRoamingJoinPermissionEnablingStateRequest : public RpcServiceRequest + { + + public: + UpdateRoamingJoinPermissionEnablingStateRequest(); + ~UpdateRoamingJoinPermissionEnablingStateRequest(); + + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string joinPermissionId_; + bool enabled_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONENABLINGSTATEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateResult.h new file mode 100644 index 000000000..1bd2d3647 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionEnablingStateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONENABLINGSTATERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONENABLINGSTATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateRoamingJoinPermissionEnablingStateResult : public ServiceResult + { + public: + + + UpdateRoamingJoinPermissionEnablingStateResult(); + explicit UpdateRoamingJoinPermissionEnablingStateResult(const std::string &payload); + ~UpdateRoamingJoinPermissionEnablingStateResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONENABLINGSTATERESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionRequest.h new file mode 100644 index 000000000..a2a1ed7d1 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateRoamingJoinPermissionRequest : public RpcServiceRequest + { + + public: + UpdateRoamingJoinPermissionRequest(); + ~UpdateRoamingJoinPermissionRequest(); + + std::string getRxDelay()const; + void setRxDelay(const std::string& rxDelay); + std::string getJoinPermissionId()const; + void setJoinPermissionId(const std::string& joinPermissionId); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getJoinPermissionName()const; + void setJoinPermissionName(const std::string& joinPermissionName); + std::string getDataRate()const; + void setDataRate(const std::string& dataRate); + + private: + std::string rxDelay_; + std::string joinPermissionId_; + std::string apiProduct_; + std::string apiRevision_; + std::string joinPermissionName_; + std::string dataRate_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionResult.h new file mode 100644 index 000000000..2414e7e79 --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateRoamingJoinPermissionResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONRESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateRoamingJoinPermissionResult : public ServiceResult + { + public: + + + UpdateRoamingJoinPermissionResult(); + explicit UpdateRoamingJoinPermissionResult(const std::string &payload); + ~UpdateRoamingJoinPermissionResult(); + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEROAMINGJOINPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateRequest.h b/linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateRequest.h new file mode 100644 index 000000000..1a3f896ee --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEUSERISOLATIONSTATEREQUEST_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEUSERISOLATIONSTATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateUserIsolationStateRequest : public RpcServiceRequest + { + + public: + UpdateUserIsolationStateRequest(); + ~UpdateUserIsolationStateRequest(); + + bool getIsolated()const; + void setIsolated(bool isolated); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + bool isolated_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEUSERISOLATIONSTATEREQUEST_H_ \ No newline at end of file diff --git a/linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateResult.h b/linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateResult.h new file mode 100644 index 000000000..2b20aec9b --- /dev/null +++ b/linkwan/include/alibabacloud/linkwan/model/UpdateUserIsolationStateResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LINKWAN_MODEL_UPDATEUSERISOLATIONSTATERESULT_H_ +#define ALIBABACLOUD_LINKWAN_MODEL_UPDATEUSERISOLATIONSTATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace LinkWAN + { + namespace Model + { + class ALIBABACLOUD_LINKWAN_EXPORT UpdateUserIsolationStateResult : public ServiceResult + { + public: + + + UpdateUserIsolationStateResult(); + explicit UpdateUserIsolationStateResult(const std::string &payload); + ~UpdateUserIsolationStateResult(); + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LINKWAN_MODEL_UPDATEUSERISOLATIONSTATERESULT_H_ \ No newline at end of file diff --git a/linkwan/src/LinkWANClient.cc b/linkwan/src/LinkWANClient.cc new file mode 100644 index 000000000..7803fa7a0 --- /dev/null +++ b/linkwan/src/LinkWANClient.cc @@ -0,0 +1,3509 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +namespace +{ + const std::string SERVICE_NAME = "LinkWAN"; +} + +LinkWANClient::LinkWANClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "linkwan"); +} + +LinkWANClient::LinkWANClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "linkwan"); +} + +LinkWANClient::LinkWANClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "linkwan"); +} + +LinkWANClient::~LinkWANClient() +{} + +LinkWANClient::AcceptJoinPermissionAuthOrderOutcome LinkWANClient::acceptJoinPermissionAuthOrder(const AcceptJoinPermissionAuthOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AcceptJoinPermissionAuthOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AcceptJoinPermissionAuthOrderOutcome(AcceptJoinPermissionAuthOrderResult(outcome.result())); + else + return AcceptJoinPermissionAuthOrderOutcome(outcome.error()); +} + +void LinkWANClient::acceptJoinPermissionAuthOrderAsync(const AcceptJoinPermissionAuthOrderRequest& request, const AcceptJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, acceptJoinPermissionAuthOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::AcceptJoinPermissionAuthOrderOutcomeCallable LinkWANClient::acceptJoinPermissionAuthOrderCallable(const AcceptJoinPermissionAuthOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->acceptJoinPermissionAuthOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::AddNodeToGroupOutcome LinkWANClient::addNodeToGroup(const AddNodeToGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddNodeToGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddNodeToGroupOutcome(AddNodeToGroupResult(outcome.result())); + else + return AddNodeToGroupOutcome(outcome.error()); +} + +void LinkWANClient::addNodeToGroupAsync(const AddNodeToGroupRequest& request, const AddNodeToGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addNodeToGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::AddNodeToGroupOutcomeCallable LinkWANClient::addNodeToGroupCallable(const AddNodeToGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addNodeToGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ApplyRoamingJoinPermissionOutcome LinkWANClient::applyRoamingJoinPermission(const ApplyRoamingJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ApplyRoamingJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ApplyRoamingJoinPermissionOutcome(ApplyRoamingJoinPermissionResult(outcome.result())); + else + return ApplyRoamingJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::applyRoamingJoinPermissionAsync(const ApplyRoamingJoinPermissionRequest& request, const ApplyRoamingJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, applyRoamingJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ApplyRoamingJoinPermissionOutcomeCallable LinkWANClient::applyRoamingJoinPermissionCallable(const ApplyRoamingJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->applyRoamingJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::BindJoinPermissionToNodeGroupOutcome LinkWANClient::bindJoinPermissionToNodeGroup(const BindJoinPermissionToNodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindJoinPermissionToNodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindJoinPermissionToNodeGroupOutcome(BindJoinPermissionToNodeGroupResult(outcome.result())); + else + return BindJoinPermissionToNodeGroupOutcome(outcome.error()); +} + +void LinkWANClient::bindJoinPermissionToNodeGroupAsync(const BindJoinPermissionToNodeGroupRequest& request, const BindJoinPermissionToNodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindJoinPermissionToNodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::BindJoinPermissionToNodeGroupOutcomeCallable LinkWANClient::bindJoinPermissionToNodeGroupCallable(const BindJoinPermissionToNodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindJoinPermissionToNodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CancelJoinPermissionAuthOrderOutcome LinkWANClient::cancelJoinPermissionAuthOrder(const CancelJoinPermissionAuthOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelJoinPermissionAuthOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelJoinPermissionAuthOrderOutcome(CancelJoinPermissionAuthOrderResult(outcome.result())); + else + return CancelJoinPermissionAuthOrderOutcome(outcome.error()); +} + +void LinkWANClient::cancelJoinPermissionAuthOrderAsync(const CancelJoinPermissionAuthOrderRequest& request, const CancelJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelJoinPermissionAuthOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CancelJoinPermissionAuthOrderOutcomeCallable LinkWANClient::cancelJoinPermissionAuthOrderCallable(const CancelJoinPermissionAuthOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelJoinPermissionAuthOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CheckCloudProductOpenStatusOutcome LinkWANClient::checkCloudProductOpenStatus(const CheckCloudProductOpenStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckCloudProductOpenStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckCloudProductOpenStatusOutcome(CheckCloudProductOpenStatusResult(outcome.result())); + else + return CheckCloudProductOpenStatusOutcome(outcome.error()); +} + +void LinkWANClient::checkCloudProductOpenStatusAsync(const CheckCloudProductOpenStatusRequest& request, const CheckCloudProductOpenStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkCloudProductOpenStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CheckCloudProductOpenStatusOutcomeCallable LinkWANClient::checkCloudProductOpenStatusCallable(const CheckCloudProductOpenStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkCloudProductOpenStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CheckUserChargeStatusOutcome LinkWANClient::checkUserChargeStatus(const CheckUserChargeStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckUserChargeStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckUserChargeStatusOutcome(CheckUserChargeStatusResult(outcome.result())); + else + return CheckUserChargeStatusOutcome(outcome.error()); +} + +void LinkWANClient::checkUserChargeStatusAsync(const CheckUserChargeStatusRequest& request, const CheckUserChargeStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkUserChargeStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CheckUserChargeStatusOutcomeCallable LinkWANClient::checkUserChargeStatusCallable(const CheckUserChargeStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkUserChargeStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountGatewayTupleOrdersOutcome LinkWANClient::countGatewayTupleOrders(const CountGatewayTupleOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountGatewayTupleOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountGatewayTupleOrdersOutcome(CountGatewayTupleOrdersResult(outcome.result())); + else + return CountGatewayTupleOrdersOutcome(outcome.error()); +} + +void LinkWANClient::countGatewayTupleOrdersAsync(const CountGatewayTupleOrdersRequest& request, const CountGatewayTupleOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countGatewayTupleOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountGatewayTupleOrdersOutcomeCallable LinkWANClient::countGatewayTupleOrdersCallable(const CountGatewayTupleOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countGatewayTupleOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountGatewaysOutcome LinkWANClient::countGateways(const CountGatewaysRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountGatewaysOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountGatewaysOutcome(CountGatewaysResult(outcome.result())); + else + return CountGatewaysOutcome(outcome.error()); +} + +void LinkWANClient::countGatewaysAsync(const CountGatewaysRequest& request, const CountGatewaysAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countGateways(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountGatewaysOutcomeCallable LinkWANClient::countGatewaysCallable(const CountGatewaysRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countGateways(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountNodeGroupsOutcome LinkWANClient::countNodeGroups(const CountNodeGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountNodeGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountNodeGroupsOutcome(CountNodeGroupsResult(outcome.result())); + else + return CountNodeGroupsOutcome(outcome.error()); +} + +void LinkWANClient::countNodeGroupsAsync(const CountNodeGroupsRequest& request, const CountNodeGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countNodeGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountNodeGroupsOutcomeCallable LinkWANClient::countNodeGroupsCallable(const CountNodeGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countNodeGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountNodeTupleOrdersOutcome LinkWANClient::countNodeTupleOrders(const CountNodeTupleOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountNodeTupleOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountNodeTupleOrdersOutcome(CountNodeTupleOrdersResult(outcome.result())); + else + return CountNodeTupleOrdersOutcome(outcome.error()); +} + +void LinkWANClient::countNodeTupleOrdersAsync(const CountNodeTupleOrdersRequest& request, const CountNodeTupleOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countNodeTupleOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountNodeTupleOrdersOutcomeCallable LinkWANClient::countNodeTupleOrdersCallable(const CountNodeTupleOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countNodeTupleOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountNodesByNodeGroupIdOutcome LinkWANClient::countNodesByNodeGroupId(const CountNodesByNodeGroupIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountNodesByNodeGroupIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountNodesByNodeGroupIdOutcome(CountNodesByNodeGroupIdResult(outcome.result())); + else + return CountNodesByNodeGroupIdOutcome(outcome.error()); +} + +void LinkWANClient::countNodesByNodeGroupIdAsync(const CountNodesByNodeGroupIdRequest& request, const CountNodesByNodeGroupIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countNodesByNodeGroupId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountNodesByNodeGroupIdOutcomeCallable LinkWANClient::countNodesByNodeGroupIdCallable(const CountNodesByNodeGroupIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countNodesByNodeGroupId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountNodesByOwnedJoinPermissionIdOutcome LinkWANClient::countNodesByOwnedJoinPermissionId(const CountNodesByOwnedJoinPermissionIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountNodesByOwnedJoinPermissionIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountNodesByOwnedJoinPermissionIdOutcome(CountNodesByOwnedJoinPermissionIdResult(outcome.result())); + else + return CountNodesByOwnedJoinPermissionIdOutcome(outcome.error()); +} + +void LinkWANClient::countNodesByOwnedJoinPermissionIdAsync(const CountNodesByOwnedJoinPermissionIdRequest& request, const CountNodesByOwnedJoinPermissionIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countNodesByOwnedJoinPermissionId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountNodesByOwnedJoinPermissionIdOutcomeCallable LinkWANClient::countNodesByOwnedJoinPermissionIdCallable(const CountNodesByOwnedJoinPermissionIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countNodesByOwnedJoinPermissionId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountNotificationsOutcome LinkWANClient::countNotifications(const CountNotificationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountNotificationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountNotificationsOutcome(CountNotificationsResult(outcome.result())); + else + return CountNotificationsOutcome(outcome.error()); +} + +void LinkWANClient::countNotificationsAsync(const CountNotificationsRequest& request, const CountNotificationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countNotifications(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountNotificationsOutcomeCallable LinkWANClient::countNotificationsCallable(const CountNotificationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countNotifications(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountOwnedJoinPermissionsOutcome LinkWANClient::countOwnedJoinPermissions(const CountOwnedJoinPermissionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountOwnedJoinPermissionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountOwnedJoinPermissionsOutcome(CountOwnedJoinPermissionsResult(outcome.result())); + else + return CountOwnedJoinPermissionsOutcome(outcome.error()); +} + +void LinkWANClient::countOwnedJoinPermissionsAsync(const CountOwnedJoinPermissionsRequest& request, const CountOwnedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countOwnedJoinPermissions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountOwnedJoinPermissionsOutcomeCallable LinkWANClient::countOwnedJoinPermissionsCallable(const CountOwnedJoinPermissionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countOwnedJoinPermissions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CountRentedJoinPermissionsOutcome LinkWANClient::countRentedJoinPermissions(const CountRentedJoinPermissionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CountRentedJoinPermissionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CountRentedJoinPermissionsOutcome(CountRentedJoinPermissionsResult(outcome.result())); + else + return CountRentedJoinPermissionsOutcome(outcome.error()); +} + +void LinkWANClient::countRentedJoinPermissionsAsync(const CountRentedJoinPermissionsRequest& request, const CountRentedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, countRentedJoinPermissions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CountRentedJoinPermissionsOutcomeCallable LinkWANClient::countRentedJoinPermissionsCallable(const CountRentedJoinPermissionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->countRentedJoinPermissions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CreateCustomLocalJoinPermissionOutcome LinkWANClient::createCustomLocalJoinPermission(const CreateCustomLocalJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCustomLocalJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCustomLocalJoinPermissionOutcome(CreateCustomLocalJoinPermissionResult(outcome.result())); + else + return CreateCustomLocalJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::createCustomLocalJoinPermissionAsync(const CreateCustomLocalJoinPermissionRequest& request, const CreateCustomLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCustomLocalJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CreateCustomLocalJoinPermissionOutcomeCallable LinkWANClient::createCustomLocalJoinPermissionCallable(const CreateCustomLocalJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCustomLocalJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CreateGatewayOutcome LinkWANClient::createGateway(const CreateGatewayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateGatewayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateGatewayOutcome(CreateGatewayResult(outcome.result())); + else + return CreateGatewayOutcome(outcome.error()); +} + +void LinkWANClient::createGatewayAsync(const CreateGatewayRequest& request, const CreateGatewayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createGateway(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CreateGatewayOutcomeCallable LinkWANClient::createGatewayCallable(const CreateGatewayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createGateway(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CreateLocalJoinPermissionOutcome LinkWANClient::createLocalJoinPermission(const CreateLocalJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateLocalJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateLocalJoinPermissionOutcome(CreateLocalJoinPermissionResult(outcome.result())); + else + return CreateLocalJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::createLocalJoinPermissionAsync(const CreateLocalJoinPermissionRequest& request, const CreateLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createLocalJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CreateLocalJoinPermissionOutcomeCallable LinkWANClient::createLocalJoinPermissionCallable(const CreateLocalJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createLocalJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::CreateNodeGroupOutcome LinkWANClient::createNodeGroup(const CreateNodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateNodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateNodeGroupOutcome(CreateNodeGroupResult(outcome.result())); + else + return CreateNodeGroupOutcome(outcome.error()); +} + +void LinkWANClient::createNodeGroupAsync(const CreateNodeGroupRequest& request, const CreateNodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createNodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::CreateNodeGroupOutcomeCallable LinkWANClient::createNodeGroupCallable(const CreateNodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createNodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::DeleteGatewayOutcome LinkWANClient::deleteGateway(const DeleteGatewayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteGatewayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteGatewayOutcome(DeleteGatewayResult(outcome.result())); + else + return DeleteGatewayOutcome(outcome.error()); +} + +void LinkWANClient::deleteGatewayAsync(const DeleteGatewayRequest& request, const DeleteGatewayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteGateway(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::DeleteGatewayOutcomeCallable LinkWANClient::deleteGatewayCallable(const DeleteGatewayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteGateway(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::DeleteLocalJoinPermissionOutcome LinkWANClient::deleteLocalJoinPermission(const DeleteLocalJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLocalJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLocalJoinPermissionOutcome(DeleteLocalJoinPermissionResult(outcome.result())); + else + return DeleteLocalJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::deleteLocalJoinPermissionAsync(const DeleteLocalJoinPermissionRequest& request, const DeleteLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLocalJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::DeleteLocalJoinPermissionOutcomeCallable LinkWANClient::deleteLocalJoinPermissionCallable(const DeleteLocalJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLocalJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::DeleteNodeGroupOutcome LinkWANClient::deleteNodeGroup(const DeleteNodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteNodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteNodeGroupOutcome(DeleteNodeGroupResult(outcome.result())); + else + return DeleteNodeGroupOutcome(outcome.error()); +} + +void LinkWANClient::deleteNodeGroupAsync(const DeleteNodeGroupRequest& request, const DeleteNodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteNodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::DeleteNodeGroupOutcomeCallable LinkWANClient::deleteNodeGroupCallable(const DeleteNodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteNodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::DescribeRegionsOutcome LinkWANClient::describeRegions(const DescribeRegionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRegionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result())); + else + return DescribeRegionsOutcome(outcome.error()); +} + +void LinkWANClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRegions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::DescribeRegionsOutcomeCallable LinkWANClient::describeRegionsCallable(const DescribeRegionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRegions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetFreqBandPlanGroupOutcome LinkWANClient::getFreqBandPlanGroup(const GetFreqBandPlanGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFreqBandPlanGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFreqBandPlanGroupOutcome(GetFreqBandPlanGroupResult(outcome.result())); + else + return GetFreqBandPlanGroupOutcome(outcome.error()); +} + +void LinkWANClient::getFreqBandPlanGroupAsync(const GetFreqBandPlanGroupRequest& request, const GetFreqBandPlanGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFreqBandPlanGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetFreqBandPlanGroupOutcomeCallable LinkWANClient::getFreqBandPlanGroupCallable(const GetFreqBandPlanGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFreqBandPlanGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetGatewayOutcome LinkWANClient::getGateway(const GetGatewayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetGatewayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetGatewayOutcome(GetGatewayResult(outcome.result())); + else + return GetGatewayOutcome(outcome.error()); +} + +void LinkWANClient::getGatewayAsync(const GetGatewayRequest& request, const GetGatewayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getGateway(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetGatewayOutcomeCallable LinkWANClient::getGatewayCallable(const GetGatewayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getGateway(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetGatewayPacketStatOutcome LinkWANClient::getGatewayPacketStat(const GetGatewayPacketStatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetGatewayPacketStatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetGatewayPacketStatOutcome(GetGatewayPacketStatResult(outcome.result())); + else + return GetGatewayPacketStatOutcome(outcome.error()); +} + +void LinkWANClient::getGatewayPacketStatAsync(const GetGatewayPacketStatRequest& request, const GetGatewayPacketStatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getGatewayPacketStat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetGatewayPacketStatOutcomeCallable LinkWANClient::getGatewayPacketStatCallable(const GetGatewayPacketStatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getGatewayPacketStat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetGatewayStatusStatOutcome LinkWANClient::getGatewayStatusStat(const GetGatewayStatusStatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetGatewayStatusStatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetGatewayStatusStatOutcome(GetGatewayStatusStatResult(outcome.result())); + else + return GetGatewayStatusStatOutcome(outcome.error()); +} + +void LinkWANClient::getGatewayStatusStatAsync(const GetGatewayStatusStatRequest& request, const GetGatewayStatusStatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getGatewayStatusStat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetGatewayStatusStatOutcomeCallable LinkWANClient::getGatewayStatusStatCallable(const GetGatewayStatusStatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getGatewayStatusStat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetGatewayTransferPacketsDownloadUrlOutcome LinkWANClient::getGatewayTransferPacketsDownloadUrl(const GetGatewayTransferPacketsDownloadUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetGatewayTransferPacketsDownloadUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetGatewayTransferPacketsDownloadUrlOutcome(GetGatewayTransferPacketsDownloadUrlResult(outcome.result())); + else + return GetGatewayTransferPacketsDownloadUrlOutcome(outcome.error()); +} + +void LinkWANClient::getGatewayTransferPacketsDownloadUrlAsync(const GetGatewayTransferPacketsDownloadUrlRequest& request, const GetGatewayTransferPacketsDownloadUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getGatewayTransferPacketsDownloadUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetGatewayTransferPacketsDownloadUrlOutcomeCallable LinkWANClient::getGatewayTransferPacketsDownloadUrlCallable(const GetGatewayTransferPacketsDownloadUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getGatewayTransferPacketsDownloadUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetGatewayTupleOrderOutcome LinkWANClient::getGatewayTupleOrder(const GetGatewayTupleOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetGatewayTupleOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetGatewayTupleOrderOutcome(GetGatewayTupleOrderResult(outcome.result())); + else + return GetGatewayTupleOrderOutcome(outcome.error()); +} + +void LinkWANClient::getGatewayTupleOrderAsync(const GetGatewayTupleOrderRequest& request, const GetGatewayTupleOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getGatewayTupleOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetGatewayTupleOrderOutcomeCallable LinkWANClient::getGatewayTupleOrderCallable(const GetGatewayTupleOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getGatewayTupleOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetGatewayTuplesDownloadUrlOutcome LinkWANClient::getGatewayTuplesDownloadUrl(const GetGatewayTuplesDownloadUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetGatewayTuplesDownloadUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetGatewayTuplesDownloadUrlOutcome(GetGatewayTuplesDownloadUrlResult(outcome.result())); + else + return GetGatewayTuplesDownloadUrlOutcome(outcome.error()); +} + +void LinkWANClient::getGatewayTuplesDownloadUrlAsync(const GetGatewayTuplesDownloadUrlRequest& request, const GetGatewayTuplesDownloadUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getGatewayTuplesDownloadUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetGatewayTuplesDownloadUrlOutcomeCallable LinkWANClient::getGatewayTuplesDownloadUrlCallable(const GetGatewayTuplesDownloadUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getGatewayTuplesDownloadUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetJoinPermissionAuthOrderOutcome LinkWANClient::getJoinPermissionAuthOrder(const GetJoinPermissionAuthOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetJoinPermissionAuthOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetJoinPermissionAuthOrderOutcome(GetJoinPermissionAuthOrderResult(outcome.result())); + else + return GetJoinPermissionAuthOrderOutcome(outcome.error()); +} + +void LinkWANClient::getJoinPermissionAuthOrderAsync(const GetJoinPermissionAuthOrderRequest& request, const GetJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getJoinPermissionAuthOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetJoinPermissionAuthOrderOutcomeCallable LinkWANClient::getJoinPermissionAuthOrderCallable(const GetJoinPermissionAuthOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getJoinPermissionAuthOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetLocalConfigSyncTaskOutcome LinkWANClient::getLocalConfigSyncTask(const GetLocalConfigSyncTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetLocalConfigSyncTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetLocalConfigSyncTaskOutcome(GetLocalConfigSyncTaskResult(outcome.result())); + else + return GetLocalConfigSyncTaskOutcome(outcome.error()); +} + +void LinkWANClient::getLocalConfigSyncTaskAsync(const GetLocalConfigSyncTaskRequest& request, const GetLocalConfigSyncTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getLocalConfigSyncTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetLocalConfigSyncTaskOutcomeCallable LinkWANClient::getLocalConfigSyncTaskCallable(const GetLocalConfigSyncTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getLocalConfigSyncTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeOutcome LinkWANClient::getNode(const GetNodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeOutcome(GetNodeResult(outcome.result())); + else + return GetNodeOutcome(outcome.error()); +} + +void LinkWANClient::getNodeAsync(const GetNodeRequest& request, const GetNodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeOutcomeCallable LinkWANClient::getNodeCallable(const GetNodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeGroupOutcome LinkWANClient::getNodeGroup(const GetNodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeGroupOutcome(GetNodeGroupResult(outcome.result())); + else + return GetNodeGroupOutcome(outcome.error()); +} + +void LinkWANClient::getNodeGroupAsync(const GetNodeGroupRequest& request, const GetNodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeGroupOutcomeCallable LinkWANClient::getNodeGroupCallable(const GetNodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeGroupTransferPacketsDownloadUrlOutcome LinkWANClient::getNodeGroupTransferPacketsDownloadUrl(const GetNodeGroupTransferPacketsDownloadUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeGroupTransferPacketsDownloadUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeGroupTransferPacketsDownloadUrlOutcome(GetNodeGroupTransferPacketsDownloadUrlResult(outcome.result())); + else + return GetNodeGroupTransferPacketsDownloadUrlOutcome(outcome.error()); +} + +void LinkWANClient::getNodeGroupTransferPacketsDownloadUrlAsync(const GetNodeGroupTransferPacketsDownloadUrlRequest& request, const GetNodeGroupTransferPacketsDownloadUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNodeGroupTransferPacketsDownloadUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeGroupTransferPacketsDownloadUrlOutcomeCallable LinkWANClient::getNodeGroupTransferPacketsDownloadUrlCallable(const GetNodeGroupTransferPacketsDownloadUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNodeGroupTransferPacketsDownloadUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeLocalConfigOutcome LinkWANClient::getNodeLocalConfig(const GetNodeLocalConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeLocalConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeLocalConfigOutcome(GetNodeLocalConfigResult(outcome.result())); + else + return GetNodeLocalConfigOutcome(outcome.error()); +} + +void LinkWANClient::getNodeLocalConfigAsync(const GetNodeLocalConfigRequest& request, const GetNodeLocalConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNodeLocalConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeLocalConfigOutcomeCallable LinkWANClient::getNodeLocalConfigCallable(const GetNodeLocalConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNodeLocalConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeTransferPacketOutcome LinkWANClient::getNodeTransferPacket(const GetNodeTransferPacketRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeTransferPacketOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeTransferPacketOutcome(GetNodeTransferPacketResult(outcome.result())); + else + return GetNodeTransferPacketOutcome(outcome.error()); +} + +void LinkWANClient::getNodeTransferPacketAsync(const GetNodeTransferPacketRequest& request, const GetNodeTransferPacketAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNodeTransferPacket(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeTransferPacketOutcomeCallable LinkWANClient::getNodeTransferPacketCallable(const GetNodeTransferPacketRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNodeTransferPacket(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeTransferPacketsDownloadUrlOutcome LinkWANClient::getNodeTransferPacketsDownloadUrl(const GetNodeTransferPacketsDownloadUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeTransferPacketsDownloadUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeTransferPacketsDownloadUrlOutcome(GetNodeTransferPacketsDownloadUrlResult(outcome.result())); + else + return GetNodeTransferPacketsDownloadUrlOutcome(outcome.error()); +} + +void LinkWANClient::getNodeTransferPacketsDownloadUrlAsync(const GetNodeTransferPacketsDownloadUrlRequest& request, const GetNodeTransferPacketsDownloadUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNodeTransferPacketsDownloadUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeTransferPacketsDownloadUrlOutcomeCallable LinkWANClient::getNodeTransferPacketsDownloadUrlCallable(const GetNodeTransferPacketsDownloadUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNodeTransferPacketsDownloadUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeTupleOrderOutcome LinkWANClient::getNodeTupleOrder(const GetNodeTupleOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeTupleOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeTupleOrderOutcome(GetNodeTupleOrderResult(outcome.result())); + else + return GetNodeTupleOrderOutcome(outcome.error()); +} + +void LinkWANClient::getNodeTupleOrderAsync(const GetNodeTupleOrderRequest& request, const GetNodeTupleOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNodeTupleOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeTupleOrderOutcomeCallable LinkWANClient::getNodeTupleOrderCallable(const GetNodeTupleOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNodeTupleOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNodeTuplesDownloadUrlOutcome LinkWANClient::getNodeTuplesDownloadUrl(const GetNodeTuplesDownloadUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNodeTuplesDownloadUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNodeTuplesDownloadUrlOutcome(GetNodeTuplesDownloadUrlResult(outcome.result())); + else + return GetNodeTuplesDownloadUrlOutcome(outcome.error()); +} + +void LinkWANClient::getNodeTuplesDownloadUrlAsync(const GetNodeTuplesDownloadUrlRequest& request, const GetNodeTuplesDownloadUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNodeTuplesDownloadUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNodeTuplesDownloadUrlOutcomeCallable LinkWANClient::getNodeTuplesDownloadUrlCallable(const GetNodeTuplesDownloadUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNodeTuplesDownloadUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetNotificationOutcome LinkWANClient::getNotification(const GetNotificationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetNotificationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetNotificationOutcome(GetNotificationResult(outcome.result())); + else + return GetNotificationOutcome(outcome.error()); +} + +void LinkWANClient::getNotificationAsync(const GetNotificationRequest& request, const GetNotificationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getNotification(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetNotificationOutcomeCallable LinkWANClient::getNotificationCallable(const GetNotificationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getNotification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetOwnedJoinPermissionOutcome LinkWANClient::getOwnedJoinPermission(const GetOwnedJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOwnedJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOwnedJoinPermissionOutcome(GetOwnedJoinPermissionResult(outcome.result())); + else + return GetOwnedJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::getOwnedJoinPermissionAsync(const GetOwnedJoinPermissionRequest& request, const GetOwnedJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOwnedJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetOwnedJoinPermissionOutcomeCallable LinkWANClient::getOwnedJoinPermissionCallable(const GetOwnedJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOwnedJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetRentedJoinPermissionOutcome LinkWANClient::getRentedJoinPermission(const GetRentedJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetRentedJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetRentedJoinPermissionOutcome(GetRentedJoinPermissionResult(outcome.result())); + else + return GetRentedJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::getRentedJoinPermissionAsync(const GetRentedJoinPermissionRequest& request, const GetRentedJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getRentedJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetRentedJoinPermissionOutcomeCallable LinkWANClient::getRentedJoinPermissionCallable(const GetRentedJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getRentedJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetUserLicenseOutcome LinkWANClient::getUserLicense(const GetUserLicenseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetUserLicenseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetUserLicenseOutcome(GetUserLicenseResult(outcome.result())); + else + return GetUserLicenseOutcome(outcome.error()); +} + +void LinkWANClient::getUserLicenseAsync(const GetUserLicenseRequest& request, const GetUserLicenseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getUserLicense(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetUserLicenseOutcomeCallable LinkWANClient::getUserLicenseCallable(const GetUserLicenseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getUserLicense(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::GetUserNetProfileDescriptionOutcome LinkWANClient::getUserNetProfileDescription(const GetUserNetProfileDescriptionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetUserNetProfileDescriptionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetUserNetProfileDescriptionOutcome(GetUserNetProfileDescriptionResult(outcome.result())); + else + return GetUserNetProfileDescriptionOutcome(outcome.error()); +} + +void LinkWANClient::getUserNetProfileDescriptionAsync(const GetUserNetProfileDescriptionRequest& request, const GetUserNetProfileDescriptionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getUserNetProfileDescription(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::GetUserNetProfileDescriptionOutcomeCallable LinkWANClient::getUserNetProfileDescriptionCallable(const GetUserNetProfileDescriptionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getUserNetProfileDescription(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListActivatedFeaturesOutcome LinkWANClient::listActivatedFeatures(const ListActivatedFeaturesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListActivatedFeaturesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListActivatedFeaturesOutcome(ListActivatedFeaturesResult(outcome.result())); + else + return ListActivatedFeaturesOutcome(outcome.error()); +} + +void LinkWANClient::listActivatedFeaturesAsync(const ListActivatedFeaturesRequest& request, const ListActivatedFeaturesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listActivatedFeatures(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListActivatedFeaturesOutcomeCallable LinkWANClient::listActivatedFeaturesCallable(const ListActivatedFeaturesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listActivatedFeatures(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListActiveGatewaysOutcome LinkWANClient::listActiveGateways(const ListActiveGatewaysRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListActiveGatewaysOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListActiveGatewaysOutcome(ListActiveGatewaysResult(outcome.result())); + else + return ListActiveGatewaysOutcome(outcome.error()); +} + +void LinkWANClient::listActiveGatewaysAsync(const ListActiveGatewaysRequest& request, const ListActiveGatewaysAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listActiveGateways(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListActiveGatewaysOutcomeCallable LinkWANClient::listActiveGatewaysCallable(const ListActiveGatewaysRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listActiveGateways(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListFreqBandPlanGroupsOutcome LinkWANClient::listFreqBandPlanGroups(const ListFreqBandPlanGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFreqBandPlanGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFreqBandPlanGroupsOutcome(ListFreqBandPlanGroupsResult(outcome.result())); + else + return ListFreqBandPlanGroupsOutcome(outcome.error()); +} + +void LinkWANClient::listFreqBandPlanGroupsAsync(const ListFreqBandPlanGroupsRequest& request, const ListFreqBandPlanGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFreqBandPlanGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListFreqBandPlanGroupsOutcomeCallable LinkWANClient::listFreqBandPlanGroupsCallable(const ListFreqBandPlanGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFreqBandPlanGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewayLocalConfigsOutcome LinkWANClient::listGatewayLocalConfigs(const ListGatewayLocalConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewayLocalConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewayLocalConfigsOutcome(ListGatewayLocalConfigsResult(outcome.result())); + else + return ListGatewayLocalConfigsOutcome(outcome.error()); +} + +void LinkWANClient::listGatewayLocalConfigsAsync(const ListGatewayLocalConfigsRequest& request, const ListGatewayLocalConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGatewayLocalConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewayLocalConfigsOutcomeCallable LinkWANClient::listGatewayLocalConfigsCallable(const ListGatewayLocalConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGatewayLocalConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewayOnlineRecordsOutcome LinkWANClient::listGatewayOnlineRecords(const ListGatewayOnlineRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewayOnlineRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewayOnlineRecordsOutcome(ListGatewayOnlineRecordsResult(outcome.result())); + else + return ListGatewayOnlineRecordsOutcome(outcome.error()); +} + +void LinkWANClient::listGatewayOnlineRecordsAsync(const ListGatewayOnlineRecordsRequest& request, const ListGatewayOnlineRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGatewayOnlineRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewayOnlineRecordsOutcomeCallable LinkWANClient::listGatewayOnlineRecordsCallable(const ListGatewayOnlineRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGatewayOnlineRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewayTransferFlowStatsOutcome LinkWANClient::listGatewayTransferFlowStats(const ListGatewayTransferFlowStatsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewayTransferFlowStatsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewayTransferFlowStatsOutcome(ListGatewayTransferFlowStatsResult(outcome.result())); + else + return ListGatewayTransferFlowStatsOutcome(outcome.error()); +} + +void LinkWANClient::listGatewayTransferFlowStatsAsync(const ListGatewayTransferFlowStatsRequest& request, const ListGatewayTransferFlowStatsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGatewayTransferFlowStats(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewayTransferFlowStatsOutcomeCallable LinkWANClient::listGatewayTransferFlowStatsCallable(const ListGatewayTransferFlowStatsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGatewayTransferFlowStats(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewayTransferPacketsOutcome LinkWANClient::listGatewayTransferPackets(const ListGatewayTransferPacketsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewayTransferPacketsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewayTransferPacketsOutcome(ListGatewayTransferPacketsResult(outcome.result())); + else + return ListGatewayTransferPacketsOutcome(outcome.error()); +} + +void LinkWANClient::listGatewayTransferPacketsAsync(const ListGatewayTransferPacketsRequest& request, const ListGatewayTransferPacketsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGatewayTransferPackets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewayTransferPacketsOutcomeCallable LinkWANClient::listGatewayTransferPacketsCallable(const ListGatewayTransferPacketsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGatewayTransferPackets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewayTupleOrdersOutcome LinkWANClient::listGatewayTupleOrders(const ListGatewayTupleOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewayTupleOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewayTupleOrdersOutcome(ListGatewayTupleOrdersResult(outcome.result())); + else + return ListGatewayTupleOrdersOutcome(outcome.error()); +} + +void LinkWANClient::listGatewayTupleOrdersAsync(const ListGatewayTupleOrdersRequest& request, const ListGatewayTupleOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGatewayTupleOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewayTupleOrdersOutcomeCallable LinkWANClient::listGatewayTupleOrdersCallable(const ListGatewayTupleOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGatewayTupleOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewaysOutcome LinkWANClient::listGateways(const ListGatewaysRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewaysOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewaysOutcome(ListGatewaysResult(outcome.result())); + else + return ListGatewaysOutcome(outcome.error()); +} + +void LinkWANClient::listGatewaysAsync(const ListGatewaysRequest& request, const ListGatewaysAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGateways(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewaysOutcomeCallable LinkWANClient::listGatewaysCallable(const ListGatewaysRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGateways(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewaysGisInfoOutcome LinkWANClient::listGatewaysGisInfo(const ListGatewaysGisInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewaysGisInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewaysGisInfoOutcome(ListGatewaysGisInfoResult(outcome.result())); + else + return ListGatewaysGisInfoOutcome(outcome.error()); +} + +void LinkWANClient::listGatewaysGisInfoAsync(const ListGatewaysGisInfoRequest& request, const ListGatewaysGisInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGatewaysGisInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewaysGisInfoOutcomeCallable LinkWANClient::listGatewaysGisInfoCallable(const ListGatewaysGisInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGatewaysGisInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListGatewaysPacketStatOutcome LinkWANClient::listGatewaysPacketStat(const ListGatewaysPacketStatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListGatewaysPacketStatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListGatewaysPacketStatOutcome(ListGatewaysPacketStatResult(outcome.result())); + else + return ListGatewaysPacketStatOutcome(outcome.error()); +} + +void LinkWANClient::listGatewaysPacketStatAsync(const ListGatewaysPacketStatRequest& request, const ListGatewaysPacketStatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listGatewaysPacketStat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListGatewaysPacketStatOutcomeCallable LinkWANClient::listGatewaysPacketStatCallable(const ListGatewaysPacketStatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listGatewaysPacketStat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodeGroupTransferFlowStatsOutcome LinkWANClient::listNodeGroupTransferFlowStats(const ListNodeGroupTransferFlowStatsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeGroupTransferFlowStatsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeGroupTransferFlowStatsOutcome(ListNodeGroupTransferFlowStatsResult(outcome.result())); + else + return ListNodeGroupTransferFlowStatsOutcome(outcome.error()); +} + +void LinkWANClient::listNodeGroupTransferFlowStatsAsync(const ListNodeGroupTransferFlowStatsRequest& request, const ListNodeGroupTransferFlowStatsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeGroupTransferFlowStats(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodeGroupTransferFlowStatsOutcomeCallable LinkWANClient::listNodeGroupTransferFlowStatsCallable(const ListNodeGroupTransferFlowStatsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeGroupTransferFlowStats(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodeGroupTransferPacketsOutcome LinkWANClient::listNodeGroupTransferPackets(const ListNodeGroupTransferPacketsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeGroupTransferPacketsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeGroupTransferPacketsOutcome(ListNodeGroupTransferPacketsResult(outcome.result())); + else + return ListNodeGroupTransferPacketsOutcome(outcome.error()); +} + +void LinkWANClient::listNodeGroupTransferPacketsAsync(const ListNodeGroupTransferPacketsRequest& request, const ListNodeGroupTransferPacketsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeGroupTransferPackets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodeGroupTransferPacketsOutcomeCallable LinkWANClient::listNodeGroupTransferPacketsCallable(const ListNodeGroupTransferPacketsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeGroupTransferPackets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodeGroupsOutcome LinkWANClient::listNodeGroups(const ListNodeGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeGroupsOutcome(ListNodeGroupsResult(outcome.result())); + else + return ListNodeGroupsOutcome(outcome.error()); +} + +void LinkWANClient::listNodeGroupsAsync(const ListNodeGroupsRequest& request, const ListNodeGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodeGroupsOutcomeCallable LinkWANClient::listNodeGroupsCallable(const ListNodeGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodeGroupsPacketStatOutcome LinkWANClient::listNodeGroupsPacketStat(const ListNodeGroupsPacketStatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeGroupsPacketStatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeGroupsPacketStatOutcome(ListNodeGroupsPacketStatResult(outcome.result())); + else + return ListNodeGroupsPacketStatOutcome(outcome.error()); +} + +void LinkWANClient::listNodeGroupsPacketStatAsync(const ListNodeGroupsPacketStatRequest& request, const ListNodeGroupsPacketStatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeGroupsPacketStat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodeGroupsPacketStatOutcomeCallable LinkWANClient::listNodeGroupsPacketStatCallable(const ListNodeGroupsPacketStatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeGroupsPacketStat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodeTransferPacketPathsOutcome LinkWANClient::listNodeTransferPacketPaths(const ListNodeTransferPacketPathsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeTransferPacketPathsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeTransferPacketPathsOutcome(ListNodeTransferPacketPathsResult(outcome.result())); + else + return ListNodeTransferPacketPathsOutcome(outcome.error()); +} + +void LinkWANClient::listNodeTransferPacketPathsAsync(const ListNodeTransferPacketPathsRequest& request, const ListNodeTransferPacketPathsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeTransferPacketPaths(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodeTransferPacketPathsOutcomeCallable LinkWANClient::listNodeTransferPacketPathsCallable(const ListNodeTransferPacketPathsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeTransferPacketPaths(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodeTransferPacketsOutcome LinkWANClient::listNodeTransferPackets(const ListNodeTransferPacketsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeTransferPacketsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeTransferPacketsOutcome(ListNodeTransferPacketsResult(outcome.result())); + else + return ListNodeTransferPacketsOutcome(outcome.error()); +} + +void LinkWANClient::listNodeTransferPacketsAsync(const ListNodeTransferPacketsRequest& request, const ListNodeTransferPacketsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeTransferPackets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodeTransferPacketsOutcomeCallable LinkWANClient::listNodeTransferPacketsCallable(const ListNodeTransferPacketsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeTransferPackets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodeTupleOrdersOutcome LinkWANClient::listNodeTupleOrders(const ListNodeTupleOrdersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodeTupleOrdersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodeTupleOrdersOutcome(ListNodeTupleOrdersResult(outcome.result())); + else + return ListNodeTupleOrdersOutcome(outcome.error()); +} + +void LinkWANClient::listNodeTupleOrdersAsync(const ListNodeTupleOrdersRequest& request, const ListNodeTupleOrdersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodeTupleOrders(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodeTupleOrdersOutcomeCallable LinkWANClient::listNodeTupleOrdersCallable(const ListNodeTupleOrdersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodeTupleOrders(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodesByNodeGroupIdOutcome LinkWANClient::listNodesByNodeGroupId(const ListNodesByNodeGroupIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodesByNodeGroupIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodesByNodeGroupIdOutcome(ListNodesByNodeGroupIdResult(outcome.result())); + else + return ListNodesByNodeGroupIdOutcome(outcome.error()); +} + +void LinkWANClient::listNodesByNodeGroupIdAsync(const ListNodesByNodeGroupIdRequest& request, const ListNodesByNodeGroupIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodesByNodeGroupId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodesByNodeGroupIdOutcomeCallable LinkWANClient::listNodesByNodeGroupIdCallable(const ListNodesByNodeGroupIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodesByNodeGroupId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNodesByOwnedJoinPermissionIdOutcome LinkWANClient::listNodesByOwnedJoinPermissionId(const ListNodesByOwnedJoinPermissionIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNodesByOwnedJoinPermissionIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNodesByOwnedJoinPermissionIdOutcome(ListNodesByOwnedJoinPermissionIdResult(outcome.result())); + else + return ListNodesByOwnedJoinPermissionIdOutcome(outcome.error()); +} + +void LinkWANClient::listNodesByOwnedJoinPermissionIdAsync(const ListNodesByOwnedJoinPermissionIdRequest& request, const ListNodesByOwnedJoinPermissionIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNodesByOwnedJoinPermissionId(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNodesByOwnedJoinPermissionIdOutcomeCallable LinkWANClient::listNodesByOwnedJoinPermissionIdCallable(const ListNodesByOwnedJoinPermissionIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNodesByOwnedJoinPermissionId(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListNotificationsOutcome LinkWANClient::listNotifications(const ListNotificationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListNotificationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListNotificationsOutcome(ListNotificationsResult(outcome.result())); + else + return ListNotificationsOutcome(outcome.error()); +} + +void LinkWANClient::listNotificationsAsync(const ListNotificationsRequest& request, const ListNotificationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listNotifications(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListNotificationsOutcomeCallable LinkWANClient::listNotificationsCallable(const ListNotificationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listNotifications(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListOwnedJoinPermissionsOutcome LinkWANClient::listOwnedJoinPermissions(const ListOwnedJoinPermissionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListOwnedJoinPermissionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListOwnedJoinPermissionsOutcome(ListOwnedJoinPermissionsResult(outcome.result())); + else + return ListOwnedJoinPermissionsOutcome(outcome.error()); +} + +void LinkWANClient::listOwnedJoinPermissionsAsync(const ListOwnedJoinPermissionsRequest& request, const ListOwnedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listOwnedJoinPermissions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListOwnedJoinPermissionsOutcomeCallable LinkWANClient::listOwnedJoinPermissionsCallable(const ListOwnedJoinPermissionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listOwnedJoinPermissions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListRentedJoinPermissionsOutcome LinkWANClient::listRentedJoinPermissions(const ListRentedJoinPermissionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListRentedJoinPermissionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListRentedJoinPermissionsOutcome(ListRentedJoinPermissionsResult(outcome.result())); + else + return ListRentedJoinPermissionsOutcome(outcome.error()); +} + +void LinkWANClient::listRentedJoinPermissionsAsync(const ListRentedJoinPermissionsRequest& request, const ListRentedJoinPermissionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listRentedJoinPermissions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListRentedJoinPermissionsOutcomeCallable LinkWANClient::listRentedJoinPermissionsCallable(const ListRentedJoinPermissionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listRentedJoinPermissions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ListTransferPacketOutcome LinkWANClient::listTransferPacket(const ListTransferPacketRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTransferPacketOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTransferPacketOutcome(ListTransferPacketResult(outcome.result())); + else + return ListTransferPacketOutcome(outcome.error()); +} + +void LinkWANClient::listTransferPacketAsync(const ListTransferPacketRequest& request, const ListTransferPacketAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTransferPacket(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ListTransferPacketOutcomeCallable LinkWANClient::listTransferPacketCallable(const ListTransferPacketRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTransferPacket(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::RejectJoinPermissionAuthOrderOutcome LinkWANClient::rejectJoinPermissionAuthOrder(const RejectJoinPermissionAuthOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RejectJoinPermissionAuthOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RejectJoinPermissionAuthOrderOutcome(RejectJoinPermissionAuthOrderResult(outcome.result())); + else + return RejectJoinPermissionAuthOrderOutcome(outcome.error()); +} + +void LinkWANClient::rejectJoinPermissionAuthOrderAsync(const RejectJoinPermissionAuthOrderRequest& request, const RejectJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, rejectJoinPermissionAuthOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::RejectJoinPermissionAuthOrderOutcomeCallable LinkWANClient::rejectJoinPermissionAuthOrderCallable(const RejectJoinPermissionAuthOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->rejectJoinPermissionAuthOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::RemoveNodeFromGroupOutcome LinkWANClient::removeNodeFromGroup(const RemoveNodeFromGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveNodeFromGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveNodeFromGroupOutcome(RemoveNodeFromGroupResult(outcome.result())); + else + return RemoveNodeFromGroupOutcome(outcome.error()); +} + +void LinkWANClient::removeNodeFromGroupAsync(const RemoveNodeFromGroupRequest& request, const RemoveNodeFromGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeNodeFromGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::RemoveNodeFromGroupOutcomeCallable LinkWANClient::removeNodeFromGroupCallable(const RemoveNodeFromGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeNodeFromGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::ReturnJoinPermissionOutcome LinkWANClient::returnJoinPermission(const ReturnJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ReturnJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ReturnJoinPermissionOutcome(ReturnJoinPermissionResult(outcome.result())); + else + return ReturnJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::returnJoinPermissionAsync(const ReturnJoinPermissionRequest& request, const ReturnJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, returnJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::ReturnJoinPermissionOutcomeCallable LinkWANClient::returnJoinPermissionCallable(const ReturnJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->returnJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SendUnicastCommandOutcome LinkWANClient::sendUnicastCommand(const SendUnicastCommandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendUnicastCommandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendUnicastCommandOutcome(SendUnicastCommandResult(outcome.result())); + else + return SendUnicastCommandOutcome(outcome.error()); +} + +void LinkWANClient::sendUnicastCommandAsync(const SendUnicastCommandRequest& request, const SendUnicastCommandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendUnicastCommand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SendUnicastCommandOutcomeCallable LinkWANClient::sendUnicastCommandCallable(const SendUnicastCommandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendUnicastCommand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitGatewayLocalConfigAddingTaskOutcome LinkWANClient::submitGatewayLocalConfigAddingTask(const SubmitGatewayLocalConfigAddingTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitGatewayLocalConfigAddingTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitGatewayLocalConfigAddingTaskOutcome(SubmitGatewayLocalConfigAddingTaskResult(outcome.result())); + else + return SubmitGatewayLocalConfigAddingTaskOutcome(outcome.error()); +} + +void LinkWANClient::submitGatewayLocalConfigAddingTaskAsync(const SubmitGatewayLocalConfigAddingTaskRequest& request, const SubmitGatewayLocalConfigAddingTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitGatewayLocalConfigAddingTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitGatewayLocalConfigAddingTaskOutcomeCallable LinkWANClient::submitGatewayLocalConfigAddingTaskCallable(const SubmitGatewayLocalConfigAddingTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitGatewayLocalConfigAddingTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitGatewayLocalConfigDeletingTaskOutcome LinkWANClient::submitGatewayLocalConfigDeletingTask(const SubmitGatewayLocalConfigDeletingTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitGatewayLocalConfigDeletingTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitGatewayLocalConfigDeletingTaskOutcome(SubmitGatewayLocalConfigDeletingTaskResult(outcome.result())); + else + return SubmitGatewayLocalConfigDeletingTaskOutcome(outcome.error()); +} + +void LinkWANClient::submitGatewayLocalConfigDeletingTaskAsync(const SubmitGatewayLocalConfigDeletingTaskRequest& request, const SubmitGatewayLocalConfigDeletingTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitGatewayLocalConfigDeletingTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitGatewayLocalConfigDeletingTaskOutcomeCallable LinkWANClient::submitGatewayLocalConfigDeletingTaskCallable(const SubmitGatewayLocalConfigDeletingTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitGatewayLocalConfigDeletingTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitGatewayTupleOrderOutcome LinkWANClient::submitGatewayTupleOrder(const SubmitGatewayTupleOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitGatewayTupleOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitGatewayTupleOrderOutcome(SubmitGatewayTupleOrderResult(outcome.result())); + else + return SubmitGatewayTupleOrderOutcome(outcome.error()); +} + +void LinkWANClient::submitGatewayTupleOrderAsync(const SubmitGatewayTupleOrderRequest& request, const SubmitGatewayTupleOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitGatewayTupleOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitGatewayTupleOrderOutcomeCallable LinkWANClient::submitGatewayTupleOrderCallable(const SubmitGatewayTupleOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitGatewayTupleOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitJoinPermissionAuthOrderOutcome LinkWANClient::submitJoinPermissionAuthOrder(const SubmitJoinPermissionAuthOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitJoinPermissionAuthOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitJoinPermissionAuthOrderOutcome(SubmitJoinPermissionAuthOrderResult(outcome.result())); + else + return SubmitJoinPermissionAuthOrderOutcome(outcome.error()); +} + +void LinkWANClient::submitJoinPermissionAuthOrderAsync(const SubmitJoinPermissionAuthOrderRequest& request, const SubmitJoinPermissionAuthOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitJoinPermissionAuthOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitJoinPermissionAuthOrderOutcomeCallable LinkWANClient::submitJoinPermissionAuthOrderCallable(const SubmitJoinPermissionAuthOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitJoinPermissionAuthOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitKpmEncryptedNodeTupleOrderOutcome LinkWANClient::submitKpmEncryptedNodeTupleOrder(const SubmitKpmEncryptedNodeTupleOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitKpmEncryptedNodeTupleOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitKpmEncryptedNodeTupleOrderOutcome(SubmitKpmEncryptedNodeTupleOrderResult(outcome.result())); + else + return SubmitKpmEncryptedNodeTupleOrderOutcome(outcome.error()); +} + +void LinkWANClient::submitKpmEncryptedNodeTupleOrderAsync(const SubmitKpmEncryptedNodeTupleOrderRequest& request, const SubmitKpmEncryptedNodeTupleOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitKpmEncryptedNodeTupleOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitKpmEncryptedNodeTupleOrderOutcomeCallable LinkWANClient::submitKpmEncryptedNodeTupleOrderCallable(const SubmitKpmEncryptedNodeTupleOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitKpmEncryptedNodeTupleOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitNodeLocalConfigAddingTaskOutcome LinkWANClient::submitNodeLocalConfigAddingTask(const SubmitNodeLocalConfigAddingTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitNodeLocalConfigAddingTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitNodeLocalConfigAddingTaskOutcome(SubmitNodeLocalConfigAddingTaskResult(outcome.result())); + else + return SubmitNodeLocalConfigAddingTaskOutcome(outcome.error()); +} + +void LinkWANClient::submitNodeLocalConfigAddingTaskAsync(const SubmitNodeLocalConfigAddingTaskRequest& request, const SubmitNodeLocalConfigAddingTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitNodeLocalConfigAddingTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitNodeLocalConfigAddingTaskOutcomeCallable LinkWANClient::submitNodeLocalConfigAddingTaskCallable(const SubmitNodeLocalConfigAddingTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitNodeLocalConfigAddingTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitNodeLocalConfigDeletingTaskOutcome LinkWANClient::submitNodeLocalConfigDeletingTask(const SubmitNodeLocalConfigDeletingTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitNodeLocalConfigDeletingTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitNodeLocalConfigDeletingTaskOutcome(SubmitNodeLocalConfigDeletingTaskResult(outcome.result())); + else + return SubmitNodeLocalConfigDeletingTaskOutcome(outcome.error()); +} + +void LinkWANClient::submitNodeLocalConfigDeletingTaskAsync(const SubmitNodeLocalConfigDeletingTaskRequest& request, const SubmitNodeLocalConfigDeletingTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitNodeLocalConfigDeletingTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitNodeLocalConfigDeletingTaskOutcomeCallable LinkWANClient::submitNodeLocalConfigDeletingTaskCallable(const SubmitNodeLocalConfigDeletingTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitNodeLocalConfigDeletingTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::SubmitNodeTupleOrderOutcome LinkWANClient::submitNodeTupleOrder(const SubmitNodeTupleOrderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SubmitNodeTupleOrderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SubmitNodeTupleOrderOutcome(SubmitNodeTupleOrderResult(outcome.result())); + else + return SubmitNodeTupleOrderOutcome(outcome.error()); +} + +void LinkWANClient::submitNodeTupleOrderAsync(const SubmitNodeTupleOrderRequest& request, const SubmitNodeTupleOrderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, submitNodeTupleOrder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::SubmitNodeTupleOrderOutcomeCallable LinkWANClient::submitNodeTupleOrderCallable(const SubmitNodeTupleOrderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->submitNodeTupleOrder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UnbindJoinPermissionFromNodeGroupOutcome LinkWANClient::unbindJoinPermissionFromNodeGroup(const UnbindJoinPermissionFromNodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnbindJoinPermissionFromNodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnbindJoinPermissionFromNodeGroupOutcome(UnbindJoinPermissionFromNodeGroupResult(outcome.result())); + else + return UnbindJoinPermissionFromNodeGroupOutcome(outcome.error()); +} + +void LinkWANClient::unbindJoinPermissionFromNodeGroupAsync(const UnbindJoinPermissionFromNodeGroupRequest& request, const UnbindJoinPermissionFromNodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unbindJoinPermissionFromNodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UnbindJoinPermissionFromNodeGroupOutcomeCallable LinkWANClient::unbindJoinPermissionFromNodeGroupCallable(const UnbindJoinPermissionFromNodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unbindJoinPermissionFromNodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateDataDispatchConfigOutcome LinkWANClient::updateDataDispatchConfig(const UpdateDataDispatchConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDataDispatchConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDataDispatchConfigOutcome(UpdateDataDispatchConfigResult(outcome.result())); + else + return UpdateDataDispatchConfigOutcome(outcome.error()); +} + +void LinkWANClient::updateDataDispatchConfigAsync(const UpdateDataDispatchConfigRequest& request, const UpdateDataDispatchConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDataDispatchConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateDataDispatchConfigOutcomeCallable LinkWANClient::updateDataDispatchConfigCallable(const UpdateDataDispatchConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDataDispatchConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateDataDispatchEnablingStateOutcome LinkWANClient::updateDataDispatchEnablingState(const UpdateDataDispatchEnablingStateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDataDispatchEnablingStateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDataDispatchEnablingStateOutcome(UpdateDataDispatchEnablingStateResult(outcome.result())); + else + return UpdateDataDispatchEnablingStateOutcome(outcome.error()); +} + +void LinkWANClient::updateDataDispatchEnablingStateAsync(const UpdateDataDispatchEnablingStateRequest& request, const UpdateDataDispatchEnablingStateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDataDispatchEnablingState(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateDataDispatchEnablingStateOutcomeCallable LinkWANClient::updateDataDispatchEnablingStateCallable(const UpdateDataDispatchEnablingStateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDataDispatchEnablingState(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateGatewayOutcome LinkWANClient::updateGateway(const UpdateGatewayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGatewayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGatewayOutcome(UpdateGatewayResult(outcome.result())); + else + return UpdateGatewayOutcome(outcome.error()); +} + +void LinkWANClient::updateGatewayAsync(const UpdateGatewayRequest& request, const UpdateGatewayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGateway(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateGatewayOutcomeCallable LinkWANClient::updateGatewayCallable(const UpdateGatewayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGateway(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateGatewayEnablingStateOutcome LinkWANClient::updateGatewayEnablingState(const UpdateGatewayEnablingStateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGatewayEnablingStateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGatewayEnablingStateOutcome(UpdateGatewayEnablingStateResult(outcome.result())); + else + return UpdateGatewayEnablingStateOutcome(outcome.error()); +} + +void LinkWANClient::updateGatewayEnablingStateAsync(const UpdateGatewayEnablingStateRequest& request, const UpdateGatewayEnablingStateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGatewayEnablingState(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateGatewayEnablingStateOutcomeCallable LinkWANClient::updateGatewayEnablingStateCallable(const UpdateGatewayEnablingStateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGatewayEnablingState(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateGatewaySshCtrlOutcome LinkWANClient::updateGatewaySshCtrl(const UpdateGatewaySshCtrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateGatewaySshCtrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateGatewaySshCtrlOutcome(UpdateGatewaySshCtrlResult(outcome.result())); + else + return UpdateGatewaySshCtrlOutcome(outcome.error()); +} + +void LinkWANClient::updateGatewaySshCtrlAsync(const UpdateGatewaySshCtrlRequest& request, const UpdateGatewaySshCtrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateGatewaySshCtrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateGatewaySshCtrlOutcomeCallable LinkWANClient::updateGatewaySshCtrlCallable(const UpdateGatewaySshCtrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateGatewaySshCtrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateNodeEnablingStateOutcome LinkWANClient::updateNodeEnablingState(const UpdateNodeEnablingStateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateNodeEnablingStateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateNodeEnablingStateOutcome(UpdateNodeEnablingStateResult(outcome.result())); + else + return UpdateNodeEnablingStateOutcome(outcome.error()); +} + +void LinkWANClient::updateNodeEnablingStateAsync(const UpdateNodeEnablingStateRequest& request, const UpdateNodeEnablingStateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateNodeEnablingState(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateNodeEnablingStateOutcomeCallable LinkWANClient::updateNodeEnablingStateCallable(const UpdateNodeEnablingStateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateNodeEnablingState(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateNodeGroupOutcome LinkWANClient::updateNodeGroup(const UpdateNodeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateNodeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateNodeGroupOutcome(UpdateNodeGroupResult(outcome.result())); + else + return UpdateNodeGroupOutcome(outcome.error()); +} + +void LinkWANClient::updateNodeGroupAsync(const UpdateNodeGroupRequest& request, const UpdateNodeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateNodeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateNodeGroupOutcomeCallable LinkWANClient::updateNodeGroupCallable(const UpdateNodeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateNodeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateNotificationsHandleStateOutcome LinkWANClient::updateNotificationsHandleState(const UpdateNotificationsHandleStateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateNotificationsHandleStateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateNotificationsHandleStateOutcome(UpdateNotificationsHandleStateResult(outcome.result())); + else + return UpdateNotificationsHandleStateOutcome(outcome.error()); +} + +void LinkWANClient::updateNotificationsHandleStateAsync(const UpdateNotificationsHandleStateRequest& request, const UpdateNotificationsHandleStateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateNotificationsHandleState(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateNotificationsHandleStateOutcomeCallable LinkWANClient::updateNotificationsHandleStateCallable(const UpdateNotificationsHandleStateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateNotificationsHandleState(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateOwnedLocalJoinPermissionOutcome LinkWANClient::updateOwnedLocalJoinPermission(const UpdateOwnedLocalJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateOwnedLocalJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateOwnedLocalJoinPermissionOutcome(UpdateOwnedLocalJoinPermissionResult(outcome.result())); + else + return UpdateOwnedLocalJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::updateOwnedLocalJoinPermissionAsync(const UpdateOwnedLocalJoinPermissionRequest& request, const UpdateOwnedLocalJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateOwnedLocalJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateOwnedLocalJoinPermissionOutcomeCallable LinkWANClient::updateOwnedLocalJoinPermissionCallable(const UpdateOwnedLocalJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateOwnedLocalJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateOwnedLocalJoinPermissionEnablingStateOutcome LinkWANClient::updateOwnedLocalJoinPermissionEnablingState(const UpdateOwnedLocalJoinPermissionEnablingStateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateOwnedLocalJoinPermissionEnablingStateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateOwnedLocalJoinPermissionEnablingStateOutcome(UpdateOwnedLocalJoinPermissionEnablingStateResult(outcome.result())); + else + return UpdateOwnedLocalJoinPermissionEnablingStateOutcome(outcome.error()); +} + +void LinkWANClient::updateOwnedLocalJoinPermissionEnablingStateAsync(const UpdateOwnedLocalJoinPermissionEnablingStateRequest& request, const UpdateOwnedLocalJoinPermissionEnablingStateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateOwnedLocalJoinPermissionEnablingState(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateOwnedLocalJoinPermissionEnablingStateOutcomeCallable LinkWANClient::updateOwnedLocalJoinPermissionEnablingStateCallable(const UpdateOwnedLocalJoinPermissionEnablingStateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateOwnedLocalJoinPermissionEnablingState(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateRoamingJoinPermissionOutcome LinkWANClient::updateRoamingJoinPermission(const UpdateRoamingJoinPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateRoamingJoinPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateRoamingJoinPermissionOutcome(UpdateRoamingJoinPermissionResult(outcome.result())); + else + return UpdateRoamingJoinPermissionOutcome(outcome.error()); +} + +void LinkWANClient::updateRoamingJoinPermissionAsync(const UpdateRoamingJoinPermissionRequest& request, const UpdateRoamingJoinPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateRoamingJoinPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateRoamingJoinPermissionOutcomeCallable LinkWANClient::updateRoamingJoinPermissionCallable(const UpdateRoamingJoinPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateRoamingJoinPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateRoamingJoinPermissionEnablingStateOutcome LinkWANClient::updateRoamingJoinPermissionEnablingState(const UpdateRoamingJoinPermissionEnablingStateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateRoamingJoinPermissionEnablingStateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateRoamingJoinPermissionEnablingStateOutcome(UpdateRoamingJoinPermissionEnablingStateResult(outcome.result())); + else + return UpdateRoamingJoinPermissionEnablingStateOutcome(outcome.error()); +} + +void LinkWANClient::updateRoamingJoinPermissionEnablingStateAsync(const UpdateRoamingJoinPermissionEnablingStateRequest& request, const UpdateRoamingJoinPermissionEnablingStateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateRoamingJoinPermissionEnablingState(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateRoamingJoinPermissionEnablingStateOutcomeCallable LinkWANClient::updateRoamingJoinPermissionEnablingStateCallable(const UpdateRoamingJoinPermissionEnablingStateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateRoamingJoinPermissionEnablingState(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LinkWANClient::UpdateUserIsolationStateOutcome LinkWANClient::updateUserIsolationState(const UpdateUserIsolationStateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateUserIsolationStateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateUserIsolationStateOutcome(UpdateUserIsolationStateResult(outcome.result())); + else + return UpdateUserIsolationStateOutcome(outcome.error()); +} + +void LinkWANClient::updateUserIsolationStateAsync(const UpdateUserIsolationStateRequest& request, const UpdateUserIsolationStateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateUserIsolationState(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LinkWANClient::UpdateUserIsolationStateOutcomeCallable LinkWANClient::updateUserIsolationStateCallable(const UpdateUserIsolationStateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateUserIsolationState(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/linkwan/src/model/AcceptJoinPermissionAuthOrderRequest.cc b/linkwan/src/model/AcceptJoinPermissionAuthOrderRequest.cc new file mode 100644 index 000000000..ff00690e2 --- /dev/null +++ b/linkwan/src/model/AcceptJoinPermissionAuthOrderRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::AcceptJoinPermissionAuthOrderRequest; + +AcceptJoinPermissionAuthOrderRequest::AcceptJoinPermissionAuthOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "AcceptJoinPermissionAuthOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +AcceptJoinPermissionAuthOrderRequest::~AcceptJoinPermissionAuthOrderRequest() +{} + +std::string AcceptJoinPermissionAuthOrderRequest::getOrderId()const +{ + return orderId_; +} + +void AcceptJoinPermissionAuthOrderRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string AcceptJoinPermissionAuthOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void AcceptJoinPermissionAuthOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string AcceptJoinPermissionAuthOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void AcceptJoinPermissionAuthOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/AcceptJoinPermissionAuthOrderResult.cc b/linkwan/src/model/AcceptJoinPermissionAuthOrderResult.cc new file mode 100644 index 000000000..467851302 --- /dev/null +++ b/linkwan/src/model/AcceptJoinPermissionAuthOrderResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +AcceptJoinPermissionAuthOrderResult::AcceptJoinPermissionAuthOrderResult() : + ServiceResult() +{} + +AcceptJoinPermissionAuthOrderResult::AcceptJoinPermissionAuthOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AcceptJoinPermissionAuthOrderResult::~AcceptJoinPermissionAuthOrderResult() +{} + +void AcceptJoinPermissionAuthOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AcceptJoinPermissionAuthOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/AddNodeToGroupRequest.cc b/linkwan/src/model/AddNodeToGroupRequest.cc new file mode 100644 index 000000000..f4c33b9b3 --- /dev/null +++ b/linkwan/src/model/AddNodeToGroupRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::AddNodeToGroupRequest; + +AddNodeToGroupRequest::AddNodeToGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "AddNodeToGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +AddNodeToGroupRequest::~AddNodeToGroupRequest() +{} + +std::string AddNodeToGroupRequest::getPinCode()const +{ + return pinCode_; +} + +void AddNodeToGroupRequest::setPinCode(const std::string& pinCode) +{ + pinCode_ = pinCode; + setParameter("PinCode", pinCode); +} + +std::string AddNodeToGroupRequest::getDevEui()const +{ + return devEui_; +} + +void AddNodeToGroupRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string AddNodeToGroupRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void AddNodeToGroupRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string AddNodeToGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void AddNodeToGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string AddNodeToGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void AddNodeToGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/AddNodeToGroupResult.cc b/linkwan/src/model/AddNodeToGroupResult.cc new file mode 100644 index 000000000..fea142f63 --- /dev/null +++ b/linkwan/src/model/AddNodeToGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +AddNodeToGroupResult::AddNodeToGroupResult() : + ServiceResult() +{} + +AddNodeToGroupResult::AddNodeToGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddNodeToGroupResult::~AddNodeToGroupResult() +{} + +void AddNodeToGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool AddNodeToGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ApplyRoamingJoinPermissionRequest.cc b/linkwan/src/model/ApplyRoamingJoinPermissionRequest.cc new file mode 100644 index 000000000..1689310ef --- /dev/null +++ b/linkwan/src/model/ApplyRoamingJoinPermissionRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ApplyRoamingJoinPermissionRequest; + +ApplyRoamingJoinPermissionRequest::ApplyRoamingJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ApplyRoamingJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +ApplyRoamingJoinPermissionRequest::~ApplyRoamingJoinPermissionRequest() +{} + +long ApplyRoamingJoinPermissionRequest::getRxDelay()const +{ + return rxDelay_; +} + +void ApplyRoamingJoinPermissionRequest::setRxDelay(long rxDelay) +{ + rxDelay_ = rxDelay; + setParameter("RxDelay", std::to_string(rxDelay)); +} + +std::string ApplyRoamingJoinPermissionRequest::getClassMode()const +{ + return classMode_; +} + +void ApplyRoamingJoinPermissionRequest::setClassMode(const std::string& classMode) +{ + classMode_ = classMode; + setParameter("ClassMode", classMode); +} + +long ApplyRoamingJoinPermissionRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void ApplyRoamingJoinPermissionRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string ApplyRoamingJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ApplyRoamingJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ApplyRoamingJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ApplyRoamingJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ApplyRoamingJoinPermissionRequest::getJoinPermissionName()const +{ + return joinPermissionName_; +} + +void ApplyRoamingJoinPermissionRequest::setJoinPermissionName(const std::string& joinPermissionName) +{ + joinPermissionName_ = joinPermissionName; + setParameter("JoinPermissionName", joinPermissionName); +} + +long ApplyRoamingJoinPermissionRequest::getDataRate()const +{ + return dataRate_; +} + +void ApplyRoamingJoinPermissionRequest::setDataRate(long dataRate) +{ + dataRate_ = dataRate; + setParameter("DataRate", std::to_string(dataRate)); +} + diff --git a/linkwan/src/model/ApplyRoamingJoinPermissionResult.cc b/linkwan/src/model/ApplyRoamingJoinPermissionResult.cc new file mode 100644 index 000000000..92f11cf66 --- /dev/null +++ b/linkwan/src/model/ApplyRoamingJoinPermissionResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ApplyRoamingJoinPermissionResult::ApplyRoamingJoinPermissionResult() : + ServiceResult() +{} + +ApplyRoamingJoinPermissionResult::ApplyRoamingJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ApplyRoamingJoinPermissionResult::~ApplyRoamingJoinPermissionResult() +{} + +void ApplyRoamingJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string ApplyRoamingJoinPermissionResult::getData()const +{ + return data_; +} + +bool ApplyRoamingJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/BindJoinPermissionToNodeGroupRequest.cc b/linkwan/src/model/BindJoinPermissionToNodeGroupRequest.cc new file mode 100644 index 000000000..fa101647a --- /dev/null +++ b/linkwan/src/model/BindJoinPermissionToNodeGroupRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::BindJoinPermissionToNodeGroupRequest; + +BindJoinPermissionToNodeGroupRequest::BindJoinPermissionToNodeGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "BindJoinPermissionToNodeGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +BindJoinPermissionToNodeGroupRequest::~BindJoinPermissionToNodeGroupRequest() +{} + +std::string BindJoinPermissionToNodeGroupRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void BindJoinPermissionToNodeGroupRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string BindJoinPermissionToNodeGroupRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void BindJoinPermissionToNodeGroupRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string BindJoinPermissionToNodeGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void BindJoinPermissionToNodeGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string BindJoinPermissionToNodeGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void BindJoinPermissionToNodeGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/BindJoinPermissionToNodeGroupResult.cc b/linkwan/src/model/BindJoinPermissionToNodeGroupResult.cc new file mode 100644 index 000000000..e889646d2 --- /dev/null +++ b/linkwan/src/model/BindJoinPermissionToNodeGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +BindJoinPermissionToNodeGroupResult::BindJoinPermissionToNodeGroupResult() : + ServiceResult() +{} + +BindJoinPermissionToNodeGroupResult::BindJoinPermissionToNodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindJoinPermissionToNodeGroupResult::~BindJoinPermissionToNodeGroupResult() +{} + +void BindJoinPermissionToNodeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool BindJoinPermissionToNodeGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CancelJoinPermissionAuthOrderRequest.cc b/linkwan/src/model/CancelJoinPermissionAuthOrderRequest.cc new file mode 100644 index 000000000..6ba3a9d98 --- /dev/null +++ b/linkwan/src/model/CancelJoinPermissionAuthOrderRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CancelJoinPermissionAuthOrderRequest; + +CancelJoinPermissionAuthOrderRequest::CancelJoinPermissionAuthOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CancelJoinPermissionAuthOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +CancelJoinPermissionAuthOrderRequest::~CancelJoinPermissionAuthOrderRequest() +{} + +std::string CancelJoinPermissionAuthOrderRequest::getOrderId()const +{ + return orderId_; +} + +void CancelJoinPermissionAuthOrderRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string CancelJoinPermissionAuthOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CancelJoinPermissionAuthOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CancelJoinPermissionAuthOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CancelJoinPermissionAuthOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CancelJoinPermissionAuthOrderResult.cc b/linkwan/src/model/CancelJoinPermissionAuthOrderResult.cc new file mode 100644 index 000000000..0a805b142 --- /dev/null +++ b/linkwan/src/model/CancelJoinPermissionAuthOrderResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CancelJoinPermissionAuthOrderResult::CancelJoinPermissionAuthOrderResult() : + ServiceResult() +{} + +CancelJoinPermissionAuthOrderResult::CancelJoinPermissionAuthOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelJoinPermissionAuthOrderResult::~CancelJoinPermissionAuthOrderResult() +{} + +void CancelJoinPermissionAuthOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool CancelJoinPermissionAuthOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CheckCloudProductOpenStatusRequest.cc b/linkwan/src/model/CheckCloudProductOpenStatusRequest.cc new file mode 100644 index 000000000..76cb0d7f0 --- /dev/null +++ b/linkwan/src/model/CheckCloudProductOpenStatusRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CheckCloudProductOpenStatusRequest; + +CheckCloudProductOpenStatusRequest::CheckCloudProductOpenStatusRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CheckCloudProductOpenStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckCloudProductOpenStatusRequest::~CheckCloudProductOpenStatusRequest() +{} + +std::string CheckCloudProductOpenStatusRequest::getServiceCode()const +{ + return serviceCode_; +} + +void CheckCloudProductOpenStatusRequest::setServiceCode(const std::string& serviceCode) +{ + serviceCode_ = serviceCode; + setParameter("ServiceCode", serviceCode); +} + +std::string CheckCloudProductOpenStatusRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CheckCloudProductOpenStatusRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CheckCloudProductOpenStatusRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CheckCloudProductOpenStatusRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CheckCloudProductOpenStatusResult.cc b/linkwan/src/model/CheckCloudProductOpenStatusResult.cc new file mode 100644 index 000000000..76b5988ad --- /dev/null +++ b/linkwan/src/model/CheckCloudProductOpenStatusResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CheckCloudProductOpenStatusResult::CheckCloudProductOpenStatusResult() : + ServiceResult() +{} + +CheckCloudProductOpenStatusResult::CheckCloudProductOpenStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckCloudProductOpenStatusResult::~CheckCloudProductOpenStatusResult() +{} + +void CheckCloudProductOpenStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +bool CheckCloudProductOpenStatusResult::getData()const +{ + return data_; +} + +bool CheckCloudProductOpenStatusResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CheckUserChargeStatusRequest.cc b/linkwan/src/model/CheckUserChargeStatusRequest.cc new file mode 100644 index 000000000..01d8a40bf --- /dev/null +++ b/linkwan/src/model/CheckUserChargeStatusRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CheckUserChargeStatusRequest; + +CheckUserChargeStatusRequest::CheckUserChargeStatusRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CheckUserChargeStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckUserChargeStatusRequest::~CheckUserChargeStatusRequest() +{} + +std::string CheckUserChargeStatusRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CheckUserChargeStatusRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CheckUserChargeStatusRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CheckUserChargeStatusRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CheckUserChargeStatusResult.cc b/linkwan/src/model/CheckUserChargeStatusResult.cc new file mode 100644 index 000000000..6ea920b55 --- /dev/null +++ b/linkwan/src/model/CheckUserChargeStatusResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CheckUserChargeStatusResult::CheckUserChargeStatusResult() : + ServiceResult() +{} + +CheckUserChargeStatusResult::CheckUserChargeStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckUserChargeStatusResult::~CheckUserChargeStatusResult() +{} + +void CheckUserChargeStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string CheckUserChargeStatusResult::getData()const +{ + return data_; +} + +bool CheckUserChargeStatusResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountGatewayTupleOrdersRequest.cc b/linkwan/src/model/CountGatewayTupleOrdersRequest.cc new file mode 100644 index 000000000..1c09660e9 --- /dev/null +++ b/linkwan/src/model/CountGatewayTupleOrdersRequest.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountGatewayTupleOrdersRequest; + +CountGatewayTupleOrdersRequest::CountGatewayTupleOrdersRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountGatewayTupleOrders") +{ + setMethod(HttpRequest::Method::Post); +} + +CountGatewayTupleOrdersRequest::~CountGatewayTupleOrdersRequest() +{} + +std::vector CountGatewayTupleOrdersRequest::getStates()const +{ + return states_; +} + +void CountGatewayTupleOrdersRequest::setStates(const std::vector& states) +{ + states_ = states; + for(int dep1 = 0; dep1!= states.size(); dep1++) { + setParameter("States."+ std::to_string(dep1), states.at(dep1)); + } +} + +std::string CountGatewayTupleOrdersRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountGatewayTupleOrdersRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountGatewayTupleOrdersRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountGatewayTupleOrdersRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CountGatewayTupleOrdersResult.cc b/linkwan/src/model/CountGatewayTupleOrdersResult.cc new file mode 100644 index 000000000..e1650af50 --- /dev/null +++ b/linkwan/src/model/CountGatewayTupleOrdersResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountGatewayTupleOrdersResult::CountGatewayTupleOrdersResult() : + ServiceResult() +{} + +CountGatewayTupleOrdersResult::CountGatewayTupleOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountGatewayTupleOrdersResult::~CountGatewayTupleOrdersResult() +{} + +void CountGatewayTupleOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountGatewayTupleOrdersResult::getData()const +{ + return data_; +} + +bool CountGatewayTupleOrdersResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountGatewaysRequest.cc b/linkwan/src/model/CountGatewaysRequest.cc new file mode 100644 index 000000000..630b2c708 --- /dev/null +++ b/linkwan/src/model/CountGatewaysRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountGatewaysRequest; + +CountGatewaysRequest::CountGatewaysRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountGateways") +{ + setMethod(HttpRequest::Method::Post); +} + +CountGatewaysRequest::~CountGatewaysRequest() +{} + +std::string CountGatewaysRequest::getRealTenantId()const +{ + return realTenantId_; +} + +void CountGatewaysRequest::setRealTenantId(const std::string& realTenantId) +{ + realTenantId_ = realTenantId; + setParameter("RealTenantId", realTenantId); +} + +std::string CountGatewaysRequest::getRealTripartiteKey()const +{ + return realTripartiteKey_; +} + +void CountGatewaysRequest::setRealTripartiteKey(const std::string& realTripartiteKey) +{ + realTripartiteKey_ = realTripartiteKey; + setParameter("RealTripartiteKey", realTripartiteKey); +} + +std::string CountGatewaysRequest::getFuzzyGwEui()const +{ + return fuzzyGwEui_; +} + +void CountGatewaysRequest::setFuzzyGwEui(const std::string& fuzzyGwEui) +{ + fuzzyGwEui_ = fuzzyGwEui; + setParameter("FuzzyGwEui", fuzzyGwEui); +} + +std::string CountGatewaysRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void CountGatewaysRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string CountGatewaysRequest::getFuzzyCity()const +{ + return fuzzyCity_; +} + +void CountGatewaysRequest::setFuzzyCity(const std::string& fuzzyCity) +{ + fuzzyCity_ = fuzzyCity; + setParameter("FuzzyCity", fuzzyCity); +} + +std::string CountGatewaysRequest::getOnlineState()const +{ + return onlineState_; +} + +void CountGatewaysRequest::setOnlineState(const std::string& onlineState) +{ + onlineState_ = onlineState; + setParameter("OnlineState", onlineState); +} + +bool CountGatewaysRequest::getIsEnabled()const +{ + return isEnabled_; +} + +void CountGatewaysRequest::setIsEnabled(bool isEnabled) +{ + isEnabled_ = isEnabled; + setParameter("IsEnabled", isEnabled ? "true" : "false"); +} + +std::string CountGatewaysRequest::getFuzzyName()const +{ + return fuzzyName_; +} + +void CountGatewaysRequest::setFuzzyName(const std::string& fuzzyName) +{ + fuzzyName_ = fuzzyName; + setParameter("FuzzyName", fuzzyName); +} + +long CountGatewaysRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void CountGatewaysRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string CountGatewaysRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountGatewaysRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountGatewaysRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountGatewaysRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CountGatewaysResult.cc b/linkwan/src/model/CountGatewaysResult.cc new file mode 100644 index 000000000..74f74d95b --- /dev/null +++ b/linkwan/src/model/CountGatewaysResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountGatewaysResult::CountGatewaysResult() : + ServiceResult() +{} + +CountGatewaysResult::CountGatewaysResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountGatewaysResult::~CountGatewaysResult() +{} + +void CountGatewaysResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountGatewaysResult::getData()const +{ + return data_; +} + +bool CountGatewaysResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountNodeGroupsRequest.cc b/linkwan/src/model/CountNodeGroupsRequest.cc new file mode 100644 index 000000000..b556de7f7 --- /dev/null +++ b/linkwan/src/model/CountNodeGroupsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountNodeGroupsRequest; + +CountNodeGroupsRequest::CountNodeGroupsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountNodeGroups") +{ + setMethod(HttpRequest::Method::Post); +} + +CountNodeGroupsRequest::~CountNodeGroupsRequest() +{} + +std::string CountNodeGroupsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void CountNodeGroupsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string CountNodeGroupsRequest::getFuzzyJoinEui()const +{ + return fuzzyJoinEui_; +} + +void CountNodeGroupsRequest::setFuzzyJoinEui(const std::string& fuzzyJoinEui) +{ + fuzzyJoinEui_ = fuzzyJoinEui; + setParameter("FuzzyJoinEui", fuzzyJoinEui); +} + +std::string CountNodeGroupsRequest::getFuzzyDevEui()const +{ + return fuzzyDevEui_; +} + +void CountNodeGroupsRequest::setFuzzyDevEui(const std::string& fuzzyDevEui) +{ + fuzzyDevEui_ = fuzzyDevEui; + setParameter("FuzzyDevEui", fuzzyDevEui); +} + +std::string CountNodeGroupsRequest::getFuzzyName()const +{ + return fuzzyName_; +} + +void CountNodeGroupsRequest::setFuzzyName(const std::string& fuzzyName) +{ + fuzzyName_ = fuzzyName; + setParameter("FuzzyName", fuzzyName); +} + +std::string CountNodeGroupsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountNodeGroupsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountNodeGroupsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountNodeGroupsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CountNodeGroupsResult.cc b/linkwan/src/model/CountNodeGroupsResult.cc new file mode 100644 index 000000000..9b57a6c0e --- /dev/null +++ b/linkwan/src/model/CountNodeGroupsResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountNodeGroupsResult::CountNodeGroupsResult() : + ServiceResult() +{} + +CountNodeGroupsResult::CountNodeGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountNodeGroupsResult::~CountNodeGroupsResult() +{} + +void CountNodeGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountNodeGroupsResult::getData()const +{ + return data_; +} + +bool CountNodeGroupsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountNodeTupleOrdersRequest.cc b/linkwan/src/model/CountNodeTupleOrdersRequest.cc new file mode 100644 index 000000000..42ee806a8 --- /dev/null +++ b/linkwan/src/model/CountNodeTupleOrdersRequest.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountNodeTupleOrdersRequest; + +CountNodeTupleOrdersRequest::CountNodeTupleOrdersRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountNodeTupleOrders") +{ + setMethod(HttpRequest::Method::Post); +} + +CountNodeTupleOrdersRequest::~CountNodeTupleOrdersRequest() +{} + +bool CountNodeTupleOrdersRequest::getIsKpm()const +{ + return isKpm_; +} + +void CountNodeTupleOrdersRequest::setIsKpm(bool isKpm) +{ + isKpm_ = isKpm; + setParameter("IsKpm", isKpm ? "true" : "false"); +} + +std::vector CountNodeTupleOrdersRequest::getStates()const +{ + return states_; +} + +void CountNodeTupleOrdersRequest::setStates(const std::vector& states) +{ + states_ = states; + for(int dep1 = 0; dep1!= states.size(); dep1++) { + setParameter("States."+ std::to_string(dep1), states.at(dep1)); + } +} + +std::string CountNodeTupleOrdersRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountNodeTupleOrdersRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountNodeTupleOrdersRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountNodeTupleOrdersRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CountNodeTupleOrdersResult.cc b/linkwan/src/model/CountNodeTupleOrdersResult.cc new file mode 100644 index 000000000..6573c09ec --- /dev/null +++ b/linkwan/src/model/CountNodeTupleOrdersResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountNodeTupleOrdersResult::CountNodeTupleOrdersResult() : + ServiceResult() +{} + +CountNodeTupleOrdersResult::CountNodeTupleOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountNodeTupleOrdersResult::~CountNodeTupleOrdersResult() +{} + +void CountNodeTupleOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountNodeTupleOrdersResult::getData()const +{ + return data_; +} + +bool CountNodeTupleOrdersResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountNodesByNodeGroupIdRequest.cc b/linkwan/src/model/CountNodesByNodeGroupIdRequest.cc new file mode 100644 index 000000000..7a7e51186 --- /dev/null +++ b/linkwan/src/model/CountNodesByNodeGroupIdRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountNodesByNodeGroupIdRequest; + +CountNodesByNodeGroupIdRequest::CountNodesByNodeGroupIdRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountNodesByNodeGroupId") +{ + setMethod(HttpRequest::Method::Post); +} + +CountNodesByNodeGroupIdRequest::~CountNodesByNodeGroupIdRequest() +{} + +std::string CountNodesByNodeGroupIdRequest::getFuzzyDevEui()const +{ + return fuzzyDevEui_; +} + +void CountNodesByNodeGroupIdRequest::setFuzzyDevEui(const std::string& fuzzyDevEui) +{ + fuzzyDevEui_ = fuzzyDevEui; + setParameter("FuzzyDevEui", fuzzyDevEui); +} + +std::string CountNodesByNodeGroupIdRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void CountNodesByNodeGroupIdRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string CountNodesByNodeGroupIdRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountNodesByNodeGroupIdRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountNodesByNodeGroupIdRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountNodesByNodeGroupIdRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CountNodesByNodeGroupIdResult.cc b/linkwan/src/model/CountNodesByNodeGroupIdResult.cc new file mode 100644 index 000000000..62b4ae249 --- /dev/null +++ b/linkwan/src/model/CountNodesByNodeGroupIdResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountNodesByNodeGroupIdResult::CountNodesByNodeGroupIdResult() : + ServiceResult() +{} + +CountNodesByNodeGroupIdResult::CountNodesByNodeGroupIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountNodesByNodeGroupIdResult::~CountNodesByNodeGroupIdResult() +{} + +void CountNodesByNodeGroupIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountNodesByNodeGroupIdResult::getData()const +{ + return data_; +} + +bool CountNodesByNodeGroupIdResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountNodesByOwnedJoinPermissionIdRequest.cc b/linkwan/src/model/CountNodesByOwnedJoinPermissionIdRequest.cc new file mode 100644 index 000000000..ac40c4376 --- /dev/null +++ b/linkwan/src/model/CountNodesByOwnedJoinPermissionIdRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountNodesByOwnedJoinPermissionIdRequest; + +CountNodesByOwnedJoinPermissionIdRequest::CountNodesByOwnedJoinPermissionIdRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountNodesByOwnedJoinPermissionId") +{ + setMethod(HttpRequest::Method::Post); +} + +CountNodesByOwnedJoinPermissionIdRequest::~CountNodesByOwnedJoinPermissionIdRequest() +{} + +std::string CountNodesByOwnedJoinPermissionIdRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void CountNodesByOwnedJoinPermissionIdRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string CountNodesByOwnedJoinPermissionIdRequest::getFuzzyDevEui()const +{ + return fuzzyDevEui_; +} + +void CountNodesByOwnedJoinPermissionIdRequest::setFuzzyDevEui(const std::string& fuzzyDevEui) +{ + fuzzyDevEui_ = fuzzyDevEui; + setParameter("FuzzyDevEui", fuzzyDevEui); +} + +std::string CountNodesByOwnedJoinPermissionIdRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountNodesByOwnedJoinPermissionIdRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountNodesByOwnedJoinPermissionIdRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountNodesByOwnedJoinPermissionIdRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CountNodesByOwnedJoinPermissionIdResult.cc b/linkwan/src/model/CountNodesByOwnedJoinPermissionIdResult.cc new file mode 100644 index 000000000..b3bd38e75 --- /dev/null +++ b/linkwan/src/model/CountNodesByOwnedJoinPermissionIdResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountNodesByOwnedJoinPermissionIdResult::CountNodesByOwnedJoinPermissionIdResult() : + ServiceResult() +{} + +CountNodesByOwnedJoinPermissionIdResult::CountNodesByOwnedJoinPermissionIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountNodesByOwnedJoinPermissionIdResult::~CountNodesByOwnedJoinPermissionIdResult() +{} + +void CountNodesByOwnedJoinPermissionIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountNodesByOwnedJoinPermissionIdResult::getData()const +{ + return data_; +} + +bool CountNodesByOwnedJoinPermissionIdResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountNotificationsRequest.cc b/linkwan/src/model/CountNotificationsRequest.cc new file mode 100644 index 000000000..545743b65 --- /dev/null +++ b/linkwan/src/model/CountNotificationsRequest.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountNotificationsRequest; + +CountNotificationsRequest::CountNotificationsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountNotifications") +{ + setMethod(HttpRequest::Method::Post); +} + +CountNotificationsRequest::~CountNotificationsRequest() +{} + +long CountNotificationsRequest::getEndMillis()const +{ + return endMillis_; +} + +void CountNotificationsRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string CountNotificationsRequest::getHandleState()const +{ + return handleState_; +} + +void CountNotificationsRequest::setHandleState(const std::string& handleState) +{ + handleState_ = handleState; + setParameter("HandleState", handleState); +} + +std::string CountNotificationsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountNotificationsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountNotificationsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountNotificationsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::vector CountNotificationsRequest::getCategory()const +{ + return category_; +} + +void CountNotificationsRequest::setCategory(const std::vector& category) +{ + category_ = category; + for(int dep1 = 0; dep1!= category.size(); dep1++) { + setParameter("Category."+ std::to_string(dep1), category.at(dep1)); + } +} + +long CountNotificationsRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void CountNotificationsRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + diff --git a/linkwan/src/model/CountNotificationsResult.cc b/linkwan/src/model/CountNotificationsResult.cc new file mode 100644 index 000000000..91a50593e --- /dev/null +++ b/linkwan/src/model/CountNotificationsResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountNotificationsResult::CountNotificationsResult() : + ServiceResult() +{} + +CountNotificationsResult::CountNotificationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountNotificationsResult::~CountNotificationsResult() +{} + +void CountNotificationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountNotificationsResult::getData()const +{ + return data_; +} + +bool CountNotificationsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountOwnedJoinPermissionsRequest.cc b/linkwan/src/model/CountOwnedJoinPermissionsRequest.cc new file mode 100644 index 000000000..077234e89 --- /dev/null +++ b/linkwan/src/model/CountOwnedJoinPermissionsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountOwnedJoinPermissionsRequest; + +CountOwnedJoinPermissionsRequest::CountOwnedJoinPermissionsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountOwnedJoinPermissions") +{ + setMethod(HttpRequest::Method::Post); +} + +CountOwnedJoinPermissionsRequest::~CountOwnedJoinPermissionsRequest() +{} + +bool CountOwnedJoinPermissionsRequest::getEnabled()const +{ + return enabled_; +} + +void CountOwnedJoinPermissionsRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string CountOwnedJoinPermissionsRequest::getFuzzyJoinEui()const +{ + return fuzzyJoinEui_; +} + +void CountOwnedJoinPermissionsRequest::setFuzzyJoinEui(const std::string& fuzzyJoinEui) +{ + fuzzyJoinEui_ = fuzzyJoinEui; + setParameter("FuzzyJoinEui", fuzzyJoinEui); +} + +std::string CountOwnedJoinPermissionsRequest::getFuzzyJoinPermissionName()const +{ + return fuzzyJoinPermissionName_; +} + +void CountOwnedJoinPermissionsRequest::setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName) +{ + fuzzyJoinPermissionName_ = fuzzyJoinPermissionName; + setParameter("FuzzyJoinPermissionName", fuzzyJoinPermissionName); +} + +std::string CountOwnedJoinPermissionsRequest::getFuzzyRenterAliyunId()const +{ + return fuzzyRenterAliyunId_; +} + +void CountOwnedJoinPermissionsRequest::setFuzzyRenterAliyunId(const std::string& fuzzyRenterAliyunId) +{ + fuzzyRenterAliyunId_ = fuzzyRenterAliyunId; + setParameter("FuzzyRenterAliyunId", fuzzyRenterAliyunId); +} + +std::string CountOwnedJoinPermissionsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountOwnedJoinPermissionsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountOwnedJoinPermissionsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountOwnedJoinPermissionsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CountOwnedJoinPermissionsResult.cc b/linkwan/src/model/CountOwnedJoinPermissionsResult.cc new file mode 100644 index 000000000..ec6ff7c5b --- /dev/null +++ b/linkwan/src/model/CountOwnedJoinPermissionsResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountOwnedJoinPermissionsResult::CountOwnedJoinPermissionsResult() : + ServiceResult() +{} + +CountOwnedJoinPermissionsResult::CountOwnedJoinPermissionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountOwnedJoinPermissionsResult::~CountOwnedJoinPermissionsResult() +{} + +void CountOwnedJoinPermissionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountOwnedJoinPermissionsResult::getData()const +{ + return data_; +} + +bool CountOwnedJoinPermissionsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CountRentedJoinPermissionsRequest.cc b/linkwan/src/model/CountRentedJoinPermissionsRequest.cc new file mode 100644 index 000000000..49ea25ff0 --- /dev/null +++ b/linkwan/src/model/CountRentedJoinPermissionsRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CountRentedJoinPermissionsRequest; + +CountRentedJoinPermissionsRequest::CountRentedJoinPermissionsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CountRentedJoinPermissions") +{ + setMethod(HttpRequest::Method::Post); +} + +CountRentedJoinPermissionsRequest::~CountRentedJoinPermissionsRequest() +{} + +std::string CountRentedJoinPermissionsRequest::getType()const +{ + return type_; +} + +void CountRentedJoinPermissionsRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +bool CountRentedJoinPermissionsRequest::getEnabled()const +{ + return enabled_; +} + +void CountRentedJoinPermissionsRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string CountRentedJoinPermissionsRequest::getFuzzyJoinEui()const +{ + return fuzzyJoinEui_; +} + +void CountRentedJoinPermissionsRequest::setFuzzyJoinEui(const std::string& fuzzyJoinEui) +{ + fuzzyJoinEui_ = fuzzyJoinEui; + setParameter("FuzzyJoinEui", fuzzyJoinEui); +} + +std::string CountRentedJoinPermissionsRequest::getFuzzyJoinPermissionName()const +{ + return fuzzyJoinPermissionName_; +} + +void CountRentedJoinPermissionsRequest::setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName) +{ + fuzzyJoinPermissionName_ = fuzzyJoinPermissionName; + setParameter("FuzzyJoinPermissionName", fuzzyJoinPermissionName); +} + +bool CountRentedJoinPermissionsRequest::getBoundNodeGroup()const +{ + return boundNodeGroup_; +} + +void CountRentedJoinPermissionsRequest::setBoundNodeGroup(bool boundNodeGroup) +{ + boundNodeGroup_ = boundNodeGroup; + setParameter("BoundNodeGroup", boundNodeGroup ? "true" : "false"); +} + +std::string CountRentedJoinPermissionsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CountRentedJoinPermissionsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CountRentedJoinPermissionsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CountRentedJoinPermissionsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string CountRentedJoinPermissionsRequest::getFuzzyOwnerAliyunId()const +{ + return fuzzyOwnerAliyunId_; +} + +void CountRentedJoinPermissionsRequest::setFuzzyOwnerAliyunId(const std::string& fuzzyOwnerAliyunId) +{ + fuzzyOwnerAliyunId_ = fuzzyOwnerAliyunId; + setParameter("FuzzyOwnerAliyunId", fuzzyOwnerAliyunId); +} + diff --git a/linkwan/src/model/CountRentedJoinPermissionsResult.cc b/linkwan/src/model/CountRentedJoinPermissionsResult.cc new file mode 100644 index 000000000..f39979c1e --- /dev/null +++ b/linkwan/src/model/CountRentedJoinPermissionsResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CountRentedJoinPermissionsResult::CountRentedJoinPermissionsResult() : + ServiceResult() +{} + +CountRentedJoinPermissionsResult::CountRentedJoinPermissionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CountRentedJoinPermissionsResult::~CountRentedJoinPermissionsResult() +{} + +void CountRentedJoinPermissionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long CountRentedJoinPermissionsResult::getData()const +{ + return data_; +} + +bool CountRentedJoinPermissionsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CreateCustomLocalJoinPermissionRequest.cc b/linkwan/src/model/CreateCustomLocalJoinPermissionRequest.cc new file mode 100644 index 000000000..8230f9c29 --- /dev/null +++ b/linkwan/src/model/CreateCustomLocalJoinPermissionRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CreateCustomLocalJoinPermissionRequest; + +CreateCustomLocalJoinPermissionRequest::CreateCustomLocalJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CreateCustomLocalJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateCustomLocalJoinPermissionRequest::~CreateCustomLocalJoinPermissionRequest() +{} + +std::string CreateCustomLocalJoinPermissionRequest::getClassMode()const +{ + return classMode_; +} + +void CreateCustomLocalJoinPermissionRequest::setClassMode(const std::string& classMode) +{ + classMode_ = classMode; + setParameter("ClassMode", classMode); +} + +long CreateCustomLocalJoinPermissionRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void CreateCustomLocalJoinPermissionRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string CreateCustomLocalJoinPermissionRequest::getJoinEui()const +{ + return joinEui_; +} + +void CreateCustomLocalJoinPermissionRequest::setJoinEui(const std::string& joinEui) +{ + joinEui_ = joinEui; + setParameter("JoinEui", joinEui); +} + +std::string CreateCustomLocalJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CreateCustomLocalJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CreateCustomLocalJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CreateCustomLocalJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string CreateCustomLocalJoinPermissionRequest::getJoinPermissionName()const +{ + return joinPermissionName_; +} + +void CreateCustomLocalJoinPermissionRequest::setJoinPermissionName(const std::string& joinPermissionName) +{ + joinPermissionName_ = joinPermissionName; + setParameter("JoinPermissionName", joinPermissionName); +} + diff --git a/linkwan/src/model/CreateCustomLocalJoinPermissionResult.cc b/linkwan/src/model/CreateCustomLocalJoinPermissionResult.cc new file mode 100644 index 000000000..17a2849b5 --- /dev/null +++ b/linkwan/src/model/CreateCustomLocalJoinPermissionResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CreateCustomLocalJoinPermissionResult::CreateCustomLocalJoinPermissionResult() : + ServiceResult() +{} + +CreateCustomLocalJoinPermissionResult::CreateCustomLocalJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCustomLocalJoinPermissionResult::~CreateCustomLocalJoinPermissionResult() +{} + +void CreateCustomLocalJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string CreateCustomLocalJoinPermissionResult::getData()const +{ + return data_; +} + +bool CreateCustomLocalJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CreateGatewayRequest.cc b/linkwan/src/model/CreateGatewayRequest.cc new file mode 100644 index 000000000..6e7e3d3bf --- /dev/null +++ b/linkwan/src/model/CreateGatewayRequest.cc @@ -0,0 +1,205 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CreateGatewayRequest; + +CreateGatewayRequest::CreateGatewayRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CreateGateway") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateGatewayRequest::~CreateGatewayRequest() +{} + +std::string CreateGatewayRequest::getCity()const +{ + return city_; +} + +void CreateGatewayRequest::setCity(const std::string& city) +{ + city_ = city; + setParameter("City", city); +} + +float CreateGatewayRequest::getLatitude()const +{ + return latitude_; +} + +void CreateGatewayRequest::setLatitude(float latitude) +{ + latitude_ = latitude; + setParameter("Latitude", std::to_string(latitude)); +} + +std::string CreateGatewayRequest::getDescription()const +{ + return description_; +} + +void CreateGatewayRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +long CreateGatewayRequest::getAddressCode()const +{ + return addressCode_; +} + +void CreateGatewayRequest::setAddressCode(long addressCode) +{ + addressCode_ = addressCode; + setParameter("AddressCode", std::to_string(addressCode)); +} + +std::string CreateGatewayRequest::getGisCoordinateSystem()const +{ + return gisCoordinateSystem_; +} + +void CreateGatewayRequest::setGisCoordinateSystem(const std::string& gisCoordinateSystem) +{ + gisCoordinateSystem_ = gisCoordinateSystem; + setParameter("GisCoordinateSystem", gisCoordinateSystem); +} + +std::string CreateGatewayRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void CreateGatewayRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +float CreateGatewayRequest::getLongitude()const +{ + return longitude_; +} + +void CreateGatewayRequest::setLongitude(float longitude) +{ + longitude_ = longitude; + setParameter("Longitude", std::to_string(longitude)); +} + +std::string CreateGatewayRequest::getPinCode()const +{ + return pinCode_; +} + +void CreateGatewayRequest::setPinCode(const std::string& pinCode) +{ + pinCode_ = pinCode; + setParameter("PinCode", pinCode); +} + +std::string CreateGatewayRequest::getAddress()const +{ + return address_; +} + +void CreateGatewayRequest::setAddress(const std::string& address) +{ + address_ = address; + setParameter("Address", address); +} + +std::string CreateGatewayRequest::getGwEui()const +{ + return gwEui_; +} + +void CreateGatewayRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +long CreateGatewayRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void CreateGatewayRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string CreateGatewayRequest::getDistrict()const +{ + return district_; +} + +void CreateGatewayRequest::setDistrict(const std::string& district) +{ + district_ = district; + setParameter("District", district); +} + +std::string CreateGatewayRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CreateGatewayRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CreateGatewayRequest::getName()const +{ + return name_; +} + +void CreateGatewayRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateGatewayRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CreateGatewayRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string CreateGatewayRequest::getCommunicationMode()const +{ + return communicationMode_; +} + +void CreateGatewayRequest::setCommunicationMode(const std::string& communicationMode) +{ + communicationMode_ = communicationMode; + setParameter("CommunicationMode", communicationMode); +} + diff --git a/linkwan/src/model/CreateGatewayResult.cc b/linkwan/src/model/CreateGatewayResult.cc new file mode 100644 index 000000000..af211e0de --- /dev/null +++ b/linkwan/src/model/CreateGatewayResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CreateGatewayResult::CreateGatewayResult() : + ServiceResult() +{} + +CreateGatewayResult::CreateGatewayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateGatewayResult::~CreateGatewayResult() +{} + +void CreateGatewayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool CreateGatewayResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CreateLocalJoinPermissionRequest.cc b/linkwan/src/model/CreateLocalJoinPermissionRequest.cc new file mode 100644 index 000000000..b5332dd45 --- /dev/null +++ b/linkwan/src/model/CreateLocalJoinPermissionRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CreateLocalJoinPermissionRequest; + +CreateLocalJoinPermissionRequest::CreateLocalJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CreateLocalJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateLocalJoinPermissionRequest::~CreateLocalJoinPermissionRequest() +{} + +long CreateLocalJoinPermissionRequest::getRxDelay()const +{ + return rxDelay_; +} + +void CreateLocalJoinPermissionRequest::setRxDelay(long rxDelay) +{ + rxDelay_ = rxDelay; + setParameter("RxDelay", std::to_string(rxDelay)); +} + +std::string CreateLocalJoinPermissionRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void CreateLocalJoinPermissionRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +bool CreateLocalJoinPermissionRequest::getUseDefaultJoinEui()const +{ + return useDefaultJoinEui_; +} + +void CreateLocalJoinPermissionRequest::setUseDefaultJoinEui(bool useDefaultJoinEui) +{ + useDefaultJoinEui_ = useDefaultJoinEui; + setParameter("UseDefaultJoinEui", useDefaultJoinEui ? "true" : "false"); +} + +std::string CreateLocalJoinPermissionRequest::getClassMode()const +{ + return classMode_; +} + +void CreateLocalJoinPermissionRequest::setClassMode(const std::string& classMode) +{ + classMode_ = classMode; + setParameter("ClassMode", classMode); +} + +long CreateLocalJoinPermissionRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void CreateLocalJoinPermissionRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string CreateLocalJoinPermissionRequest::getJoinEui()const +{ + return joinEui_; +} + +void CreateLocalJoinPermissionRequest::setJoinEui(const std::string& joinEui) +{ + joinEui_ = joinEui; + setParameter("JoinEui", joinEui); +} + +std::string CreateLocalJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CreateLocalJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CreateLocalJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CreateLocalJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string CreateLocalJoinPermissionRequest::getJoinPermissionName()const +{ + return joinPermissionName_; +} + +void CreateLocalJoinPermissionRequest::setJoinPermissionName(const std::string& joinPermissionName) +{ + joinPermissionName_ = joinPermissionName; + setParameter("JoinPermissionName", joinPermissionName); +} + +long CreateLocalJoinPermissionRequest::getDataRate()const +{ + return dataRate_; +} + +void CreateLocalJoinPermissionRequest::setDataRate(long dataRate) +{ + dataRate_ = dataRate; + setParameter("DataRate", std::to_string(dataRate)); +} + diff --git a/linkwan/src/model/CreateLocalJoinPermissionResult.cc b/linkwan/src/model/CreateLocalJoinPermissionResult.cc new file mode 100644 index 000000000..80c4e69bb --- /dev/null +++ b/linkwan/src/model/CreateLocalJoinPermissionResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CreateLocalJoinPermissionResult::CreateLocalJoinPermissionResult() : + ServiceResult() +{} + +CreateLocalJoinPermissionResult::CreateLocalJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateLocalJoinPermissionResult::~CreateLocalJoinPermissionResult() +{} + +void CreateLocalJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string CreateLocalJoinPermissionResult::getData()const +{ + return data_; +} + +bool CreateLocalJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/CreateNodeGroupRequest.cc b/linkwan/src/model/CreateNodeGroupRequest.cc new file mode 100644 index 000000000..84adfb6b0 --- /dev/null +++ b/linkwan/src/model/CreateNodeGroupRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::CreateNodeGroupRequest; + +CreateNodeGroupRequest::CreateNodeGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "CreateNodeGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateNodeGroupRequest::~CreateNodeGroupRequest() +{} + +std::string CreateNodeGroupRequest::getNodeGroupName()const +{ + return nodeGroupName_; +} + +void CreateNodeGroupRequest::setNodeGroupName(const std::string& nodeGroupName) +{ + nodeGroupName_ = nodeGroupName; + setParameter("NodeGroupName", nodeGroupName); +} + +std::string CreateNodeGroupRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void CreateNodeGroupRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string CreateNodeGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CreateNodeGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CreateNodeGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CreateNodeGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/CreateNodeGroupResult.cc b/linkwan/src/model/CreateNodeGroupResult.cc new file mode 100644 index 000000000..a15915b7f --- /dev/null +++ b/linkwan/src/model/CreateNodeGroupResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +CreateNodeGroupResult::CreateNodeGroupResult() : + ServiceResult() +{} + +CreateNodeGroupResult::CreateNodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateNodeGroupResult::~CreateNodeGroupResult() +{} + +void CreateNodeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string CreateNodeGroupResult::getData()const +{ + return data_; +} + +bool CreateNodeGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/DeleteGatewayRequest.cc b/linkwan/src/model/DeleteGatewayRequest.cc new file mode 100644 index 000000000..f0827797e --- /dev/null +++ b/linkwan/src/model/DeleteGatewayRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::DeleteGatewayRequest; + +DeleteGatewayRequest::DeleteGatewayRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "DeleteGateway") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteGatewayRequest::~DeleteGatewayRequest() +{} + +std::string DeleteGatewayRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void DeleteGatewayRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string DeleteGatewayRequest::getGwEui()const +{ + return gwEui_; +} + +void DeleteGatewayRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string DeleteGatewayRequest::getApiProduct()const +{ + return apiProduct_; +} + +void DeleteGatewayRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string DeleteGatewayRequest::getApiRevision()const +{ + return apiRevision_; +} + +void DeleteGatewayRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/DeleteGatewayResult.cc b/linkwan/src/model/DeleteGatewayResult.cc new file mode 100644 index 000000000..c84ec7a7a --- /dev/null +++ b/linkwan/src/model/DeleteGatewayResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +DeleteGatewayResult::DeleteGatewayResult() : + ServiceResult() +{} + +DeleteGatewayResult::DeleteGatewayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteGatewayResult::~DeleteGatewayResult() +{} + +void DeleteGatewayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteGatewayResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/DeleteLocalJoinPermissionRequest.cc b/linkwan/src/model/DeleteLocalJoinPermissionRequest.cc new file mode 100644 index 000000000..6063e6926 --- /dev/null +++ b/linkwan/src/model/DeleteLocalJoinPermissionRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::DeleteLocalJoinPermissionRequest; + +DeleteLocalJoinPermissionRequest::DeleteLocalJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "DeleteLocalJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteLocalJoinPermissionRequest::~DeleteLocalJoinPermissionRequest() +{} + +std::string DeleteLocalJoinPermissionRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void DeleteLocalJoinPermissionRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string DeleteLocalJoinPermissionRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void DeleteLocalJoinPermissionRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string DeleteLocalJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void DeleteLocalJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string DeleteLocalJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void DeleteLocalJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/DeleteLocalJoinPermissionResult.cc b/linkwan/src/model/DeleteLocalJoinPermissionResult.cc new file mode 100644 index 000000000..c99574f56 --- /dev/null +++ b/linkwan/src/model/DeleteLocalJoinPermissionResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +DeleteLocalJoinPermissionResult::DeleteLocalJoinPermissionResult() : + ServiceResult() +{} + +DeleteLocalJoinPermissionResult::DeleteLocalJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLocalJoinPermissionResult::~DeleteLocalJoinPermissionResult() +{} + +void DeleteLocalJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteLocalJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/DeleteNodeGroupRequest.cc b/linkwan/src/model/DeleteNodeGroupRequest.cc new file mode 100644 index 000000000..8ef68ed20 --- /dev/null +++ b/linkwan/src/model/DeleteNodeGroupRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::DeleteNodeGroupRequest; + +DeleteNodeGroupRequest::DeleteNodeGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "DeleteNodeGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteNodeGroupRequest::~DeleteNodeGroupRequest() +{} + +std::string DeleteNodeGroupRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void DeleteNodeGroupRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string DeleteNodeGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void DeleteNodeGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string DeleteNodeGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void DeleteNodeGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/DeleteNodeGroupResult.cc b/linkwan/src/model/DeleteNodeGroupResult.cc new file mode 100644 index 000000000..9ed612139 --- /dev/null +++ b/linkwan/src/model/DeleteNodeGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +DeleteNodeGroupResult::DeleteNodeGroupResult() : + ServiceResult() +{} + +DeleteNodeGroupResult::DeleteNodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteNodeGroupResult::~DeleteNodeGroupResult() +{} + +void DeleteNodeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool DeleteNodeGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/DescribeRegionsRequest.cc b/linkwan/src/model/DescribeRegionsRequest.cc new file mode 100644 index 000000000..0a0459b35 --- /dev/null +++ b/linkwan/src/model/DescribeRegionsRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::DescribeRegionsRequest; + +DescribeRegionsRequest::DescribeRegionsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "DescribeRegions") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRegionsRequest::~DescribeRegionsRequest() +{} + +std::string DescribeRegionsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void DescribeRegionsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string DescribeRegionsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void DescribeRegionsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/DescribeRegionsResult.cc b/linkwan/src/model/DescribeRegionsResult.cc new file mode 100644 index 000000000..1bc26f9da --- /dev/null +++ b/linkwan/src/model/DescribeRegionsResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +DescribeRegionsResult::DescribeRegionsResult() : + ServiceResult() +{} + +DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRegionsResult::~DescribeRegionsResult() +{} + +void DescribeRegionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["Region"]; + for (auto valueDataRegion : allDataNode) + { + Region dataObject; + if(!valueDataRegion["RegionId"].isNull()) + dataObject.regionId = valueDataRegion["RegionId"].asString(); + if(!valueDataRegion["LocalName"].isNull()) + dataObject.localName = valueDataRegion["LocalName"].asString(); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector DescribeRegionsResult::getData()const +{ + return data_; +} + +bool DescribeRegionsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetFreqBandPlanGroupRequest.cc b/linkwan/src/model/GetFreqBandPlanGroupRequest.cc new file mode 100644 index 000000000..aa9b85394 --- /dev/null +++ b/linkwan/src/model/GetFreqBandPlanGroupRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetFreqBandPlanGroupRequest; + +GetFreqBandPlanGroupRequest::GetFreqBandPlanGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetFreqBandPlanGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +GetFreqBandPlanGroupRequest::~GetFreqBandPlanGroupRequest() +{} + +long GetFreqBandPlanGroupRequest::getGroupId()const +{ + return groupId_; +} + +void GetFreqBandPlanGroupRequest::setGroupId(long groupId) +{ + groupId_ = groupId; + setParameter("GroupId", std::to_string(groupId)); +} + +std::string GetFreqBandPlanGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetFreqBandPlanGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetFreqBandPlanGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetFreqBandPlanGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetFreqBandPlanGroupResult.cc b/linkwan/src/model/GetFreqBandPlanGroupResult.cc new file mode 100644 index 000000000..0647f1494 --- /dev/null +++ b/linkwan/src/model/GetFreqBandPlanGroupResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetFreqBandPlanGroupResult::GetFreqBandPlanGroupResult() : + ServiceResult() +{} + +GetFreqBandPlanGroupResult::GetFreqBandPlanGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFreqBandPlanGroupResult::~GetFreqBandPlanGroupResult() +{} + +void GetFreqBandPlanGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["GroupId"].isNull()) + data_.groupId = std::stol(dataNode["GroupId"].asString()); + if(!dataNode["FrequencyRegionId"].isNull()) + data_.frequencyRegionId = dataNode["FrequencyRegionId"].asString(); + if(!dataNode["FrequencyType"].isNull()) + data_.frequencyType = dataNode["FrequencyType"].asString(); + if(!dataNode["BeginFrequency"].isNull()) + data_.beginFrequency = std::stol(dataNode["BeginFrequency"].asString()); + if(!dataNode["EndFrequency"].isNull()) + data_.endFrequency = std::stol(dataNode["EndFrequency"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetFreqBandPlanGroupResult::Data GetFreqBandPlanGroupResult::getData()const +{ + return data_; +} + +bool GetFreqBandPlanGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetGatewayPacketStatRequest.cc b/linkwan/src/model/GetGatewayPacketStatRequest.cc new file mode 100644 index 000000000..19b7cd263 --- /dev/null +++ b/linkwan/src/model/GetGatewayPacketStatRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetGatewayPacketStatRequest; + +GetGatewayPacketStatRequest::GetGatewayPacketStatRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetGatewayPacketStat") +{ + setMethod(HttpRequest::Method::Post); +} + +GetGatewayPacketStatRequest::~GetGatewayPacketStatRequest() +{} + +long GetGatewayPacketStatRequest::getEndMillis()const +{ + return endMillis_; +} + +void GetGatewayPacketStatRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string GetGatewayPacketStatRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetGatewayPacketStatRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string GetGatewayPacketStatRequest::getGwEui()const +{ + return gwEui_; +} + +void GetGatewayPacketStatRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string GetGatewayPacketStatRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetGatewayPacketStatRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetGatewayPacketStatRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetGatewayPacketStatRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long GetGatewayPacketStatRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void GetGatewayPacketStatRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + diff --git a/linkwan/src/model/GetGatewayPacketStatResult.cc b/linkwan/src/model/GetGatewayPacketStatResult.cc new file mode 100644 index 000000000..08f7d9840 --- /dev/null +++ b/linkwan/src/model/GetGatewayPacketStatResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetGatewayPacketStatResult::GetGatewayPacketStatResult() : + ServiceResult() +{} + +GetGatewayPacketStatResult::GetGatewayPacketStatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetGatewayPacketStatResult::~GetGatewayPacketStatResult() +{} + +void GetGatewayPacketStatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["UplinkValid"].isNull()) + data_.uplinkValid = std::stoi(dataNode["UplinkValid"].asString()); + if(!dataNode["UplinkInvalid"].isNull()) + data_.uplinkInvalid = std::stoi(dataNode["UplinkInvalid"].asString()); + if(!dataNode["DownlinkValid"].isNull()) + data_.downlinkValid = std::stoi(dataNode["DownlinkValid"].asString()); + if(!dataNode["DownlinkInvalid"].isNull()) + data_.downlinkInvalid = std::stoi(dataNode["DownlinkInvalid"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetGatewayPacketStatResult::Data GetGatewayPacketStatResult::getData()const +{ + return data_; +} + +bool GetGatewayPacketStatResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetGatewayRequest.cc b/linkwan/src/model/GetGatewayRequest.cc new file mode 100644 index 000000000..f42e120b9 --- /dev/null +++ b/linkwan/src/model/GetGatewayRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetGatewayRequest; + +GetGatewayRequest::GetGatewayRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetGateway") +{ + setMethod(HttpRequest::Method::Post); +} + +GetGatewayRequest::~GetGatewayRequest() +{} + +std::string GetGatewayRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetGatewayRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string GetGatewayRequest::getGwEui()const +{ + return gwEui_; +} + +void GetGatewayRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string GetGatewayRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetGatewayRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetGatewayRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetGatewayRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetGatewayResult.cc b/linkwan/src/model/GetGatewayResult.cc new file mode 100644 index 000000000..15d8d8c42 --- /dev/null +++ b/linkwan/src/model/GetGatewayResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetGatewayResult::GetGatewayResult() : + ServiceResult() +{} + +GetGatewayResult::GetGatewayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetGatewayResult::~GetGatewayResult() +{} + +void GetGatewayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["GwEui"].isNull()) + data_.gwEui = dataNode["GwEui"].asString(); + if(!dataNode["OnlineState"].isNull()) + data_.onlineState = dataNode["OnlineState"].asString(); + if(!dataNode["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); + if(!dataNode["City"].isNull()) + data_.city = dataNode["City"].asString(); + if(!dataNode["District"].isNull()) + data_.district = dataNode["District"].asString(); + if(!dataNode["Address"].isNull()) + data_.address = dataNode["Address"].asString(); + if(!dataNode["AddressCode"].isNull()) + data_.addressCode = std::stol(dataNode["AddressCode"].asString()); + if(!dataNode["GisCoordinateSystem"].isNull()) + data_.gisCoordinateSystem = dataNode["GisCoordinateSystem"].asString(); + if(!dataNode["Longitude"].isNull()) + data_.longitude = std::stof(dataNode["Longitude"].asString()); + if(!dataNode["Latitude"].isNull()) + data_.latitude = std::stof(dataNode["Latitude"].asString()); + if(!dataNode["FreqBandPlanGroupId"].isNull()) + data_.freqBandPlanGroupId = std::stol(dataNode["FreqBandPlanGroupId"].asString()); + if(!dataNode["CommunicationMode"].isNull()) + data_.communicationMode = dataNode["CommunicationMode"].asString(); + if(!dataNode["TimeCorrectable"].isNull()) + data_.timeCorrectable = dataNode["TimeCorrectable"].asString() == "true"; + if(!dataNode["ClassBSupported"].isNull()) + data_.classBSupported = dataNode["ClassBSupported"].asString() == "true"; + if(!dataNode["ClassBWorking"].isNull()) + data_.classBWorking = dataNode["ClassBWorking"].asString() == "true"; + if(!dataNode["Enabled"].isNull()) + data_.enabled = dataNode["Enabled"].asString() == "true"; + if(!dataNode["OnlineStateChangedMillis"].isNull()) + data_.onlineStateChangedMillis = std::stol(dataNode["OnlineStateChangedMillis"].asString()); + if(!dataNode["EmbeddedNsId"].isNull()) + data_.embeddedNsId = dataNode["EmbeddedNsId"].asString(); + if(!dataNode["ChargeStatus"].isNull()) + data_.chargeStatus = dataNode["ChargeStatus"].asString(); + if(!dataNode["AuthTypes"].isNull()) + data_.authTypes = dataNode["AuthTypes"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetGatewayResult::Data GetGatewayResult::getData()const +{ + return data_; +} + +bool GetGatewayResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetGatewayStatusStatRequest.cc b/linkwan/src/model/GetGatewayStatusStatRequest.cc new file mode 100644 index 000000000..09d5e62d2 --- /dev/null +++ b/linkwan/src/model/GetGatewayStatusStatRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetGatewayStatusStatRequest; + +GetGatewayStatusStatRequest::GetGatewayStatusStatRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetGatewayStatusStat") +{ + setMethod(HttpRequest::Method::Post); +} + +GetGatewayStatusStatRequest::~GetGatewayStatusStatRequest() +{} + +std::string GetGatewayStatusStatRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetGatewayStatusStatRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string GetGatewayStatusStatRequest::getGwEui()const +{ + return gwEui_; +} + +void GetGatewayStatusStatRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string GetGatewayStatusStatRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetGatewayStatusStatRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetGatewayStatusStatRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetGatewayStatusStatRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetGatewayStatusStatResult.cc b/linkwan/src/model/GetGatewayStatusStatResult.cc new file mode 100644 index 000000000..bb0c2dc77 --- /dev/null +++ b/linkwan/src/model/GetGatewayStatusStatResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetGatewayStatusStatResult::GetGatewayStatusStatResult() : + ServiceResult() +{} + +GetGatewayStatusStatResult::GetGatewayStatusStatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetGatewayStatusStatResult::~GetGatewayStatusStatResult() +{} + +void GetGatewayStatusStatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["GwEui"].isNull()) + data_.gwEui = dataNode["GwEui"].asString(); + if(!dataNode["CpuRadio"].isNull()) + data_.cpuRadio = std::stof(dataNode["CpuRadio"].asString()); + if(!dataNode["MemoryRadio"].isNull()) + data_.memoryRadio = std::stof(dataNode["MemoryRadio"].asString()); + if(!dataNode["RxCount"].isNull()) + data_.rxCount = std::stol(dataNode["RxCount"].asString()); + if(!dataNode["TxCount"].isNull()) + data_.txCount = std::stol(dataNode["TxCount"].asString()); + if(!dataNode["OnlineState"].isNull()) + data_.onlineState = dataNode["OnlineState"].asString(); + if(!dataNode["OnlineHour"].isNull()) + data_.onlineHour = std::stol(dataNode["OnlineHour"].asString()); + if(!dataNode["Enabled"].isNull()) + data_.enabled = dataNode["Enabled"].asString() == "true"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetGatewayStatusStatResult::Data GetGatewayStatusStatResult::getData()const +{ + return data_; +} + +bool GetGatewayStatusStatResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetGatewayTransferPacketsDownloadUrlRequest.cc b/linkwan/src/model/GetGatewayTransferPacketsDownloadUrlRequest.cc new file mode 100644 index 000000000..bf6891960 --- /dev/null +++ b/linkwan/src/model/GetGatewayTransferPacketsDownloadUrlRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetGatewayTransferPacketsDownloadUrlRequest; + +GetGatewayTransferPacketsDownloadUrlRequest::GetGatewayTransferPacketsDownloadUrlRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetGatewayTransferPacketsDownloadUrl") +{ + setMethod(HttpRequest::Method::Post); +} + +GetGatewayTransferPacketsDownloadUrlRequest::~GetGatewayTransferPacketsDownloadUrlRequest() +{} + +long GetGatewayTransferPacketsDownloadUrlRequest::getEndMillis()const +{ + return endMillis_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string GetGatewayTransferPacketsDownloadUrlRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string GetGatewayTransferPacketsDownloadUrlRequest::getGwEui()const +{ + return gwEui_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +bool GetGatewayTransferPacketsDownloadUrlRequest::getAscending()const +{ + return ascending_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string GetGatewayTransferPacketsDownloadUrlRequest::getDevEui()const +{ + return devEui_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string GetGatewayTransferPacketsDownloadUrlRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetGatewayTransferPacketsDownloadUrlRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string GetGatewayTransferPacketsDownloadUrlRequest::getCategory()const +{ + return category_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setCategory(const std::string& category) +{ + category_ = category; + setParameter("Category", category); +} + +long GetGatewayTransferPacketsDownloadUrlRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string GetGatewayTransferPacketsDownloadUrlRequest::getSortingField()const +{ + return sortingField_; +} + +void GetGatewayTransferPacketsDownloadUrlRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/GetGatewayTransferPacketsDownloadUrlResult.cc b/linkwan/src/model/GetGatewayTransferPacketsDownloadUrlResult.cc new file mode 100644 index 000000000..e8217853a --- /dev/null +++ b/linkwan/src/model/GetGatewayTransferPacketsDownloadUrlResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetGatewayTransferPacketsDownloadUrlResult::GetGatewayTransferPacketsDownloadUrlResult() : + ServiceResult() +{} + +GetGatewayTransferPacketsDownloadUrlResult::GetGatewayTransferPacketsDownloadUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetGatewayTransferPacketsDownloadUrlResult::~GetGatewayTransferPacketsDownloadUrlResult() +{} + +void GetGatewayTransferPacketsDownloadUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetGatewayTransferPacketsDownloadUrlResult::getData()const +{ + return data_; +} + +bool GetGatewayTransferPacketsDownloadUrlResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetGatewayTupleOrderRequest.cc b/linkwan/src/model/GetGatewayTupleOrderRequest.cc new file mode 100644 index 000000000..2886e226f --- /dev/null +++ b/linkwan/src/model/GetGatewayTupleOrderRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetGatewayTupleOrderRequest; + +GetGatewayTupleOrderRequest::GetGatewayTupleOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetGatewayTupleOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +GetGatewayTupleOrderRequest::~GetGatewayTupleOrderRequest() +{} + +std::string GetGatewayTupleOrderRequest::getOrderId()const +{ + return orderId_; +} + +void GetGatewayTupleOrderRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string GetGatewayTupleOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetGatewayTupleOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetGatewayTupleOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetGatewayTupleOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetGatewayTupleOrderResult.cc b/linkwan/src/model/GetGatewayTupleOrderResult.cc new file mode 100644 index 000000000..f64a92583 --- /dev/null +++ b/linkwan/src/model/GetGatewayTupleOrderResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetGatewayTupleOrderResult::GetGatewayTupleOrderResult() : + ServiceResult() +{} + +GetGatewayTupleOrderResult::GetGatewayTupleOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetGatewayTupleOrderResult::~GetGatewayTupleOrderResult() +{} + +void GetGatewayTupleOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["OrderId"].isNull()) + data_.orderId = dataNode["OrderId"].asString(); + if(!dataNode["OrderState"].isNull()) + data_.orderState = dataNode["OrderState"].asString(); + if(!dataNode["RequiredCount"].isNull()) + data_.requiredCount = std::stol(dataNode["RequiredCount"].asString()); + if(!dataNode["CreatedMillis"].isNull()) + data_.createdMillis = std::stol(dataNode["CreatedMillis"].asString()); + if(!dataNode["AcceptedMillis"].isNull()) + data_.acceptedMillis = std::stol(dataNode["AcceptedMillis"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetGatewayTupleOrderResult::Data GetGatewayTupleOrderResult::getData()const +{ + return data_; +} + +bool GetGatewayTupleOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetGatewayTuplesDownloadUrlRequest.cc b/linkwan/src/model/GetGatewayTuplesDownloadUrlRequest.cc new file mode 100644 index 000000000..d2543db5f --- /dev/null +++ b/linkwan/src/model/GetGatewayTuplesDownloadUrlRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetGatewayTuplesDownloadUrlRequest; + +GetGatewayTuplesDownloadUrlRequest::GetGatewayTuplesDownloadUrlRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetGatewayTuplesDownloadUrl") +{ + setMethod(HttpRequest::Method::Post); +} + +GetGatewayTuplesDownloadUrlRequest::~GetGatewayTuplesDownloadUrlRequest() +{} + +std::string GetGatewayTuplesDownloadUrlRequest::getOrderId()const +{ + return orderId_; +} + +void GetGatewayTuplesDownloadUrlRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string GetGatewayTuplesDownloadUrlRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetGatewayTuplesDownloadUrlRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetGatewayTuplesDownloadUrlRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetGatewayTuplesDownloadUrlRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetGatewayTuplesDownloadUrlResult.cc b/linkwan/src/model/GetGatewayTuplesDownloadUrlResult.cc new file mode 100644 index 000000000..67f2b0904 --- /dev/null +++ b/linkwan/src/model/GetGatewayTuplesDownloadUrlResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetGatewayTuplesDownloadUrlResult::GetGatewayTuplesDownloadUrlResult() : + ServiceResult() +{} + +GetGatewayTuplesDownloadUrlResult::GetGatewayTuplesDownloadUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetGatewayTuplesDownloadUrlResult::~GetGatewayTuplesDownloadUrlResult() +{} + +void GetGatewayTuplesDownloadUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetGatewayTuplesDownloadUrlResult::getData()const +{ + return data_; +} + +bool GetGatewayTuplesDownloadUrlResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetJoinPermissionAuthOrderRequest.cc b/linkwan/src/model/GetJoinPermissionAuthOrderRequest.cc new file mode 100644 index 000000000..d40c36efa --- /dev/null +++ b/linkwan/src/model/GetJoinPermissionAuthOrderRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetJoinPermissionAuthOrderRequest; + +GetJoinPermissionAuthOrderRequest::GetJoinPermissionAuthOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetJoinPermissionAuthOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +GetJoinPermissionAuthOrderRequest::~GetJoinPermissionAuthOrderRequest() +{} + +std::string GetJoinPermissionAuthOrderRequest::getOrderId()const +{ + return orderId_; +} + +void GetJoinPermissionAuthOrderRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string GetJoinPermissionAuthOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetJoinPermissionAuthOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetJoinPermissionAuthOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetJoinPermissionAuthOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetJoinPermissionAuthOrderResult.cc b/linkwan/src/model/GetJoinPermissionAuthOrderResult.cc new file mode 100644 index 000000000..95525230a --- /dev/null +++ b/linkwan/src/model/GetJoinPermissionAuthOrderResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetJoinPermissionAuthOrderResult::GetJoinPermissionAuthOrderResult() : + ServiceResult() +{} + +GetJoinPermissionAuthOrderResult::GetJoinPermissionAuthOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetJoinPermissionAuthOrderResult::~GetJoinPermissionAuthOrderResult() +{} + +void GetJoinPermissionAuthOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["OrderId"].isNull()) + data_.orderId = dataNode["OrderId"].asString(); + if(!dataNode["JoinPermissionId"].isNull()) + data_.joinPermissionId = dataNode["JoinPermissionId"].asString(); + if(!dataNode["OwnerAliyunId"].isNull()) + data_.ownerAliyunId = dataNode["OwnerAliyunId"].asString(); + if(!dataNode["RenterAliyunId"].isNull()) + data_.renterAliyunId = dataNode["RenterAliyunId"].asString(); + if(!dataNode["OrderState"].isNull()) + data_.orderState = dataNode["OrderState"].asString(); + if(!dataNode["ApplyingMillis"].isNull()) + data_.applyingMillis = std::stol(dataNode["ApplyingMillis"].asString()); + if(!dataNode["AcceptedMillis"].isNull()) + data_.acceptedMillis = std::stol(dataNode["AcceptedMillis"].asString()); + if(!dataNode["RejectedMillis"].isNull()) + data_.rejectedMillis = std::stol(dataNode["RejectedMillis"].asString()); + if(!dataNode["CanceledMillis"].isNull()) + data_.canceledMillis = std::stol(dataNode["CanceledMillis"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetJoinPermissionAuthOrderResult::Data GetJoinPermissionAuthOrderResult::getData()const +{ + return data_; +} + +bool GetJoinPermissionAuthOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetLocalConfigSyncTaskRequest.cc b/linkwan/src/model/GetLocalConfigSyncTaskRequest.cc new file mode 100644 index 000000000..a8e52c04f --- /dev/null +++ b/linkwan/src/model/GetLocalConfigSyncTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetLocalConfigSyncTaskRequest; + +GetLocalConfigSyncTaskRequest::GetLocalConfigSyncTaskRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetLocalConfigSyncTask") +{ + setMethod(HttpRequest::Method::Post); +} + +GetLocalConfigSyncTaskRequest::~GetLocalConfigSyncTaskRequest() +{} + +std::string GetLocalConfigSyncTaskRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetLocalConfigSyncTaskRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetLocalConfigSyncTaskRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetLocalConfigSyncTaskRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long GetLocalConfigSyncTaskRequest::getTaskId()const +{ + return taskId_; +} + +void GetLocalConfigSyncTaskRequest::setTaskId(long taskId) +{ + taskId_ = taskId; + setParameter("TaskId", std::to_string(taskId)); +} + diff --git a/linkwan/src/model/GetLocalConfigSyncTaskResult.cc b/linkwan/src/model/GetLocalConfigSyncTaskResult.cc new file mode 100644 index 000000000..7608839e3 --- /dev/null +++ b/linkwan/src/model/GetLocalConfigSyncTaskResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetLocalConfigSyncTaskResult::GetLocalConfigSyncTaskResult() : + ServiceResult() +{} + +GetLocalConfigSyncTaskResult::GetLocalConfigSyncTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetLocalConfigSyncTaskResult::~GetLocalConfigSyncTaskResult() +{} + +void GetLocalConfigSyncTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Id"].isNull()) + data_.id = std::stol(dataNode["Id"].asString()); + if(!dataNode["CreateMillis"].isNull()) + data_.createMillis = std::stol(dataNode["CreateMillis"].asString()); + if(!dataNode["ModifiedMillis"].isNull()) + data_.modifiedMillis = std::stol(dataNode["ModifiedMillis"].asString()); + if(!dataNode["DevType"].isNull()) + data_.devType = dataNode["DevType"].asString(); + if(!dataNode["TaskTYpe"].isNull()) + data_.taskTYpe = dataNode["TaskTYpe"].asString(); + if(!dataNode["Eui"].isNull()) + data_.eui = dataNode["Eui"].asString(); + if(!dataNode["State"].isNull()) + data_.state = dataNode["State"].asString(); + if(!dataNode["D2dAddr"].isNull()) + data_.d2dAddr = dataNode["D2dAddr"].asString(); + if(!dataNode["D2dKey"].isNull()) + data_.d2dKey = dataNode["D2dKey"].asString(); + if(!dataNode["Freq"].isNull()) + data_.freq = std::stoi(dataNode["Freq"].asString()); + if(!dataNode["Datr"].isNull()) + data_.datr = std::stoi(dataNode["Datr"].asString()); + if(!dataNode["ProcessingMillis"].isNull()) + data_.processingMillis = std::stol(dataNode["ProcessingMillis"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +GetLocalConfigSyncTaskResult::Data GetLocalConfigSyncTaskResult::getData()const +{ + return data_; +} + +std::string GetLocalConfigSyncTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetLocalConfigSyncTaskResult::getCode()const +{ + return code_; +} + +bool GetLocalConfigSyncTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeGroupRequest.cc b/linkwan/src/model/GetNodeGroupRequest.cc new file mode 100644 index 000000000..c2b2324aa --- /dev/null +++ b/linkwan/src/model/GetNodeGroupRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeGroupRequest; + +GetNodeGroupRequest::GetNodeGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNodeGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeGroupRequest::~GetNodeGroupRequest() +{} + +std::string GetNodeGroupRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetNodeGroupRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string GetNodeGroupRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void GetNodeGroupRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string GetNodeGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetNodeGroupResult.cc b/linkwan/src/model/GetNodeGroupResult.cc new file mode 100644 index 000000000..08225e17f --- /dev/null +++ b/linkwan/src/model/GetNodeGroupResult.cc @@ -0,0 +1,134 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeGroupResult::GetNodeGroupResult() : + ServiceResult() +{} + +GetNodeGroupResult::GetNodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeGroupResult::~GetNodeGroupResult() +{} + +void GetNodeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["NodeGroupId"].isNull()) + data_.nodeGroupId = dataNode["NodeGroupId"].asString(); + if(!dataNode["NodeGroupName"].isNull()) + data_.nodeGroupName = dataNode["NodeGroupName"].asString(); + if(!dataNode["NodesCnt"].isNull()) + data_.nodesCnt = std::stol(dataNode["NodesCnt"].asString()); + if(!dataNode["DataDispatchEnabled"].isNull()) + data_.dataDispatchEnabled = dataNode["DataDispatchEnabled"].asString() == "true"; + if(!dataNode["JoinPermissionId"].isNull()) + data_.joinPermissionId = dataNode["JoinPermissionId"].asString(); + if(!dataNode["JoinPermissionOwnerAliyunId"].isNull()) + data_.joinPermissionOwnerAliyunId = dataNode["JoinPermissionOwnerAliyunId"].asString(); + if(!dataNode["JoinEui"].isNull()) + data_.joinEui = dataNode["JoinEui"].asString(); + if(!dataNode["FreqBandPlanGroupId"].isNull()) + data_.freqBandPlanGroupId = std::stol(dataNode["FreqBandPlanGroupId"].asString()); + if(!dataNode["ClassMode"].isNull()) + data_.classMode = dataNode["ClassMode"].asString(); + if(!dataNode["JoinPermissionType"].isNull()) + data_.joinPermissionType = dataNode["JoinPermissionType"].asString(); + if(!dataNode["JoinPermissionEnabled"].isNull()) + data_.joinPermissionEnabled = dataNode["JoinPermissionEnabled"].asString() == "true"; + if(!dataNode["RxDailySum"].isNull()) + data_.rxDailySum = dataNode["RxDailySum"].asString(); + if(!dataNode["RxMonthSum"].isNull()) + data_.rxMonthSum = std::stol(dataNode["RxMonthSum"].asString()); + if(!dataNode["TxDailySum"].isNull()) + data_.txDailySum = std::stol(dataNode["TxDailySum"].asString()); + if(!dataNode["TxMonthSum"].isNull()) + data_.txMonthSum = std::stol(dataNode["TxMonthSum"].asString()); + if(!dataNode["CreateMillis"].isNull()) + data_.createMillis = std::stol(dataNode["CreateMillis"].asString()); + if(!dataNode["JoinPermissionName"].isNull()) + data_.joinPermissionName = dataNode["JoinPermissionName"].asString(); + if(!dataNode["MulticastGroupId"].isNull()) + data_.multicastGroupId = dataNode["MulticastGroupId"].asString(); + if(!dataNode["MulticastEnabled"].isNull()) + data_.multicastEnabled = dataNode["MulticastEnabled"].asString() == "true"; + if(!dataNode["MulticastNodeCapacity"].isNull()) + data_.multicastNodeCapacity = std::stoi(dataNode["MulticastNodeCapacity"].asString()); + if(!dataNode["MulticastNodeCount"].isNull()) + data_.multicastNodeCount = std::stoi(dataNode["MulticastNodeCount"].asString()); + auto allLocksNode = dataNode["Locks"]["LocksItem"]; + for (auto dataNodeLocksLocksItem : allLocksNode) + { + Data::LocksItem locksItemObject; + if(!dataNodeLocksLocksItem["LockId"].isNull()) + locksItemObject.lockId = dataNodeLocksLocksItem["LockId"].asString(); + if(!dataNodeLocksLocksItem["LockType"].isNull()) + locksItemObject.lockType = dataNodeLocksLocksItem["LockType"].asString(); + if(!dataNodeLocksLocksItem["Enabled"].isNull()) + locksItemObject.enabled = dataNodeLocksLocksItem["Enabled"].asString() == "true"; + if(!dataNodeLocksLocksItem["CreateMillis"].isNull()) + locksItemObject.createMillis = std::stol(dataNodeLocksLocksItem["CreateMillis"].asString()); + data_.locks.push_back(locksItemObject); + } + auto dataDispatchConfigNode = dataNode["DataDispatchConfig"]; + if(!dataDispatchConfigNode["Destination"].isNull()) + data_.dataDispatchConfig.destination = dataDispatchConfigNode["Destination"].asString(); + auto iotProductNode = dataDispatchConfigNode["IotProduct"]; + if(!iotProductNode["ProductName"].isNull()) + data_.dataDispatchConfig.iotProduct.productName = iotProductNode["ProductName"].asString(); + if(!iotProductNode["ProductKey"].isNull()) + data_.dataDispatchConfig.iotProduct.productKey = iotProductNode["ProductKey"].asString(); + if(!iotProductNode["ProductType"].isNull()) + data_.dataDispatchConfig.iotProduct.productType = iotProductNode["ProductType"].asString(); + if(!iotProductNode["DebugSwitch"].isNull()) + data_.dataDispatchConfig.iotProduct.debugSwitch = iotProductNode["DebugSwitch"].asString() == "true"; + auto onsTopicsNode = dataDispatchConfigNode["OnsTopics"]; + if(!onsTopicsNode["DownlinkRegionName"].isNull()) + data_.dataDispatchConfig.onsTopics.downlinkRegionName = onsTopicsNode["DownlinkRegionName"].asString(); + if(!onsTopicsNode["DownlinkTopic"].isNull()) + data_.dataDispatchConfig.onsTopics.downlinkTopic = onsTopicsNode["DownlinkTopic"].asString(); + if(!onsTopicsNode["UplinkRegionName"].isNull()) + data_.dataDispatchConfig.onsTopics.uplinkRegionName = onsTopicsNode["UplinkRegionName"].asString(); + if(!onsTopicsNode["UplinkTopic"].isNull()) + data_.dataDispatchConfig.onsTopics.uplinkTopic = onsTopicsNode["UplinkTopic"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetNodeGroupResult::Data GetNodeGroupResult::getData()const +{ + return data_; +} + +bool GetNodeGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlRequest.cc b/linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlRequest.cc new file mode 100644 index 000000000..1990b7887 --- /dev/null +++ b/linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeGroupTransferPacketsDownloadUrlRequest; + +GetNodeGroupTransferPacketsDownloadUrlRequest::GetNodeGroupTransferPacketsDownloadUrlRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNodeGroupTransferPacketsDownloadUrl") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeGroupTransferPacketsDownloadUrlRequest::~GetNodeGroupTransferPacketsDownloadUrlRequest() +{} + +long GetNodeGroupTransferPacketsDownloadUrlRequest::getEndMillis()const +{ + return endMillis_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string GetNodeGroupTransferPacketsDownloadUrlRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +bool GetNodeGroupTransferPacketsDownloadUrlRequest::getAscending()const +{ + return ascending_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string GetNodeGroupTransferPacketsDownloadUrlRequest::getDevEui()const +{ + return devEui_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string GetNodeGroupTransferPacketsDownloadUrlRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string GetNodeGroupTransferPacketsDownloadUrlRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeGroupTransferPacketsDownloadUrlRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string GetNodeGroupTransferPacketsDownloadUrlRequest::getCategory()const +{ + return category_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setCategory(const std::string& category) +{ + category_ = category; + setParameter("Category", category); +} + +long GetNodeGroupTransferPacketsDownloadUrlRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string GetNodeGroupTransferPacketsDownloadUrlRequest::getSortingField()const +{ + return sortingField_; +} + +void GetNodeGroupTransferPacketsDownloadUrlRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlResult.cc b/linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlResult.cc new file mode 100644 index 000000000..601cd81f8 --- /dev/null +++ b/linkwan/src/model/GetNodeGroupTransferPacketsDownloadUrlResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeGroupTransferPacketsDownloadUrlResult::GetNodeGroupTransferPacketsDownloadUrlResult() : + ServiceResult() +{} + +GetNodeGroupTransferPacketsDownloadUrlResult::GetNodeGroupTransferPacketsDownloadUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeGroupTransferPacketsDownloadUrlResult::~GetNodeGroupTransferPacketsDownloadUrlResult() +{} + +void GetNodeGroupTransferPacketsDownloadUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetNodeGroupTransferPacketsDownloadUrlResult::getData()const +{ + return data_; +} + +bool GetNodeGroupTransferPacketsDownloadUrlResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeLocalConfigRequest.cc b/linkwan/src/model/GetNodeLocalConfigRequest.cc new file mode 100644 index 000000000..28a5ccf19 --- /dev/null +++ b/linkwan/src/model/GetNodeLocalConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeLocalConfigRequest; + +GetNodeLocalConfigRequest::GetNodeLocalConfigRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNodeLocalConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeLocalConfigRequest::~GetNodeLocalConfigRequest() +{} + +std::string GetNodeLocalConfigRequest::getDevEui()const +{ + return devEui_; +} + +void GetNodeLocalConfigRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string GetNodeLocalConfigRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeLocalConfigRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeLocalConfigRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeLocalConfigRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetNodeLocalConfigResult.cc b/linkwan/src/model/GetNodeLocalConfigResult.cc new file mode 100644 index 000000000..a76a86360 --- /dev/null +++ b/linkwan/src/model/GetNodeLocalConfigResult.cc @@ -0,0 +1,89 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeLocalConfigResult::GetNodeLocalConfigResult() : + ServiceResult() +{} + +GetNodeLocalConfigResult::GetNodeLocalConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeLocalConfigResult::~GetNodeLocalConfigResult() +{} + +void GetNodeLocalConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["DevType"].isNull()) + data_.devType = dataNode["DevType"].asString(); + if(!dataNode["Eui"].isNull()) + data_.eui = dataNode["Eui"].asString(); + if(!dataNode["D2dAddr"].isNull()) + data_.d2dAddr = dataNode["D2dAddr"].asString(); + if(!dataNode["D2dKey"].isNull()) + data_.d2dKey = dataNode["D2dKey"].asString(); + if(!dataNode["Freq"].isNull()) + data_.freq = std::stoi(dataNode["Freq"].asString()); + if(!dataNode["Datr"].isNull()) + data_.datr = std::stoi(dataNode["Datr"].asString()); + if(!dataNode["TaskId"].isNull()) + data_.taskId = std::stol(dataNode["TaskId"].asString()); + if(!dataNode["CreateMillis"].isNull()) + data_.createMillis = std::stol(dataNode["CreateMillis"].asString()); + if(!dataNode["ModifiedMillis"].isNull()) + data_.modifiedMillis = std::stol(dataNode["ModifiedMillis"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +GetNodeLocalConfigResult::Data GetNodeLocalConfigResult::getData()const +{ + return data_; +} + +std::string GetNodeLocalConfigResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetNodeLocalConfigResult::getCode()const +{ + return code_; +} + +bool GetNodeLocalConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeRequest.cc b/linkwan/src/model/GetNodeRequest.cc new file mode 100644 index 000000000..c7fc077b8 --- /dev/null +++ b/linkwan/src/model/GetNodeRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeRequest; + +GetNodeRequest::GetNodeRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNode") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeRequest::~GetNodeRequest() +{} + +std::string GetNodeRequest::getDevEui()const +{ + return devEui_; +} + +void GetNodeRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string GetNodeRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetNodeResult.cc b/linkwan/src/model/GetNodeResult.cc new file mode 100644 index 000000000..7d3d4ff0e --- /dev/null +++ b/linkwan/src/model/GetNodeResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeResult::GetNodeResult() : + ServiceResult() +{} + +GetNodeResult::GetNodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeResult::~GetNodeResult() +{} + +void GetNodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["DevEui"].isNull()) + data_.devEui = dataNode["DevEui"].asString(); + if(!dataNode["DevAddr"].isNull()) + data_.devAddr = dataNode["DevAddr"].asString(); + if(!dataNode["ClassMode"].isNull()) + data_.classMode = dataNode["ClassMode"].asString(); + if(!dataNode["LastJoinMillis"].isNull()) + data_.lastJoinMillis = std::stol(dataNode["LastJoinMillis"].asString()); + if(!dataNode["BoundMillis"].isNull()) + data_.boundMillis = std::stol(dataNode["BoundMillis"].asString()); + if(!dataNode["AuthTypes"].isNull()) + data_.authTypes = dataNode["AuthTypes"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetNodeResult::Data GetNodeResult::getData()const +{ + return data_; +} + +bool GetNodeResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeTransferPacketRequest.cc b/linkwan/src/model/GetNodeTransferPacketRequest.cc new file mode 100644 index 000000000..9eca0761d --- /dev/null +++ b/linkwan/src/model/GetNodeTransferPacketRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeTransferPacketRequest; + +GetNodeTransferPacketRequest::GetNodeTransferPacketRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNodeTransferPacket") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeTransferPacketRequest::~GetNodeTransferPacketRequest() +{} + +std::string GetNodeTransferPacketRequest::getBase64EncodedMacPayload()const +{ + return base64EncodedMacPayload_; +} + +void GetNodeTransferPacketRequest::setBase64EncodedMacPayload(const std::string& base64EncodedMacPayload) +{ + base64EncodedMacPayload_ = base64EncodedMacPayload; + setParameter("Base64EncodedMacPayload", base64EncodedMacPayload); +} + +std::string GetNodeTransferPacketRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetNodeTransferPacketRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +long GetNodeTransferPacketRequest::getLogMillis()const +{ + return logMillis_; +} + +void GetNodeTransferPacketRequest::setLogMillis(long logMillis) +{ + logMillis_ = logMillis; + setParameter("LogMillis", std::to_string(logMillis)); +} + +std::string GetNodeTransferPacketRequest::getDevEui()const +{ + return devEui_; +} + +void GetNodeTransferPacketRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string GetNodeTransferPacketRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeTransferPacketRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeTransferPacketRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeTransferPacketRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetNodeTransferPacketResult.cc b/linkwan/src/model/GetNodeTransferPacketResult.cc new file mode 100644 index 000000000..27720fb0c --- /dev/null +++ b/linkwan/src/model/GetNodeTransferPacketResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeTransferPacketResult::GetNodeTransferPacketResult() : + ServiceResult() +{} + +GetNodeTransferPacketResult::GetNodeTransferPacketResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeTransferPacketResult::~GetNodeTransferPacketResult() +{} + +void GetNodeTransferPacketResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["LogMillis"].isNull()) + data_.logMillis = std::stol(dataNode["LogMillis"].asString()); + if(!dataNode["GwEui"].isNull()) + data_.gwEui = dataNode["GwEui"].asString(); + if(!dataNode["DevEui"].isNull()) + data_.devEui = dataNode["DevEui"].asString(); + if(!dataNode["DevAddr"].isNull()) + data_.devAddr = dataNode["DevAddr"].asString(); + if(!dataNode["Freq"].isNull()) + data_.freq = std::stof(dataNode["Freq"].asString()); + if(!dataNode["Datr"].isNull()) + data_.datr = dataNode["Datr"].asString(); + if(!dataNode["ClassMode"].isNull()) + data_.classMode = dataNode["ClassMode"].asString(); + if(!dataNode["Rssi"].isNull()) + data_.rssi = std::stoi(dataNode["Rssi"].asString()); + if(!dataNode["Lsnr"].isNull()) + data_.lsnr = std::stof(dataNode["Lsnr"].asString()); + if(!dataNode["FPort"].isNull()) + data_.fPort = std::stoi(dataNode["FPort"].asString()); + if(!dataNode["FreqBandPlanGroupId"].isNull()) + data_.freqBandPlanGroupId = std::stol(dataNode["FreqBandPlanGroupId"].asString()); + if(!dataNode["HasMacCommand"].isNull()) + data_.hasMacCommand = dataNode["HasMacCommand"].asString() == "true"; + if(!dataNode["HasData"].isNull()) + data_.hasData = dataNode["HasData"].asString() == "true"; + if(!dataNode["Base64EncodedMacPayload"].isNull()) + data_.base64EncodedMacPayload = dataNode["Base64EncodedMacPayload"].asString(); + if(!dataNode["MacPayloadSize"].isNull()) + data_.macPayloadSize = std::stoi(dataNode["MacPayloadSize"].asString()); + if(!dataNode["ProcessEvent"].isNull()) + data_.processEvent = dataNode["ProcessEvent"].asString(); + if(!dataNode["MessageType"].isNull()) + data_.messageType = dataNode["MessageType"].asString(); + if(!dataNode["GwOwnerAliyunId"].isNull()) + data_.gwOwnerAliyunId = dataNode["GwOwnerAliyunId"].asString(); + auto allMacCommandCIDs = dataNode["MacCommandCIDs"]["CID"]; + for (auto value : allMacCommandCIDs) + data_.macCommandCIDs.push_back(value.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetNodeTransferPacketResult::Data GetNodeTransferPacketResult::getData()const +{ + return data_; +} + +bool GetNodeTransferPacketResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeTransferPacketsDownloadUrlRequest.cc b/linkwan/src/model/GetNodeTransferPacketsDownloadUrlRequest.cc new file mode 100644 index 000000000..029b4105f --- /dev/null +++ b/linkwan/src/model/GetNodeTransferPacketsDownloadUrlRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeTransferPacketsDownloadUrlRequest; + +GetNodeTransferPacketsDownloadUrlRequest::GetNodeTransferPacketsDownloadUrlRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNodeTransferPacketsDownloadUrl") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeTransferPacketsDownloadUrlRequest::~GetNodeTransferPacketsDownloadUrlRequest() +{} + +long GetNodeTransferPacketsDownloadUrlRequest::getEndMillis()const +{ + return endMillis_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string GetNodeTransferPacketsDownloadUrlRequest::getGwEui()const +{ + return gwEui_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +bool GetNodeTransferPacketsDownloadUrlRequest::getAscending()const +{ + return ascending_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string GetNodeTransferPacketsDownloadUrlRequest::getDevEui()const +{ + return devEui_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string GetNodeTransferPacketsDownloadUrlRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeTransferPacketsDownloadUrlRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string GetNodeTransferPacketsDownloadUrlRequest::getCategory()const +{ + return category_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setCategory(const std::string& category) +{ + category_ = category; + setParameter("Category", category); +} + +long GetNodeTransferPacketsDownloadUrlRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string GetNodeTransferPacketsDownloadUrlRequest::getSortingField()const +{ + return sortingField_; +} + +void GetNodeTransferPacketsDownloadUrlRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/GetNodeTransferPacketsDownloadUrlResult.cc b/linkwan/src/model/GetNodeTransferPacketsDownloadUrlResult.cc new file mode 100644 index 000000000..57035fc2f --- /dev/null +++ b/linkwan/src/model/GetNodeTransferPacketsDownloadUrlResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeTransferPacketsDownloadUrlResult::GetNodeTransferPacketsDownloadUrlResult() : + ServiceResult() +{} + +GetNodeTransferPacketsDownloadUrlResult::GetNodeTransferPacketsDownloadUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeTransferPacketsDownloadUrlResult::~GetNodeTransferPacketsDownloadUrlResult() +{} + +void GetNodeTransferPacketsDownloadUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetNodeTransferPacketsDownloadUrlResult::getData()const +{ + return data_; +} + +bool GetNodeTransferPacketsDownloadUrlResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeTupleOrderRequest.cc b/linkwan/src/model/GetNodeTupleOrderRequest.cc new file mode 100644 index 000000000..19d437be3 --- /dev/null +++ b/linkwan/src/model/GetNodeTupleOrderRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeTupleOrderRequest; + +GetNodeTupleOrderRequest::GetNodeTupleOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNodeTupleOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeTupleOrderRequest::~GetNodeTupleOrderRequest() +{} + +std::string GetNodeTupleOrderRequest::getOrderId()const +{ + return orderId_; +} + +void GetNodeTupleOrderRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string GetNodeTupleOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeTupleOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeTupleOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeTupleOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetNodeTupleOrderResult.cc b/linkwan/src/model/GetNodeTupleOrderResult.cc new file mode 100644 index 000000000..20927743c --- /dev/null +++ b/linkwan/src/model/GetNodeTupleOrderResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeTupleOrderResult::GetNodeTupleOrderResult() : + ServiceResult() +{} + +GetNodeTupleOrderResult::GetNodeTupleOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeTupleOrderResult::~GetNodeTupleOrderResult() +{} + +void GetNodeTupleOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["OrderId"].isNull()) + data_.orderId = dataNode["OrderId"].asString(); + if(!dataNode["IsKpm"].isNull()) + data_.isKpm = dataNode["IsKpm"].asString() == "true"; + if(!dataNode["OrderState"].isNull()) + data_.orderState = dataNode["OrderState"].asString(); + if(!dataNode["RequiredCount"].isNull()) + data_.requiredCount = std::stol(dataNode["RequiredCount"].asString()); + if(!dataNode["CreatedMillis"].isNull()) + data_.createdMillis = std::stol(dataNode["CreatedMillis"].asString()); + if(!dataNode["AcceptedMillis"].isNull()) + data_.acceptedMillis = std::stol(dataNode["AcceptedMillis"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetNodeTupleOrderResult::Data GetNodeTupleOrderResult::getData()const +{ + return data_; +} + +bool GetNodeTupleOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNodeTuplesDownloadUrlRequest.cc b/linkwan/src/model/GetNodeTuplesDownloadUrlRequest.cc new file mode 100644 index 000000000..0fbb7fd07 --- /dev/null +++ b/linkwan/src/model/GetNodeTuplesDownloadUrlRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNodeTuplesDownloadUrlRequest; + +GetNodeTuplesDownloadUrlRequest::GetNodeTuplesDownloadUrlRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNodeTuplesDownloadUrl") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNodeTuplesDownloadUrlRequest::~GetNodeTuplesDownloadUrlRequest() +{} + +std::string GetNodeTuplesDownloadUrlRequest::getOrderId()const +{ + return orderId_; +} + +void GetNodeTuplesDownloadUrlRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string GetNodeTuplesDownloadUrlRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNodeTuplesDownloadUrlRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNodeTuplesDownloadUrlRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNodeTuplesDownloadUrlRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetNodeTuplesDownloadUrlResult.cc b/linkwan/src/model/GetNodeTuplesDownloadUrlResult.cc new file mode 100644 index 000000000..23bd6a0cd --- /dev/null +++ b/linkwan/src/model/GetNodeTuplesDownloadUrlResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNodeTuplesDownloadUrlResult::GetNodeTuplesDownloadUrlResult() : + ServiceResult() +{} + +GetNodeTuplesDownloadUrlResult::GetNodeTuplesDownloadUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNodeTuplesDownloadUrlResult::~GetNodeTuplesDownloadUrlResult() +{} + +void GetNodeTuplesDownloadUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string GetNodeTuplesDownloadUrlResult::getData()const +{ + return data_; +} + +bool GetNodeTuplesDownloadUrlResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetNotificationRequest.cc b/linkwan/src/model/GetNotificationRequest.cc new file mode 100644 index 000000000..f781d2b35 --- /dev/null +++ b/linkwan/src/model/GetNotificationRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetNotificationRequest; + +GetNotificationRequest::GetNotificationRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetNotification") +{ + setMethod(HttpRequest::Method::Post); +} + +GetNotificationRequest::~GetNotificationRequest() +{} + +std::string GetNotificationRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetNotificationRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetNotificationRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetNotificationRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string GetNotificationRequest::getNotificationId()const +{ + return notificationId_; +} + +void GetNotificationRequest::setNotificationId(const std::string& notificationId) +{ + notificationId_ = notificationId; + setParameter("NotificationId", notificationId); +} + diff --git a/linkwan/src/model/GetNotificationResult.cc b/linkwan/src/model/GetNotificationResult.cc new file mode 100644 index 000000000..822830b17 --- /dev/null +++ b/linkwan/src/model/GetNotificationResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetNotificationResult::GetNotificationResult() : + ServiceResult() +{} + +GetNotificationResult::GetNotificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetNotificationResult::~GetNotificationResult() +{} + +void GetNotificationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["NotificationId"].isNull()) + data_.notificationId = dataNode["NotificationId"].asString(); + if(!dataNode["Category"].isNull()) + data_.category = dataNode["Category"].asString(); + if(!dataNode["HandleState"].isNull()) + data_.handleState = dataNode["HandleState"].asString(); + if(!dataNode["NoticeMillis"].isNull()) + data_.noticeMillis = std::stol(dataNode["NoticeMillis"].asString()); + if(!dataNode["HandledMillis"].isNull()) + data_.handledMillis = std::stol(dataNode["HandledMillis"].asString()); + auto gatewayOfflineInfoNode = dataNode["GatewayOfflineInfo"]; + if(!gatewayOfflineInfoNode["GwEui"].isNull()) + data_.gatewayOfflineInfo.gwEui = gatewayOfflineInfoNode["GwEui"].asString(); + if(!gatewayOfflineInfoNode["OfflineMillis"].isNull()) + data_.gatewayOfflineInfo.offlineMillis = std::stol(gatewayOfflineInfoNode["OfflineMillis"].asString()); + auto joinPermissionAuthInfoNode = dataNode["JoinPermissionAuthInfo"]; + if(!joinPermissionAuthInfoNode["OrderId"].isNull()) + data_.joinPermissionAuthInfo.orderId = joinPermissionAuthInfoNode["OrderId"].asString(); + if(!joinPermissionAuthInfoNode["JoinPermissionId"].isNull()) + data_.joinPermissionAuthInfo.joinPermissionId = joinPermissionAuthInfoNode["JoinPermissionId"].asString(); + if(!joinPermissionAuthInfoNode["OwnerAliyunId"].isNull()) + data_.joinPermissionAuthInfo.ownerAliyunId = joinPermissionAuthInfoNode["OwnerAliyunId"].asString(); + if(!joinPermissionAuthInfoNode["RenterAliyunId"].isNull()) + data_.joinPermissionAuthInfo.renterAliyunId = joinPermissionAuthInfoNode["RenterAliyunId"].asString(); + if(!joinPermissionAuthInfoNode["OrderState"].isNull()) + data_.joinPermissionAuthInfo.orderState = joinPermissionAuthInfoNode["OrderState"].asString(); + if(!joinPermissionAuthInfoNode["ApplyingMillis"].isNull()) + data_.joinPermissionAuthInfo.applyingMillis = std::stol(joinPermissionAuthInfoNode["ApplyingMillis"].asString()); + if(!joinPermissionAuthInfoNode["AcceptedMillis"].isNull()) + data_.joinPermissionAuthInfo.acceptedMillis = std::stol(joinPermissionAuthInfoNode["AcceptedMillis"].asString()); + if(!joinPermissionAuthInfoNode["CanceledMillis"].isNull()) + data_.joinPermissionAuthInfo.canceledMillis = std::stol(joinPermissionAuthInfoNode["CanceledMillis"].asString()); + if(!joinPermissionAuthInfoNode["RejectedMillis"].isNull()) + data_.joinPermissionAuthInfo.rejectedMillis = std::stol(joinPermissionAuthInfoNode["RejectedMillis"].asString()); + if(!joinPermissionAuthInfoNode["JoinEui"].isNull()) + data_.joinPermissionAuthInfo.joinEui = joinPermissionAuthInfoNode["JoinEui"].asString(); + if(!joinPermissionAuthInfoNode["JoinPermissionName"].isNull()) + data_.joinPermissionAuthInfo.joinPermissionName = joinPermissionAuthInfoNode["JoinPermissionName"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetNotificationResult::Data GetNotificationResult::getData()const +{ + return data_; +} + +bool GetNotificationResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetOwnedJoinPermissionRequest.cc b/linkwan/src/model/GetOwnedJoinPermissionRequest.cc new file mode 100644 index 000000000..e04b2f0a7 --- /dev/null +++ b/linkwan/src/model/GetOwnedJoinPermissionRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetOwnedJoinPermissionRequest; + +GetOwnedJoinPermissionRequest::GetOwnedJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetOwnedJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +GetOwnedJoinPermissionRequest::~GetOwnedJoinPermissionRequest() +{} + +std::string GetOwnedJoinPermissionRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void GetOwnedJoinPermissionRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string GetOwnedJoinPermissionRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetOwnedJoinPermissionRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string GetOwnedJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetOwnedJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetOwnedJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetOwnedJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetOwnedJoinPermissionResult.cc b/linkwan/src/model/GetOwnedJoinPermissionResult.cc new file mode 100644 index 000000000..059548fd3 --- /dev/null +++ b/linkwan/src/model/GetOwnedJoinPermissionResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetOwnedJoinPermissionResult::GetOwnedJoinPermissionResult() : + ServiceResult() +{} + +GetOwnedJoinPermissionResult::GetOwnedJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOwnedJoinPermissionResult::~GetOwnedJoinPermissionResult() +{} + +void GetOwnedJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["JoinPermissionId"].isNull()) + data_.joinPermissionId = dataNode["JoinPermissionId"].asString(); + if(!dataNode["RenterAliyunId"].isNull()) + data_.renterAliyunId = dataNode["RenterAliyunId"].asString(); + if(!dataNode["JoinEui"].isNull()) + data_.joinEui = dataNode["JoinEui"].asString(); + if(!dataNode["FreqBandPlanGroupId"].isNull()) + data_.freqBandPlanGroupId = std::stol(dataNode["FreqBandPlanGroupId"].asString()); + if(!dataNode["ClassMode"].isNull()) + data_.classMode = dataNode["ClassMode"].asString(); + if(!dataNode["Enabled"].isNull()) + data_.enabled = dataNode["Enabled"].asString() == "true"; + if(!dataNode["NodesCnt"].isNull()) + data_.nodesCnt = std::stol(dataNode["NodesCnt"].asString()); + if(!dataNode["DataDispatchDestination"].isNull()) + data_.dataDispatchDestination = dataNode["DataDispatchDestination"].asString(); + if(!dataNode["RxDailySum"].isNull()) + data_.rxDailySum = std::stol(dataNode["RxDailySum"].asString()); + if(!dataNode["RxMonthSum"].isNull()) + data_.rxMonthSum = std::stol(dataNode["RxMonthSum"].asString()); + if(!dataNode["TxDailySum"].isNull()) + data_.txDailySum = std::stol(dataNode["TxDailySum"].asString()); + if(!dataNode["TxMonthSum"].isNull()) + data_.txMonthSum = std::stol(dataNode["TxMonthSum"].asString()); + if(!dataNode["CreateMillis"].isNull()) + data_.createMillis = std::stol(dataNode["CreateMillis"].asString()); + if(!dataNode["JoinPermissionName"].isNull()) + data_.joinPermissionName = dataNode["JoinPermissionName"].asString(); + if(!dataNode["AuthState"].isNull()) + data_.authState = dataNode["AuthState"].asString(); + if(!dataNode["MulticastEnabled"].isNull()) + data_.multicastEnabled = dataNode["MulticastEnabled"].asString() == "true"; + if(!dataNode["MulticastNodeCapacity"].isNull()) + data_.multicastNodeCapacity = std::stoi(dataNode["MulticastNodeCapacity"].asString()); + if(!dataNode["MulticastNodeCount"].isNull()) + data_.multicastNodeCount = std::stoi(dataNode["MulticastNodeCount"].asString()); + if(!dataNode["RxDelay"].isNull()) + data_.rxDelay = std::stol(dataNode["RxDelay"].asString()); + if(!dataNode["DataRate"].isNull()) + data_.dataRate = std::stol(dataNode["DataRate"].asString()); + if(!dataNode["BoundProductName"].isNull()) + data_.boundProductName = dataNode["BoundProductName"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetOwnedJoinPermissionResult::Data GetOwnedJoinPermissionResult::getData()const +{ + return data_; +} + +bool GetOwnedJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetRentedJoinPermissionRequest.cc b/linkwan/src/model/GetRentedJoinPermissionRequest.cc new file mode 100644 index 000000000..8f5601a85 --- /dev/null +++ b/linkwan/src/model/GetRentedJoinPermissionRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetRentedJoinPermissionRequest; + +GetRentedJoinPermissionRequest::GetRentedJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetRentedJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +GetRentedJoinPermissionRequest::~GetRentedJoinPermissionRequest() +{} + +std::string GetRentedJoinPermissionRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void GetRentedJoinPermissionRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string GetRentedJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetRentedJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetRentedJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetRentedJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetRentedJoinPermissionResult.cc b/linkwan/src/model/GetRentedJoinPermissionResult.cc new file mode 100644 index 000000000..e45408c74 --- /dev/null +++ b/linkwan/src/model/GetRentedJoinPermissionResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetRentedJoinPermissionResult::GetRentedJoinPermissionResult() : + ServiceResult() +{} + +GetRentedJoinPermissionResult::GetRentedJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetRentedJoinPermissionResult::~GetRentedJoinPermissionResult() +{} + +void GetRentedJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["JoinPermissionId"].isNull()) + data_.joinPermissionId = dataNode["JoinPermissionId"].asString(); + if(!dataNode["JoinEui"].isNull()) + data_.joinEui = dataNode["JoinEui"].asString(); + if(!dataNode["FreqBandPlanGroupId"].isNull()) + data_.freqBandPlanGroupId = std::stol(dataNode["FreqBandPlanGroupId"].asString()); + if(!dataNode["ClassMode"].isNull()) + data_.classMode = dataNode["ClassMode"].asString(); + if(!dataNode["Type"].isNull()) + data_.type = dataNode["Type"].asString(); + if(!dataNode["Enabled"].isNull()) + data_.enabled = dataNode["Enabled"].asString() == "true"; + if(!dataNode["RxDailySum"].isNull()) + data_.rxDailySum = std::stol(dataNode["RxDailySum"].asString()); + if(!dataNode["RxMonthSum"].isNull()) + data_.rxMonthSum = std::stol(dataNode["RxMonthSum"].asString()); + if(!dataNode["TxDailySum"].isNull()) + data_.txDailySum = std::stol(dataNode["TxDailySum"].asString()); + if(!dataNode["TxMonthSum"].isNull()) + data_.txMonthSum = std::stol(dataNode["TxMonthSum"].asString()); + if(!dataNode["CreateMillis"].isNull()) + data_.createMillis = std::stol(dataNode["CreateMillis"].asString()); + if(!dataNode["NodesCnt"].isNull()) + data_.nodesCnt = std::stol(dataNode["NodesCnt"].asString()); + if(!dataNode["JoinPermissionName"].isNull()) + data_.joinPermissionName = dataNode["JoinPermissionName"].asString(); + if(!dataNode["BoundNodeGroupId"].isNull()) + data_.boundNodeGroupId = dataNode["BoundNodeGroupId"].asString(); + if(!dataNode["BoundNodeGroupName"].isNull()) + data_.boundNodeGroupName = dataNode["BoundNodeGroupName"].asString(); + if(!dataNode["RxDelay"].isNull()) + data_.rxDelay = std::stol(dataNode["RxDelay"].asString()); + if(!dataNode["DataRate"].isNull()) + data_.dataRate = std::stol(dataNode["DataRate"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetRentedJoinPermissionResult::Data GetRentedJoinPermissionResult::getData()const +{ + return data_; +} + +bool GetRentedJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetUserLicenseRequest.cc b/linkwan/src/model/GetUserLicenseRequest.cc new file mode 100644 index 000000000..c716266d5 --- /dev/null +++ b/linkwan/src/model/GetUserLicenseRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetUserLicenseRequest; + +GetUserLicenseRequest::GetUserLicenseRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetUserLicense") +{ + setMethod(HttpRequest::Method::Post); +} + +GetUserLicenseRequest::~GetUserLicenseRequest() +{} + +std::string GetUserLicenseRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetUserLicenseRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetUserLicenseRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetUserLicenseRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetUserLicenseResult.cc b/linkwan/src/model/GetUserLicenseResult.cc new file mode 100644 index 000000000..950809456 --- /dev/null +++ b/linkwan/src/model/GetUserLicenseResult.cc @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetUserLicenseResult::GetUserLicenseResult() : + ServiceResult() +{} + +GetUserLicenseResult::GetUserLicenseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetUserLicenseResult::~GetUserLicenseResult() +{} + +void GetUserLicenseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Oui"].isNull()) + data_.oui = dataNode["Oui"].asString(); + if(!dataNode["GatewayTupleLimit"].isNull()) + data_.gatewayTupleLimit = std::stol(dataNode["GatewayTupleLimit"].asString()); + if(!dataNode["GatewayTupleCount"].isNull()) + data_.gatewayTupleCount = std::stol(dataNode["GatewayTupleCount"].asString()); + if(!dataNode["NodeTupleLimit"].isNull()) + data_.nodeTupleLimit = std::stol(dataNode["NodeTupleLimit"].asString()); + if(!dataNode["NodeTupleCount"].isNull()) + data_.nodeTupleCount = std::stol(dataNode["NodeTupleCount"].asString()); + if(!dataNode["GatewayLimit"].isNull()) + data_.gatewayLimit = std::stol(dataNode["GatewayLimit"].asString()); + if(!dataNode["GatewayCount"].isNull()) + data_.gatewayCount = std::stol(dataNode["GatewayCount"].asString()); + if(!dataNode["LocalJoinPermissionLimit"].isNull()) + data_.localJoinPermissionLimit = std::stol(dataNode["LocalJoinPermissionLimit"].asString()); + if(!dataNode["LocalJoinPermissionCount"].isNull()) + data_.localJoinPermissionCount = std::stol(dataNode["LocalJoinPermissionCount"].asString()); + if(!dataNode["NodeLimit"].isNull()) + data_.nodeLimit = std::stol(dataNode["NodeLimit"].asString()); + if(!dataNode["NodeCount"].isNull()) + data_.nodeCount = std::stol(dataNode["NodeCount"].asString()); + if(!dataNode["RoamingJoinPermissionLimit"].isNull()) + data_.roamingJoinPermissionLimit = std::stol(dataNode["RoamingJoinPermissionLimit"].asString()); + if(!dataNode["RoamingJoinPermissionCount"].isNull()) + data_.roamingJoinPermissionCount = std::stol(dataNode["RoamingJoinPermissionCount"].asString()); + if(!dataNode["GatewayTupleFreeLimit"].isNull()) + data_.gatewayTupleFreeLimit = std::stol(dataNode["GatewayTupleFreeLimit"].asString()); + if(!dataNode["NodeTupleFreeLimit"].isNull()) + data_.nodeTupleFreeLimit = std::stol(dataNode["NodeTupleFreeLimit"].asString()); + if(!dataNode["GatewayFreeLimit"].isNull()) + data_.gatewayFreeLimit = std::stol(dataNode["GatewayFreeLimit"].asString()); + if(!dataNode["LocalJoinPermissionFreeLimit"].isNull()) + data_.localJoinPermissionFreeLimit = std::stol(dataNode["LocalJoinPermissionFreeLimit"].asString()); + if(!dataNode["RoamingJoinPermissionFreeLimit"].isNull()) + data_.roamingJoinPermissionFreeLimit = std::stol(dataNode["RoamingJoinPermissionFreeLimit"].asString()); + if(!dataNode["NodeFreeLimit"].isNull()) + data_.nodeFreeLimit = std::stol(dataNode["NodeFreeLimit"].asString()); + if(!dataNode["RelayLimit"].isNull()) + data_.relayLimit = std::stol(dataNode["RelayLimit"].asString()); + if(!dataNode["RelayCount"].isNull()) + data_.relayCount = std::stol(dataNode["RelayCount"].asString()); + if(!dataNode["GatewayPrePayCount"].isNull()) + data_.gatewayPrePayCount = std::stol(dataNode["GatewayPrePayCount"].asString()); + if(!dataNode["NodeTupleRelayLimit"].isNull()) + data_.nodeTupleRelayLimit = std::stol(dataNode["NodeTupleRelayLimit"].asString()); + if(!dataNode["NodeTupleRelayCount"].isNull()) + data_.nodeTupleRelayCount = std::stol(dataNode["NodeTupleRelayCount"].asString()); + if(!dataNode["NodeTupleStandardLimit"].isNull()) + data_.nodeTupleStandardLimit = std::stol(dataNode["NodeTupleStandardLimit"].asString()); + if(!dataNode["NodeTupleStandardCount"].isNull()) + data_.nodeTupleStandardCount = std::stol(dataNode["NodeTupleStandardCount"].asString()); + if(!dataNode["GatewayTupleHybridLimit"].isNull()) + data_.gatewayTupleHybridLimit = std::stol(dataNode["GatewayTupleHybridLimit"].asString()); + if(!dataNode["GatewayTupleHybridCount"].isNull()) + data_.gatewayTupleHybridCount = std::stol(dataNode["GatewayTupleHybridCount"].asString()); + if(!dataNode["GatewayTupleSingleChannelLimit"].isNull()) + data_.gatewayTupleSingleChannelLimit = std::stol(dataNode["GatewayTupleSingleChannelLimit"].asString()); + if(!dataNode["GatewayTupleSingleChannelCount"].isNull()) + data_.gatewayTupleSingleChannelCount = std::stol(dataNode["GatewayTupleSingleChannelCount"].asString()); + if(!dataNode["GatewayTupleStandardLimit"].isNull()) + data_.gatewayTupleStandardLimit = std::stol(dataNode["GatewayTupleStandardLimit"].asString()); + if(!dataNode["GatewayTupleStandardCount"].isNull()) + data_.gatewayTupleStandardCount = std::stol(dataNode["GatewayTupleStandardCount"].asString()); + if(!dataNode["GatewayDingTalkCount"].isNull()) + data_.gatewayDingTalkCount = std::stol(dataNode["GatewayDingTalkCount"].asString()); + if(!dataNode["GatewayDingTalkLimit"].isNull()) + data_.gatewayDingTalkLimit = std::stol(dataNode["GatewayDingTalkLimit"].asString()); + if(!dataNode["GatewayProfessionalCount"].isNull()) + data_.gatewayProfessionalCount = std::stol(dataNode["GatewayProfessionalCount"].asString()); + if(!dataNode["GatewayProfessionalLimit"].isNull()) + data_.gatewayProfessionalLimit = std::stol(dataNode["GatewayProfessionalLimit"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetUserLicenseResult::Data GetUserLicenseResult::getData()const +{ + return data_; +} + +bool GetUserLicenseResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/GetUserNetProfileDescriptionRequest.cc b/linkwan/src/model/GetUserNetProfileDescriptionRequest.cc new file mode 100644 index 000000000..9c98d38b6 --- /dev/null +++ b/linkwan/src/model/GetUserNetProfileDescriptionRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::GetUserNetProfileDescriptionRequest; + +GetUserNetProfileDescriptionRequest::GetUserNetProfileDescriptionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "GetUserNetProfileDescription") +{ + setMethod(HttpRequest::Method::Post); +} + +GetUserNetProfileDescriptionRequest::~GetUserNetProfileDescriptionRequest() +{} + +std::string GetUserNetProfileDescriptionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetUserNetProfileDescriptionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetUserNetProfileDescriptionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetUserNetProfileDescriptionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/GetUserNetProfileDescriptionResult.cc b/linkwan/src/model/GetUserNetProfileDescriptionResult.cc new file mode 100644 index 000000000..1c2e6fa36 --- /dev/null +++ b/linkwan/src/model/GetUserNetProfileDescriptionResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +GetUserNetProfileDescriptionResult::GetUserNetProfileDescriptionResult() : + ServiceResult() +{} + +GetUserNetProfileDescriptionResult::GetUserNetProfileDescriptionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetUserNetProfileDescriptionResult::~GetUserNetProfileDescriptionResult() +{} + +void GetUserNetProfileDescriptionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Isolated"].isNull()) + data_.isolated = dataNode["Isolated"].asString() == "true"; + if(!dataNode["IsoUpdatedRemainingSec"].isNull()) + data_.isoUpdatedRemainingSec = std::stol(dataNode["IsoUpdatedRemainingSec"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +GetUserNetProfileDescriptionResult::Data GetUserNetProfileDescriptionResult::getData()const +{ + return data_; +} + +std::string GetUserNetProfileDescriptionResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetUserNetProfileDescriptionResult::getCode()const +{ + return code_; +} + +bool GetUserNetProfileDescriptionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListActivatedFeaturesRequest.cc b/linkwan/src/model/ListActivatedFeaturesRequest.cc new file mode 100644 index 000000000..b429f9422 --- /dev/null +++ b/linkwan/src/model/ListActivatedFeaturesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListActivatedFeaturesRequest; + +ListActivatedFeaturesRequest::ListActivatedFeaturesRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListActivatedFeatures") +{ + setMethod(HttpRequest::Method::Post); +} + +ListActivatedFeaturesRequest::~ListActivatedFeaturesRequest() +{} + +std::string ListActivatedFeaturesRequest::getEnvironment()const +{ + return environment_; +} + +void ListActivatedFeaturesRequest::setEnvironment(const std::string& environment) +{ + environment_ = environment; + setParameter("Environment", environment); +} + +std::string ListActivatedFeaturesRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListActivatedFeaturesRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListActivatedFeaturesRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListActivatedFeaturesRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/ListActivatedFeaturesResult.cc b/linkwan/src/model/ListActivatedFeaturesResult.cc new file mode 100644 index 000000000..bc2bc9a25 --- /dev/null +++ b/linkwan/src/model/ListActivatedFeaturesResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListActivatedFeaturesResult::ListActivatedFeaturesResult() : + ServiceResult() +{} + +ListActivatedFeaturesResult::ListActivatedFeaturesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListActivatedFeaturesResult::~ListActivatedFeaturesResult() +{} + +void ListActivatedFeaturesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Feature"]; + for (const auto &item : allData) + data_.push_back(item.asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListActivatedFeaturesResult::getData()const +{ + return data_; +} + +bool ListActivatedFeaturesResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListActiveGatewaysRequest.cc b/linkwan/src/model/ListActiveGatewaysRequest.cc new file mode 100644 index 000000000..db3489789 --- /dev/null +++ b/linkwan/src/model/ListActiveGatewaysRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListActiveGatewaysRequest; + +ListActiveGatewaysRequest::ListActiveGatewaysRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListActiveGateways") +{ + setMethod(HttpRequest::Method::Post); +} + +ListActiveGatewaysRequest::~ListActiveGatewaysRequest() +{} + +std::string ListActiveGatewaysRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListActiveGatewaysRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListActiveGatewaysRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListActiveGatewaysRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/ListActiveGatewaysResult.cc b/linkwan/src/model/ListActiveGatewaysResult.cc new file mode 100644 index 000000000..82d23d340 --- /dev/null +++ b/linkwan/src/model/ListActiveGatewaysResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListActiveGatewaysResult::ListActiveGatewaysResult() : + ServiceResult() +{} + +ListActiveGatewaysResult::ListActiveGatewaysResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListActiveGatewaysResult::~ListActiveGatewaysResult() +{} + +void ListActiveGatewaysResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["Gateway"]; + for (auto valueDataGateway : allDataNode) + { + Gateway dataObject; + if(!valueDataGateway["GwEui"].isNull()) + dataObject.gwEui = valueDataGateway["GwEui"].asString(); + if(!valueDataGateway["Name"].isNull()) + dataObject.name = valueDataGateway["Name"].asString(); + if(!valueDataGateway["Description"].isNull()) + dataObject.description = valueDataGateway["Description"].asString(); + if(!valueDataGateway["City"].isNull()) + dataObject.city = valueDataGateway["City"].asString(); + if(!valueDataGateway["District"].isNull()) + dataObject.district = valueDataGateway["District"].asString(); + if(!valueDataGateway["Address"].isNull()) + dataObject.address = valueDataGateway["Address"].asString(); + if(!valueDataGateway["AddressCode"].isNull()) + dataObject.addressCode = std::stol(valueDataGateway["AddressCode"].asString()); + if(!valueDataGateway["GisCoordinateSystem"].isNull()) + dataObject.gisCoordinateSystem = valueDataGateway["GisCoordinateSystem"].asString(); + if(!valueDataGateway["Longitude"].isNull()) + dataObject.longitude = std::stof(valueDataGateway["Longitude"].asString()); + if(!valueDataGateway["Latitude"].isNull()) + dataObject.latitude = std::stof(valueDataGateway["Latitude"].asString()); + if(!valueDataGateway["FreqBandPlanGroupId"].isNull()) + dataObject.freqBandPlanGroupId = std::stol(valueDataGateway["FreqBandPlanGroupId"].asString()); + if(!valueDataGateway["CommunicationMode"].isNull()) + dataObject.communicationMode = valueDataGateway["CommunicationMode"].asString(); + if(!valueDataGateway["OnlineState"].isNull()) + dataObject.onlineState = valueDataGateway["OnlineState"].asString(); + if(!valueDataGateway["ChargeStatus"].isNull()) + dataObject.chargeStatus = valueDataGateway["ChargeStatus"].asString(); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListActiveGatewaysResult::getData()const +{ + return data_; +} + +bool ListActiveGatewaysResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListFreqBandPlanGroupsRequest.cc b/linkwan/src/model/ListFreqBandPlanGroupsRequest.cc new file mode 100644 index 000000000..16fc04c26 --- /dev/null +++ b/linkwan/src/model/ListFreqBandPlanGroupsRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListFreqBandPlanGroupsRequest; + +ListFreqBandPlanGroupsRequest::ListFreqBandPlanGroupsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListFreqBandPlanGroups") +{ + setMethod(HttpRequest::Method::Post); +} + +ListFreqBandPlanGroupsRequest::~ListFreqBandPlanGroupsRequest() +{} + +std::string ListFreqBandPlanGroupsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListFreqBandPlanGroupsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListFreqBandPlanGroupsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListFreqBandPlanGroupsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/ListFreqBandPlanGroupsResult.cc b/linkwan/src/model/ListFreqBandPlanGroupsResult.cc new file mode 100644 index 000000000..6ae5553c9 --- /dev/null +++ b/linkwan/src/model/ListFreqBandPlanGroupsResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListFreqBandPlanGroupsResult::ListFreqBandPlanGroupsResult() : + ServiceResult() +{} + +ListFreqBandPlanGroupsResult::ListFreqBandPlanGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFreqBandPlanGroupsResult::~ListFreqBandPlanGroupsResult() +{} + +void ListFreqBandPlanGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["Group"]; + for (auto valueDataGroup : allDataNode) + { + Group dataObject; + if(!valueDataGroup["GroupId"].isNull()) + dataObject.groupId = std::stol(valueDataGroup["GroupId"].asString()); + if(!valueDataGroup["FrequencyRegionId"].isNull()) + dataObject.frequencyRegionId = valueDataGroup["FrequencyRegionId"].asString(); + if(!valueDataGroup["FrequencyType"].isNull()) + dataObject.frequencyType = valueDataGroup["FrequencyType"].asString(); + if(!valueDataGroup["BeginFrequency"].isNull()) + dataObject.beginFrequency = std::stol(valueDataGroup["BeginFrequency"].asString()); + if(!valueDataGroup["EndFrequency"].isNull()) + dataObject.endFrequency = std::stol(valueDataGroup["EndFrequency"].asString()); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListFreqBandPlanGroupsResult::getData()const +{ + return data_; +} + +bool ListFreqBandPlanGroupsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewayLocalConfigsRequest.cc b/linkwan/src/model/ListGatewayLocalConfigsRequest.cc new file mode 100644 index 000000000..9b27fd160 --- /dev/null +++ b/linkwan/src/model/ListGatewayLocalConfigsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewayLocalConfigsRequest; + +ListGatewayLocalConfigsRequest::ListGatewayLocalConfigsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGatewayLocalConfigs") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewayLocalConfigsRequest::~ListGatewayLocalConfigsRequest() +{} + +std::string ListGatewayLocalConfigsRequest::getGwEui()const +{ + return gwEui_; +} + +void ListGatewayLocalConfigsRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string ListGatewayLocalConfigsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewayLocalConfigsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewayLocalConfigsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewayLocalConfigsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/ListGatewayLocalConfigsResult.cc b/linkwan/src/model/ListGatewayLocalConfigsResult.cc new file mode 100644 index 000000000..0ed7b823a --- /dev/null +++ b/linkwan/src/model/ListGatewayLocalConfigsResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewayLocalConfigsResult::ListGatewayLocalConfigsResult() : + ServiceResult() +{} + +ListGatewayLocalConfigsResult::ListGatewayLocalConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewayLocalConfigsResult::~ListGatewayLocalConfigsResult() +{} + +void ListGatewayLocalConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["D2dConfig"]; + for (auto valueDataD2dConfig : allDataNode) + { + D2dConfig dataObject; + if(!valueDataD2dConfig["DevType"].isNull()) + dataObject.devType = valueDataD2dConfig["DevType"].asString(); + if(!valueDataD2dConfig["Eui"].isNull()) + dataObject.eui = valueDataD2dConfig["Eui"].asString(); + if(!valueDataD2dConfig["D2dAddr"].isNull()) + dataObject.d2dAddr = valueDataD2dConfig["D2dAddr"].asString(); + if(!valueDataD2dConfig["D2dKey"].isNull()) + dataObject.d2dKey = valueDataD2dConfig["D2dKey"].asString(); + if(!valueDataD2dConfig["Freq"].isNull()) + dataObject.freq = std::stoi(valueDataD2dConfig["Freq"].asString()); + if(!valueDataD2dConfig["Datr"].isNull()) + dataObject.datr = std::stoi(valueDataD2dConfig["Datr"].asString()); + if(!valueDataD2dConfig["TaskId"].isNull()) + dataObject.taskId = std::stol(valueDataD2dConfig["TaskId"].asString()); + if(!valueDataD2dConfig["CreateMillis"].isNull()) + dataObject.createMillis = std::stol(valueDataD2dConfig["CreateMillis"].asString()); + if(!valueDataD2dConfig["ModifiedMillis"].isNull()) + dataObject.modifiedMillis = std::stol(valueDataD2dConfig["ModifiedMillis"].asString()); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::vector ListGatewayLocalConfigsResult::getData()const +{ + return data_; +} + +std::string ListGatewayLocalConfigsResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string ListGatewayLocalConfigsResult::getCode()const +{ + return code_; +} + +bool ListGatewayLocalConfigsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewayOnlineRecordsRequest.cc b/linkwan/src/model/ListGatewayOnlineRecordsRequest.cc new file mode 100644 index 000000000..245c570fa --- /dev/null +++ b/linkwan/src/model/ListGatewayOnlineRecordsRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewayOnlineRecordsRequest; + +ListGatewayOnlineRecordsRequest::ListGatewayOnlineRecordsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGatewayOnlineRecords") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewayOnlineRecordsRequest::~ListGatewayOnlineRecordsRequest() +{} + +long ListGatewayOnlineRecordsRequest::getLimit()const +{ + return limit_; +} + +void ListGatewayOnlineRecordsRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +long ListGatewayOnlineRecordsRequest::getOffSet()const +{ + return offSet_; +} + +void ListGatewayOnlineRecordsRequest::setOffSet(long offSet) +{ + offSet_ = offSet; + setParameter("OffSet", std::to_string(offSet)); +} + +std::string ListGatewayOnlineRecordsRequest::getGwEui()const +{ + return gwEui_; +} + +void ListGatewayOnlineRecordsRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +bool ListGatewayOnlineRecordsRequest::getAscending()const +{ + return ascending_; +} + +void ListGatewayOnlineRecordsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListGatewayOnlineRecordsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewayOnlineRecordsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewayOnlineRecordsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewayOnlineRecordsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListGatewayOnlineRecordsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListGatewayOnlineRecordsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListGatewayOnlineRecordsResult.cc b/linkwan/src/model/ListGatewayOnlineRecordsResult.cc new file mode 100644 index 000000000..b26624c87 --- /dev/null +++ b/linkwan/src/model/ListGatewayOnlineRecordsResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewayOnlineRecordsResult::ListGatewayOnlineRecordsResult() : + ServiceResult() +{} + +ListGatewayOnlineRecordsResult::ListGatewayOnlineRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewayOnlineRecordsResult::~ListGatewayOnlineRecordsResult() +{} + +void ListGatewayOnlineRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Record"]; + for (auto dataNodeListRecord : allListNode) + { + Data::Record recordObject; + if(!dataNodeListRecord["OnlineState"].isNull()) + recordObject.onlineState = dataNodeListRecord["OnlineState"].asString(); + if(!dataNodeListRecord["StateChangedMillis"].isNull()) + recordObject.stateChangedMillis = std::stol(dataNodeListRecord["StateChangedMillis"].asString()); + if(!dataNodeListRecord["GwEui"].isNull()) + recordObject.gwEui = dataNodeListRecord["GwEui"].asString(); + data_.list.push_back(recordObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListGatewayOnlineRecordsResult::Data ListGatewayOnlineRecordsResult::getData()const +{ + return data_; +} + +bool ListGatewayOnlineRecordsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewayTransferFlowStatsRequest.cc b/linkwan/src/model/ListGatewayTransferFlowStatsRequest.cc new file mode 100644 index 000000000..2c8a6547c --- /dev/null +++ b/linkwan/src/model/ListGatewayTransferFlowStatsRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewayTransferFlowStatsRequest; + +ListGatewayTransferFlowStatsRequest::ListGatewayTransferFlowStatsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGatewayTransferFlowStats") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewayTransferFlowStatsRequest::~ListGatewayTransferFlowStatsRequest() +{} + +long ListGatewayTransferFlowStatsRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListGatewayTransferFlowStatsRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string ListGatewayTransferFlowStatsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListGatewayTransferFlowStatsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListGatewayTransferFlowStatsRequest::getTimeIntervalUnit()const +{ + return timeIntervalUnit_; +} + +void ListGatewayTransferFlowStatsRequest::setTimeIntervalUnit(const std::string& timeIntervalUnit) +{ + timeIntervalUnit_ = timeIntervalUnit; + setParameter("TimeIntervalUnit", timeIntervalUnit); +} + +std::string ListGatewayTransferFlowStatsRequest::getGwEui()const +{ + return gwEui_; +} + +void ListGatewayTransferFlowStatsRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string ListGatewayTransferFlowStatsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewayTransferFlowStatsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewayTransferFlowStatsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewayTransferFlowStatsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long ListGatewayTransferFlowStatsRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListGatewayTransferFlowStatsRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + diff --git a/linkwan/src/model/ListGatewayTransferFlowStatsResult.cc b/linkwan/src/model/ListGatewayTransferFlowStatsResult.cc new file mode 100644 index 000000000..5f61d05da --- /dev/null +++ b/linkwan/src/model/ListGatewayTransferFlowStatsResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewayTransferFlowStatsResult::ListGatewayTransferFlowStatsResult() : + ServiceResult() +{} + +ListGatewayTransferFlowStatsResult::ListGatewayTransferFlowStatsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewayTransferFlowStatsResult::~ListGatewayTransferFlowStatsResult() +{} + +void ListGatewayTransferFlowStatsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["FlowStat"]; + for (auto valueDataFlowStat : allDataNode) + { + FlowStat dataObject; + if(!valueDataFlowStat["StatMillis"].isNull()) + dataObject.statMillis = valueDataFlowStat["StatMillis"].asString(); + if(!valueDataFlowStat["UplinkCount"].isNull()) + dataObject.uplinkCount = std::stol(valueDataFlowStat["UplinkCount"].asString()); + if(!valueDataFlowStat["DownlinkCount"].isNull()) + dataObject.downlinkCount = std::stol(valueDataFlowStat["DownlinkCount"].asString()); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListGatewayTransferFlowStatsResult::getData()const +{ + return data_; +} + +bool ListGatewayTransferFlowStatsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewayTransferPacketsRequest.cc b/linkwan/src/model/ListGatewayTransferPacketsRequest.cc new file mode 100644 index 000000000..b9585643a --- /dev/null +++ b/linkwan/src/model/ListGatewayTransferPacketsRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewayTransferPacketsRequest; + +ListGatewayTransferPacketsRequest::ListGatewayTransferPacketsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGatewayTransferPackets") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewayTransferPacketsRequest::~ListGatewayTransferPacketsRequest() +{} + +long ListGatewayTransferPacketsRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListGatewayTransferPacketsRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +int ListGatewayTransferPacketsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListGatewayTransferPacketsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListGatewayTransferPacketsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListGatewayTransferPacketsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +int ListGatewayTransferPacketsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListGatewayTransferPacketsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListGatewayTransferPacketsRequest::getGwEui()const +{ + return gwEui_; +} + +void ListGatewayTransferPacketsRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +bool ListGatewayTransferPacketsRequest::getAscending()const +{ + return ascending_; +} + +void ListGatewayTransferPacketsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListGatewayTransferPacketsRequest::getDevEui()const +{ + return devEui_; +} + +void ListGatewayTransferPacketsRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string ListGatewayTransferPacketsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewayTransferPacketsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewayTransferPacketsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewayTransferPacketsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListGatewayTransferPacketsRequest::getCategory()const +{ + return category_; +} + +void ListGatewayTransferPacketsRequest::setCategory(const std::string& category) +{ + category_ = category; + setParameter("Category", category); +} + +long ListGatewayTransferPacketsRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListGatewayTransferPacketsRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string ListGatewayTransferPacketsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListGatewayTransferPacketsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListGatewayTransferPacketsResult.cc b/linkwan/src/model/ListGatewayTransferPacketsResult.cc new file mode 100644 index 000000000..68c031b01 --- /dev/null +++ b/linkwan/src/model/ListGatewayTransferPacketsResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewayTransferPacketsResult::ListGatewayTransferPacketsResult() : + ServiceResult() +{} + +ListGatewayTransferPacketsResult::ListGatewayTransferPacketsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewayTransferPacketsResult::~ListGatewayTransferPacketsResult() +{} + +void ListGatewayTransferPacketsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Packet"]; + for (auto dataNodeListPacket : allListNode) + { + Data::Packet packetObject; + if(!dataNodeListPacket["GwEui"].isNull()) + packetObject.gwEui = dataNodeListPacket["GwEui"].asString(); + if(!dataNodeListPacket["DevEui"].isNull()) + packetObject.devEui = dataNodeListPacket["DevEui"].asString(); + if(!dataNodeListPacket["LogMillis"].isNull()) + packetObject.logMillis = dataNodeListPacket["LogMillis"].asString(); + if(!dataNodeListPacket["DevAddr"].isNull()) + packetObject.devAddr = dataNodeListPacket["DevAddr"].asString(); + if(!dataNodeListPacket["Freq"].isNull()) + packetObject.freq = dataNodeListPacket["Freq"].asString(); + if(!dataNodeListPacket["Datr"].isNull()) + packetObject.datr = dataNodeListPacket["Datr"].asString(); + if(!dataNodeListPacket["ClassMode"].isNull()) + packetObject.classMode = dataNodeListPacket["ClassMode"].asString(); + if(!dataNodeListPacket["Rssi"].isNull()) + packetObject.rssi = std::stoi(dataNodeListPacket["Rssi"].asString()); + if(!dataNodeListPacket["Lsnr"].isNull()) + packetObject.lsnr = std::stof(dataNodeListPacket["Lsnr"].asString()); + if(!dataNodeListPacket["FPort"].isNull()) + packetObject.fPort = std::stoi(dataNodeListPacket["FPort"].asString()); + if(!dataNodeListPacket["HasMacCommand"].isNull()) + packetObject.hasMacCommand = dataNodeListPacket["HasMacCommand"].asString() == "true"; + if(!dataNodeListPacket["HasData"].isNull()) + packetObject.hasData = dataNodeListPacket["HasData"].asString() == "true"; + if(!dataNodeListPacket["Base64EncodedMacPayload"].isNull()) + packetObject.base64EncodedMacPayload = dataNodeListPacket["Base64EncodedMacPayload"].asString(); + if(!dataNodeListPacket["MacPayloadSize"].isNull()) + packetObject.macPayloadSize = std::stol(dataNodeListPacket["MacPayloadSize"].asString()); + if(!dataNodeListPacket["ProcessEvent"].isNull()) + packetObject.processEvent = dataNodeListPacket["ProcessEvent"].asString(); + if(!dataNodeListPacket["MessageType"].isNull()) + packetObject.messageType = dataNodeListPacket["MessageType"].asString(); + if(!dataNodeListPacket["NodeOwnerAliyunId"].isNull()) + packetObject.nodeOwnerAliyunId = dataNodeListPacket["NodeOwnerAliyunId"].asString(); + auto allMacCommandCIDs = value["MacCommandCIDs"]["CID"]; + for (auto value : allMacCommandCIDs) + packetObject.macCommandCIDs.push_back(value.asString()); + data_.list.push_back(packetObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListGatewayTransferPacketsResult::Data ListGatewayTransferPacketsResult::getData()const +{ + return data_; +} + +bool ListGatewayTransferPacketsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewayTupleOrdersRequest.cc b/linkwan/src/model/ListGatewayTupleOrdersRequest.cc new file mode 100644 index 000000000..3448580a4 --- /dev/null +++ b/linkwan/src/model/ListGatewayTupleOrdersRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewayTupleOrdersRequest; + +ListGatewayTupleOrdersRequest::ListGatewayTupleOrdersRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGatewayTupleOrders") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewayTupleOrdersRequest::~ListGatewayTupleOrdersRequest() +{} + +long ListGatewayTupleOrdersRequest::getLimit()const +{ + return limit_; +} + +void ListGatewayTupleOrdersRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::vector ListGatewayTupleOrdersRequest::getState()const +{ + return state_; +} + +void ListGatewayTupleOrdersRequest::setState(const std::vector& state) +{ + state_ = state; + for(int dep1 = 0; dep1!= state.size(); dep1++) { + setParameter("State."+ std::to_string(dep1), state.at(dep1)); + } +} + +long ListGatewayTupleOrdersRequest::getOffset()const +{ + return offset_; +} + +void ListGatewayTupleOrdersRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListGatewayTupleOrdersRequest::getAscending()const +{ + return ascending_; +} + +void ListGatewayTupleOrdersRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListGatewayTupleOrdersRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewayTupleOrdersRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewayTupleOrdersRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewayTupleOrdersRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListGatewayTupleOrdersRequest::getSortingField()const +{ + return sortingField_; +} + +void ListGatewayTupleOrdersRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListGatewayTupleOrdersResult.cc b/linkwan/src/model/ListGatewayTupleOrdersResult.cc new file mode 100644 index 000000000..83c60d4ca --- /dev/null +++ b/linkwan/src/model/ListGatewayTupleOrdersResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewayTupleOrdersResult::ListGatewayTupleOrdersResult() : + ServiceResult() +{} + +ListGatewayTupleOrdersResult::ListGatewayTupleOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewayTupleOrdersResult::~ListGatewayTupleOrdersResult() +{} + +void ListGatewayTupleOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["GatewayTupleOrder"]; + for (auto dataNodeListGatewayTupleOrder : allListNode) + { + Data::GatewayTupleOrder gatewayTupleOrderObject; + if(!dataNodeListGatewayTupleOrder["OrderId"].isNull()) + gatewayTupleOrderObject.orderId = dataNodeListGatewayTupleOrder["OrderId"].asString(); + if(!dataNodeListGatewayTupleOrder["OrderState"].isNull()) + gatewayTupleOrderObject.orderState = dataNodeListGatewayTupleOrder["OrderState"].asString(); + if(!dataNodeListGatewayTupleOrder["RequiredCount"].isNull()) + gatewayTupleOrderObject.requiredCount = std::stol(dataNodeListGatewayTupleOrder["RequiredCount"].asString()); + if(!dataNodeListGatewayTupleOrder["CreatedMillis"].isNull()) + gatewayTupleOrderObject.createdMillis = std::stol(dataNodeListGatewayTupleOrder["CreatedMillis"].asString()); + if(!dataNodeListGatewayTupleOrder["AcceptedMillis"].isNull()) + gatewayTupleOrderObject.acceptedMillis = std::stol(dataNodeListGatewayTupleOrder["AcceptedMillis"].asString()); + if(!dataNodeListGatewayTupleOrder["TupleType"].isNull()) + gatewayTupleOrderObject.tupleType = dataNodeListGatewayTupleOrder["TupleType"].asString(); + data_.list.push_back(gatewayTupleOrderObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListGatewayTupleOrdersResult::Data ListGatewayTupleOrdersResult::getData()const +{ + return data_; +} + +bool ListGatewayTupleOrdersResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewaysGisInfoRequest.cc b/linkwan/src/model/ListGatewaysGisInfoRequest.cc new file mode 100644 index 000000000..8d4b81f38 --- /dev/null +++ b/linkwan/src/model/ListGatewaysGisInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewaysGisInfoRequest; + +ListGatewaysGisInfoRequest::ListGatewaysGisInfoRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGatewaysGisInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewaysGisInfoRequest::~ListGatewaysGisInfoRequest() +{} + +std::string ListGatewaysGisInfoRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListGatewaysGisInfoRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListGatewaysGisInfoRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewaysGisInfoRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewaysGisInfoRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewaysGisInfoRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/ListGatewaysGisInfoResult.cc b/linkwan/src/model/ListGatewaysGisInfoResult.cc new file mode 100644 index 000000000..de296937c --- /dev/null +++ b/linkwan/src/model/ListGatewaysGisInfoResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewaysGisInfoResult::ListGatewaysGisInfoResult() : + ServiceResult() +{} + +ListGatewaysGisInfoResult::ListGatewaysGisInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewaysGisInfoResult::~ListGatewaysGisInfoResult() +{} + +void ListGatewaysGisInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["GatewayGisInfo"]; + for (auto valueDataGatewayGisInfo : allDataNode) + { + GatewayGisInfo dataObject; + if(!valueDataGatewayGisInfo["GwEui"].isNull()) + dataObject.gwEui = valueDataGatewayGisInfo["GwEui"].asString(); + if(!valueDataGatewayGisInfo["GisCoordinateSystem"].isNull()) + dataObject.gisCoordinateSystem = valueDataGatewayGisInfo["GisCoordinateSystem"].asString(); + if(!valueDataGatewayGisInfo["Longitude"].isNull()) + dataObject.longitude = std::stof(valueDataGatewayGisInfo["Longitude"].asString()); + if(!valueDataGatewayGisInfo["Latitude"].isNull()) + dataObject.latitude = std::stof(valueDataGatewayGisInfo["Latitude"].asString()); + if(!valueDataGatewayGisInfo["FreqBandPlanGroupId"].isNull()) + dataObject.freqBandPlanGroupId = std::stol(valueDataGatewayGisInfo["FreqBandPlanGroupId"].asString()); + if(!valueDataGatewayGisInfo["Name"].isNull()) + dataObject.name = valueDataGatewayGisInfo["Name"].asString(); + if(!valueDataGatewayGisInfo["OnlineState"].isNull()) + dataObject.onlineState = valueDataGatewayGisInfo["OnlineState"].asString(); + if(!valueDataGatewayGisInfo["GisSourceType"].isNull()) + dataObject.gisSourceType = valueDataGatewayGisInfo["GisSourceType"].asString(); + if(!valueDataGatewayGisInfo["Enabled"].isNull()) + dataObject.enabled = valueDataGatewayGisInfo["Enabled"].asString() == "true"; + if(!valueDataGatewayGisInfo["ChargeStatus"].isNull()) + dataObject.chargeStatus = valueDataGatewayGisInfo["ChargeStatus"].asString(); + if(!valueDataGatewayGisInfo["AuthTypes"].isNull()) + dataObject.authTypes = valueDataGatewayGisInfo["AuthTypes"].asString(); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListGatewaysGisInfoResult::getData()const +{ + return data_; +} + +bool ListGatewaysGisInfoResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewaysPacketStatRequest.cc b/linkwan/src/model/ListGatewaysPacketStatRequest.cc new file mode 100644 index 000000000..aabdb6a98 --- /dev/null +++ b/linkwan/src/model/ListGatewaysPacketStatRequest.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewaysPacketStatRequest; + +ListGatewaysPacketStatRequest::ListGatewaysPacketStatRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGatewaysPacketStat") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewaysPacketStatRequest::~ListGatewaysPacketStatRequest() +{} + +long ListGatewaysPacketStatRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListGatewaysPacketStatRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::vector ListGatewaysPacketStatRequest::getGwEuiList()const +{ + return gwEuiList_; +} + +void ListGatewaysPacketStatRequest::setGwEuiList(const std::vector& gwEuiList) +{ + gwEuiList_ = gwEuiList; + for(int dep1 = 0; dep1!= gwEuiList.size(); dep1++) { + setParameter("GwEuiList."+ std::to_string(dep1), gwEuiList.at(dep1)); + } +} + +std::string ListGatewaysPacketStatRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListGatewaysPacketStatRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListGatewaysPacketStatRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewaysPacketStatRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewaysPacketStatRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewaysPacketStatRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long ListGatewaysPacketStatRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListGatewaysPacketStatRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + diff --git a/linkwan/src/model/ListGatewaysPacketStatResult.cc b/linkwan/src/model/ListGatewaysPacketStatResult.cc new file mode 100644 index 000000000..6041a3da5 --- /dev/null +++ b/linkwan/src/model/ListGatewaysPacketStatResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewaysPacketStatResult::ListGatewaysPacketStatResult() : + ServiceResult() +{} + +ListGatewaysPacketStatResult::ListGatewaysPacketStatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewaysPacketStatResult::~ListGatewaysPacketStatResult() +{} + +void ListGatewaysPacketStatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["GatewayPacketStat"]; + for (auto valueDataGatewayPacketStat : allDataNode) + { + GatewayPacketStat dataObject; + if(!valueDataGatewayPacketStat["GwEui"].isNull()) + dataObject.gwEui = valueDataGatewayPacketStat["GwEui"].asString(); + if(!valueDataGatewayPacketStat["UplinkCount"].isNull()) + dataObject.uplinkCount = std::stoi(valueDataGatewayPacketStat["UplinkCount"].asString()); + if(!valueDataGatewayPacketStat["DownlinkCount"].isNull()) + dataObject.downlinkCount = std::stoi(valueDataGatewayPacketStat["DownlinkCount"].asString()); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListGatewaysPacketStatResult::getData()const +{ + return data_; +} + +bool ListGatewaysPacketStatResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListGatewaysRequest.cc b/linkwan/src/model/ListGatewaysRequest.cc new file mode 100644 index 000000000..0a06fc2e5 --- /dev/null +++ b/linkwan/src/model/ListGatewaysRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListGatewaysRequest; + +ListGatewaysRequest::ListGatewaysRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListGateways") +{ + setMethod(HttpRequest::Method::Post); +} + +ListGatewaysRequest::~ListGatewaysRequest() +{} + +std::string ListGatewaysRequest::getFuzzyGwEui()const +{ + return fuzzyGwEui_; +} + +void ListGatewaysRequest::setFuzzyGwEui(const std::string& fuzzyGwEui) +{ + fuzzyGwEui_ = fuzzyGwEui; + setParameter("FuzzyGwEui", fuzzyGwEui); +} + +std::string ListGatewaysRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListGatewaysRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +long ListGatewaysRequest::getLimit()const +{ + return limit_; +} + +void ListGatewaysRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::string ListGatewaysRequest::getFuzzyCity()const +{ + return fuzzyCity_; +} + +void ListGatewaysRequest::setFuzzyCity(const std::string& fuzzyCity) +{ + fuzzyCity_ = fuzzyCity; + setParameter("FuzzyCity", fuzzyCity); +} + +std::string ListGatewaysRequest::getOnlineState()const +{ + return onlineState_; +} + +void ListGatewaysRequest::setOnlineState(const std::string& onlineState) +{ + onlineState_ = onlineState; + setParameter("OnlineState", onlineState); +} + +bool ListGatewaysRequest::getIsEnabled()const +{ + return isEnabled_; +} + +void ListGatewaysRequest::setIsEnabled(bool isEnabled) +{ + isEnabled_ = isEnabled; + setParameter("IsEnabled", isEnabled ? "true" : "false"); +} + +std::string ListGatewaysRequest::getFuzzyName()const +{ + return fuzzyName_; +} + +void ListGatewaysRequest::setFuzzyName(const std::string& fuzzyName) +{ + fuzzyName_ = fuzzyName; + setParameter("FuzzyName", fuzzyName); +} + +long ListGatewaysRequest::getOffset()const +{ + return offset_; +} + +void ListGatewaysRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListGatewaysRequest::getAscending()const +{ + return ascending_; +} + +void ListGatewaysRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +long ListGatewaysRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void ListGatewaysRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string ListGatewaysRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListGatewaysRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListGatewaysRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListGatewaysRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListGatewaysRequest::getSortingField()const +{ + return sortingField_; +} + +void ListGatewaysRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListGatewaysResult.cc b/linkwan/src/model/ListGatewaysResult.cc new file mode 100644 index 000000000..03beb8da6 --- /dev/null +++ b/linkwan/src/model/ListGatewaysResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListGatewaysResult::ListGatewaysResult() : + ServiceResult() +{} + +ListGatewaysResult::ListGatewaysResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListGatewaysResult::~ListGatewaysResult() +{} + +void ListGatewaysResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Gateway"]; + for (auto dataNodeListGateway : allListNode) + { + Data::Gateway gatewayObject; + if(!dataNodeListGateway["GwEui"].isNull()) + gatewayObject.gwEui = dataNodeListGateway["GwEui"].asString(); + if(!dataNodeListGateway["Name"].isNull()) + gatewayObject.name = dataNodeListGateway["Name"].asString(); + if(!dataNodeListGateway["Description"].isNull()) + gatewayObject.description = dataNodeListGateway["Description"].asString(); + if(!dataNodeListGateway["City"].isNull()) + gatewayObject.city = dataNodeListGateway["City"].asString(); + if(!dataNodeListGateway["District"].isNull()) + gatewayObject.district = dataNodeListGateway["District"].asString(); + if(!dataNodeListGateway["Address"].isNull()) + gatewayObject.address = dataNodeListGateway["Address"].asString(); + if(!dataNodeListGateway["AddressCode"].isNull()) + gatewayObject.addressCode = std::stol(dataNodeListGateway["AddressCode"].asString()); + if(!dataNodeListGateway["GisCoordinateSystem"].isNull()) + gatewayObject.gisCoordinateSystem = dataNodeListGateway["GisCoordinateSystem"].asString(); + if(!dataNodeListGateway["Longitude"].isNull()) + gatewayObject.longitude = std::stof(dataNodeListGateway["Longitude"].asString()); + if(!dataNodeListGateway["Latitude"].isNull()) + gatewayObject.latitude = std::stof(dataNodeListGateway["Latitude"].asString()); + if(!dataNodeListGateway["FreqBandPlanGroupId"].isNull()) + gatewayObject.freqBandPlanGroupId = std::stol(dataNodeListGateway["FreqBandPlanGroupId"].asString()); + if(!dataNodeListGateway["CommunicationMode"].isNull()) + gatewayObject.communicationMode = dataNodeListGateway["CommunicationMode"].asString(); + if(!dataNodeListGateway["OnlineState"].isNull()) + gatewayObject.onlineState = dataNodeListGateway["OnlineState"].asString(); + if(!dataNodeListGateway["Enabled"].isNull()) + gatewayObject.enabled = dataNodeListGateway["Enabled"].asString() == "true"; + if(!dataNodeListGateway["ClassBSupported"].isNull()) + gatewayObject.classBSupported = dataNodeListGateway["ClassBSupported"].asString() == "true"; + if(!dataNodeListGateway["ClassBWorking"].isNull()) + gatewayObject.classBWorking = dataNodeListGateway["ClassBWorking"].asString() == "true"; + if(!dataNodeListGateway["TimeCorrectable"].isNull()) + gatewayObject.timeCorrectable = dataNodeListGateway["TimeCorrectable"].asString() == "true"; + if(!dataNodeListGateway["OnlineStateChangedMillis"].isNull()) + gatewayObject.onlineStateChangedMillis = std::stol(dataNodeListGateway["OnlineStateChangedMillis"].asString()); + if(!dataNodeListGateway["EmbeddedNsId"].isNull()) + gatewayObject.embeddedNsId = dataNodeListGateway["EmbeddedNsId"].asString(); + if(!dataNodeListGateway["ChargeStatus"].isNull()) + gatewayObject.chargeStatus = dataNodeListGateway["ChargeStatus"].asString(); + if(!dataNodeListGateway["AuthTypes"].isNull()) + gatewayObject.authTypes = dataNodeListGateway["AuthTypes"].asString(); + data_.list.push_back(gatewayObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListGatewaysResult::Data ListGatewaysResult::getData()const +{ + return data_; +} + +bool ListGatewaysResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodeGroupTransferFlowStatsRequest.cc b/linkwan/src/model/ListNodeGroupTransferFlowStatsRequest.cc new file mode 100644 index 000000000..c1758ed2f --- /dev/null +++ b/linkwan/src/model/ListNodeGroupTransferFlowStatsRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodeGroupTransferFlowStatsRequest; + +ListNodeGroupTransferFlowStatsRequest::ListNodeGroupTransferFlowStatsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodeGroupTransferFlowStats") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeGroupTransferFlowStatsRequest::~ListNodeGroupTransferFlowStatsRequest() +{} + +long ListNodeGroupTransferFlowStatsRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListNodeGroupTransferFlowStatsRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string ListNodeGroupTransferFlowStatsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListNodeGroupTransferFlowStatsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListNodeGroupTransferFlowStatsRequest::getTimeIntervalUnit()const +{ + return timeIntervalUnit_; +} + +void ListNodeGroupTransferFlowStatsRequest::setTimeIntervalUnit(const std::string& timeIntervalUnit) +{ + timeIntervalUnit_ = timeIntervalUnit; + setParameter("TimeIntervalUnit", timeIntervalUnit); +} + +std::string ListNodeGroupTransferFlowStatsRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void ListNodeGroupTransferFlowStatsRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string ListNodeGroupTransferFlowStatsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodeGroupTransferFlowStatsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodeGroupTransferFlowStatsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodeGroupTransferFlowStatsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long ListNodeGroupTransferFlowStatsRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListNodeGroupTransferFlowStatsRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + diff --git a/linkwan/src/model/ListNodeGroupTransferFlowStatsResult.cc b/linkwan/src/model/ListNodeGroupTransferFlowStatsResult.cc new file mode 100644 index 000000000..89a3c64b6 --- /dev/null +++ b/linkwan/src/model/ListNodeGroupTransferFlowStatsResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodeGroupTransferFlowStatsResult::ListNodeGroupTransferFlowStatsResult() : + ServiceResult() +{} + +ListNodeGroupTransferFlowStatsResult::ListNodeGroupTransferFlowStatsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeGroupTransferFlowStatsResult::~ListNodeGroupTransferFlowStatsResult() +{} + +void ListNodeGroupTransferFlowStatsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["FlowStat"]; + for (auto valueDataFlowStat : allDataNode) + { + FlowStat dataObject; + if(!valueDataFlowStat["StatMillis"].isNull()) + dataObject.statMillis = std::stol(valueDataFlowStat["StatMillis"].asString()); + if(!valueDataFlowStat["UplinkCount"].isNull()) + dataObject.uplinkCount = std::stol(valueDataFlowStat["UplinkCount"].asString()); + if(!valueDataFlowStat["DownlinkCount"].isNull()) + dataObject.downlinkCount = std::stol(valueDataFlowStat["DownlinkCount"].asString()); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListNodeGroupTransferFlowStatsResult::getData()const +{ + return data_; +} + +bool ListNodeGroupTransferFlowStatsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodeGroupTransferPacketsRequest.cc b/linkwan/src/model/ListNodeGroupTransferPacketsRequest.cc new file mode 100644 index 000000000..d7bd84add --- /dev/null +++ b/linkwan/src/model/ListNodeGroupTransferPacketsRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodeGroupTransferPacketsRequest; + +ListNodeGroupTransferPacketsRequest::ListNodeGroupTransferPacketsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodeGroupTransferPackets") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeGroupTransferPacketsRequest::~ListNodeGroupTransferPacketsRequest() +{} + +long ListNodeGroupTransferPacketsRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListNodeGroupTransferPacketsRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +int ListNodeGroupTransferPacketsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListNodeGroupTransferPacketsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListNodeGroupTransferPacketsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListNodeGroupTransferPacketsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +int ListNodeGroupTransferPacketsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListNodeGroupTransferPacketsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +bool ListNodeGroupTransferPacketsRequest::getAscending()const +{ + return ascending_; +} + +void ListNodeGroupTransferPacketsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListNodeGroupTransferPacketsRequest::getDevEui()const +{ + return devEui_; +} + +void ListNodeGroupTransferPacketsRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string ListNodeGroupTransferPacketsRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void ListNodeGroupTransferPacketsRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string ListNodeGroupTransferPacketsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodeGroupTransferPacketsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodeGroupTransferPacketsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodeGroupTransferPacketsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListNodeGroupTransferPacketsRequest::getCategory()const +{ + return category_; +} + +void ListNodeGroupTransferPacketsRequest::setCategory(const std::string& category) +{ + category_ = category; + setParameter("Category", category); +} + +long ListNodeGroupTransferPacketsRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListNodeGroupTransferPacketsRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string ListNodeGroupTransferPacketsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListNodeGroupTransferPacketsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListNodeGroupTransferPacketsResult.cc b/linkwan/src/model/ListNodeGroupTransferPacketsResult.cc new file mode 100644 index 000000000..866690dbb --- /dev/null +++ b/linkwan/src/model/ListNodeGroupTransferPacketsResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodeGroupTransferPacketsResult::ListNodeGroupTransferPacketsResult() : + ServiceResult() +{} + +ListNodeGroupTransferPacketsResult::ListNodeGroupTransferPacketsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeGroupTransferPacketsResult::~ListNodeGroupTransferPacketsResult() +{} + +void ListNodeGroupTransferPacketsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Packet"]; + for (auto dataNodeListPacket : allListNode) + { + Data::Packet packetObject; + if(!dataNodeListPacket["GwEui"].isNull()) + packetObject.gwEui = dataNodeListPacket["GwEui"].asString(); + if(!dataNodeListPacket["DevEui"].isNull()) + packetObject.devEui = dataNodeListPacket["DevEui"].asString(); + if(!dataNodeListPacket["DevAddr"].isNull()) + packetObject.devAddr = dataNodeListPacket["DevAddr"].asString(); + if(!dataNodeListPacket["Freq"].isNull()) + packetObject.freq = std::stof(dataNodeListPacket["Freq"].asString()); + if(!dataNodeListPacket["Datr"].isNull()) + packetObject.datr = dataNodeListPacket["Datr"].asString(); + if(!dataNodeListPacket["ClassMode"].isNull()) + packetObject.classMode = dataNodeListPacket["ClassMode"].asString(); + if(!dataNodeListPacket["Rssi"].isNull()) + packetObject.rssi = std::stoi(dataNodeListPacket["Rssi"].asString()); + if(!dataNodeListPacket["Lsnr"].isNull()) + packetObject.lsnr = std::stof(dataNodeListPacket["Lsnr"].asString()); + if(!dataNodeListPacket["FPort"].isNull()) + packetObject.fPort = std::stoi(dataNodeListPacket["FPort"].asString()); + if(!dataNodeListPacket["GwOwnerAliyunId"].isNull()) + packetObject.gwOwnerAliyunId = dataNodeListPacket["GwOwnerAliyunId"].asString(); + if(!dataNodeListPacket["FreqBandPlanGroupId"].isNull()) + packetObject.freqBandPlanGroupId = std::stol(dataNodeListPacket["FreqBandPlanGroupId"].asString()); + if(!dataNodeListPacket["LogMillis"].isNull()) + packetObject.logMillis = std::stol(dataNodeListPacket["LogMillis"].asString()); + if(!dataNodeListPacket["HasMacCommand"].isNull()) + packetObject.hasMacCommand = dataNodeListPacket["HasMacCommand"].asString() == "true"; + if(!dataNodeListPacket["HasData"].isNull()) + packetObject.hasData = dataNodeListPacket["HasData"].asString() == "true"; + if(!dataNodeListPacket["Base64EncodedMacPayload"].isNull()) + packetObject.base64EncodedMacPayload = dataNodeListPacket["Base64EncodedMacPayload"].asString(); + if(!dataNodeListPacket["MacPayloadSize"].isNull()) + packetObject.macPayloadSize = std::stol(dataNodeListPacket["MacPayloadSize"].asString()); + if(!dataNodeListPacket["ProcessEvent"].isNull()) + packetObject.processEvent = dataNodeListPacket["ProcessEvent"].asString(); + if(!dataNodeListPacket["MessageType"].isNull()) + packetObject.messageType = dataNodeListPacket["MessageType"].asString(); + if(!dataNodeListPacket["MacCommandCIDs"].isNull()) + packetObject.macCommandCIDs = dataNodeListPacket["MacCommandCIDs"].asString(); + if(!dataNodeListPacket["FcntUp"].isNull()) + packetObject.fcntUp = std::stol(dataNodeListPacket["FcntUp"].asString()); + if(!dataNodeListPacket["FcntDown"].isNull()) + packetObject.fcntDown = std::stol(dataNodeListPacket["FcntDown"].asString()); + data_.list.push_back(packetObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNodeGroupTransferPacketsResult::Data ListNodeGroupTransferPacketsResult::getData()const +{ + return data_; +} + +bool ListNodeGroupTransferPacketsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodeGroupsPacketStatRequest.cc b/linkwan/src/model/ListNodeGroupsPacketStatRequest.cc new file mode 100644 index 000000000..9f53366a7 --- /dev/null +++ b/linkwan/src/model/ListNodeGroupsPacketStatRequest.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodeGroupsPacketStatRequest; + +ListNodeGroupsPacketStatRequest::ListNodeGroupsPacketStatRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodeGroupsPacketStat") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeGroupsPacketStatRequest::~ListNodeGroupsPacketStatRequest() +{} + +long ListNodeGroupsPacketStatRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListNodeGroupsPacketStatRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +std::string ListNodeGroupsPacketStatRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListNodeGroupsPacketStatRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::vector ListNodeGroupsPacketStatRequest::getNodeGroupIdList()const +{ + return nodeGroupIdList_; +} + +void ListNodeGroupsPacketStatRequest::setNodeGroupIdList(const std::vector& nodeGroupIdList) +{ + nodeGroupIdList_ = nodeGroupIdList; + for(int dep1 = 0; dep1!= nodeGroupIdList.size(); dep1++) { + setParameter("NodeGroupIdList."+ std::to_string(dep1), nodeGroupIdList.at(dep1)); + } +} + +std::string ListNodeGroupsPacketStatRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodeGroupsPacketStatRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodeGroupsPacketStatRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodeGroupsPacketStatRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long ListNodeGroupsPacketStatRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListNodeGroupsPacketStatRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + diff --git a/linkwan/src/model/ListNodeGroupsPacketStatResult.cc b/linkwan/src/model/ListNodeGroupsPacketStatResult.cc new file mode 100644 index 000000000..287092498 --- /dev/null +++ b/linkwan/src/model/ListNodeGroupsPacketStatResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodeGroupsPacketStatResult::ListNodeGroupsPacketStatResult() : + ServiceResult() +{} + +ListNodeGroupsPacketStatResult::ListNodeGroupsPacketStatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeGroupsPacketStatResult::~ListNodeGroupsPacketStatResult() +{} + +void ListNodeGroupsPacketStatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["NodeGroupPacketStat"]; + for (auto valueDataNodeGroupPacketStat : allDataNode) + { + NodeGroupPacketStat dataObject; + if(!valueDataNodeGroupPacketStat["NodeGroupId"].isNull()) + dataObject.nodeGroupId = valueDataNodeGroupPacketStat["NodeGroupId"].asString(); + if(!valueDataNodeGroupPacketStat["UplinkCount"].isNull()) + dataObject.uplinkCount = std::stoi(valueDataNodeGroupPacketStat["UplinkCount"].asString()); + if(!valueDataNodeGroupPacketStat["DownlinkCount"].isNull()) + dataObject.downlinkCount = std::stoi(valueDataNodeGroupPacketStat["DownlinkCount"].asString()); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::vector ListNodeGroupsPacketStatResult::getData()const +{ + return data_; +} + +bool ListNodeGroupsPacketStatResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodeGroupsRequest.cc b/linkwan/src/model/ListNodeGroupsRequest.cc new file mode 100644 index 000000000..668749234 --- /dev/null +++ b/linkwan/src/model/ListNodeGroupsRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodeGroupsRequest; + +ListNodeGroupsRequest::ListNodeGroupsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodeGroups") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeGroupsRequest::~ListNodeGroupsRequest() +{} + +std::string ListNodeGroupsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListNodeGroupsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListNodeGroupsRequest::getFuzzyJoinEui()const +{ + return fuzzyJoinEui_; +} + +void ListNodeGroupsRequest::setFuzzyJoinEui(const std::string& fuzzyJoinEui) +{ + fuzzyJoinEui_ = fuzzyJoinEui; + setParameter("FuzzyJoinEui", fuzzyJoinEui); +} + +std::string ListNodeGroupsRequest::getFuzzyDevEui()const +{ + return fuzzyDevEui_; +} + +void ListNodeGroupsRequest::setFuzzyDevEui(const std::string& fuzzyDevEui) +{ + fuzzyDevEui_ = fuzzyDevEui; + setParameter("FuzzyDevEui", fuzzyDevEui); +} + +long ListNodeGroupsRequest::getLimit()const +{ + return limit_; +} + +void ListNodeGroupsRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::string ListNodeGroupsRequest::getFuzzyName()const +{ + return fuzzyName_; +} + +void ListNodeGroupsRequest::setFuzzyName(const std::string& fuzzyName) +{ + fuzzyName_ = fuzzyName; + setParameter("FuzzyName", fuzzyName); +} + +long ListNodeGroupsRequest::getOffset()const +{ + return offset_; +} + +void ListNodeGroupsRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListNodeGroupsRequest::getAscending()const +{ + return ascending_; +} + +void ListNodeGroupsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListNodeGroupsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodeGroupsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodeGroupsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodeGroupsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListNodeGroupsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListNodeGroupsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListNodeGroupsResult.cc b/linkwan/src/model/ListNodeGroupsResult.cc new file mode 100644 index 000000000..f92d20bd2 --- /dev/null +++ b/linkwan/src/model/ListNodeGroupsResult.cc @@ -0,0 +1,134 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodeGroupsResult::ListNodeGroupsResult() : + ServiceResult() +{} + +ListNodeGroupsResult::ListNodeGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeGroupsResult::~ListNodeGroupsResult() +{} + +void ListNodeGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["NodeGroup"]; + for (auto dataNodeListNodeGroup : allListNode) + { + Data::NodeGroup nodeGroupObject; + if(!dataNodeListNodeGroup["NodeGroupId"].isNull()) + nodeGroupObject.nodeGroupId = dataNodeListNodeGroup["NodeGroupId"].asString(); + if(!dataNodeListNodeGroup["NodeGroupName"].isNull()) + nodeGroupObject.nodeGroupName = dataNodeListNodeGroup["NodeGroupName"].asString(); + if(!dataNodeListNodeGroup["NodesCnt"].isNull()) + nodeGroupObject.nodesCnt = std::stol(dataNodeListNodeGroup["NodesCnt"].asString()); + if(!dataNodeListNodeGroup["DataDispatchEnabled"].isNull()) + nodeGroupObject.dataDispatchEnabled = dataNodeListNodeGroup["DataDispatchEnabled"].asString() == "true"; + if(!dataNodeListNodeGroup["JoinPermissionId"].isNull()) + nodeGroupObject.joinPermissionId = dataNodeListNodeGroup["JoinPermissionId"].asString(); + if(!dataNodeListNodeGroup["JoinPermissionOwnerAliyunId"].isNull()) + nodeGroupObject.joinPermissionOwnerAliyunId = dataNodeListNodeGroup["JoinPermissionOwnerAliyunId"].asString(); + if(!dataNodeListNodeGroup["JoinEui"].isNull()) + nodeGroupObject.joinEui = dataNodeListNodeGroup["JoinEui"].asString(); + if(!dataNodeListNodeGroup["FreqBandPlanGroupId"].isNull()) + nodeGroupObject.freqBandPlanGroupId = std::stol(dataNodeListNodeGroup["FreqBandPlanGroupId"].asString()); + if(!dataNodeListNodeGroup["ClassMode"].isNull()) + nodeGroupObject.classMode = dataNodeListNodeGroup["ClassMode"].asString(); + if(!dataNodeListNodeGroup["JoinPermissionType"].isNull()) + nodeGroupObject.joinPermissionType = dataNodeListNodeGroup["JoinPermissionType"].asString(); + if(!dataNodeListNodeGroup["JoinPermissionEnabled"].isNull()) + nodeGroupObject.joinPermissionEnabled = dataNodeListNodeGroup["JoinPermissionEnabled"].asString() == "true"; + if(!dataNodeListNodeGroup["RxDailySum"].isNull()) + nodeGroupObject.rxDailySum = std::stol(dataNodeListNodeGroup["RxDailySum"].asString()); + if(!dataNodeListNodeGroup["RxMonthSum"].isNull()) + nodeGroupObject.rxMonthSum = std::stol(dataNodeListNodeGroup["RxMonthSum"].asString()); + if(!dataNodeListNodeGroup["TxDailySum"].isNull()) + nodeGroupObject.txDailySum = std::stol(dataNodeListNodeGroup["TxDailySum"].asString()); + if(!dataNodeListNodeGroup["TxMonthSum"].isNull()) + nodeGroupObject.txMonthSum = std::stol(dataNodeListNodeGroup["TxMonthSum"].asString()); + if(!dataNodeListNodeGroup["CreateMillis"].isNull()) + nodeGroupObject.createMillis = std::stol(dataNodeListNodeGroup["CreateMillis"].asString()); + if(!dataNodeListNodeGroup["JoinPermissionName"].isNull()) + nodeGroupObject.joinPermissionName = dataNodeListNodeGroup["JoinPermissionName"].asString(); + auto allLocksNode = dataNodeListNodeGroup["Locks"]["Lock"]; + for (auto dataNodeListNodeGroupLocksLock : allLocksNode) + { + Data::NodeGroup::Lock locksObject; + if(!dataNodeListNodeGroupLocksLock["LockId"].isNull()) + locksObject.lockId = dataNodeListNodeGroupLocksLock["LockId"].asString(); + if(!dataNodeListNodeGroupLocksLock["LockType"].isNull()) + locksObject.lockType = dataNodeListNodeGroupLocksLock["LockType"].asString(); + if(!dataNodeListNodeGroupLocksLock["Enabled"].isNull()) + locksObject.enabled = dataNodeListNodeGroupLocksLock["Enabled"].asString() == "true"; + if(!dataNodeListNodeGroupLocksLock["CreateMillis"].isNull()) + locksObject.createMillis = std::stol(dataNodeListNodeGroupLocksLock["CreateMillis"].asString()); + nodeGroupObject.locks.push_back(locksObject); + } + auto dataDispatchConfigNode = value["DataDispatchConfig"]; + if(!dataDispatchConfigNode["Destination"].isNull()) + nodeGroupObject.dataDispatchConfig.destination = dataDispatchConfigNode["Destination"].asString(); + auto iotProductNode = dataDispatchConfigNode["IotProduct"]; + if(!iotProductNode["ProductName"].isNull()) + nodeGroupObject.dataDispatchConfig.iotProduct.productName = iotProductNode["ProductName"].asString(); + if(!iotProductNode["ProductKey"].isNull()) + nodeGroupObject.dataDispatchConfig.iotProduct.productKey = iotProductNode["ProductKey"].asString(); + if(!iotProductNode["ProductType"].isNull()) + nodeGroupObject.dataDispatchConfig.iotProduct.productType = iotProductNode["ProductType"].asString(); + if(!iotProductNode["DebugSwitch"].isNull()) + nodeGroupObject.dataDispatchConfig.iotProduct.debugSwitch = iotProductNode["DebugSwitch"].asString() == "true"; + auto onsTopicsNode = dataDispatchConfigNode["OnsTopics"]; + if(!onsTopicsNode["DownlinkRegionName"].isNull()) + nodeGroupObject.dataDispatchConfig.onsTopics.downlinkRegionName = onsTopicsNode["DownlinkRegionName"].asString(); + if(!onsTopicsNode["DownlinkTopic"].isNull()) + nodeGroupObject.dataDispatchConfig.onsTopics.downlinkTopic = onsTopicsNode["DownlinkTopic"].asString(); + if(!onsTopicsNode["UplinkRegionName"].isNull()) + nodeGroupObject.dataDispatchConfig.onsTopics.uplinkRegionName = onsTopicsNode["UplinkRegionName"].asString(); + if(!onsTopicsNode["UplinkTopic"].isNull()) + nodeGroupObject.dataDispatchConfig.onsTopics.uplinkTopic = onsTopicsNode["UplinkTopic"].asString(); + data_.list.push_back(nodeGroupObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNodeGroupsResult::Data ListNodeGroupsResult::getData()const +{ + return data_; +} + +bool ListNodeGroupsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodeTransferPacketPathsRequest.cc b/linkwan/src/model/ListNodeTransferPacketPathsRequest.cc new file mode 100644 index 000000000..af2533bb3 --- /dev/null +++ b/linkwan/src/model/ListNodeTransferPacketPathsRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodeTransferPacketPathsRequest; + +ListNodeTransferPacketPathsRequest::ListNodeTransferPacketPathsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodeTransferPacketPaths") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeTransferPacketPathsRequest::~ListNodeTransferPacketPathsRequest() +{} + +std::string ListNodeTransferPacketPathsRequest::getBase64EncodedMacPayload()const +{ + return base64EncodedMacPayload_; +} + +void ListNodeTransferPacketPathsRequest::setBase64EncodedMacPayload(const std::string& base64EncodedMacPayload) +{ + base64EncodedMacPayload_ = base64EncodedMacPayload; + setParameter("Base64EncodedMacPayload", base64EncodedMacPayload); +} + +int ListNodeTransferPacketPathsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListNodeTransferPacketPathsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListNodeTransferPacketPathsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListNodeTransferPacketPathsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +long ListNodeTransferPacketPathsRequest::getLogMillis()const +{ + return logMillis_; +} + +void ListNodeTransferPacketPathsRequest::setLogMillis(long logMillis) +{ + logMillis_ = logMillis; + setParameter("LogMillis", std::to_string(logMillis)); +} + +int ListNodeTransferPacketPathsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListNodeTransferPacketPathsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListNodeTransferPacketPathsRequest::getDevEui()const +{ + return devEui_; +} + +void ListNodeTransferPacketPathsRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string ListNodeTransferPacketPathsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodeTransferPacketPathsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodeTransferPacketPathsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodeTransferPacketPathsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/ListNodeTransferPacketPathsResult.cc b/linkwan/src/model/ListNodeTransferPacketPathsResult.cc new file mode 100644 index 000000000..c088eee8f --- /dev/null +++ b/linkwan/src/model/ListNodeTransferPacketPathsResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodeTransferPacketPathsResult::ListNodeTransferPacketPathsResult() : + ServiceResult() +{} + +ListNodeTransferPacketPathsResult::ListNodeTransferPacketPathsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeTransferPacketPathsResult::~ListNodeTransferPacketPathsResult() +{} + +void ListNodeTransferPacketPathsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Path"]; + for (auto dataNodeListPath : allListNode) + { + Data::Path pathObject; + if(!dataNodeListPath["GwEui"].isNull()) + pathObject.gwEui = dataNodeListPath["GwEui"].asString(); + if(!dataNodeListPath["DevEui"].isNull()) + pathObject.devEui = dataNodeListPath["DevEui"].asString(); + if(!dataNodeListPath["Rssi"].isNull()) + pathObject.rssi = std::stoi(dataNodeListPath["Rssi"].asString()); + if(!dataNodeListPath["Lsnr"].isNull()) + pathObject.lsnr = std::stof(dataNodeListPath["Lsnr"].asString()); + if(!dataNodeListPath["BestPath"].isNull()) + pathObject.bestPath = dataNodeListPath["BestPath"].asString() == "true"; + data_.list.push_back(pathObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNodeTransferPacketPathsResult::Data ListNodeTransferPacketPathsResult::getData()const +{ + return data_; +} + +bool ListNodeTransferPacketPathsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodeTransferPacketsRequest.cc b/linkwan/src/model/ListNodeTransferPacketsRequest.cc new file mode 100644 index 000000000..387ae8960 --- /dev/null +++ b/linkwan/src/model/ListNodeTransferPacketsRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodeTransferPacketsRequest; + +ListNodeTransferPacketsRequest::ListNodeTransferPacketsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodeTransferPackets") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeTransferPacketsRequest::~ListNodeTransferPacketsRequest() +{} + +long ListNodeTransferPacketsRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListNodeTransferPacketsRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +int ListNodeTransferPacketsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListNodeTransferPacketsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int ListNodeTransferPacketsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListNodeTransferPacketsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListNodeTransferPacketsRequest::getGwEui()const +{ + return gwEui_; +} + +void ListNodeTransferPacketsRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +bool ListNodeTransferPacketsRequest::getAscending()const +{ + return ascending_; +} + +void ListNodeTransferPacketsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListNodeTransferPacketsRequest::getDevEui()const +{ + return devEui_; +} + +void ListNodeTransferPacketsRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string ListNodeTransferPacketsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodeTransferPacketsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodeTransferPacketsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodeTransferPacketsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListNodeTransferPacketsRequest::getCategory()const +{ + return category_; +} + +void ListNodeTransferPacketsRequest::setCategory(const std::string& category) +{ + category_ = category; + setParameter("Category", category); +} + +long ListNodeTransferPacketsRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListNodeTransferPacketsRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string ListNodeTransferPacketsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListNodeTransferPacketsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListNodeTransferPacketsResult.cc b/linkwan/src/model/ListNodeTransferPacketsResult.cc new file mode 100644 index 000000000..fe6a8739b --- /dev/null +++ b/linkwan/src/model/ListNodeTransferPacketsResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodeTransferPacketsResult::ListNodeTransferPacketsResult() : + ServiceResult() +{} + +ListNodeTransferPacketsResult::ListNodeTransferPacketsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeTransferPacketsResult::~ListNodeTransferPacketsResult() +{} + +void ListNodeTransferPacketsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Packet"]; + for (auto dataNodeListPacket : allListNode) + { + Data::Packet packetObject; + if(!dataNodeListPacket["GwEui"].isNull()) + packetObject.gwEui = dataNodeListPacket["GwEui"].asString(); + if(!dataNodeListPacket["DevEui"].isNull()) + packetObject.devEui = dataNodeListPacket["DevEui"].asString(); + if(!dataNodeListPacket["Freq"].isNull()) + packetObject.freq = std::stof(dataNodeListPacket["Freq"].asString()); + if(!dataNodeListPacket["Datr"].isNull()) + packetObject.datr = dataNodeListPacket["Datr"].asString(); + if(!dataNodeListPacket["ClassMode"].isNull()) + packetObject.classMode = dataNodeListPacket["ClassMode"].asString(); + if(!dataNodeListPacket["Rssi"].isNull()) + packetObject.rssi = std::stoi(dataNodeListPacket["Rssi"].asString()); + if(!dataNodeListPacket["Snr"].isNull()) + packetObject.snr = std::stof(dataNodeListPacket["Snr"].asString()); + if(!dataNodeListPacket["LogMillis"].isNull()) + packetObject.logMillis = std::stol(dataNodeListPacket["LogMillis"].asString()); + data_.list.push_back(packetObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNodeTransferPacketsResult::Data ListNodeTransferPacketsResult::getData()const +{ + return data_; +} + +bool ListNodeTransferPacketsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodeTupleOrdersRequest.cc b/linkwan/src/model/ListNodeTupleOrdersRequest.cc new file mode 100644 index 000000000..adb4996c4 --- /dev/null +++ b/linkwan/src/model/ListNodeTupleOrdersRequest.cc @@ -0,0 +1,119 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodeTupleOrdersRequest; + +ListNodeTupleOrdersRequest::ListNodeTupleOrdersRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodeTupleOrders") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodeTupleOrdersRequest::~ListNodeTupleOrdersRequest() +{} + +bool ListNodeTupleOrdersRequest::getIsKpm()const +{ + return isKpm_; +} + +void ListNodeTupleOrdersRequest::setIsKpm(bool isKpm) +{ + isKpm_ = isKpm; + setParameter("IsKpm", isKpm ? "true" : "false"); +} + +long ListNodeTupleOrdersRequest::getLimit()const +{ + return limit_; +} + +void ListNodeTupleOrdersRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::vector ListNodeTupleOrdersRequest::getState()const +{ + return state_; +} + +void ListNodeTupleOrdersRequest::setState(const std::vector& state) +{ + state_ = state; + for(int dep1 = 0; dep1!= state.size(); dep1++) { + setParameter("State."+ std::to_string(dep1), state.at(dep1)); + } +} + +long ListNodeTupleOrdersRequest::getOffset()const +{ + return offset_; +} + +void ListNodeTupleOrdersRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListNodeTupleOrdersRequest::getAscending()const +{ + return ascending_; +} + +void ListNodeTupleOrdersRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListNodeTupleOrdersRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodeTupleOrdersRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodeTupleOrdersRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodeTupleOrdersRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListNodeTupleOrdersRequest::getSortingField()const +{ + return sortingField_; +} + +void ListNodeTupleOrdersRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListNodeTupleOrdersResult.cc b/linkwan/src/model/ListNodeTupleOrdersResult.cc new file mode 100644 index 000000000..117a191cd --- /dev/null +++ b/linkwan/src/model/ListNodeTupleOrdersResult.cc @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodeTupleOrdersResult::ListNodeTupleOrdersResult() : + ServiceResult() +{} + +ListNodeTupleOrdersResult::ListNodeTupleOrdersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodeTupleOrdersResult::~ListNodeTupleOrdersResult() +{} + +void ListNodeTupleOrdersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Order"]; + for (auto dataNodeListOrder : allListNode) + { + Data::Order orderObject; + if(!dataNodeListOrder["OrderId"].isNull()) + orderObject.orderId = dataNodeListOrder["OrderId"].asString(); + if(!dataNodeListOrder["IsKpm"].isNull()) + orderObject.isKpm = dataNodeListOrder["IsKpm"].asString() == "true"; + if(!dataNodeListOrder["OrderState"].isNull()) + orderObject.orderState = dataNodeListOrder["OrderState"].asString(); + if(!dataNodeListOrder["RequiredCount"].isNull()) + orderObject.requiredCount = std::stol(dataNodeListOrder["RequiredCount"].asString()); + if(!dataNodeListOrder["CreatedMillis"].isNull()) + orderObject.createdMillis = std::stol(dataNodeListOrder["CreatedMillis"].asString()); + if(!dataNodeListOrder["AcceptedMillis"].isNull()) + orderObject.acceptedMillis = std::stol(dataNodeListOrder["AcceptedMillis"].asString()); + if(!dataNodeListOrder["LoraVersion"].isNull()) + orderObject.loraVersion = dataNodeListOrder["LoraVersion"].asString(); + if(!dataNodeListOrder["SuccessCount"].isNull()) + orderObject.successCount = std::stol(dataNodeListOrder["SuccessCount"].asString()); + if(!dataNodeListOrder["FailedCount"].isNull()) + orderObject.failedCount = std::stol(dataNodeListOrder["FailedCount"].asString()); + if(!dataNodeListOrder["TupleType"].isNull()) + orderObject.tupleType = dataNodeListOrder["TupleType"].asString(); + data_.list.push_back(orderObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNodeTupleOrdersResult::Data ListNodeTupleOrdersResult::getData()const +{ + return data_; +} + +bool ListNodeTupleOrdersResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodesByNodeGroupIdRequest.cc b/linkwan/src/model/ListNodesByNodeGroupIdRequest.cc new file mode 100644 index 000000000..620d999a0 --- /dev/null +++ b/linkwan/src/model/ListNodesByNodeGroupIdRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodesByNodeGroupIdRequest; + +ListNodesByNodeGroupIdRequest::ListNodesByNodeGroupIdRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodesByNodeGroupId") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodesByNodeGroupIdRequest::~ListNodesByNodeGroupIdRequest() +{} + +std::string ListNodesByNodeGroupIdRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListNodesByNodeGroupIdRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListNodesByNodeGroupIdRequest::getFuzzyDevEui()const +{ + return fuzzyDevEui_; +} + +void ListNodesByNodeGroupIdRequest::setFuzzyDevEui(const std::string& fuzzyDevEui) +{ + fuzzyDevEui_ = fuzzyDevEui; + setParameter("FuzzyDevEui", fuzzyDevEui); +} + +long ListNodesByNodeGroupIdRequest::getLimit()const +{ + return limit_; +} + +void ListNodesByNodeGroupIdRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +long ListNodesByNodeGroupIdRequest::getOffset()const +{ + return offset_; +} + +void ListNodesByNodeGroupIdRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListNodesByNodeGroupIdRequest::getAscending()const +{ + return ascending_; +} + +void ListNodesByNodeGroupIdRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListNodesByNodeGroupIdRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void ListNodesByNodeGroupIdRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string ListNodesByNodeGroupIdRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodesByNodeGroupIdRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodesByNodeGroupIdRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodesByNodeGroupIdRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListNodesByNodeGroupIdRequest::getSortingField()const +{ + return sortingField_; +} + +void ListNodesByNodeGroupIdRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListNodesByNodeGroupIdResult.cc b/linkwan/src/model/ListNodesByNodeGroupIdResult.cc new file mode 100644 index 000000000..9491b002b --- /dev/null +++ b/linkwan/src/model/ListNodesByNodeGroupIdResult.cc @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodesByNodeGroupIdResult::ListNodesByNodeGroupIdResult() : + ServiceResult() +{} + +ListNodesByNodeGroupIdResult::ListNodesByNodeGroupIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodesByNodeGroupIdResult::~ListNodesByNodeGroupIdResult() +{} + +void ListNodesByNodeGroupIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Node"]; + for (auto dataNodeListNode : allListNode) + { + Data::Node nodeObject; + if(!dataNodeListNode["DevEui"].isNull()) + nodeObject.devEui = dataNodeListNode["DevEui"].asString(); + if(!dataNodeListNode["DevAddr"].isNull()) + nodeObject.devAddr = dataNodeListNode["DevAddr"].asString(); + if(!dataNodeListNode["ClassMode"].isNull()) + nodeObject.classMode = dataNodeListNode["ClassMode"].asString(); + if(!dataNodeListNode["LastJoinMillis"].isNull()) + nodeObject.lastJoinMillis = std::stol(dataNodeListNode["LastJoinMillis"].asString()); + if(!dataNodeListNode["BoundMillis"].isNull()) + nodeObject.boundMillis = std::stol(dataNodeListNode["BoundMillis"].asString()); + if(!dataNodeListNode["MulticastGroupId"].isNull()) + nodeObject.multicastGroupId = dataNodeListNode["MulticastGroupId"].asString(); + if(!dataNodeListNode["AuthTypes"].isNull()) + nodeObject.authTypes = dataNodeListNode["AuthTypes"].asString(); + if(!dataNodeListNode["JoinEui"].isNull()) + nodeObject.joinEui = dataNodeListNode["JoinEui"].asString(); + if(!dataNodeListNode["Appkey"].isNull()) + nodeObject.appkey = dataNodeListNode["Appkey"].asString(); + if(!dataNodeListNode["NodeType"].isNull()) + nodeObject.nodeType = dataNodeListNode["NodeType"].asString(); + data_.list.push_back(nodeObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNodesByNodeGroupIdResult::Data ListNodesByNodeGroupIdResult::getData()const +{ + return data_; +} + +bool ListNodesByNodeGroupIdResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNodesByOwnedJoinPermissionIdRequest.cc b/linkwan/src/model/ListNodesByOwnedJoinPermissionIdRequest.cc new file mode 100644 index 000000000..dbd3cd854 --- /dev/null +++ b/linkwan/src/model/ListNodesByOwnedJoinPermissionIdRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNodesByOwnedJoinPermissionIdRequest; + +ListNodesByOwnedJoinPermissionIdRequest::ListNodesByOwnedJoinPermissionIdRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNodesByOwnedJoinPermissionId") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNodesByOwnedJoinPermissionIdRequest::~ListNodesByOwnedJoinPermissionIdRequest() +{} + +std::string ListNodesByOwnedJoinPermissionIdRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string ListNodesByOwnedJoinPermissionIdRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListNodesByOwnedJoinPermissionIdRequest::getFuzzyDevEui()const +{ + return fuzzyDevEui_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setFuzzyDevEui(const std::string& fuzzyDevEui) +{ + fuzzyDevEui_ = fuzzyDevEui; + setParameter("FuzzyDevEui", fuzzyDevEui); +} + +long ListNodesByOwnedJoinPermissionIdRequest::getLimit()const +{ + return limit_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +long ListNodesByOwnedJoinPermissionIdRequest::getOffset()const +{ + return offset_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListNodesByOwnedJoinPermissionIdRequest::getAscending()const +{ + return ascending_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListNodesByOwnedJoinPermissionIdRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNodesByOwnedJoinPermissionIdRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListNodesByOwnedJoinPermissionIdRequest::getSortingField()const +{ + return sortingField_; +} + +void ListNodesByOwnedJoinPermissionIdRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListNodesByOwnedJoinPermissionIdResult.cc b/linkwan/src/model/ListNodesByOwnedJoinPermissionIdResult.cc new file mode 100644 index 000000000..506374efd --- /dev/null +++ b/linkwan/src/model/ListNodesByOwnedJoinPermissionIdResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNodesByOwnedJoinPermissionIdResult::ListNodesByOwnedJoinPermissionIdResult() : + ServiceResult() +{} + +ListNodesByOwnedJoinPermissionIdResult::ListNodesByOwnedJoinPermissionIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNodesByOwnedJoinPermissionIdResult::~ListNodesByOwnedJoinPermissionIdResult() +{} + +void ListNodesByOwnedJoinPermissionIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Node"]; + for (auto dataNodeListNode : allListNode) + { + Data::Node nodeObject; + if(!dataNodeListNode["DevEui"].isNull()) + nodeObject.devEui = dataNodeListNode["DevEui"].asString(); + if(!dataNodeListNode["DevAddr"].isNull()) + nodeObject.devAddr = dataNodeListNode["DevAddr"].asString(); + if(!dataNodeListNode["ClassMode"].isNull()) + nodeObject.classMode = dataNodeListNode["ClassMode"].asString(); + if(!dataNodeListNode["LastJoinMillis"].isNull()) + nodeObject.lastJoinMillis = std::stol(dataNodeListNode["LastJoinMillis"].asString()); + if(!dataNodeListNode["BoundMillis"].isNull()) + nodeObject.boundMillis = std::stol(dataNodeListNode["BoundMillis"].asString()); + data_.list.push_back(nodeObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNodesByOwnedJoinPermissionIdResult::Data ListNodesByOwnedJoinPermissionIdResult::getData()const +{ + return data_; +} + +bool ListNodesByOwnedJoinPermissionIdResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListNotificationsRequest.cc b/linkwan/src/model/ListNotificationsRequest.cc new file mode 100644 index 000000000..931bc0754 --- /dev/null +++ b/linkwan/src/model/ListNotificationsRequest.cc @@ -0,0 +1,141 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListNotificationsRequest; + +ListNotificationsRequest::ListNotificationsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListNotifications") +{ + setMethod(HttpRequest::Method::Post); +} + +ListNotificationsRequest::~ListNotificationsRequest() +{} + +long ListNotificationsRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListNotificationsRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +long ListNotificationsRequest::getLimit()const +{ + return limit_; +} + +void ListNotificationsRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +long ListNotificationsRequest::getOffset()const +{ + return offset_; +} + +void ListNotificationsRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListNotificationsRequest::getAscending()const +{ + return ascending_; +} + +void ListNotificationsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListNotificationsRequest::getHandleState()const +{ + return handleState_; +} + +void ListNotificationsRequest::setHandleState(const std::string& handleState) +{ + handleState_ = handleState; + setParameter("HandleState", handleState); +} + +std::string ListNotificationsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListNotificationsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListNotificationsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListNotificationsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::vector ListNotificationsRequest::getCategory()const +{ + return category_; +} + +void ListNotificationsRequest::setCategory(const std::vector& category) +{ + category_ = category; + for(int dep1 = 0; dep1!= category.size(); dep1++) { + setParameter("Category."+ std::to_string(dep1), category.at(dep1)); + } +} + +long ListNotificationsRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListNotificationsRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string ListNotificationsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListNotificationsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListNotificationsResult.cc b/linkwan/src/model/ListNotificationsResult.cc new file mode 100644 index 000000000..0ec5c199b --- /dev/null +++ b/linkwan/src/model/ListNotificationsResult.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListNotificationsResult::ListNotificationsResult() : + ServiceResult() +{} + +ListNotificationsResult::ListNotificationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListNotificationsResult::~ListNotificationsResult() +{} + +void ListNotificationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Notification"]; + for (auto dataNodeListNotification : allListNode) + { + Data::Notification notificationObject; + if(!dataNodeListNotification["NotificationId"].isNull()) + notificationObject.notificationId = dataNodeListNotification["NotificationId"].asString(); + if(!dataNodeListNotification["Category"].isNull()) + notificationObject.category = dataNodeListNotification["Category"].asString(); + if(!dataNodeListNotification["HandleState"].isNull()) + notificationObject.handleState = dataNodeListNotification["HandleState"].asString(); + if(!dataNodeListNotification["NoticeMillis"].isNull()) + notificationObject.noticeMillis = std::stol(dataNodeListNotification["NoticeMillis"].asString()); + if(!dataNodeListNotification["HandledMillis"].isNull()) + notificationObject.handledMillis = std::stol(dataNodeListNotification["HandledMillis"].asString()); + auto gatewayOfflineInfoNode = value["GatewayOfflineInfo"]; + if(!gatewayOfflineInfoNode["GwEui"].isNull()) + notificationObject.gatewayOfflineInfo.gwEui = gatewayOfflineInfoNode["GwEui"].asString(); + if(!gatewayOfflineInfoNode["OfflineMillis"].isNull()) + notificationObject.gatewayOfflineInfo.offlineMillis = std::stol(gatewayOfflineInfoNode["OfflineMillis"].asString()); + auto joinPermissionAuthInfoNode = value["JoinPermissionAuthInfo"]; + if(!joinPermissionAuthInfoNode["OrderId"].isNull()) + notificationObject.joinPermissionAuthInfo.orderId = joinPermissionAuthInfoNode["OrderId"].asString(); + if(!joinPermissionAuthInfoNode["JoinPermissionId"].isNull()) + notificationObject.joinPermissionAuthInfo.joinPermissionId = joinPermissionAuthInfoNode["JoinPermissionId"].asString(); + if(!joinPermissionAuthInfoNode["OwnerAliyunId"].isNull()) + notificationObject.joinPermissionAuthInfo.ownerAliyunId = joinPermissionAuthInfoNode["OwnerAliyunId"].asString(); + if(!joinPermissionAuthInfoNode["RenterAliyunId"].isNull()) + notificationObject.joinPermissionAuthInfo.renterAliyunId = joinPermissionAuthInfoNode["RenterAliyunId"].asString(); + if(!joinPermissionAuthInfoNode["OrderState"].isNull()) + notificationObject.joinPermissionAuthInfo.orderState = joinPermissionAuthInfoNode["OrderState"].asString(); + if(!joinPermissionAuthInfoNode["ApplyingMillis"].isNull()) + notificationObject.joinPermissionAuthInfo.applyingMillis = std::stol(joinPermissionAuthInfoNode["ApplyingMillis"].asString()); + if(!joinPermissionAuthInfoNode["AcceptedMillis"].isNull()) + notificationObject.joinPermissionAuthInfo.acceptedMillis = std::stol(joinPermissionAuthInfoNode["AcceptedMillis"].asString()); + if(!joinPermissionAuthInfoNode["CanceledMillis"].isNull()) + notificationObject.joinPermissionAuthInfo.canceledMillis = std::stol(joinPermissionAuthInfoNode["CanceledMillis"].asString()); + if(!joinPermissionAuthInfoNode["RejectedMillis"].isNull()) + notificationObject.joinPermissionAuthInfo.rejectedMillis = std::stol(joinPermissionAuthInfoNode["RejectedMillis"].asString()); + if(!joinPermissionAuthInfoNode["JoinEui"].isNull()) + notificationObject.joinPermissionAuthInfo.joinEui = joinPermissionAuthInfoNode["JoinEui"].asString(); + if(!joinPermissionAuthInfoNode["JoinPermissionName"].isNull()) + notificationObject.joinPermissionAuthInfo.joinPermissionName = joinPermissionAuthInfoNode["JoinPermissionName"].asString(); + auto gatewayDataflowLimitNode = value["GatewayDataflowLimit"]; + if(!gatewayDataflowLimitNode["DataflowLimitMillis"].isNull()) + notificationObject.gatewayDataflowLimit.dataflowLimitMillis = std::stol(gatewayDataflowLimitNode["DataflowLimitMillis"].asString()); + if(!gatewayDataflowLimitNode["AlarmDetail"].isNull()) + notificationObject.gatewayDataflowLimit.alarmDetail = gatewayDataflowLimitNode["AlarmDetail"].asString(); + if(!gatewayDataflowLimitNode["GwEui"].isNull()) + notificationObject.gatewayDataflowLimit.gwEui = gatewayDataflowLimitNode["GwEui"].asString(); + data_.list.push_back(notificationObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListNotificationsResult::Data ListNotificationsResult::getData()const +{ + return data_; +} + +bool ListNotificationsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListOwnedJoinPermissionsRequest.cc b/linkwan/src/model/ListOwnedJoinPermissionsRequest.cc new file mode 100644 index 000000000..2f1bbf546 --- /dev/null +++ b/linkwan/src/model/ListOwnedJoinPermissionsRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListOwnedJoinPermissionsRequest; + +ListOwnedJoinPermissionsRequest::ListOwnedJoinPermissionsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListOwnedJoinPermissions") +{ + setMethod(HttpRequest::Method::Post); +} + +ListOwnedJoinPermissionsRequest::~ListOwnedJoinPermissionsRequest() +{} + +bool ListOwnedJoinPermissionsRequest::getEnabled()const +{ + return enabled_; +} + +void ListOwnedJoinPermissionsRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string ListOwnedJoinPermissionsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListOwnedJoinPermissionsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListOwnedJoinPermissionsRequest::getFuzzyJoinEui()const +{ + return fuzzyJoinEui_; +} + +void ListOwnedJoinPermissionsRequest::setFuzzyJoinEui(const std::string& fuzzyJoinEui) +{ + fuzzyJoinEui_ = fuzzyJoinEui; + setParameter("FuzzyJoinEui", fuzzyJoinEui); +} + +long ListOwnedJoinPermissionsRequest::getLimit()const +{ + return limit_; +} + +void ListOwnedJoinPermissionsRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::string ListOwnedJoinPermissionsRequest::getFuzzyJoinPermissionName()const +{ + return fuzzyJoinPermissionName_; +} + +void ListOwnedJoinPermissionsRequest::setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName) +{ + fuzzyJoinPermissionName_ = fuzzyJoinPermissionName; + setParameter("FuzzyJoinPermissionName", fuzzyJoinPermissionName); +} + +long ListOwnedJoinPermissionsRequest::getOffset()const +{ + return offset_; +} + +void ListOwnedJoinPermissionsRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +std::string ListOwnedJoinPermissionsRequest::getFuzzyRenterAliyunId()const +{ + return fuzzyRenterAliyunId_; +} + +void ListOwnedJoinPermissionsRequest::setFuzzyRenterAliyunId(const std::string& fuzzyRenterAliyunId) +{ + fuzzyRenterAliyunId_ = fuzzyRenterAliyunId; + setParameter("FuzzyRenterAliyunId", fuzzyRenterAliyunId); +} + +bool ListOwnedJoinPermissionsRequest::getAscending()const +{ + return ascending_; +} + +void ListOwnedJoinPermissionsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListOwnedJoinPermissionsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListOwnedJoinPermissionsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListOwnedJoinPermissionsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListOwnedJoinPermissionsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListOwnedJoinPermissionsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListOwnedJoinPermissionsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListOwnedJoinPermissionsResult.cc b/linkwan/src/model/ListOwnedJoinPermissionsResult.cc new file mode 100644 index 000000000..691200726 --- /dev/null +++ b/linkwan/src/model/ListOwnedJoinPermissionsResult.cc @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListOwnedJoinPermissionsResult::ListOwnedJoinPermissionsResult() : + ServiceResult() +{} + +ListOwnedJoinPermissionsResult::ListOwnedJoinPermissionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListOwnedJoinPermissionsResult::~ListOwnedJoinPermissionsResult() +{} + +void ListOwnedJoinPermissionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["JoinPermission"]; + for (auto dataNodeListJoinPermission : allListNode) + { + Data::JoinPermission joinPermissionObject; + if(!dataNodeListJoinPermission["JoinPermissionId"].isNull()) + joinPermissionObject.joinPermissionId = dataNodeListJoinPermission["JoinPermissionId"].asString(); + if(!dataNodeListJoinPermission["RenterAliyunId"].isNull()) + joinPermissionObject.renterAliyunId = dataNodeListJoinPermission["RenterAliyunId"].asString(); + if(!dataNodeListJoinPermission["JoinEui"].isNull()) + joinPermissionObject.joinEui = dataNodeListJoinPermission["JoinEui"].asString(); + if(!dataNodeListJoinPermission["FreqBandPlanGroupId"].isNull()) + joinPermissionObject.freqBandPlanGroupId = std::stol(dataNodeListJoinPermission["FreqBandPlanGroupId"].asString()); + if(!dataNodeListJoinPermission["ClassMode"].isNull()) + joinPermissionObject.classMode = dataNodeListJoinPermission["ClassMode"].asString(); + if(!dataNodeListJoinPermission["AuthState"].isNull()) + joinPermissionObject.authState = dataNodeListJoinPermission["AuthState"].asString(); + if(!dataNodeListJoinPermission["Enabled"].isNull()) + joinPermissionObject.enabled = dataNodeListJoinPermission["Enabled"].asString() == "true"; + if(!dataNodeListJoinPermission["JoinPermissionName"].isNull()) + joinPermissionObject.joinPermissionName = dataNodeListJoinPermission["JoinPermissionName"].asString(); + if(!dataNodeListJoinPermission["RxDelay"].isNull()) + joinPermissionObject.rxDelay = std::stol(dataNodeListJoinPermission["RxDelay"].asString()); + if(!dataNodeListJoinPermission["DataRate"].isNull()) + joinPermissionObject.dataRate = std::stol(dataNodeListJoinPermission["DataRate"].asString()); + data_.list.push_back(joinPermissionObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListOwnedJoinPermissionsResult::Data ListOwnedJoinPermissionsResult::getData()const +{ + return data_; +} + +bool ListOwnedJoinPermissionsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListRentedJoinPermissionsRequest.cc b/linkwan/src/model/ListRentedJoinPermissionsRequest.cc new file mode 100644 index 000000000..a9a520148 --- /dev/null +++ b/linkwan/src/model/ListRentedJoinPermissionsRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListRentedJoinPermissionsRequest; + +ListRentedJoinPermissionsRequest::ListRentedJoinPermissionsRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListRentedJoinPermissions") +{ + setMethod(HttpRequest::Method::Post); +} + +ListRentedJoinPermissionsRequest::~ListRentedJoinPermissionsRequest() +{} + +std::string ListRentedJoinPermissionsRequest::getType()const +{ + return type_; +} + +void ListRentedJoinPermissionsRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +bool ListRentedJoinPermissionsRequest::getEnabled()const +{ + return enabled_; +} + +void ListRentedJoinPermissionsRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string ListRentedJoinPermissionsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void ListRentedJoinPermissionsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string ListRentedJoinPermissionsRequest::getFuzzyJoinEui()const +{ + return fuzzyJoinEui_; +} + +void ListRentedJoinPermissionsRequest::setFuzzyJoinEui(const std::string& fuzzyJoinEui) +{ + fuzzyJoinEui_ = fuzzyJoinEui; + setParameter("FuzzyJoinEui", fuzzyJoinEui); +} + +long ListRentedJoinPermissionsRequest::getLimit()const +{ + return limit_; +} + +void ListRentedJoinPermissionsRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::string ListRentedJoinPermissionsRequest::getFuzzyJoinPermissionName()const +{ + return fuzzyJoinPermissionName_; +} + +void ListRentedJoinPermissionsRequest::setFuzzyJoinPermissionName(const std::string& fuzzyJoinPermissionName) +{ + fuzzyJoinPermissionName_ = fuzzyJoinPermissionName; + setParameter("FuzzyJoinPermissionName", fuzzyJoinPermissionName); +} + +long ListRentedJoinPermissionsRequest::getOffset()const +{ + return offset_; +} + +void ListRentedJoinPermissionsRequest::setOffset(long offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); +} + +bool ListRentedJoinPermissionsRequest::getAscending()const +{ + return ascending_; +} + +void ListRentedJoinPermissionsRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +bool ListRentedJoinPermissionsRequest::getBoundNodeGroup()const +{ + return boundNodeGroup_; +} + +void ListRentedJoinPermissionsRequest::setBoundNodeGroup(bool boundNodeGroup) +{ + boundNodeGroup_ = boundNodeGroup; + setParameter("BoundNodeGroup", boundNodeGroup ? "true" : "false"); +} + +std::string ListRentedJoinPermissionsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListRentedJoinPermissionsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListRentedJoinPermissionsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListRentedJoinPermissionsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string ListRentedJoinPermissionsRequest::getFuzzyOwnerAliyunId()const +{ + return fuzzyOwnerAliyunId_; +} + +void ListRentedJoinPermissionsRequest::setFuzzyOwnerAliyunId(const std::string& fuzzyOwnerAliyunId) +{ + fuzzyOwnerAliyunId_ = fuzzyOwnerAliyunId; + setParameter("FuzzyOwnerAliyunId", fuzzyOwnerAliyunId); +} + +std::string ListRentedJoinPermissionsRequest::getSortingField()const +{ + return sortingField_; +} + +void ListRentedJoinPermissionsRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListRentedJoinPermissionsResult.cc b/linkwan/src/model/ListRentedJoinPermissionsResult.cc new file mode 100644 index 000000000..6ee169f87 --- /dev/null +++ b/linkwan/src/model/ListRentedJoinPermissionsResult.cc @@ -0,0 +1,112 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListRentedJoinPermissionsResult::ListRentedJoinPermissionsResult() : + ServiceResult() +{} + +ListRentedJoinPermissionsResult::ListRentedJoinPermissionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListRentedJoinPermissionsResult::~ListRentedJoinPermissionsResult() +{} + +void ListRentedJoinPermissionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["JoinPermission"]; + for (auto dataNodeListJoinPermission : allListNode) + { + Data::JoinPermission joinPermissionObject; + if(!dataNodeListJoinPermission["JoinPermissionId"].isNull()) + joinPermissionObject.joinPermissionId = dataNodeListJoinPermission["JoinPermissionId"].asString(); + if(!dataNodeListJoinPermission["OwnerAliyunId"].isNull()) + joinPermissionObject.ownerAliyunId = dataNodeListJoinPermission["OwnerAliyunId"].asString(); + if(!dataNodeListJoinPermission["JoinEui"].isNull()) + joinPermissionObject.joinEui = dataNodeListJoinPermission["JoinEui"].asString(); + if(!dataNodeListJoinPermission["FreqBandPlanGroupId"].isNull()) + joinPermissionObject.freqBandPlanGroupId = dataNodeListJoinPermission["FreqBandPlanGroupId"].asString(); + if(!dataNodeListJoinPermission["ClassMode"].isNull()) + joinPermissionObject.classMode = dataNodeListJoinPermission["ClassMode"].asString(); + if(!dataNodeListJoinPermission["Enabled"].isNull()) + joinPermissionObject.enabled = dataNodeListJoinPermission["Enabled"].asString() == "true"; + if(!dataNodeListJoinPermission["BoundNodeGroup"].isNull()) + joinPermissionObject.boundNodeGroup = dataNodeListJoinPermission["BoundNodeGroup"].asString() == "true"; + if(!dataNodeListJoinPermission["Type"].isNull()) + joinPermissionObject.type = dataNodeListJoinPermission["Type"].asString(); + if(!dataNodeListJoinPermission["BoundNodeGroupName"].isNull()) + joinPermissionObject.boundNodeGroupName = dataNodeListJoinPermission["BoundNodeGroupName"].asString(); + if(!dataNodeListJoinPermission["BoundNodeGroupId"].isNull()) + joinPermissionObject.boundNodeGroupId = dataNodeListJoinPermission["BoundNodeGroupId"].asString(); + if(!dataNodeListJoinPermission["RxDelay"].isNull()) + joinPermissionObject.rxDelay = dataNodeListJoinPermission["RxDelay"].asString(); + if(!dataNodeListJoinPermission["DataRate"].isNull()) + joinPermissionObject.dataRate = dataNodeListJoinPermission["DataRate"].asString(); + if(!dataNodeListJoinPermission["JoinPermissionName"].isNull()) + joinPermissionObject.joinPermissionName = dataNodeListJoinPermission["JoinPermissionName"].asString(); + auto dataDispatchConfigNode = value["DataDispatchConfig"]; + if(!dataDispatchConfigNode["Destination"].isNull()) + joinPermissionObject.dataDispatchConfig.destination = dataDispatchConfigNode["Destination"].asString(); + auto iotProductNode = dataDispatchConfigNode["IotProduct"]; + if(!iotProductNode["ProductName"].isNull()) + joinPermissionObject.dataDispatchConfig.iotProduct.productName = iotProductNode["ProductName"].asString(); + if(!iotProductNode["ProductKey"].isNull()) + joinPermissionObject.dataDispatchConfig.iotProduct.productKey = iotProductNode["ProductKey"].asString(); + if(!iotProductNode["ProductType"].isNull()) + joinPermissionObject.dataDispatchConfig.iotProduct.productType = iotProductNode["ProductType"].asString(); + if(!iotProductNode["DebugSwitch"].isNull()) + joinPermissionObject.dataDispatchConfig.iotProduct.debugSwitch = iotProductNode["DebugSwitch"].asString() == "true"; + auto onsTopicsNode = dataDispatchConfigNode["OnsTopics"]; + if(!onsTopicsNode["DownlinkRegionName"].isNull()) + joinPermissionObject.dataDispatchConfig.onsTopics.downlinkRegionName = onsTopicsNode["DownlinkRegionName"].asString(); + if(!onsTopicsNode["DownlinkTopic"].isNull()) + joinPermissionObject.dataDispatchConfig.onsTopics.downlinkTopic = onsTopicsNode["DownlinkTopic"].asString(); + if(!onsTopicsNode["UplinkRegionName"].isNull()) + joinPermissionObject.dataDispatchConfig.onsTopics.uplinkRegionName = onsTopicsNode["UplinkRegionName"].asString(); + if(!onsTopicsNode["UplinkTopic"].isNull()) + joinPermissionObject.dataDispatchConfig.onsTopics.uplinkTopic = onsTopicsNode["UplinkTopic"].asString(); + data_.list.push_back(joinPermissionObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListRentedJoinPermissionsResult::Data ListRentedJoinPermissionsResult::getData()const +{ + return data_; +} + +bool ListRentedJoinPermissionsResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ListTransferPacketRequest.cc b/linkwan/src/model/ListTransferPacketRequest.cc new file mode 100644 index 000000000..30447894a --- /dev/null +++ b/linkwan/src/model/ListTransferPacketRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ListTransferPacketRequest; + +ListTransferPacketRequest::ListTransferPacketRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ListTransferPacket") +{ + setMethod(HttpRequest::Method::Post); +} + +ListTransferPacketRequest::~ListTransferPacketRequest() +{} + +long ListTransferPacketRequest::getEndMillis()const +{ + return endMillis_; +} + +void ListTransferPacketRequest::setEndMillis(long endMillis) +{ + endMillis_ = endMillis; + setParameter("EndMillis", std::to_string(endMillis)); +} + +int ListTransferPacketRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListTransferPacketRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int ListTransferPacketRequest::getPageSize()const +{ + return pageSize_; +} + +void ListTransferPacketRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +bool ListTransferPacketRequest::getAscending()const +{ + return ascending_; +} + +void ListTransferPacketRequest::setAscending(bool ascending) +{ + ascending_ = ascending; + setParameter("Ascending", ascending ? "true" : "false"); +} + +std::string ListTransferPacketRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ListTransferPacketRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ListTransferPacketRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ListTransferPacketRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long ListTransferPacketRequest::getBeginMillis()const +{ + return beginMillis_; +} + +void ListTransferPacketRequest::setBeginMillis(long beginMillis) +{ + beginMillis_ = beginMillis; + setParameter("BeginMillis", std::to_string(beginMillis)); +} + +std::string ListTransferPacketRequest::getSortingField()const +{ + return sortingField_; +} + +void ListTransferPacketRequest::setSortingField(const std::string& sortingField) +{ + sortingField_ = sortingField; + setParameter("SortingField", sortingField); +} + diff --git a/linkwan/src/model/ListTransferPacketResult.cc b/linkwan/src/model/ListTransferPacketResult.cc new file mode 100644 index 000000000..b96c15663 --- /dev/null +++ b/linkwan/src/model/ListTransferPacketResult.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ListTransferPacketResult::ListTransferPacketResult() : + ServiceResult() +{} + +ListTransferPacketResult::ListTransferPacketResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTransferPacketResult::~ListTransferPacketResult() +{} + +void ListTransferPacketResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stol(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["Packet"]; + for (auto dataNodeListPacket : allListNode) + { + Data::Packet packetObject; + if(!dataNodeListPacket["GwEui"].isNull()) + packetObject.gwEui = dataNodeListPacket["GwEui"].asString(); + if(!dataNodeListPacket["DevEui"].isNull()) + packetObject.devEui = dataNodeListPacket["DevEui"].asString(); + if(!dataNodeListPacket["DevAddr"].isNull()) + packetObject.devAddr = dataNodeListPacket["DevAddr"].asString(); + if(!dataNodeListPacket["Freq"].isNull()) + packetObject.freq = std::stof(dataNodeListPacket["Freq"].asString()); + if(!dataNodeListPacket["Datr"].isNull()) + packetObject.datr = dataNodeListPacket["Datr"].asString(); + if(!dataNodeListPacket["ClassMode"].isNull()) + packetObject.classMode = dataNodeListPacket["ClassMode"].asString(); + if(!dataNodeListPacket["Rssi"].isNull()) + packetObject.rssi = std::stoi(dataNodeListPacket["Rssi"].asString()); + if(!dataNodeListPacket["Lsnr"].isNull()) + packetObject.lsnr = std::stof(dataNodeListPacket["Lsnr"].asString()); + if(!dataNodeListPacket["FPort"].isNull()) + packetObject.fPort = std::stoi(dataNodeListPacket["FPort"].asString()); + if(!dataNodeListPacket["FreqBandPlanGroupId"].isNull()) + packetObject.freqBandPlanGroupId = std::stol(dataNodeListPacket["FreqBandPlanGroupId"].asString()); + if(!dataNodeListPacket["LogMillis"].isNull()) + packetObject.logMillis = std::stol(dataNodeListPacket["LogMillis"].asString()); + if(!dataNodeListPacket["HasMacCommand"].isNull()) + packetObject.hasMacCommand = dataNodeListPacket["HasMacCommand"].asString() == "true"; + if(!dataNodeListPacket["HasData"].isNull()) + packetObject.hasData = dataNodeListPacket["HasData"].asString() == "true"; + if(!dataNodeListPacket["Base64EncodedMacPayload"].isNull()) + packetObject.base64EncodedMacPayload = dataNodeListPacket["Base64EncodedMacPayload"].asString(); + if(!dataNodeListPacket["MacPayloadSize"].isNull()) + packetObject.macPayloadSize = std::stol(dataNodeListPacket["MacPayloadSize"].asString()); + if(!dataNodeListPacket["ProcessEvent"].isNull()) + packetObject.processEvent = dataNodeListPacket["ProcessEvent"].asString(); + if(!dataNodeListPacket["MessageType"].isNull()) + packetObject.messageType = dataNodeListPacket["MessageType"].asString(); + if(!dataNodeListPacket["FcntDown"].isNull()) + packetObject.fcntDown = std::stol(dataNodeListPacket["FcntDown"].asString()); + if(!dataNodeListPacket["FcntUp"].isNull()) + packetObject.fcntUp = std::stol(dataNodeListPacket["FcntUp"].asString()); + data_.list.push_back(packetObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +ListTransferPacketResult::Data ListTransferPacketResult::getData()const +{ + return data_; +} + +std::string ListTransferPacketResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string ListTransferPacketResult::getCode()const +{ + return code_; +} + +bool ListTransferPacketResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/RejectJoinPermissionAuthOrderRequest.cc b/linkwan/src/model/RejectJoinPermissionAuthOrderRequest.cc new file mode 100644 index 000000000..bac0bd0d5 --- /dev/null +++ b/linkwan/src/model/RejectJoinPermissionAuthOrderRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::RejectJoinPermissionAuthOrderRequest; + +RejectJoinPermissionAuthOrderRequest::RejectJoinPermissionAuthOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "RejectJoinPermissionAuthOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +RejectJoinPermissionAuthOrderRequest::~RejectJoinPermissionAuthOrderRequest() +{} + +std::string RejectJoinPermissionAuthOrderRequest::getOrderId()const +{ + return orderId_; +} + +void RejectJoinPermissionAuthOrderRequest::setOrderId(const std::string& orderId) +{ + orderId_ = orderId; + setParameter("OrderId", orderId); +} + +std::string RejectJoinPermissionAuthOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void RejectJoinPermissionAuthOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string RejectJoinPermissionAuthOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void RejectJoinPermissionAuthOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/RejectJoinPermissionAuthOrderResult.cc b/linkwan/src/model/RejectJoinPermissionAuthOrderResult.cc new file mode 100644 index 000000000..c4b0791da --- /dev/null +++ b/linkwan/src/model/RejectJoinPermissionAuthOrderResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +RejectJoinPermissionAuthOrderResult::RejectJoinPermissionAuthOrderResult() : + ServiceResult() +{} + +RejectJoinPermissionAuthOrderResult::RejectJoinPermissionAuthOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RejectJoinPermissionAuthOrderResult::~RejectJoinPermissionAuthOrderResult() +{} + +void RejectJoinPermissionAuthOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool RejectJoinPermissionAuthOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/RemoveNodeFromGroupRequest.cc b/linkwan/src/model/RemoveNodeFromGroupRequest.cc new file mode 100644 index 000000000..a1b91817f --- /dev/null +++ b/linkwan/src/model/RemoveNodeFromGroupRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::RemoveNodeFromGroupRequest; + +RemoveNodeFromGroupRequest::RemoveNodeFromGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "RemoveNodeFromGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +RemoveNodeFromGroupRequest::~RemoveNodeFromGroupRequest() +{} + +std::string RemoveNodeFromGroupRequest::getDevEui()const +{ + return devEui_; +} + +void RemoveNodeFromGroupRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string RemoveNodeFromGroupRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void RemoveNodeFromGroupRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string RemoveNodeFromGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void RemoveNodeFromGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string RemoveNodeFromGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void RemoveNodeFromGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/RemoveNodeFromGroupResult.cc b/linkwan/src/model/RemoveNodeFromGroupResult.cc new file mode 100644 index 000000000..5c1556e9c --- /dev/null +++ b/linkwan/src/model/RemoveNodeFromGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +RemoveNodeFromGroupResult::RemoveNodeFromGroupResult() : + ServiceResult() +{} + +RemoveNodeFromGroupResult::RemoveNodeFromGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveNodeFromGroupResult::~RemoveNodeFromGroupResult() +{} + +void RemoveNodeFromGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool RemoveNodeFromGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/ReturnJoinPermissionRequest.cc b/linkwan/src/model/ReturnJoinPermissionRequest.cc new file mode 100644 index 000000000..80031837c --- /dev/null +++ b/linkwan/src/model/ReturnJoinPermissionRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::ReturnJoinPermissionRequest; + +ReturnJoinPermissionRequest::ReturnJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "ReturnJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +ReturnJoinPermissionRequest::~ReturnJoinPermissionRequest() +{} + +std::string ReturnJoinPermissionRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void ReturnJoinPermissionRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string ReturnJoinPermissionRequest::getJoinPermissionType()const +{ + return joinPermissionType_; +} + +void ReturnJoinPermissionRequest::setJoinPermissionType(const std::string& joinPermissionType) +{ + joinPermissionType_ = joinPermissionType; + setParameter("JoinPermissionType", joinPermissionType); +} + +std::string ReturnJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void ReturnJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string ReturnJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void ReturnJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/ReturnJoinPermissionResult.cc b/linkwan/src/model/ReturnJoinPermissionResult.cc new file mode 100644 index 000000000..bb698f8de --- /dev/null +++ b/linkwan/src/model/ReturnJoinPermissionResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +ReturnJoinPermissionResult::ReturnJoinPermissionResult() : + ServiceResult() +{} + +ReturnJoinPermissionResult::ReturnJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ReturnJoinPermissionResult::~ReturnJoinPermissionResult() +{} + +void ReturnJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool ReturnJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SendUnicastCommandRequest.cc b/linkwan/src/model/SendUnicastCommandRequest.cc new file mode 100644 index 000000000..d84294634 --- /dev/null +++ b/linkwan/src/model/SendUnicastCommandRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SendUnicastCommandRequest; + +SendUnicastCommandRequest::SendUnicastCommandRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SendUnicastCommand") +{ + setMethod(HttpRequest::Method::Post); +} + +SendUnicastCommandRequest::~SendUnicastCommandRequest() +{} + +bool SendUnicastCommandRequest::getConfirmed()const +{ + return confirmed_; +} + +void SendUnicastCommandRequest::setConfirmed(bool confirmed) +{ + confirmed_ = confirmed; + setParameter("Confirmed", confirmed ? "true" : "false"); +} + +std::string SendUnicastCommandRequest::getContent()const +{ + return content_; +} + +void SendUnicastCommandRequest::setContent(const std::string& content) +{ + content_ = content; + setParameter("Content", content); +} + +std::string SendUnicastCommandRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void SendUnicastCommandRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +int SendUnicastCommandRequest::getMaxRetries()const +{ + return maxRetries_; +} + +void SendUnicastCommandRequest::setMaxRetries(int maxRetries) +{ + maxRetries_ = maxRetries; + setParameter("MaxRetries", std::to_string(maxRetries)); +} + +std::string SendUnicastCommandRequest::getDevEui()const +{ + return devEui_; +} + +void SendUnicastCommandRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +bool SendUnicastCommandRequest::getCleanUp()const +{ + return cleanUp_; +} + +void SendUnicastCommandRequest::setCleanUp(bool cleanUp) +{ + cleanUp_ = cleanUp; + setParameter("CleanUp", cleanUp ? "true" : "false"); +} + +int SendUnicastCommandRequest::getFPort()const +{ + return fPort_; +} + +void SendUnicastCommandRequest::setFPort(int fPort) +{ + fPort_ = fPort; + setParameter("FPort", std::to_string(fPort)); +} + +std::string SendUnicastCommandRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SendUnicastCommandRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SendUnicastCommandRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SendUnicastCommandRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/SendUnicastCommandResult.cc b/linkwan/src/model/SendUnicastCommandResult.cc new file mode 100644 index 000000000..3c7764fcb --- /dev/null +++ b/linkwan/src/model/SendUnicastCommandResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SendUnicastCommandResult::SendUnicastCommandResult() : + ServiceResult() +{} + +SendUnicastCommandResult::SendUnicastCommandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendUnicastCommandResult::~SendUnicastCommandResult() +{} + +void SendUnicastCommandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool SendUnicastCommandResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitGatewayLocalConfigAddingTaskRequest.cc b/linkwan/src/model/SubmitGatewayLocalConfigAddingTaskRequest.cc new file mode 100644 index 000000000..36b850933 --- /dev/null +++ b/linkwan/src/model/SubmitGatewayLocalConfigAddingTaskRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitGatewayLocalConfigAddingTaskRequest; + +SubmitGatewayLocalConfigAddingTaskRequest::SubmitGatewayLocalConfigAddingTaskRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitGatewayLocalConfigAddingTask") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitGatewayLocalConfigAddingTaskRequest::~SubmitGatewayLocalConfigAddingTaskRequest() +{} + +int SubmitGatewayLocalConfigAddingTaskRequest::getFreq()const +{ + return freq_; +} + +void SubmitGatewayLocalConfigAddingTaskRequest::setFreq(int freq) +{ + freq_ = freq; + setParameter("Freq", std::to_string(freq)); +} + +int SubmitGatewayLocalConfigAddingTaskRequest::getDatr()const +{ + return datr_; +} + +void SubmitGatewayLocalConfigAddingTaskRequest::setDatr(int datr) +{ + datr_ = datr; + setParameter("Datr", std::to_string(datr)); +} + +std::string SubmitGatewayLocalConfigAddingTaskRequest::getD2dKey()const +{ + return d2dKey_; +} + +void SubmitGatewayLocalConfigAddingTaskRequest::setD2dKey(const std::string& d2dKey) +{ + d2dKey_ = d2dKey; + setParameter("D2dKey", d2dKey); +} + +std::string SubmitGatewayLocalConfigAddingTaskRequest::getGwEui()const +{ + return gwEui_; +} + +void SubmitGatewayLocalConfigAddingTaskRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string SubmitGatewayLocalConfigAddingTaskRequest::getD2dAddr()const +{ + return d2dAddr_; +} + +void SubmitGatewayLocalConfigAddingTaskRequest::setD2dAddr(const std::string& d2dAddr) +{ + d2dAddr_ = d2dAddr; + setParameter("D2dAddr", d2dAddr); +} + +std::string SubmitGatewayLocalConfigAddingTaskRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitGatewayLocalConfigAddingTaskRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitGatewayLocalConfigAddingTaskRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitGatewayLocalConfigAddingTaskRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/SubmitGatewayLocalConfigAddingTaskResult.cc b/linkwan/src/model/SubmitGatewayLocalConfigAddingTaskResult.cc new file mode 100644 index 000000000..885d9c625 --- /dev/null +++ b/linkwan/src/model/SubmitGatewayLocalConfigAddingTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitGatewayLocalConfigAddingTaskResult::SubmitGatewayLocalConfigAddingTaskResult() : + ServiceResult() +{} + +SubmitGatewayLocalConfigAddingTaskResult::SubmitGatewayLocalConfigAddingTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitGatewayLocalConfigAddingTaskResult::~SubmitGatewayLocalConfigAddingTaskResult() +{} + +void SubmitGatewayLocalConfigAddingTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long SubmitGatewayLocalConfigAddingTaskResult::getData()const +{ + return data_; +} + +std::string SubmitGatewayLocalConfigAddingTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string SubmitGatewayLocalConfigAddingTaskResult::getCode()const +{ + return code_; +} + +bool SubmitGatewayLocalConfigAddingTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskRequest.cc b/linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskRequest.cc new file mode 100644 index 000000000..4004869a0 --- /dev/null +++ b/linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitGatewayLocalConfigDeletingTaskRequest; + +SubmitGatewayLocalConfigDeletingTaskRequest::SubmitGatewayLocalConfigDeletingTaskRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitGatewayLocalConfigDeletingTask") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitGatewayLocalConfigDeletingTaskRequest::~SubmitGatewayLocalConfigDeletingTaskRequest() +{} + +std::string SubmitGatewayLocalConfigDeletingTaskRequest::getGwEui()const +{ + return gwEui_; +} + +void SubmitGatewayLocalConfigDeletingTaskRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string SubmitGatewayLocalConfigDeletingTaskRequest::getD2dAddr()const +{ + return d2dAddr_; +} + +void SubmitGatewayLocalConfigDeletingTaskRequest::setD2dAddr(const std::string& d2dAddr) +{ + d2dAddr_ = d2dAddr; + setParameter("D2dAddr", d2dAddr); +} + +std::string SubmitGatewayLocalConfigDeletingTaskRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitGatewayLocalConfigDeletingTaskRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitGatewayLocalConfigDeletingTaskRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitGatewayLocalConfigDeletingTaskRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskResult.cc b/linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskResult.cc new file mode 100644 index 000000000..b83ff3094 --- /dev/null +++ b/linkwan/src/model/SubmitGatewayLocalConfigDeletingTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitGatewayLocalConfigDeletingTaskResult::SubmitGatewayLocalConfigDeletingTaskResult() : + ServiceResult() +{} + +SubmitGatewayLocalConfigDeletingTaskResult::SubmitGatewayLocalConfigDeletingTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitGatewayLocalConfigDeletingTaskResult::~SubmitGatewayLocalConfigDeletingTaskResult() +{} + +void SubmitGatewayLocalConfigDeletingTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long SubmitGatewayLocalConfigDeletingTaskResult::getData()const +{ + return data_; +} + +std::string SubmitGatewayLocalConfigDeletingTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string SubmitGatewayLocalConfigDeletingTaskResult::getCode()const +{ + return code_; +} + +bool SubmitGatewayLocalConfigDeletingTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitGatewayTupleOrderRequest.cc b/linkwan/src/model/SubmitGatewayTupleOrderRequest.cc new file mode 100644 index 000000000..8d7863c6c --- /dev/null +++ b/linkwan/src/model/SubmitGatewayTupleOrderRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitGatewayTupleOrderRequest; + +SubmitGatewayTupleOrderRequest::SubmitGatewayTupleOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitGatewayTupleOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitGatewayTupleOrderRequest::~SubmitGatewayTupleOrderRequest() +{} + +std::string SubmitGatewayTupleOrderRequest::getTupleType()const +{ + return tupleType_; +} + +void SubmitGatewayTupleOrderRequest::setTupleType(const std::string& tupleType) +{ + tupleType_ = tupleType; + setParameter("TupleType", tupleType); +} + +std::string SubmitGatewayTupleOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitGatewayTupleOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitGatewayTupleOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitGatewayTupleOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long SubmitGatewayTupleOrderRequest::getRequiredCount()const +{ + return requiredCount_; +} + +void SubmitGatewayTupleOrderRequest::setRequiredCount(long requiredCount) +{ + requiredCount_ = requiredCount; + setParameter("RequiredCount", std::to_string(requiredCount)); +} + diff --git a/linkwan/src/model/SubmitGatewayTupleOrderResult.cc b/linkwan/src/model/SubmitGatewayTupleOrderResult.cc new file mode 100644 index 000000000..a056f2741 --- /dev/null +++ b/linkwan/src/model/SubmitGatewayTupleOrderResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitGatewayTupleOrderResult::SubmitGatewayTupleOrderResult() : + ServiceResult() +{} + +SubmitGatewayTupleOrderResult::SubmitGatewayTupleOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitGatewayTupleOrderResult::~SubmitGatewayTupleOrderResult() +{} + +void SubmitGatewayTupleOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string SubmitGatewayTupleOrderResult::getData()const +{ + return data_; +} + +bool SubmitGatewayTupleOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitJoinPermissionAuthOrderRequest.cc b/linkwan/src/model/SubmitJoinPermissionAuthOrderRequest.cc new file mode 100644 index 000000000..1c68fff1d --- /dev/null +++ b/linkwan/src/model/SubmitJoinPermissionAuthOrderRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitJoinPermissionAuthOrderRequest; + +SubmitJoinPermissionAuthOrderRequest::SubmitJoinPermissionAuthOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitJoinPermissionAuthOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitJoinPermissionAuthOrderRequest::~SubmitJoinPermissionAuthOrderRequest() +{} + +std::string SubmitJoinPermissionAuthOrderRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void SubmitJoinPermissionAuthOrderRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string SubmitJoinPermissionAuthOrderRequest::getRenterAliyunId()const +{ + return renterAliyunId_; +} + +void SubmitJoinPermissionAuthOrderRequest::setRenterAliyunId(const std::string& renterAliyunId) +{ + renterAliyunId_ = renterAliyunId; + setParameter("RenterAliyunId", renterAliyunId); +} + +std::string SubmitJoinPermissionAuthOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitJoinPermissionAuthOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitJoinPermissionAuthOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitJoinPermissionAuthOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/SubmitJoinPermissionAuthOrderResult.cc b/linkwan/src/model/SubmitJoinPermissionAuthOrderResult.cc new file mode 100644 index 000000000..936f35520 --- /dev/null +++ b/linkwan/src/model/SubmitJoinPermissionAuthOrderResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitJoinPermissionAuthOrderResult::SubmitJoinPermissionAuthOrderResult() : + ServiceResult() +{} + +SubmitJoinPermissionAuthOrderResult::SubmitJoinPermissionAuthOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitJoinPermissionAuthOrderResult::~SubmitJoinPermissionAuthOrderResult() +{} + +void SubmitJoinPermissionAuthOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long SubmitJoinPermissionAuthOrderResult::getData()const +{ + return data_; +} + +bool SubmitJoinPermissionAuthOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderRequest.cc b/linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderRequest.cc new file mode 100644 index 000000000..39f175171 --- /dev/null +++ b/linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitKpmEncryptedNodeTupleOrderRequest; + +SubmitKpmEncryptedNodeTupleOrderRequest::SubmitKpmEncryptedNodeTupleOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitKpmEncryptedNodeTupleOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitKpmEncryptedNodeTupleOrderRequest::~SubmitKpmEncryptedNodeTupleOrderRequest() +{} + +std::string SubmitKpmEncryptedNodeTupleOrderRequest::getLoraVersion()const +{ + return loraVersion_; +} + +void SubmitKpmEncryptedNodeTupleOrderRequest::setLoraVersion(const std::string& loraVersion) +{ + loraVersion_ = loraVersion; + setParameter("LoraVersion", loraVersion); +} + +std::string SubmitKpmEncryptedNodeTupleOrderRequest::getTupleType()const +{ + return tupleType_; +} + +void SubmitKpmEncryptedNodeTupleOrderRequest::setTupleType(const std::string& tupleType) +{ + tupleType_ = tupleType; + setParameter("TupleType", tupleType); +} + +std::string SubmitKpmEncryptedNodeTupleOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitKpmEncryptedNodeTupleOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitKpmEncryptedNodeTupleOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitKpmEncryptedNodeTupleOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long SubmitKpmEncryptedNodeTupleOrderRequest::getRequiredCount()const +{ + return requiredCount_; +} + +void SubmitKpmEncryptedNodeTupleOrderRequest::setRequiredCount(long requiredCount) +{ + requiredCount_ = requiredCount; + setParameter("RequiredCount", std::to_string(requiredCount)); +} + diff --git a/linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderResult.cc b/linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderResult.cc new file mode 100644 index 000000000..6dcf3c309 --- /dev/null +++ b/linkwan/src/model/SubmitKpmEncryptedNodeTupleOrderResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitKpmEncryptedNodeTupleOrderResult::SubmitKpmEncryptedNodeTupleOrderResult() : + ServiceResult() +{} + +SubmitKpmEncryptedNodeTupleOrderResult::SubmitKpmEncryptedNodeTupleOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitKpmEncryptedNodeTupleOrderResult::~SubmitKpmEncryptedNodeTupleOrderResult() +{} + +void SubmitKpmEncryptedNodeTupleOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + +} + +std::string SubmitKpmEncryptedNodeTupleOrderResult::getOrderId()const +{ + return orderId_; +} + +bool SubmitKpmEncryptedNodeTupleOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitNodeLocalConfigAddingTaskRequest.cc b/linkwan/src/model/SubmitNodeLocalConfigAddingTaskRequest.cc new file mode 100644 index 000000000..188667d33 --- /dev/null +++ b/linkwan/src/model/SubmitNodeLocalConfigAddingTaskRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitNodeLocalConfigAddingTaskRequest; + +SubmitNodeLocalConfigAddingTaskRequest::SubmitNodeLocalConfigAddingTaskRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitNodeLocalConfigAddingTask") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitNodeLocalConfigAddingTaskRequest::~SubmitNodeLocalConfigAddingTaskRequest() +{} + +int SubmitNodeLocalConfigAddingTaskRequest::getFreq()const +{ + return freq_; +} + +void SubmitNodeLocalConfigAddingTaskRequest::setFreq(int freq) +{ + freq_ = freq; + setParameter("Freq", std::to_string(freq)); +} + +int SubmitNodeLocalConfigAddingTaskRequest::getDatr()const +{ + return datr_; +} + +void SubmitNodeLocalConfigAddingTaskRequest::setDatr(int datr) +{ + datr_ = datr; + setParameter("Datr", std::to_string(datr)); +} + +std::string SubmitNodeLocalConfigAddingTaskRequest::getD2dKey()const +{ + return d2dKey_; +} + +void SubmitNodeLocalConfigAddingTaskRequest::setD2dKey(const std::string& d2dKey) +{ + d2dKey_ = d2dKey; + setParameter("D2dKey", d2dKey); +} + +std::string SubmitNodeLocalConfigAddingTaskRequest::getDevEui()const +{ + return devEui_; +} + +void SubmitNodeLocalConfigAddingTaskRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string SubmitNodeLocalConfigAddingTaskRequest::getD2dAddr()const +{ + return d2dAddr_; +} + +void SubmitNodeLocalConfigAddingTaskRequest::setD2dAddr(const std::string& d2dAddr) +{ + d2dAddr_ = d2dAddr; + setParameter("D2dAddr", d2dAddr); +} + +std::string SubmitNodeLocalConfigAddingTaskRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitNodeLocalConfigAddingTaskRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitNodeLocalConfigAddingTaskRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitNodeLocalConfigAddingTaskRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/SubmitNodeLocalConfigAddingTaskResult.cc b/linkwan/src/model/SubmitNodeLocalConfigAddingTaskResult.cc new file mode 100644 index 000000000..2253a667f --- /dev/null +++ b/linkwan/src/model/SubmitNodeLocalConfigAddingTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitNodeLocalConfigAddingTaskResult::SubmitNodeLocalConfigAddingTaskResult() : + ServiceResult() +{} + +SubmitNodeLocalConfigAddingTaskResult::SubmitNodeLocalConfigAddingTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitNodeLocalConfigAddingTaskResult::~SubmitNodeLocalConfigAddingTaskResult() +{} + +void SubmitNodeLocalConfigAddingTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long SubmitNodeLocalConfigAddingTaskResult::getData()const +{ + return data_; +} + +std::string SubmitNodeLocalConfigAddingTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string SubmitNodeLocalConfigAddingTaskResult::getCode()const +{ + return code_; +} + +bool SubmitNodeLocalConfigAddingTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitNodeLocalConfigDeletingTaskRequest.cc b/linkwan/src/model/SubmitNodeLocalConfigDeletingTaskRequest.cc new file mode 100644 index 000000000..ce4688d96 --- /dev/null +++ b/linkwan/src/model/SubmitNodeLocalConfigDeletingTaskRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitNodeLocalConfigDeletingTaskRequest; + +SubmitNodeLocalConfigDeletingTaskRequest::SubmitNodeLocalConfigDeletingTaskRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitNodeLocalConfigDeletingTask") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitNodeLocalConfigDeletingTaskRequest::~SubmitNodeLocalConfigDeletingTaskRequest() +{} + +std::string SubmitNodeLocalConfigDeletingTaskRequest::getDevEui()const +{ + return devEui_; +} + +void SubmitNodeLocalConfigDeletingTaskRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +std::string SubmitNodeLocalConfigDeletingTaskRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitNodeLocalConfigDeletingTaskRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitNodeLocalConfigDeletingTaskRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitNodeLocalConfigDeletingTaskRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/SubmitNodeLocalConfigDeletingTaskResult.cc b/linkwan/src/model/SubmitNodeLocalConfigDeletingTaskResult.cc new file mode 100644 index 000000000..ee7e1f053 --- /dev/null +++ b/linkwan/src/model/SubmitNodeLocalConfigDeletingTaskResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitNodeLocalConfigDeletingTaskResult::SubmitNodeLocalConfigDeletingTaskResult() : + ServiceResult() +{} + +SubmitNodeLocalConfigDeletingTaskResult::SubmitNodeLocalConfigDeletingTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitNodeLocalConfigDeletingTaskResult::~SubmitNodeLocalConfigDeletingTaskResult() +{} + +void SubmitNodeLocalConfigDeletingTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + +} + +long SubmitNodeLocalConfigDeletingTaskResult::getData()const +{ + return data_; +} + +std::string SubmitNodeLocalConfigDeletingTaskResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string SubmitNodeLocalConfigDeletingTaskResult::getCode()const +{ + return code_; +} + +bool SubmitNodeLocalConfigDeletingTaskResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/SubmitNodeTupleOrderRequest.cc b/linkwan/src/model/SubmitNodeTupleOrderRequest.cc new file mode 100644 index 000000000..d9800da45 --- /dev/null +++ b/linkwan/src/model/SubmitNodeTupleOrderRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::SubmitNodeTupleOrderRequest; + +SubmitNodeTupleOrderRequest::SubmitNodeTupleOrderRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "SubmitNodeTupleOrder") +{ + setMethod(HttpRequest::Method::Post); +} + +SubmitNodeTupleOrderRequest::~SubmitNodeTupleOrderRequest() +{} + +std::string SubmitNodeTupleOrderRequest::getLoraVersion()const +{ + return loraVersion_; +} + +void SubmitNodeTupleOrderRequest::setLoraVersion(const std::string& loraVersion) +{ + loraVersion_ = loraVersion; + setParameter("LoraVersion", loraVersion); +} + +std::string SubmitNodeTupleOrderRequest::getTupleType()const +{ + return tupleType_; +} + +void SubmitNodeTupleOrderRequest::setTupleType(const std::string& tupleType) +{ + tupleType_ = tupleType; + setParameter("TupleType", tupleType); +} + +std::string SubmitNodeTupleOrderRequest::getApiProduct()const +{ + return apiProduct_; +} + +void SubmitNodeTupleOrderRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string SubmitNodeTupleOrderRequest::getApiRevision()const +{ + return apiRevision_; +} + +void SubmitNodeTupleOrderRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +long SubmitNodeTupleOrderRequest::getRequiredCount()const +{ + return requiredCount_; +} + +void SubmitNodeTupleOrderRequest::setRequiredCount(long requiredCount) +{ + requiredCount_ = requiredCount; + setParameter("RequiredCount", std::to_string(requiredCount)); +} + diff --git a/linkwan/src/model/SubmitNodeTupleOrderResult.cc b/linkwan/src/model/SubmitNodeTupleOrderResult.cc new file mode 100644 index 000000000..9f0cca30d --- /dev/null +++ b/linkwan/src/model/SubmitNodeTupleOrderResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +SubmitNodeTupleOrderResult::SubmitNodeTupleOrderResult() : + ServiceResult() +{} + +SubmitNodeTupleOrderResult::SubmitNodeTupleOrderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SubmitNodeTupleOrderResult::~SubmitNodeTupleOrderResult() +{} + +void SubmitNodeTupleOrderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string SubmitNodeTupleOrderResult::getData()const +{ + return data_; +} + +bool SubmitNodeTupleOrderResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UnbindJoinPermissionFromNodeGroupRequest.cc b/linkwan/src/model/UnbindJoinPermissionFromNodeGroupRequest.cc new file mode 100644 index 000000000..356a00bbe --- /dev/null +++ b/linkwan/src/model/UnbindJoinPermissionFromNodeGroupRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UnbindJoinPermissionFromNodeGroupRequest; + +UnbindJoinPermissionFromNodeGroupRequest::UnbindJoinPermissionFromNodeGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UnbindJoinPermissionFromNodeGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindJoinPermissionFromNodeGroupRequest::~UnbindJoinPermissionFromNodeGroupRequest() +{} + +std::string UnbindJoinPermissionFromNodeGroupRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void UnbindJoinPermissionFromNodeGroupRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string UnbindJoinPermissionFromNodeGroupRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void UnbindJoinPermissionFromNodeGroupRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string UnbindJoinPermissionFromNodeGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UnbindJoinPermissionFromNodeGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UnbindJoinPermissionFromNodeGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UnbindJoinPermissionFromNodeGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UnbindJoinPermissionFromNodeGroupResult.cc b/linkwan/src/model/UnbindJoinPermissionFromNodeGroupResult.cc new file mode 100644 index 000000000..34a3b48ee --- /dev/null +++ b/linkwan/src/model/UnbindJoinPermissionFromNodeGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UnbindJoinPermissionFromNodeGroupResult::UnbindJoinPermissionFromNodeGroupResult() : + ServiceResult() +{} + +UnbindJoinPermissionFromNodeGroupResult::UnbindJoinPermissionFromNodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindJoinPermissionFromNodeGroupResult::~UnbindJoinPermissionFromNodeGroupResult() +{} + +void UnbindJoinPermissionFromNodeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UnbindJoinPermissionFromNodeGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateDataDispatchConfigRequest.cc b/linkwan/src/model/UpdateDataDispatchConfigRequest.cc new file mode 100644 index 000000000..ab941d9ae --- /dev/null +++ b/linkwan/src/model/UpdateDataDispatchConfigRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateDataDispatchConfigRequest; + +UpdateDataDispatchConfigRequest::UpdateDataDispatchConfigRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateDataDispatchConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDataDispatchConfigRequest::~UpdateDataDispatchConfigRequest() +{} + +std::string UpdateDataDispatchConfigRequest::getUplinkTopic()const +{ + return uplinkTopic_; +} + +void UpdateDataDispatchConfigRequest::setUplinkTopic(const std::string& uplinkTopic) +{ + uplinkTopic_ = uplinkTopic; + setParameter("UplinkTopic", uplinkTopic); +} + +bool UpdateDataDispatchConfigRequest::getDebugSwitch()const +{ + return debugSwitch_; +} + +void UpdateDataDispatchConfigRequest::setDebugSwitch(bool debugSwitch) +{ + debugSwitch_ = debugSwitch; + setParameter("DebugSwitch", debugSwitch ? "true" : "false"); +} + +std::string UpdateDataDispatchConfigRequest::getProductType()const +{ + return productType_; +} + +void UpdateDataDispatchConfigRequest::setProductType(const std::string& productType) +{ + productType_ = productType; + setParameter("ProductType", productType); +} + +std::string UpdateDataDispatchConfigRequest::getProductName()const +{ + return productName_; +} + +void UpdateDataDispatchConfigRequest::setProductName(const std::string& productName) +{ + productName_ = productName; + setParameter("ProductName", productName); +} + +std::string UpdateDataDispatchConfigRequest::getDataDispatchDestination()const +{ + return dataDispatchDestination_; +} + +void UpdateDataDispatchConfigRequest::setDataDispatchDestination(const std::string& dataDispatchDestination) +{ + dataDispatchDestination_ = dataDispatchDestination; + setParameter("DataDispatchDestination", dataDispatchDestination); +} + +std::string UpdateDataDispatchConfigRequest::getUplinkRegionName()const +{ + return uplinkRegionName_; +} + +void UpdateDataDispatchConfigRequest::setUplinkRegionName(const std::string& uplinkRegionName) +{ + uplinkRegionName_ = uplinkRegionName; + setParameter("UplinkRegionName", uplinkRegionName); +} + +std::string UpdateDataDispatchConfigRequest::getProductKey()const +{ + return productKey_; +} + +void UpdateDataDispatchConfigRequest::setProductKey(const std::string& productKey) +{ + productKey_ = productKey; + setParameter("ProductKey", productKey); +} + +std::string UpdateDataDispatchConfigRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void UpdateDataDispatchConfigRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string UpdateDataDispatchConfigRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateDataDispatchConfigRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateDataDispatchConfigRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateDataDispatchConfigRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateDataDispatchConfigResult.cc b/linkwan/src/model/UpdateDataDispatchConfigResult.cc new file mode 100644 index 000000000..3c3ad17d1 --- /dev/null +++ b/linkwan/src/model/UpdateDataDispatchConfigResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateDataDispatchConfigResult::UpdateDataDispatchConfigResult() : + ServiceResult() +{} + +UpdateDataDispatchConfigResult::UpdateDataDispatchConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDataDispatchConfigResult::~UpdateDataDispatchConfigResult() +{} + +void UpdateDataDispatchConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateDataDispatchConfigResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateDataDispatchEnablingStateRequest.cc b/linkwan/src/model/UpdateDataDispatchEnablingStateRequest.cc new file mode 100644 index 000000000..55beef728 --- /dev/null +++ b/linkwan/src/model/UpdateDataDispatchEnablingStateRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateDataDispatchEnablingStateRequest; + +UpdateDataDispatchEnablingStateRequest::UpdateDataDispatchEnablingStateRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateDataDispatchEnablingState") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDataDispatchEnablingStateRequest::~UpdateDataDispatchEnablingStateRequest() +{} + +bool UpdateDataDispatchEnablingStateRequest::getDataDispatchEnabled()const +{ + return dataDispatchEnabled_; +} + +void UpdateDataDispatchEnablingStateRequest::setDataDispatchEnabled(bool dataDispatchEnabled) +{ + dataDispatchEnabled_ = dataDispatchEnabled; + setParameter("DataDispatchEnabled", dataDispatchEnabled ? "true" : "false"); +} + +std::string UpdateDataDispatchEnablingStateRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void UpdateDataDispatchEnablingStateRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string UpdateDataDispatchEnablingStateRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateDataDispatchEnablingStateRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateDataDispatchEnablingStateRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateDataDispatchEnablingStateRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateDataDispatchEnablingStateResult.cc b/linkwan/src/model/UpdateDataDispatchEnablingStateResult.cc new file mode 100644 index 000000000..a479f83f0 --- /dev/null +++ b/linkwan/src/model/UpdateDataDispatchEnablingStateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateDataDispatchEnablingStateResult::UpdateDataDispatchEnablingStateResult() : + ServiceResult() +{} + +UpdateDataDispatchEnablingStateResult::UpdateDataDispatchEnablingStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDataDispatchEnablingStateResult::~UpdateDataDispatchEnablingStateResult() +{} + +void UpdateDataDispatchEnablingStateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateDataDispatchEnablingStateResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateGatewayEnablingStateRequest.cc b/linkwan/src/model/UpdateGatewayEnablingStateRequest.cc new file mode 100644 index 000000000..71960b92d --- /dev/null +++ b/linkwan/src/model/UpdateGatewayEnablingStateRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateGatewayEnablingStateRequest; + +UpdateGatewayEnablingStateRequest::UpdateGatewayEnablingStateRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateGatewayEnablingState") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateGatewayEnablingStateRequest::~UpdateGatewayEnablingStateRequest() +{} + +bool UpdateGatewayEnablingStateRequest::getEnabled()const +{ + return enabled_; +} + +void UpdateGatewayEnablingStateRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string UpdateGatewayEnablingStateRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateGatewayEnablingStateRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string UpdateGatewayEnablingStateRequest::getGwEui()const +{ + return gwEui_; +} + +void UpdateGatewayEnablingStateRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string UpdateGatewayEnablingStateRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateGatewayEnablingStateRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateGatewayEnablingStateRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateGatewayEnablingStateRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateGatewayEnablingStateResult.cc b/linkwan/src/model/UpdateGatewayEnablingStateResult.cc new file mode 100644 index 000000000..a63dc727a --- /dev/null +++ b/linkwan/src/model/UpdateGatewayEnablingStateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateGatewayEnablingStateResult::UpdateGatewayEnablingStateResult() : + ServiceResult() +{} + +UpdateGatewayEnablingStateResult::UpdateGatewayEnablingStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGatewayEnablingStateResult::~UpdateGatewayEnablingStateResult() +{} + +void UpdateGatewayEnablingStateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateGatewayEnablingStateResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateGatewayRequest.cc b/linkwan/src/model/UpdateGatewayRequest.cc new file mode 100644 index 000000000..eace81d7c --- /dev/null +++ b/linkwan/src/model/UpdateGatewayRequest.cc @@ -0,0 +1,194 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateGatewayRequest; + +UpdateGatewayRequest::UpdateGatewayRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateGateway") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateGatewayRequest::~UpdateGatewayRequest() +{} + +std::string UpdateGatewayRequest::getCity()const +{ + return city_; +} + +void UpdateGatewayRequest::setCity(const std::string& city) +{ + city_ = city; + setParameter("City", city); +} + +float UpdateGatewayRequest::getLatitude()const +{ + return latitude_; +} + +void UpdateGatewayRequest::setLatitude(float latitude) +{ + latitude_ = latitude; + setParameter("Latitude", std::to_string(latitude)); +} + +std::string UpdateGatewayRequest::getDescription()const +{ + return description_; +} + +void UpdateGatewayRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +long UpdateGatewayRequest::getAddressCode()const +{ + return addressCode_; +} + +void UpdateGatewayRequest::setAddressCode(long addressCode) +{ + addressCode_ = addressCode; + setParameter("AddressCode", std::to_string(addressCode)); +} + +std::string UpdateGatewayRequest::getGisCoordinateSystem()const +{ + return gisCoordinateSystem_; +} + +void UpdateGatewayRequest::setGisCoordinateSystem(const std::string& gisCoordinateSystem) +{ + gisCoordinateSystem_ = gisCoordinateSystem; + setParameter("GisCoordinateSystem", gisCoordinateSystem); +} + +std::string UpdateGatewayRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateGatewayRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +float UpdateGatewayRequest::getLongitude()const +{ + return longitude_; +} + +void UpdateGatewayRequest::setLongitude(float longitude) +{ + longitude_ = longitude; + setParameter("Longitude", std::to_string(longitude)); +} + +std::string UpdateGatewayRequest::getAddress()const +{ + return address_; +} + +void UpdateGatewayRequest::setAddress(const std::string& address) +{ + address_ = address; + setParameter("Address", address); +} + +std::string UpdateGatewayRequest::getGwEui()const +{ + return gwEui_; +} + +void UpdateGatewayRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +long UpdateGatewayRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void UpdateGatewayRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string UpdateGatewayRequest::getDistrict()const +{ + return district_; +} + +void UpdateGatewayRequest::setDistrict(const std::string& district) +{ + district_ = district; + setParameter("District", district); +} + +std::string UpdateGatewayRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateGatewayRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateGatewayRequest::getName()const +{ + return name_; +} + +void UpdateGatewayRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string UpdateGatewayRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateGatewayRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string UpdateGatewayRequest::getCommunicationMode()const +{ + return communicationMode_; +} + +void UpdateGatewayRequest::setCommunicationMode(const std::string& communicationMode) +{ + communicationMode_ = communicationMode; + setParameter("CommunicationMode", communicationMode); +} + diff --git a/linkwan/src/model/UpdateGatewayResult.cc b/linkwan/src/model/UpdateGatewayResult.cc new file mode 100644 index 000000000..013dc0dc4 --- /dev/null +++ b/linkwan/src/model/UpdateGatewayResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateGatewayResult::UpdateGatewayResult() : + ServiceResult() +{} + +UpdateGatewayResult::UpdateGatewayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGatewayResult::~UpdateGatewayResult() +{} + +void UpdateGatewayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateGatewayResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateGatewaySshCtrlRequest.cc b/linkwan/src/model/UpdateGatewaySshCtrlRequest.cc new file mode 100644 index 000000000..26f07866f --- /dev/null +++ b/linkwan/src/model/UpdateGatewaySshCtrlRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateGatewaySshCtrlRequest; + +UpdateGatewaySshCtrlRequest::UpdateGatewaySshCtrlRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateGatewaySshCtrl") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateGatewaySshCtrlRequest::~UpdateGatewaySshCtrlRequest() +{} + +bool UpdateGatewaySshCtrlRequest::getEnabled()const +{ + return enabled_; +} + +void UpdateGatewaySshCtrlRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string UpdateGatewaySshCtrlRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateGatewaySshCtrlRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string UpdateGatewaySshCtrlRequest::getGwEui()const +{ + return gwEui_; +} + +void UpdateGatewaySshCtrlRequest::setGwEui(const std::string& gwEui) +{ + gwEui_ = gwEui; + setParameter("GwEui", gwEui); +} + +std::string UpdateGatewaySshCtrlRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateGatewaySshCtrlRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateGatewaySshCtrlRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateGatewaySshCtrlRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateGatewaySshCtrlResult.cc b/linkwan/src/model/UpdateGatewaySshCtrlResult.cc new file mode 100644 index 000000000..e30be78e6 --- /dev/null +++ b/linkwan/src/model/UpdateGatewaySshCtrlResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateGatewaySshCtrlResult::UpdateGatewaySshCtrlResult() : + ServiceResult() +{} + +UpdateGatewaySshCtrlResult::UpdateGatewaySshCtrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateGatewaySshCtrlResult::~UpdateGatewaySshCtrlResult() +{} + +void UpdateGatewaySshCtrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateGatewaySshCtrlResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateNodeEnablingStateRequest.cc b/linkwan/src/model/UpdateNodeEnablingStateRequest.cc new file mode 100644 index 000000000..3d1b24406 --- /dev/null +++ b/linkwan/src/model/UpdateNodeEnablingStateRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateNodeEnablingStateRequest; + +UpdateNodeEnablingStateRequest::UpdateNodeEnablingStateRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateNodeEnablingState") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateNodeEnablingStateRequest::~UpdateNodeEnablingStateRequest() +{} + +std::string UpdateNodeEnablingStateRequest::getDevEui()const +{ + return devEui_; +} + +void UpdateNodeEnablingStateRequest::setDevEui(const std::string& devEui) +{ + devEui_ = devEui; + setParameter("DevEui", devEui); +} + +bool UpdateNodeEnablingStateRequest::getIsEnable()const +{ + return isEnable_; +} + +void UpdateNodeEnablingStateRequest::setIsEnable(bool isEnable) +{ + isEnable_ = isEnable; + setParameter("IsEnable", isEnable ? "true" : "false"); +} + +std::string UpdateNodeEnablingStateRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateNodeEnablingStateRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateNodeEnablingStateRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateNodeEnablingStateRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateNodeEnablingStateResult.cc b/linkwan/src/model/UpdateNodeEnablingStateResult.cc new file mode 100644 index 000000000..aaf6136d6 --- /dev/null +++ b/linkwan/src/model/UpdateNodeEnablingStateResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateNodeEnablingStateResult::UpdateNodeEnablingStateResult() : + ServiceResult() +{} + +UpdateNodeEnablingStateResult::UpdateNodeEnablingStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateNodeEnablingStateResult::~UpdateNodeEnablingStateResult() +{} + +void UpdateNodeEnablingStateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string UpdateNodeEnablingStateResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateNodeEnablingStateResult::getCode()const +{ + return code_; +} + +bool UpdateNodeEnablingStateResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateNodeGroupRequest.cc b/linkwan/src/model/UpdateNodeGroupRequest.cc new file mode 100644 index 000000000..c5c648e3d --- /dev/null +++ b/linkwan/src/model/UpdateNodeGroupRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateNodeGroupRequest; + +UpdateNodeGroupRequest::UpdateNodeGroupRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateNodeGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateNodeGroupRequest::~UpdateNodeGroupRequest() +{} + +std::string UpdateNodeGroupRequest::getNodeGroupName()const +{ + return nodeGroupName_; +} + +void UpdateNodeGroupRequest::setNodeGroupName(const std::string& nodeGroupName) +{ + nodeGroupName_ = nodeGroupName; + setParameter("NodeGroupName", nodeGroupName); +} + +std::string UpdateNodeGroupRequest::getNodeGroupId()const +{ + return nodeGroupId_; +} + +void UpdateNodeGroupRequest::setNodeGroupId(const std::string& nodeGroupId) +{ + nodeGroupId_ = nodeGroupId; + setParameter("NodeGroupId", nodeGroupId); +} + +std::string UpdateNodeGroupRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateNodeGroupRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateNodeGroupRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateNodeGroupRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateNodeGroupResult.cc b/linkwan/src/model/UpdateNodeGroupResult.cc new file mode 100644 index 000000000..d34ed4442 --- /dev/null +++ b/linkwan/src/model/UpdateNodeGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateNodeGroupResult::UpdateNodeGroupResult() : + ServiceResult() +{} + +UpdateNodeGroupResult::UpdateNodeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateNodeGroupResult::~UpdateNodeGroupResult() +{} + +void UpdateNodeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateNodeGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateNotificationsHandleStateRequest.cc b/linkwan/src/model/UpdateNotificationsHandleStateRequest.cc new file mode 100644 index 000000000..93b9cb4ea --- /dev/null +++ b/linkwan/src/model/UpdateNotificationsHandleStateRequest.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateNotificationsHandleStateRequest; + +UpdateNotificationsHandleStateRequest::UpdateNotificationsHandleStateRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateNotificationsHandleState") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateNotificationsHandleStateRequest::~UpdateNotificationsHandleStateRequest() +{} + +std::string UpdateNotificationsHandleStateRequest::getTargetHandleState()const +{ + return targetHandleState_; +} + +void UpdateNotificationsHandleStateRequest::setTargetHandleState(const std::string& targetHandleState) +{ + targetHandleState_ = targetHandleState; + setParameter("TargetHandleState", targetHandleState); +} + +std::string UpdateNotificationsHandleStateRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateNotificationsHandleStateRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateNotificationsHandleStateRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateNotificationsHandleStateRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::vector UpdateNotificationsHandleStateRequest::getNotificationId()const +{ + return notificationId_; +} + +void UpdateNotificationsHandleStateRequest::setNotificationId(const std::vector& notificationId) +{ + notificationId_ = notificationId; + for(int dep1 = 0; dep1!= notificationId.size(); dep1++) { + setParameter("NotificationId."+ std::to_string(dep1), std::to_string(notificationId.at(dep1))); + } +} + diff --git a/linkwan/src/model/UpdateNotificationsHandleStateResult.cc b/linkwan/src/model/UpdateNotificationsHandleStateResult.cc new file mode 100644 index 000000000..dde05d14c --- /dev/null +++ b/linkwan/src/model/UpdateNotificationsHandleStateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateNotificationsHandleStateResult::UpdateNotificationsHandleStateResult() : + ServiceResult() +{} + +UpdateNotificationsHandleStateResult::UpdateNotificationsHandleStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateNotificationsHandleStateResult::~UpdateNotificationsHandleStateResult() +{} + +void UpdateNotificationsHandleStateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateNotificationsHandleStateResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.cc b/linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.cc new file mode 100644 index 000000000..f532c8c70 --- /dev/null +++ b/linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateOwnedLocalJoinPermissionEnablingStateRequest; + +UpdateOwnedLocalJoinPermissionEnablingStateRequest::UpdateOwnedLocalJoinPermissionEnablingStateRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateOwnedLocalJoinPermissionEnablingState") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateOwnedLocalJoinPermissionEnablingStateRequest::~UpdateOwnedLocalJoinPermissionEnablingStateRequest() +{} + +std::string UpdateOwnedLocalJoinPermissionEnablingStateRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void UpdateOwnedLocalJoinPermissionEnablingStateRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +bool UpdateOwnedLocalJoinPermissionEnablingStateRequest::getEnabled()const +{ + return enabled_; +} + +void UpdateOwnedLocalJoinPermissionEnablingStateRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string UpdateOwnedLocalJoinPermissionEnablingStateRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateOwnedLocalJoinPermissionEnablingStateRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string UpdateOwnedLocalJoinPermissionEnablingStateRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateOwnedLocalJoinPermissionEnablingStateRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateOwnedLocalJoinPermissionEnablingStateRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateOwnedLocalJoinPermissionEnablingStateRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.cc b/linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.cc new file mode 100644 index 000000000..531aa6e7e --- /dev/null +++ b/linkwan/src/model/UpdateOwnedLocalJoinPermissionEnablingStateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateOwnedLocalJoinPermissionEnablingStateResult::UpdateOwnedLocalJoinPermissionEnablingStateResult() : + ServiceResult() +{} + +UpdateOwnedLocalJoinPermissionEnablingStateResult::UpdateOwnedLocalJoinPermissionEnablingStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateOwnedLocalJoinPermissionEnablingStateResult::~UpdateOwnedLocalJoinPermissionEnablingStateResult() +{} + +void UpdateOwnedLocalJoinPermissionEnablingStateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateOwnedLocalJoinPermissionEnablingStateResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateOwnedLocalJoinPermissionRequest.cc b/linkwan/src/model/UpdateOwnedLocalJoinPermissionRequest.cc new file mode 100644 index 000000000..7710fd780 --- /dev/null +++ b/linkwan/src/model/UpdateOwnedLocalJoinPermissionRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateOwnedLocalJoinPermissionRequest; + +UpdateOwnedLocalJoinPermissionRequest::UpdateOwnedLocalJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateOwnedLocalJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateOwnedLocalJoinPermissionRequest::~UpdateOwnedLocalJoinPermissionRequest() +{} + +std::string UpdateOwnedLocalJoinPermissionRequest::getRxDelay()const +{ + return rxDelay_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setRxDelay(const std::string& rxDelay) +{ + rxDelay_ = rxDelay; + setParameter("RxDelay", rxDelay); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setParameter("IotInstanceId", iotInstanceId); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getClassMode()const +{ + return classMode_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setClassMode(const std::string& classMode) +{ + classMode_ = classMode; + setParameter("ClassMode", classMode); +} + +long UpdateOwnedLocalJoinPermissionRequest::getFreqBandPlanGroupId()const +{ + return freqBandPlanGroupId_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setFreqBandPlanGroupId(long freqBandPlanGroupId) +{ + freqBandPlanGroupId_ = freqBandPlanGroupId; + setParameter("FreqBandPlanGroupId", std::to_string(freqBandPlanGroupId)); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getJoinEui()const +{ + return joinEui_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setJoinEui(const std::string& joinEui) +{ + joinEui_ = joinEui; + setParameter("JoinEui", joinEui); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getJoinPermissionName()const +{ + return joinPermissionName_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setJoinPermissionName(const std::string& joinPermissionName) +{ + joinPermissionName_ = joinPermissionName; + setParameter("JoinPermissionName", joinPermissionName); +} + +std::string UpdateOwnedLocalJoinPermissionRequest::getDataRate()const +{ + return dataRate_; +} + +void UpdateOwnedLocalJoinPermissionRequest::setDataRate(const std::string& dataRate) +{ + dataRate_ = dataRate; + setParameter("DataRate", dataRate); +} + diff --git a/linkwan/src/model/UpdateOwnedLocalJoinPermissionResult.cc b/linkwan/src/model/UpdateOwnedLocalJoinPermissionResult.cc new file mode 100644 index 000000000..29f40fcec --- /dev/null +++ b/linkwan/src/model/UpdateOwnedLocalJoinPermissionResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateOwnedLocalJoinPermissionResult::UpdateOwnedLocalJoinPermissionResult() : + ServiceResult() +{} + +UpdateOwnedLocalJoinPermissionResult::UpdateOwnedLocalJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateOwnedLocalJoinPermissionResult::~UpdateOwnedLocalJoinPermissionResult() +{} + +void UpdateOwnedLocalJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateOwnedLocalJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateRequest.cc b/linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateRequest.cc new file mode 100644 index 000000000..f93fbc091 --- /dev/null +++ b/linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateRoamingJoinPermissionEnablingStateRequest; + +UpdateRoamingJoinPermissionEnablingStateRequest::UpdateRoamingJoinPermissionEnablingStateRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateRoamingJoinPermissionEnablingState") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateRoamingJoinPermissionEnablingStateRequest::~UpdateRoamingJoinPermissionEnablingStateRequest() +{} + +std::string UpdateRoamingJoinPermissionEnablingStateRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void UpdateRoamingJoinPermissionEnablingStateRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +bool UpdateRoamingJoinPermissionEnablingStateRequest::getEnabled()const +{ + return enabled_; +} + +void UpdateRoamingJoinPermissionEnablingStateRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string UpdateRoamingJoinPermissionEnablingStateRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateRoamingJoinPermissionEnablingStateRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateRoamingJoinPermissionEnablingStateRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateRoamingJoinPermissionEnablingStateRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateResult.cc b/linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateResult.cc new file mode 100644 index 000000000..4b30ba9a0 --- /dev/null +++ b/linkwan/src/model/UpdateRoamingJoinPermissionEnablingStateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateRoamingJoinPermissionEnablingStateResult::UpdateRoamingJoinPermissionEnablingStateResult() : + ServiceResult() +{} + +UpdateRoamingJoinPermissionEnablingStateResult::UpdateRoamingJoinPermissionEnablingStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateRoamingJoinPermissionEnablingStateResult::~UpdateRoamingJoinPermissionEnablingStateResult() +{} + +void UpdateRoamingJoinPermissionEnablingStateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateRoamingJoinPermissionEnablingStateResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateRoamingJoinPermissionRequest.cc b/linkwan/src/model/UpdateRoamingJoinPermissionRequest.cc new file mode 100644 index 000000000..9bb85cd89 --- /dev/null +++ b/linkwan/src/model/UpdateRoamingJoinPermissionRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateRoamingJoinPermissionRequest; + +UpdateRoamingJoinPermissionRequest::UpdateRoamingJoinPermissionRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateRoamingJoinPermission") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateRoamingJoinPermissionRequest::~UpdateRoamingJoinPermissionRequest() +{} + +std::string UpdateRoamingJoinPermissionRequest::getRxDelay()const +{ + return rxDelay_; +} + +void UpdateRoamingJoinPermissionRequest::setRxDelay(const std::string& rxDelay) +{ + rxDelay_ = rxDelay; + setParameter("RxDelay", rxDelay); +} + +std::string UpdateRoamingJoinPermissionRequest::getJoinPermissionId()const +{ + return joinPermissionId_; +} + +void UpdateRoamingJoinPermissionRequest::setJoinPermissionId(const std::string& joinPermissionId) +{ + joinPermissionId_ = joinPermissionId; + setParameter("JoinPermissionId", joinPermissionId); +} + +std::string UpdateRoamingJoinPermissionRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateRoamingJoinPermissionRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateRoamingJoinPermissionRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateRoamingJoinPermissionRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string UpdateRoamingJoinPermissionRequest::getJoinPermissionName()const +{ + return joinPermissionName_; +} + +void UpdateRoamingJoinPermissionRequest::setJoinPermissionName(const std::string& joinPermissionName) +{ + joinPermissionName_ = joinPermissionName; + setParameter("JoinPermissionName", joinPermissionName); +} + +std::string UpdateRoamingJoinPermissionRequest::getDataRate()const +{ + return dataRate_; +} + +void UpdateRoamingJoinPermissionRequest::setDataRate(const std::string& dataRate) +{ + dataRate_ = dataRate; + setParameter("DataRate", dataRate); +} + diff --git a/linkwan/src/model/UpdateRoamingJoinPermissionResult.cc b/linkwan/src/model/UpdateRoamingJoinPermissionResult.cc new file mode 100644 index 000000000..fc722737e --- /dev/null +++ b/linkwan/src/model/UpdateRoamingJoinPermissionResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateRoamingJoinPermissionResult::UpdateRoamingJoinPermissionResult() : + ServiceResult() +{} + +UpdateRoamingJoinPermissionResult::UpdateRoamingJoinPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateRoamingJoinPermissionResult::~UpdateRoamingJoinPermissionResult() +{} + +void UpdateRoamingJoinPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +bool UpdateRoamingJoinPermissionResult::getSuccess()const +{ + return success_; +} + diff --git a/linkwan/src/model/UpdateUserIsolationStateRequest.cc b/linkwan/src/model/UpdateUserIsolationStateRequest.cc new file mode 100644 index 000000000..a1f94c010 --- /dev/null +++ b/linkwan/src/model/UpdateUserIsolationStateRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::LinkWAN::Model::UpdateUserIsolationStateRequest; + +UpdateUserIsolationStateRequest::UpdateUserIsolationStateRequest() : + RpcServiceRequest("linkwan", "2019-03-01", "UpdateUserIsolationState") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateUserIsolationStateRequest::~UpdateUserIsolationStateRequest() +{} + +bool UpdateUserIsolationStateRequest::getIsolated()const +{ + return isolated_; +} + +void UpdateUserIsolationStateRequest::setIsolated(bool isolated) +{ + isolated_ = isolated; + setParameter("Isolated", isolated ? "true" : "false"); +} + +std::string UpdateUserIsolationStateRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateUserIsolationStateRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateUserIsolationStateRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateUserIsolationStateRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/linkwan/src/model/UpdateUserIsolationStateResult.cc b/linkwan/src/model/UpdateUserIsolationStateResult.cc new file mode 100644 index 000000000..fd68d97ce --- /dev/null +++ b/linkwan/src/model/UpdateUserIsolationStateResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::LinkWAN; +using namespace AlibabaCloud::LinkWAN::Model; + +UpdateUserIsolationStateResult::UpdateUserIsolationStateResult() : + ServiceResult() +{} + +UpdateUserIsolationStateResult::UpdateUserIsolationStateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateUserIsolationStateResult::~UpdateUserIsolationStateResult() +{} + +void UpdateUserIsolationStateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string UpdateUserIsolationStateResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateUserIsolationStateResult::getCode()const +{ + return code_; +} + +bool UpdateUserIsolationStateResult::getSuccess()const +{ + return success_; +} +