alibabacloud-vpc20160428 6.15.0__py3-none-any.whl → 7.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. alibabacloud_vpc20160428/__init__.py +1 -1
  2. alibabacloud_vpc20160428/client.py +8 -466
  3. alibabacloud_vpc20160428/models/__init__.py +0 -30
  4. alibabacloud_vpc20160428/models/_create_full_nat_entry_request.py +8 -2
  5. alibabacloud_vpc20160428/models/_describe_physical_connection_loaresponse_body.py +8 -0
  6. alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_response_body.py +8 -0
  7. alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_request.py +8 -0
  8. alibabacloud_vpc20160428/models/_list_full_nat_entries_response_body.py +16 -0
  9. alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_request.py +8 -0
  10. {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/METADATA +1 -1
  11. {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/RECORD +14 -29
  12. alibabacloud_vpc20160428/models/_convert_bandwidth_package_request.py +0 -80
  13. alibabacloud_vpc20160428/models/_convert_bandwidth_package_response.py +0 -54
  14. alibabacloud_vpc20160428/models/_convert_bandwidth_package_response_body.py +0 -43
  15. alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_request.py +0 -60
  16. alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response.py +0 -54
  17. alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response_body.py +0 -34
  18. alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_request.py +0 -60
  19. alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response.py +0 -54
  20. alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response_body.py +0 -34
  21. alibabacloud_vpc20160428/models/_get_nat_ip_attribute_request.py +0 -99
  22. alibabacloud_vpc20160428/models/_get_nat_ip_attribute_response.py +0 -54
  23. alibabacloud_vpc20160428/models/_get_nat_ip_attribute_response_body.py +0 -109
  24. alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_request.py +0 -111
  25. alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_response.py +0 -54
  26. alibabacloud_vpc20160428/models/_get_nat_ip_cidr_attribute_response_body.py +0 -91
  27. {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/LICENSE +0 -0
  28. {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/WHEEL +0 -0
  29. {alibabacloud_vpc20160428-6.15.0.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/top_level.txt +0 -0
@@ -1,34 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from darabonba.model import DaraModel
6
-
7
- class DisableNatGatewayEcsMetricResponseBody(DaraModel):
8
- def __init__(
9
- self,
10
- request_id: str = None,
11
- ):
12
- # The request ID.
13
- self.request_id = request_id
14
-
15
- def validate(self):
16
- pass
17
-
18
- def to_map(self):
19
- result = dict()
20
- _map = super().to_map()
21
- if _map is not None:
22
- result = _map
23
- if self.request_id is not None:
24
- result['RequestId'] = self.request_id
25
-
26
- return result
27
-
28
- def from_map(self, m: dict = None):
29
- m = m or dict()
30
- if m.get('RequestId') is not None:
31
- self.request_id = m.get('RequestId')
32
-
33
- return self
34
-
@@ -1,60 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from darabonba.model import DaraModel
6
-
7
- class EnableNatGatewayEcsMetricRequest(DaraModel):
8
- def __init__(
9
- self,
10
- dry_run: bool = None,
11
- nat_gateway_id: str = None,
12
- region_id: str = None,
13
- ):
14
- # Specifies whether to perform only a dry run, without performing the actual request. Valid values:
15
- #
16
- # **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
17
- #
18
- # **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
19
- self.dry_run = dry_run
20
- # The ID of the NAT gateway for which you want to enable ECS traffic monitoring.
21
- #
22
- # This parameter is required.
23
- self.nat_gateway_id = nat_gateway_id
24
- # The region ID of the NAT gateway. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
25
- #
26
- # This parameter is required.
27
- self.region_id = region_id
28
-
29
- def validate(self):
30
- pass
31
-
32
- def to_map(self):
33
- result = dict()
34
- _map = super().to_map()
35
- if _map is not None:
36
- result = _map
37
- if self.dry_run is not None:
38
- result['DryRun'] = self.dry_run
39
-
40
- if self.nat_gateway_id is not None:
41
- result['NatGatewayId'] = self.nat_gateway_id
42
-
43
- if self.region_id is not None:
44
- result['RegionId'] = self.region_id
45
-
46
- return result
47
-
48
- def from_map(self, m: dict = None):
49
- m = m or dict()
50
- if m.get('DryRun') is not None:
51
- self.dry_run = m.get('DryRun')
52
-
53
- if m.get('NatGatewayId') is not None:
54
- self.nat_gateway_id = m.get('NatGatewayId')
55
-
56
- if m.get('RegionId') is not None:
57
- self.region_id = m.get('RegionId')
58
-
59
- return self
60
-
@@ -1,54 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from typing import Dict
6
-
7
- from alibabacloud_vpc20160428 import models as main_models
8
- from darabonba.model import DaraModel
9
-
10
- class EnableNatGatewayEcsMetricResponse(DaraModel):
11
- def __init__(
12
- self,
13
- headers: Dict[str, str] = None,
14
- status_code: int = None,
15
- body: main_models.EnableNatGatewayEcsMetricResponseBody = None,
16
- ):
17
- self.headers = headers
18
- self.status_code = status_code
19
- self.body = body
20
-
21
- def validate(self):
22
- if self.body:
23
- self.body.validate()
24
-
25
- def to_map(self):
26
- result = dict()
27
- _map = super().to_map()
28
- if _map is not None:
29
- result = _map
30
- if self.headers is not None:
31
- result['headers'] = self.headers
32
-
33
- if self.status_code is not None:
34
- result['statusCode'] = self.status_code
35
-
36
- if self.body is not None:
37
- result['body'] = self.body.to_map()
38
-
39
- return result
40
-
41
- def from_map(self, m: dict = None):
42
- m = m or dict()
43
- if m.get('headers') is not None:
44
- self.headers = m.get('headers')
45
-
46
- if m.get('statusCode') is not None:
47
- self.status_code = m.get('statusCode')
48
-
49
- if m.get('body') is not None:
50
- temp_model = main_models.EnableNatGatewayEcsMetricResponseBody()
51
- self.body = temp_model.from_map(m.get('body'))
52
-
53
- return self
54
-
@@ -1,34 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from darabonba.model import DaraModel
6
-
7
- class EnableNatGatewayEcsMetricResponseBody(DaraModel):
8
- def __init__(
9
- self,
10
- request_id: str = None,
11
- ):
12
- # The request ID.
13
- self.request_id = request_id
14
-
15
- def validate(self):
16
- pass
17
-
18
- def to_map(self):
19
- result = dict()
20
- _map = super().to_map()
21
- if _map is not None:
22
- result = _map
23
- if self.request_id is not None:
24
- result['RequestId'] = self.request_id
25
-
26
- return result
27
-
28
- def from_map(self, m: dict = None):
29
- m = m or dict()
30
- if m.get('RequestId') is not None:
31
- self.request_id = m.get('RequestId')
32
-
33
- return self
34
-
@@ -1,99 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from darabonba.model import DaraModel
6
-
7
- class GetNatIpAttributeRequest(DaraModel):
8
- def __init__(
9
- self,
10
- client_token: str = None,
11
- dry_run: bool = None,
12
- nat_ip_id: str = None,
13
- owner_account: str = None,
14
- owner_id: int = None,
15
- region_id: str = None,
16
- resource_owner_account: str = None,
17
- resource_owner_id: int = None,
18
- ):
19
- # Client Token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client, ensuring that it is unique across different requests. ClientToken only supports ASCII characters. If not specified, the system automatically uses the **RequestId** of the API request as the **ClientToken** identifier. The **RequestId** may differ for each API request.
20
- self.client_token = client_token
21
- # Indicates whether to perform a dry run of the request. Values:
22
- # - **true**: Sends a check request without querying NAT IP address information. The checks include whether the AccessKey is valid, the RAM user\\"s authorization status, and if all required parameters are filled out. If any check fails, the corresponding error is returned. If all checks pass, the `DryRunOperation` error code is returned.
23
- # - **false** (default): Sends a normal request. After passing the checks, it returns an HTTP 2xx status code and queries the NAT IP address information.
24
- self.dry_run = dry_run
25
- # The ID of the NAT IP address instance to be queried.
26
- #
27
- # This parameter is required.
28
- self.nat_ip_id = nat_ip_id
29
- self.owner_account = owner_account
30
- self.owner_id = owner_id
31
- # The region ID of the NAT gateway instance to which the NAT IP address to be queried belongs. You can obtain the region ID by calling the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) interface.
32
- #
33
- # This parameter is required.
34
- self.region_id = region_id
35
- self.resource_owner_account = resource_owner_account
36
- self.resource_owner_id = resource_owner_id
37
-
38
- def validate(self):
39
- pass
40
-
41
- def to_map(self):
42
- result = dict()
43
- _map = super().to_map()
44
- if _map is not None:
45
- result = _map
46
- if self.client_token is not None:
47
- result['ClientToken'] = self.client_token
48
-
49
- if self.dry_run is not None:
50
- result['DryRun'] = self.dry_run
51
-
52
- if self.nat_ip_id is not None:
53
- result['NatIpId'] = self.nat_ip_id
54
-
55
- if self.owner_account is not None:
56
- result['OwnerAccount'] = self.owner_account
57
-
58
- if self.owner_id is not None:
59
- result['OwnerId'] = self.owner_id
60
-
61
- if self.region_id is not None:
62
- result['RegionId'] = self.region_id
63
-
64
- if self.resource_owner_account is not None:
65
- result['ResourceOwnerAccount'] = self.resource_owner_account
66
-
67
- if self.resource_owner_id is not None:
68
- result['ResourceOwnerId'] = self.resource_owner_id
69
-
70
- return result
71
-
72
- def from_map(self, m: dict = None):
73
- m = m or dict()
74
- if m.get('ClientToken') is not None:
75
- self.client_token = m.get('ClientToken')
76
-
77
- if m.get('DryRun') is not None:
78
- self.dry_run = m.get('DryRun')
79
-
80
- if m.get('NatIpId') is not None:
81
- self.nat_ip_id = m.get('NatIpId')
82
-
83
- if m.get('OwnerAccount') is not None:
84
- self.owner_account = m.get('OwnerAccount')
85
-
86
- if m.get('OwnerId') is not None:
87
- self.owner_id = m.get('OwnerId')
88
-
89
- if m.get('RegionId') is not None:
90
- self.region_id = m.get('RegionId')
91
-
92
- if m.get('ResourceOwnerAccount') is not None:
93
- self.resource_owner_account = m.get('ResourceOwnerAccount')
94
-
95
- if m.get('ResourceOwnerId') is not None:
96
- self.resource_owner_id = m.get('ResourceOwnerId')
97
-
98
- return self
99
-
@@ -1,54 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from typing import Dict
6
-
7
- from alibabacloud_vpc20160428 import models as main_models
8
- from darabonba.model import DaraModel
9
-
10
- class GetNatIpAttributeResponse(DaraModel):
11
- def __init__(
12
- self,
13
- headers: Dict[str, str] = None,
14
- status_code: int = None,
15
- body: main_models.GetNatIpAttributeResponseBody = None,
16
- ):
17
- self.headers = headers
18
- self.status_code = status_code
19
- self.body = body
20
-
21
- def validate(self):
22
- if self.body:
23
- self.body.validate()
24
-
25
- def to_map(self):
26
- result = dict()
27
- _map = super().to_map()
28
- if _map is not None:
29
- result = _map
30
- if self.headers is not None:
31
- result['headers'] = self.headers
32
-
33
- if self.status_code is not None:
34
- result['statusCode'] = self.status_code
35
-
36
- if self.body is not None:
37
- result['body'] = self.body.to_map()
38
-
39
- return result
40
-
41
- def from_map(self, m: dict = None):
42
- m = m or dict()
43
- if m.get('headers') is not None:
44
- self.headers = m.get('headers')
45
-
46
- if m.get('statusCode') is not None:
47
- self.status_code = m.get('statusCode')
48
-
49
- if m.get('body') is not None:
50
- temp_model = main_models.GetNatIpAttributeResponseBody()
51
- self.body = temp_model.from_map(m.get('body'))
52
-
53
- return self
54
-
@@ -1,109 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from darabonba.model import DaraModel
6
-
7
- class GetNatIpAttributeResponseBody(DaraModel):
8
- def __init__(
9
- self,
10
- creation_time: str = None,
11
- nat_gateway_id: str = None,
12
- nat_ip: str = None,
13
- nat_ip_cidr: str = None,
14
- nat_ip_description: str = None,
15
- nat_ip_id: str = None,
16
- nat_ip_name: str = None,
17
- nat_ip_status: str = None,
18
- request_id: str = None,
19
- ):
20
- # The creation time of the queried NAT IP address.
21
- self.creation_time = creation_time
22
- # The ID of the VPC NAT gateway instance to which the queried NAT IP address belongs.
23
- self.nat_gateway_id = nat_gateway_id
24
- # The queried NAT IP address.
25
- self.nat_ip = nat_ip
26
- # The address range where the queried NAT IP address is located.
27
- self.nat_ip_cidr = nat_ip_cidr
28
- # Description of the queried NAT IP address.
29
- self.nat_ip_description = nat_ip_description
30
- # The ID of the queried NAT IP address instance.
31
- self.nat_ip_id = nat_ip_id
32
- # Name of the queried NAT IP address.
33
- self.nat_ip_name = nat_ip_name
34
- # The status of the queried NAT IP address. Values:
35
- # - **Available**: Available.
36
- # - **Deleting**: Deleting.
37
- # - **Creating**: Creating.
38
- self.nat_ip_status = nat_ip_status
39
- # Request ID.
40
- self.request_id = request_id
41
-
42
- def validate(self):
43
- pass
44
-
45
- def to_map(self):
46
- result = dict()
47
- _map = super().to_map()
48
- if _map is not None:
49
- result = _map
50
- if self.creation_time is not None:
51
- result['CreationTime'] = self.creation_time
52
-
53
- if self.nat_gateway_id is not None:
54
- result['NatGatewayId'] = self.nat_gateway_id
55
-
56
- if self.nat_ip is not None:
57
- result['NatIp'] = self.nat_ip
58
-
59
- if self.nat_ip_cidr is not None:
60
- result['NatIpCidr'] = self.nat_ip_cidr
61
-
62
- if self.nat_ip_description is not None:
63
- result['NatIpDescription'] = self.nat_ip_description
64
-
65
- if self.nat_ip_id is not None:
66
- result['NatIpId'] = self.nat_ip_id
67
-
68
- if self.nat_ip_name is not None:
69
- result['NatIpName'] = self.nat_ip_name
70
-
71
- if self.nat_ip_status is not None:
72
- result['NatIpStatus'] = self.nat_ip_status
73
-
74
- if self.request_id is not None:
75
- result['RequestId'] = self.request_id
76
-
77
- return result
78
-
79
- def from_map(self, m: dict = None):
80
- m = m or dict()
81
- if m.get('CreationTime') is not None:
82
- self.creation_time = m.get('CreationTime')
83
-
84
- if m.get('NatGatewayId') is not None:
85
- self.nat_gateway_id = m.get('NatGatewayId')
86
-
87
- if m.get('NatIp') is not None:
88
- self.nat_ip = m.get('NatIp')
89
-
90
- if m.get('NatIpCidr') is not None:
91
- self.nat_ip_cidr = m.get('NatIpCidr')
92
-
93
- if m.get('NatIpDescription') is not None:
94
- self.nat_ip_description = m.get('NatIpDescription')
95
-
96
- if m.get('NatIpId') is not None:
97
- self.nat_ip_id = m.get('NatIpId')
98
-
99
- if m.get('NatIpName') is not None:
100
- self.nat_ip_name = m.get('NatIpName')
101
-
102
- if m.get('NatIpStatus') is not None:
103
- self.nat_ip_status = m.get('NatIpStatus')
104
-
105
- if m.get('RequestId') is not None:
106
- self.request_id = m.get('RequestId')
107
-
108
- return self
109
-
@@ -1,111 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from darabonba.model import DaraModel
6
-
7
- class GetNatIpCidrAttributeRequest(DaraModel):
8
- def __init__(
9
- self,
10
- client_token: str = None,
11
- dry_run: bool = None,
12
- nat_gateway_id: str = None,
13
- nat_ip_cidr: str = None,
14
- owner_account: str = None,
15
- owner_id: int = None,
16
- region_id: str = None,
17
- resource_owner_account: str = None,
18
- resource_owner_id: int = None,
19
- ):
20
- # Client Token, used to ensure the idempotence of requests. Generate a unique value for this parameter from your client, ensuring it is unique across different requests. ClientToken only supports ASCII characters.
21
- # > If not specified, the system automatically uses the RequestId of the API request as the ClientToken identifier. The RequestId is different for each API request.
22
- self.client_token = client_token
23
- # Whether to perform a dry run of this request. Values:
24
- # - true: Sends a check request. The checks include whether the AccessKey is valid, the RAM user\\"s authorization status, and if all required parameters are filled out. If any check fails, the corresponding error is returned. If all checks pass, an error code DryRunOperation is returned.
25
- # - false (default): Sends a normal request. After passing the checks, a 2xx HTTP status code is returned.
26
- self.dry_run = dry_run
27
- # The ID of the VPC NAT gateway instance to which the queried NAT IP address range belongs.
28
- #
29
- # This parameter is required.
30
- self.nat_gateway_id = nat_gateway_id
31
- # The NAT IP address range to be queried.
32
- #
33
- # This parameter is required.
34
- self.nat_ip_cidr = nat_ip_cidr
35
- self.owner_account = owner_account
36
- self.owner_id = owner_id
37
- # The region ID of the NAT gateway instance to which the NAT IP address range to be queried belongs. You can obtain the region ID by calling the DescribeRegions interface.
38
- #
39
- # This parameter is required.
40
- self.region_id = region_id
41
- self.resource_owner_account = resource_owner_account
42
- self.resource_owner_id = resource_owner_id
43
-
44
- def validate(self):
45
- pass
46
-
47
- def to_map(self):
48
- result = dict()
49
- _map = super().to_map()
50
- if _map is not None:
51
- result = _map
52
- if self.client_token is not None:
53
- result['ClientToken'] = self.client_token
54
-
55
- if self.dry_run is not None:
56
- result['DryRun'] = self.dry_run
57
-
58
- if self.nat_gateway_id is not None:
59
- result['NatGatewayId'] = self.nat_gateway_id
60
-
61
- if self.nat_ip_cidr is not None:
62
- result['NatIpCidr'] = self.nat_ip_cidr
63
-
64
- if self.owner_account is not None:
65
- result['OwnerAccount'] = self.owner_account
66
-
67
- if self.owner_id is not None:
68
- result['OwnerId'] = self.owner_id
69
-
70
- if self.region_id is not None:
71
- result['RegionId'] = self.region_id
72
-
73
- if self.resource_owner_account is not None:
74
- result['ResourceOwnerAccount'] = self.resource_owner_account
75
-
76
- if self.resource_owner_id is not None:
77
- result['ResourceOwnerId'] = self.resource_owner_id
78
-
79
- return result
80
-
81
- def from_map(self, m: dict = None):
82
- m = m or dict()
83
- if m.get('ClientToken') is not None:
84
- self.client_token = m.get('ClientToken')
85
-
86
- if m.get('DryRun') is not None:
87
- self.dry_run = m.get('DryRun')
88
-
89
- if m.get('NatGatewayId') is not None:
90
- self.nat_gateway_id = m.get('NatGatewayId')
91
-
92
- if m.get('NatIpCidr') is not None:
93
- self.nat_ip_cidr = m.get('NatIpCidr')
94
-
95
- if m.get('OwnerAccount') is not None:
96
- self.owner_account = m.get('OwnerAccount')
97
-
98
- if m.get('OwnerId') is not None:
99
- self.owner_id = m.get('OwnerId')
100
-
101
- if m.get('RegionId') is not None:
102
- self.region_id = m.get('RegionId')
103
-
104
- if m.get('ResourceOwnerAccount') is not None:
105
- self.resource_owner_account = m.get('ResourceOwnerAccount')
106
-
107
- if m.get('ResourceOwnerId') is not None:
108
- self.resource_owner_id = m.get('ResourceOwnerId')
109
-
110
- return self
111
-
@@ -1,54 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # This file is auto-generated, don't edit it. Thanks.
3
- from __future__ import annotations
4
-
5
- from typing import Dict
6
-
7
- from alibabacloud_vpc20160428 import models as main_models
8
- from darabonba.model import DaraModel
9
-
10
- class GetNatIpCidrAttributeResponse(DaraModel):
11
- def __init__(
12
- self,
13
- headers: Dict[str, str] = None,
14
- status_code: int = None,
15
- body: main_models.GetNatIpCidrAttributeResponseBody = None,
16
- ):
17
- self.headers = headers
18
- self.status_code = status_code
19
- self.body = body
20
-
21
- def validate(self):
22
- if self.body:
23
- self.body.validate()
24
-
25
- def to_map(self):
26
- result = dict()
27
- _map = super().to_map()
28
- if _map is not None:
29
- result = _map
30
- if self.headers is not None:
31
- result['headers'] = self.headers
32
-
33
- if self.status_code is not None:
34
- result['statusCode'] = self.status_code
35
-
36
- if self.body is not None:
37
- result['body'] = self.body.to_map()
38
-
39
- return result
40
-
41
- def from_map(self, m: dict = None):
42
- m = m or dict()
43
- if m.get('headers') is not None:
44
- self.headers = m.get('headers')
45
-
46
- if m.get('statusCode') is not None:
47
- self.status_code = m.get('statusCode')
48
-
49
- if m.get('body') is not None:
50
- temp_model = main_models.GetNatIpCidrAttributeResponseBody()
51
- self.body = temp_model.from_map(m.get('body'))
52
-
53
- return self
54
-