From f965075c51b89aa91ac73b1792d6d42d27c9ad4c Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 12 May 2022 09:45:05 +0000 Subject: [PATCH] Support API DeleteImage. --- ChangeLog.txt | 3 + client/client.go | 1789 +++++++++++++++++++++++++++++++++++++--------- 2 files changed, 1450 insertions(+), 342 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 8222628..b78ea6a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2022-05-12 Version: v3.0.3 +- Support API DeleteImage. + 2022-04-08 Version: v3.0.2 - Support API CreateInstance Use Param PasswordInherit. diff --git a/client/client.go b/client/client.go index 053e70f..ce3d809 100644 --- a/client/client.go +++ b/client/client.go @@ -637,8 +637,9 @@ func (s *AddBackendServersResponseBodyBackendServersBackendServer) SetWeight(v i } type AddBackendServersResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AddBackendServersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AddBackendServersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AddBackendServersResponse) String() string { @@ -654,6 +655,11 @@ func (s *AddBackendServersResponse) SetHeaders(v map[string]*string) *AddBackend return s } +func (s *AddBackendServersResponse) SetStatusCode(v int32) *AddBackendServersResponse { + s.StatusCode = &v + return s +} + func (s *AddBackendServersResponse) SetBody(v *AddBackendServersResponseBody) *AddBackendServersResponse { s.Body = v return s @@ -733,8 +739,9 @@ func (s *AddDeviceInternetPortResponseBody) SetRuleIds(v []*string) *AddDeviceIn } type AddDeviceInternetPortResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AddDeviceInternetPortResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AddDeviceInternetPortResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AddDeviceInternetPortResponse) String() string { @@ -750,6 +757,11 @@ func (s *AddDeviceInternetPortResponse) SetHeaders(v map[string]*string) *AddDev return s } +func (s *AddDeviceInternetPortResponse) SetStatusCode(v int32) *AddDeviceInternetPortResponse { + s.StatusCode = &v + return s +} + func (s *AddDeviceInternetPortResponse) SetBody(v *AddDeviceInternetPortResponseBody) *AddDeviceInternetPortResponse { s.Body = v return s @@ -802,8 +814,9 @@ func (s *AddNetworkInterfaceToInstanceResponseBody) SetRequestId(v string) *AddN } type AddNetworkInterfaceToInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AddNetworkInterfaceToInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AddNetworkInterfaceToInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AddNetworkInterfaceToInstanceResponse) String() string { @@ -819,6 +832,11 @@ func (s *AddNetworkInterfaceToInstanceResponse) SetHeaders(v map[string]*string) return s } +func (s *AddNetworkInterfaceToInstanceResponse) SetStatusCode(v int32) *AddNetworkInterfaceToInstanceResponse { + s.StatusCode = &v + return s +} + func (s *AddNetworkInterfaceToInstanceResponse) SetBody(v *AddNetworkInterfaceToInstanceResponseBody) *AddNetworkInterfaceToInstanceResponse { s.Body = v return s @@ -872,8 +890,9 @@ func (s *AssociateEnsEipAddressResponseBody) SetRequestId(v string) *AssociateEn } type AssociateEnsEipAddressResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AssociateEnsEipAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AssociateEnsEipAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AssociateEnsEipAddressResponse) String() string { @@ -889,6 +908,11 @@ func (s *AssociateEnsEipAddressResponse) SetHeaders(v map[string]*string) *Assoc return s } +func (s *AssociateEnsEipAddressResponse) SetStatusCode(v int32) *AssociateEnsEipAddressResponse { + s.StatusCode = &v + return s +} + func (s *AssociateEnsEipAddressResponse) SetBody(v *AssociateEnsEipAddressResponseBody) *AssociateEnsEipAddressResponse { s.Body = v return s @@ -947,8 +971,9 @@ func (s *AttachDiskResponseBody) SetRequestId(v string) *AttachDiskResponseBody } type AttachDiskResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AttachDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AttachDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AttachDiskResponse) String() string { @@ -964,6 +989,11 @@ func (s *AttachDiskResponse) SetHeaders(v map[string]*string) *AttachDiskRespons return s } +func (s *AttachDiskResponse) SetStatusCode(v int32) *AttachDiskResponse { + s.StatusCode = &v + return s +} + func (s *AttachDiskResponse) SetBody(v *AttachDiskResponseBody) *AttachDiskResponse { s.Body = v return s @@ -1016,8 +1046,9 @@ func (s *AttachEnsInstancesResponseBody) SetRequestId(v string) *AttachEnsInstan } type AttachEnsInstancesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AttachEnsInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AttachEnsInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AttachEnsInstancesResponse) String() string { @@ -1033,6 +1064,11 @@ func (s *AttachEnsInstancesResponse) SetHeaders(v map[string]*string) *AttachEns return s } +func (s *AttachEnsInstancesResponse) SetStatusCode(v int32) *AttachEnsInstancesResponse { + s.StatusCode = &v + return s +} + func (s *AttachEnsInstancesResponse) SetBody(v *AttachEnsInstancesResponseBody) *AttachEnsInstancesResponse { s.Body = v return s @@ -1115,8 +1151,9 @@ func (s *AuthorizeSecurityGroupResponseBody) SetRequestId(v string) *AuthorizeSe } type AuthorizeSecurityGroupResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AuthorizeSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AuthorizeSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AuthorizeSecurityGroupResponse) String() string { @@ -1132,6 +1169,11 @@ func (s *AuthorizeSecurityGroupResponse) SetHeaders(v map[string]*string) *Autho return s } +func (s *AuthorizeSecurityGroupResponse) SetStatusCode(v int32) *AuthorizeSecurityGroupResponse { + s.StatusCode = &v + return s +} + func (s *AuthorizeSecurityGroupResponse) SetBody(v *AuthorizeSecurityGroupResponseBody) *AuthorizeSecurityGroupResponse { s.Body = v return s @@ -1214,8 +1256,9 @@ func (s *AuthorizeSecurityGroupEgressResponseBody) SetRequestId(v string) *Autho } type AuthorizeSecurityGroupEgressResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *AuthorizeSecurityGroupEgressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *AuthorizeSecurityGroupEgressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s AuthorizeSecurityGroupEgressResponse) String() string { @@ -1231,6 +1274,11 @@ func (s *AuthorizeSecurityGroupEgressResponse) SetHeaders(v map[string]*string) return s } +func (s *AuthorizeSecurityGroupEgressResponse) SetStatusCode(v int32) *AuthorizeSecurityGroupEgressResponse { + s.StatusCode = &v + return s +} + func (s *AuthorizeSecurityGroupEgressResponse) SetBody(v *AuthorizeSecurityGroupEgressResponseBody) *AuthorizeSecurityGroupEgressResponse { s.Body = v return s @@ -1283,8 +1331,9 @@ func (s *CreateApplicationResponseBody) SetRequestId(v string) *CreateApplicatio } type CreateApplicationResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateApplicationResponse) String() string { @@ -1300,6 +1349,11 @@ func (s *CreateApplicationResponse) SetHeaders(v map[string]*string) *CreateAppl return s } +func (s *CreateApplicationResponse) SetStatusCode(v int32) *CreateApplicationResponse { + s.StatusCode = &v + return s +} + func (s *CreateApplicationResponse) SetBody(v *CreateApplicationResponseBody) *CreateApplicationResponse { s.Body = v return s @@ -1377,8 +1431,9 @@ func (s *CreateDiskResponseBody) SetRequestId(v string) *CreateDiskResponseBody } type CreateDiskResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateDiskResponse) String() string { @@ -1394,6 +1449,11 @@ func (s *CreateDiskResponse) SetHeaders(v map[string]*string) *CreateDiskRespons return s } +func (s *CreateDiskResponse) SetStatusCode(v int32) *CreateDiskResponse { + s.StatusCode = &v + return s +} + func (s *CreateDiskResponse) SetBody(v *CreateDiskResponseBody) *CreateDiskResponse { s.Body = v return s @@ -1478,8 +1538,9 @@ func (s *CreateEipInstanceResponseBody) SetRequestId(v string) *CreateEipInstanc } type CreateEipInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateEipInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateEipInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateEipInstanceResponse) String() string { @@ -1495,6 +1556,11 @@ func (s *CreateEipInstanceResponse) SetHeaders(v map[string]*string) *CreateEipI return s } +func (s *CreateEipInstanceResponse) SetStatusCode(v int32) *CreateEipInstanceResponse { + s.StatusCode = &v + return s +} + func (s *CreateEipInstanceResponse) SetBody(v *CreateEipInstanceResponseBody) *CreateEipInstanceResponse { s.Body = v return s @@ -1579,8 +1645,9 @@ func (s *CreateEnsRouteEntryResponseBody) SetRouteEntryId(v string) *CreateEnsRo } type CreateEnsRouteEntryResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateEnsRouteEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateEnsRouteEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateEnsRouteEntryResponse) String() string { @@ -1596,6 +1663,11 @@ func (s *CreateEnsRouteEntryResponse) SetHeaders(v map[string]*string) *CreateEn return s } +func (s *CreateEnsRouteEntryResponse) SetStatusCode(v int32) *CreateEnsRouteEntryResponse { + s.StatusCode = &v + return s +} + func (s *CreateEnsRouteEntryResponse) SetBody(v *CreateEnsRouteEntryResponseBody) *CreateEnsRouteEntryResponse { s.Body = v return s @@ -1654,8 +1726,9 @@ func (s *CreateEnsServiceResponseBody) SetRequestId(v string) *CreateEnsServiceR } type CreateEnsServiceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateEnsServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateEnsServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateEnsServiceResponse) String() string { @@ -1671,6 +1744,11 @@ func (s *CreateEnsServiceResponse) SetHeaders(v map[string]*string) *CreateEnsSe return s } +func (s *CreateEnsServiceResponse) SetStatusCode(v int32) *CreateEnsServiceResponse { + s.StatusCode = &v + return s +} + func (s *CreateEnsServiceResponse) SetBody(v *CreateEnsServiceResponseBody) *CreateEnsServiceResponse { s.Body = v return s @@ -1741,8 +1819,9 @@ func (s *CreateEpnInstanceResponseBody) SetRequestId(v string) *CreateEpnInstanc } type CreateEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateEpnInstanceResponse) String() string { @@ -1758,6 +1837,11 @@ func (s *CreateEpnInstanceResponse) SetHeaders(v map[string]*string) *CreateEpnI return s } +func (s *CreateEpnInstanceResponse) SetStatusCode(v int32) *CreateEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *CreateEpnInstanceResponse) SetBody(v *CreateEpnInstanceResponseBody) *CreateEpnInstanceResponse { s.Body = v return s @@ -1841,8 +1925,9 @@ func (s *CreateForwardEntryResponseBody) SetRequestId(v string) *CreateForwardEn } type CreateForwardEntryResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateForwardEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateForwardEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateForwardEntryResponse) String() string { @@ -1858,6 +1943,11 @@ func (s *CreateForwardEntryResponse) SetHeaders(v map[string]*string) *CreateFor return s } +func (s *CreateForwardEntryResponse) SetStatusCode(v int32) *CreateForwardEntryResponse { + s.StatusCode = &v + return s +} + func (s *CreateForwardEntryResponse) SetBody(v *CreateForwardEntryResponseBody) *CreateForwardEntryResponse { s.Body = v return s @@ -1929,8 +2019,9 @@ func (s *CreateImageResponseBody) SetRequestId(v string) *CreateImageResponseBod } type CreateImageResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateImageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateImageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateImageResponse) String() string { @@ -1946,6 +2037,11 @@ func (s *CreateImageResponse) SetHeaders(v map[string]*string) *CreateImageRespo return s } +func (s *CreateImageResponse) SetStatusCode(v int32) *CreateImageResponse { + s.StatusCode = &v + return s +} + func (s *CreateImageResponse) SetBody(v *CreateImageResponseBody) *CreateImageResponse { s.Body = v return s @@ -2182,8 +2278,9 @@ func (s *CreateInstanceResponseBodyInstanceIds) SetInstanceId(v []*string) *Crea } type CreateInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateInstanceResponse) String() string { @@ -2199,6 +2296,11 @@ func (s *CreateInstanceResponse) SetHeaders(v map[string]*string) *CreateInstanc return s } +func (s *CreateInstanceResponse) SetStatusCode(v int32) *CreateInstanceResponse { + s.StatusCode = &v + return s +} + func (s *CreateInstanceResponse) SetBody(v *CreateInstanceResponseBody) *CreateInstanceResponse { s.Body = v return s @@ -2269,8 +2371,9 @@ func (s *CreateKeyPairResponseBody) SetRequestId(v string) *CreateKeyPairRespons } type CreateKeyPairResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateKeyPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateKeyPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateKeyPairResponse) String() string { @@ -2286,6 +2389,11 @@ func (s *CreateKeyPairResponse) SetHeaders(v map[string]*string) *CreateKeyPairR return s } +func (s *CreateKeyPairResponse) SetStatusCode(v int32) *CreateKeyPairResponse { + s.StatusCode = &v + return s +} + func (s *CreateKeyPairResponse) SetBody(v *CreateKeyPairResponseBody) *CreateKeyPairResponse { s.Body = v return s @@ -2386,8 +2494,9 @@ func (s *CreateLoadBalancerResponseBody) SetVSwitchId(v string) *CreateLoadBalan } type CreateLoadBalancerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateLoadBalancerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateLoadBalancerResponse) String() string { @@ -2403,6 +2512,11 @@ func (s *CreateLoadBalancerResponse) SetHeaders(v map[string]*string) *CreateLoa return s } +func (s *CreateLoadBalancerResponse) SetStatusCode(v int32) *CreateLoadBalancerResponse { + s.StatusCode = &v + return s +} + func (s *CreateLoadBalancerResponse) SetBody(v *CreateLoadBalancerResponseBody) *CreateLoadBalancerResponse { s.Body = v return s @@ -2570,8 +2684,9 @@ func (s *CreateLoadBalancerHTTPListenerResponseBody) SetRequestId(v string) *Cre } type CreateLoadBalancerHTTPListenerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateLoadBalancerHTTPListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateLoadBalancerHTTPListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateLoadBalancerHTTPListenerResponse) String() string { @@ -2587,6 +2702,11 @@ func (s *CreateLoadBalancerHTTPListenerResponse) SetHeaders(v map[string]*string return s } +func (s *CreateLoadBalancerHTTPListenerResponse) SetStatusCode(v int32) *CreateLoadBalancerHTTPListenerResponse { + s.StatusCode = &v + return s +} + func (s *CreateLoadBalancerHTTPListenerResponse) SetBody(v *CreateLoadBalancerHTTPListenerResponseBody) *CreateLoadBalancerHTTPListenerResponse { s.Body = v return s @@ -2775,8 +2895,9 @@ func (s *CreateLoadBalancerHTTPSListenerResponseBody) SetRequestId(v string) *Cr } type CreateLoadBalancerHTTPSListenerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateLoadBalancerHTTPSListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateLoadBalancerHTTPSListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateLoadBalancerHTTPSListenerResponse) String() string { @@ -2792,6 +2913,11 @@ func (s *CreateLoadBalancerHTTPSListenerResponse) SetHeaders(v map[string]*strin return s } +func (s *CreateLoadBalancerHTTPSListenerResponse) SetStatusCode(v int32) *CreateLoadBalancerHTTPSListenerResponse { + s.StatusCode = &v + return s +} + func (s *CreateLoadBalancerHTTPSListenerResponse) SetBody(v *CreateLoadBalancerHTTPSListenerResponseBody) *CreateLoadBalancerHTTPSListenerResponse { s.Body = v return s @@ -2945,8 +3071,9 @@ func (s *CreateLoadBalancerTCPListenerResponseBody) SetRequestId(v string) *Crea } type CreateLoadBalancerTCPListenerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateLoadBalancerTCPListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateLoadBalancerTCPListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateLoadBalancerTCPListenerResponse) String() string { @@ -2962,6 +3089,11 @@ func (s *CreateLoadBalancerTCPListenerResponse) SetHeaders(v map[string]*string) return s } +func (s *CreateLoadBalancerTCPListenerResponse) SetStatusCode(v int32) *CreateLoadBalancerTCPListenerResponse { + s.StatusCode = &v + return s +} + func (s *CreateLoadBalancerTCPListenerResponse) SetBody(v *CreateLoadBalancerTCPListenerResponseBody) *CreateLoadBalancerTCPListenerResponse { s.Body = v return s @@ -3087,8 +3219,9 @@ func (s *CreateLoadBalancerUDPListenerResponseBody) SetRequestId(v string) *Crea } type CreateLoadBalancerUDPListenerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateLoadBalancerUDPListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateLoadBalancerUDPListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateLoadBalancerUDPListenerResponse) String() string { @@ -3104,6 +3237,11 @@ func (s *CreateLoadBalancerUDPListenerResponse) SetHeaders(v map[string]*string) return s } +func (s *CreateLoadBalancerUDPListenerResponse) SetStatusCode(v int32) *CreateLoadBalancerUDPListenerResponse { + s.StatusCode = &v + return s +} + func (s *CreateLoadBalancerUDPListenerResponse) SetBody(v *CreateLoadBalancerUDPListenerResponseBody) *CreateLoadBalancerUDPListenerResponse { s.Body = v return s @@ -3169,8 +3307,9 @@ func (s *CreateNatGatewayResponseBody) SetRequestId(v string) *CreateNatGatewayR } type CreateNatGatewayResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateNatGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateNatGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateNatGatewayResponse) String() string { @@ -3186,6 +3325,11 @@ func (s *CreateNatGatewayResponse) SetHeaders(v map[string]*string) *CreateNatGa return s } +func (s *CreateNatGatewayResponse) SetStatusCode(v int32) *CreateNatGatewayResponse { + s.StatusCode = &v + return s +} + func (s *CreateNatGatewayResponse) SetBody(v *CreateNatGatewayResponseBody) *CreateNatGatewayResponse { s.Body = v return s @@ -3251,8 +3395,9 @@ func (s *CreateNetworkResponseBody) SetRequestId(v string) *CreateNetworkRespons } type CreateNetworkResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateNetworkResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateNetworkResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateNetworkResponse) String() string { @@ -3268,6 +3413,11 @@ func (s *CreateNetworkResponse) SetHeaders(v map[string]*string) *CreateNetworkR return s } +func (s *CreateNetworkResponse) SetStatusCode(v int32) *CreateNetworkResponse { + s.StatusCode = &v + return s +} + func (s *CreateNetworkResponse) SetBody(v *CreateNetworkResponseBody) *CreateNetworkResponse { s.Body = v return s @@ -3326,8 +3476,9 @@ func (s *CreateSecurityGroupResponseBody) SetSecurityGroupId(v string) *CreateSe } type CreateSecurityGroupResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateSecurityGroupResponse) String() string { @@ -3343,6 +3494,11 @@ func (s *CreateSecurityGroupResponse) SetHeaders(v map[string]*string) *CreateSe return s } +func (s *CreateSecurityGroupResponse) SetStatusCode(v int32) *CreateSecurityGroupResponse { + s.StatusCode = &v + return s +} + func (s *CreateSecurityGroupResponse) SetBody(v *CreateSecurityGroupResponseBody) *CreateSecurityGroupResponse { s.Body = v return s @@ -3414,8 +3570,9 @@ func (s *CreateSnatEntryResponseBody) SetSnatEntryId(v string) *CreateSnatEntryR } type CreateSnatEntryResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateSnatEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateSnatEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateSnatEntryResponse) String() string { @@ -3431,6 +3588,11 @@ func (s *CreateSnatEntryResponse) SetHeaders(v map[string]*string) *CreateSnatEn return s } +func (s *CreateSnatEntryResponse) SetStatusCode(v int32) *CreateSnatEntryResponse { + s.StatusCode = &v + return s +} + func (s *CreateSnatEntryResponse) SetBody(v *CreateSnatEntryResponseBody) *CreateSnatEntryResponse { s.Body = v return s @@ -3507,8 +3669,9 @@ func (s *CreateVSwitchResponseBody) SetVSwitchId(v string) *CreateVSwitchRespons } type CreateVSwitchResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *CreateVSwitchResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *CreateVSwitchResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s CreateVSwitchResponse) String() string { @@ -3524,6 +3687,11 @@ func (s *CreateVSwitchResponse) SetHeaders(v map[string]*string) *CreateVSwitchR return s } +func (s *CreateVSwitchResponse) SetStatusCode(v int32) *CreateVSwitchResponse { + s.StatusCode = &v + return s +} + func (s *CreateVSwitchResponse) SetBody(v *CreateVSwitchResponseBody) *CreateVSwitchResponse { s.Body = v return s @@ -3570,8 +3738,9 @@ func (s *DeleteApplicationResponseBody) SetRequestId(v string) *DeleteApplicatio } type DeleteApplicationResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteApplicationResponse) String() string { @@ -3587,6 +3756,11 @@ func (s *DeleteApplicationResponse) SetHeaders(v map[string]*string) *DeleteAppl return s } +func (s *DeleteApplicationResponse) SetStatusCode(v int32) *DeleteApplicationResponse { + s.StatusCode = &v + return s +} + func (s *DeleteApplicationResponse) SetBody(v *DeleteApplicationResponseBody) *DeleteApplicationResponse { s.Body = v return s @@ -3650,8 +3824,9 @@ func (s *DeleteDeviceInternetPortResponseBody) SetRuleIds(v []*string) *DeleteDe } type DeleteDeviceInternetPortResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteDeviceInternetPortResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteDeviceInternetPortResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteDeviceInternetPortResponse) String() string { @@ -3667,6 +3842,11 @@ func (s *DeleteDeviceInternetPortResponse) SetHeaders(v map[string]*string) *Del return s } +func (s *DeleteDeviceInternetPortResponse) SetStatusCode(v int32) *DeleteDeviceInternetPortResponse { + s.StatusCode = &v + return s +} + func (s *DeleteDeviceInternetPortResponse) SetBody(v *DeleteDeviceInternetPortResponseBody) *DeleteDeviceInternetPortResponse { s.Body = v return s @@ -3709,8 +3889,9 @@ func (s *DeleteEnsRouteEntryResponseBody) SetRequestId(v string) *DeleteEnsRoute } type DeleteEnsRouteEntryResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteEnsRouteEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteEnsRouteEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteEnsRouteEntryResponse) String() string { @@ -3726,6 +3907,11 @@ func (s *DeleteEnsRouteEntryResponse) SetHeaders(v map[string]*string) *DeleteEn return s } +func (s *DeleteEnsRouteEntryResponse) SetStatusCode(v int32) *DeleteEnsRouteEntryResponse { + s.StatusCode = &v + return s +} + func (s *DeleteEnsRouteEntryResponse) SetBody(v *DeleteEnsRouteEntryResponseBody) *DeleteEnsRouteEntryResponse { s.Body = v return s @@ -3766,8 +3952,9 @@ func (s *DeleteEpnInstanceResponseBody) SetRequestId(v string) *DeleteEpnInstanc } type DeleteEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteEpnInstanceResponse) String() string { @@ -3783,6 +3970,11 @@ func (s *DeleteEpnInstanceResponse) SetHeaders(v map[string]*string) *DeleteEpnI return s } +func (s *DeleteEpnInstanceResponse) SetStatusCode(v int32) *DeleteEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *DeleteEpnInstanceResponse) SetBody(v *DeleteEpnInstanceResponseBody) *DeleteEpnInstanceResponse { s.Body = v return s @@ -3824,8 +4016,9 @@ func (s *DeleteForwardEntryResponseBody) SetRequestId(v string) *DeleteForwardEn } type DeleteForwardEntryResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteForwardEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteForwardEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteForwardEntryResponse) String() string { @@ -3841,11 +4034,85 @@ func (s *DeleteForwardEntryResponse) SetHeaders(v map[string]*string) *DeleteFor return s } +func (s *DeleteForwardEntryResponse) SetStatusCode(v int32) *DeleteForwardEntryResponse { + s.StatusCode = &v + return s +} + func (s *DeleteForwardEntryResponse) SetBody(v *DeleteForwardEntryResponseBody) *DeleteForwardEntryResponse { s.Body = v return s } +type DeleteImageRequest struct { + ImageId *string `json:"ImageId,omitempty" xml:"ImageId,omitempty"` +} + +func (s DeleteImageRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteImageRequest) GoString() string { + return s.String() +} + +func (s *DeleteImageRequest) SetImageId(v string) *DeleteImageRequest { + s.ImageId = &v + return s +} + +type DeleteImageResponseBody struct { + Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` +} + +func (s DeleteImageResponseBody) String() string { + return tea.Prettify(s) +} + +func (s DeleteImageResponseBody) GoString() string { + return s.String() +} + +func (s *DeleteImageResponseBody) SetCode(v int32) *DeleteImageResponseBody { + s.Code = &v + return s +} + +func (s *DeleteImageResponseBody) SetRequestId(v string) *DeleteImageResponseBody { + s.RequestId = &v + return s +} + +type DeleteImageResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteImageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` +} + +func (s DeleteImageResponse) String() string { + return tea.Prettify(s) +} + +func (s DeleteImageResponse) GoString() string { + return s.String() +} + +func (s *DeleteImageResponse) SetHeaders(v map[string]*string) *DeleteImageResponse { + s.Headers = v + return s +} + +func (s *DeleteImageResponse) SetStatusCode(v int32) *DeleteImageResponse { + s.StatusCode = &v + return s +} + +func (s *DeleteImageResponse) SetBody(v *DeleteImageResponseBody) *DeleteImageResponse { + s.Body = v + return s +} + type DeleteKeyPairsRequest struct { KeyPairName *string `json:"KeyPairName,omitempty" xml:"KeyPairName,omitempty"` Version *string `json:"Version,omitempty" xml:"Version,omitempty"` @@ -3887,8 +4154,9 @@ func (s *DeleteKeyPairsResponseBody) SetRequestId(v string) *DeleteKeyPairsRespo } type DeleteKeyPairsResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteKeyPairsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteKeyPairsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteKeyPairsResponse) String() string { @@ -3904,14 +4172,20 @@ func (s *DeleteKeyPairsResponse) SetHeaders(v map[string]*string) *DeleteKeyPair return s } +func (s *DeleteKeyPairsResponse) SetStatusCode(v int32) *DeleteKeyPairsResponse { + s.StatusCode = &v + return s +} + func (s *DeleteKeyPairsResponse) SetBody(v *DeleteKeyPairsResponseBody) *DeleteKeyPairsResponse { s.Body = v return s } type DeleteLoadBalancerListenerRequest struct { - ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"` - LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"` + ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"` + ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"` + LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"` } func (s DeleteLoadBalancerListenerRequest) String() string { @@ -3927,6 +4201,11 @@ func (s *DeleteLoadBalancerListenerRequest) SetListenerPort(v int32) *DeleteLoad return s } +func (s *DeleteLoadBalancerListenerRequest) SetListenerProtocol(v string) *DeleteLoadBalancerListenerRequest { + s.ListenerProtocol = &v + return s +} + func (s *DeleteLoadBalancerListenerRequest) SetLoadBalancerId(v string) *DeleteLoadBalancerListenerRequest { s.LoadBalancerId = &v return s @@ -3951,8 +4230,9 @@ func (s *DeleteLoadBalancerListenerResponseBody) SetRequestId(v string) *DeleteL } type DeleteLoadBalancerListenerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteLoadBalancerListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteLoadBalancerListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteLoadBalancerListenerResponse) String() string { @@ -3968,6 +4248,11 @@ func (s *DeleteLoadBalancerListenerResponse) SetHeaders(v map[string]*string) *D return s } +func (s *DeleteLoadBalancerListenerResponse) SetStatusCode(v int32) *DeleteLoadBalancerListenerResponse { + s.StatusCode = &v + return s +} + func (s *DeleteLoadBalancerListenerResponse) SetBody(v *DeleteLoadBalancerListenerResponseBody) *DeleteLoadBalancerListenerResponse { s.Body = v return s @@ -4009,8 +4294,9 @@ func (s *DeleteNatGatewayResponseBody) SetRequestId(v string) *DeleteNatGatewayR } type DeleteNatGatewayResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteNatGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteNatGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteNatGatewayResponse) String() string { @@ -4026,6 +4312,11 @@ func (s *DeleteNatGatewayResponse) SetHeaders(v map[string]*string) *DeleteNatGa return s } +func (s *DeleteNatGatewayResponse) SetStatusCode(v int32) *DeleteNatGatewayResponse { + s.StatusCode = &v + return s +} + func (s *DeleteNatGatewayResponse) SetBody(v *DeleteNatGatewayResponseBody) *DeleteNatGatewayResponse { s.Body = v return s @@ -4067,8 +4358,9 @@ func (s *DeleteNetworkResponseBody) SetRequestId(v string) *DeleteNetworkRespons } type DeleteNetworkResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteNetworkResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteNetworkResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteNetworkResponse) String() string { @@ -4084,6 +4376,11 @@ func (s *DeleteNetworkResponse) SetHeaders(v map[string]*string) *DeleteNetworkR return s } +func (s *DeleteNetworkResponse) SetStatusCode(v int32) *DeleteNetworkResponse { + s.StatusCode = &v + return s +} + func (s *DeleteNetworkResponse) SetBody(v *DeleteNetworkResponseBody) *DeleteNetworkResponse { s.Body = v return s @@ -4130,8 +4427,9 @@ func (s *DeleteSecurityGroupResponseBody) SetRequestId(v string) *DeleteSecurity } type DeleteSecurityGroupResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteSecurityGroupResponse) String() string { @@ -4147,6 +4445,11 @@ func (s *DeleteSecurityGroupResponse) SetHeaders(v map[string]*string) *DeleteSe return s } +func (s *DeleteSecurityGroupResponse) SetStatusCode(v int32) *DeleteSecurityGroupResponse { + s.StatusCode = &v + return s +} + func (s *DeleteSecurityGroupResponse) SetBody(v *DeleteSecurityGroupResponseBody) *DeleteSecurityGroupResponse { s.Body = v return s @@ -4188,8 +4491,9 @@ func (s *DeleteSnatEntryResponseBody) SetRequestId(v string) *DeleteSnatEntryRes } type DeleteSnatEntryResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteSnatEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteSnatEntryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteSnatEntryResponse) String() string { @@ -4205,6 +4509,11 @@ func (s *DeleteSnatEntryResponse) SetHeaders(v map[string]*string) *DeleteSnatEn return s } +func (s *DeleteSnatEntryResponse) SetStatusCode(v int32) *DeleteSnatEntryResponse { + s.StatusCode = &v + return s +} + func (s *DeleteSnatEntryResponse) SetBody(v *DeleteSnatEntryResponseBody) *DeleteSnatEntryResponse { s.Body = v return s @@ -4251,8 +4560,9 @@ func (s *DeleteVSwitchResponseBody) SetRequestId(v string) *DeleteVSwitchRespons } type DeleteVSwitchResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DeleteVSwitchResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DeleteVSwitchResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DeleteVSwitchResponse) String() string { @@ -4268,6 +4578,11 @@ func (s *DeleteVSwitchResponse) SetHeaders(v map[string]*string) *DeleteVSwitchR return s } +func (s *DeleteVSwitchResponse) SetStatusCode(v int32) *DeleteVSwitchResponse { + s.StatusCode = &v + return s +} + func (s *DeleteVSwitchResponse) SetBody(v *DeleteVSwitchResponseBody) *DeleteVSwitchResponse { s.Body = v return s @@ -4332,8 +4647,9 @@ func (s *DescribeApplicationResponseBody) SetRequestId(v string) *DescribeApplic } type DescribeApplicationResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeApplicationResponse) String() string { @@ -4349,6 +4665,11 @@ func (s *DescribeApplicationResponse) SetHeaders(v map[string]*string) *Describe return s } +func (s *DescribeApplicationResponse) SetStatusCode(v int32) *DescribeApplicationResponse { + s.StatusCode = &v + return s +} + func (s *DescribeApplicationResponse) SetBody(v *DescribeApplicationResponseBody) *DescribeApplicationResponse { s.Body = v return s @@ -4401,8 +4722,9 @@ func (s *DescribeApplicationResourceSummaryResponseBody) SetRequestId(v string) } type DescribeApplicationResourceSummaryResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeApplicationResourceSummaryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeApplicationResourceSummaryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeApplicationResourceSummaryResponse) String() string { @@ -4418,6 +4740,11 @@ func (s *DescribeApplicationResourceSummaryResponse) SetHeaders(v map[string]*st return s } +func (s *DescribeApplicationResourceSummaryResponse) SetStatusCode(v int32) *DescribeApplicationResourceSummaryResponse { + s.StatusCode = &v + return s +} + func (s *DescribeApplicationResourceSummaryResponse) SetBody(v *DescribeApplicationResourceSummaryResponseBody) *DescribeApplicationResourceSummaryResponse { s.Body = v return s @@ -4574,8 +4901,9 @@ func (s *DescribeAvailableResourceResponseBodySupportResourcesSupportResource) S } type DescribeAvailableResourceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeAvailableResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeAvailableResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeAvailableResourceResponse) String() string { @@ -4591,6 +4919,11 @@ func (s *DescribeAvailableResourceResponse) SetHeaders(v map[string]*string) *De return s } +func (s *DescribeAvailableResourceResponse) SetStatusCode(v int32) *DescribeAvailableResourceResponse { + s.StatusCode = &v + return s +} + func (s *DescribeAvailableResourceResponse) SetBody(v *DescribeAvailableResourceResponseBody) *DescribeAvailableResourceResponse { s.Body = v return s @@ -4874,8 +5207,9 @@ func (s *DescribeAvailableResourceInfoResponseBodySupportResourcesSupportResourc } type DescribeAvailableResourceInfoResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeAvailableResourceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeAvailableResourceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeAvailableResourceInfoResponse) String() string { @@ -4891,6 +5225,11 @@ func (s *DescribeAvailableResourceInfoResponse) SetHeaders(v map[string]*string) return s } +func (s *DescribeAvailableResourceInfoResponse) SetStatusCode(v int32) *DescribeAvailableResourceInfoResponse { + s.StatusCode = &v + return s +} + func (s *DescribeAvailableResourceInfoResponse) SetBody(v *DescribeAvailableResourceInfoResponseBody) *DescribeAvailableResourceInfoResponse { s.Body = v return s @@ -4955,8 +5294,9 @@ func (s *DescribeBandWithdChargeTypeResponseBody) SetRequestId(v string) *Descri } type DescribeBandWithdChargeTypeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeBandWithdChargeTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeBandWithdChargeTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeBandWithdChargeTypeResponse) String() string { @@ -4972,6 +5312,11 @@ func (s *DescribeBandWithdChargeTypeResponse) SetHeaders(v map[string]*string) * return s } +func (s *DescribeBandWithdChargeTypeResponse) SetStatusCode(v int32) *DescribeBandWithdChargeTypeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeBandWithdChargeTypeResponse) SetBody(v *DescribeBandWithdChargeTypeResponseBody) *DescribeBandWithdChargeTypeResponse { s.Body = v return s @@ -5054,8 +5399,9 @@ func (s *DescribeBandwitdhByInternetChargeTypeResponseBody) SetTimeStamp(v strin } type DescribeBandwitdhByInternetChargeTypeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeBandwitdhByInternetChargeTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeBandwitdhByInternetChargeTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeBandwitdhByInternetChargeTypeResponse) String() string { @@ -5071,6 +5417,11 @@ func (s *DescribeBandwitdhByInternetChargeTypeResponse) SetHeaders(v map[string] return s } +func (s *DescribeBandwitdhByInternetChargeTypeResponse) SetStatusCode(v int32) *DescribeBandwitdhByInternetChargeTypeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeBandwitdhByInternetChargeTypeResponse) SetBody(v *DescribeBandwitdhByInternetChargeTypeResponseBody) *DescribeBandwitdhByInternetChargeTypeResponse { s.Body = v return s @@ -5171,8 +5522,9 @@ func (s *DescribeCloudDiskAvailableResourceInfoResponseBodySupportResourcesSuppo } type DescribeCloudDiskAvailableResourceInfoResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeCloudDiskAvailableResourceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeCloudDiskAvailableResourceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeCloudDiskAvailableResourceInfoResponse) String() string { @@ -5188,6 +5540,11 @@ func (s *DescribeCloudDiskAvailableResourceInfoResponse) SetHeaders(v map[string return s } +func (s *DescribeCloudDiskAvailableResourceInfoResponse) SetStatusCode(v int32) *DescribeCloudDiskAvailableResourceInfoResponse { + s.StatusCode = &v + return s +} + func (s *DescribeCloudDiskAvailableResourceInfoResponse) SetBody(v *DescribeCloudDiskAvailableResourceInfoResponseBody) *DescribeCloudDiskAvailableResourceInfoResponse { s.Body = v return s @@ -5275,8 +5632,9 @@ func (s *DescribeCloudDiskTypesResponseBodySupportResourcesSupportResource) SetE } type DescribeCloudDiskTypesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeCloudDiskTypesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeCloudDiskTypesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeCloudDiskTypesResponse) String() string { @@ -5292,6 +5650,11 @@ func (s *DescribeCloudDiskTypesResponse) SetHeaders(v map[string]*string) *Descr return s } +func (s *DescribeCloudDiskTypesResponse) SetStatusCode(v int32) *DescribeCloudDiskTypesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeCloudDiskTypesResponse) SetBody(v *DescribeCloudDiskTypesResponseBody) *DescribeCloudDiskTypesResponse { s.Body = v return s @@ -5367,8 +5730,9 @@ func (s *DescribeCreatePrePaidInstanceResultResponseBodyInstanceCreateResult) Se } type DescribeCreatePrePaidInstanceResultResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeCreatePrePaidInstanceResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeCreatePrePaidInstanceResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeCreatePrePaidInstanceResultResponse) String() string { @@ -5384,6 +5748,11 @@ func (s *DescribeCreatePrePaidInstanceResultResponse) SetHeaders(v map[string]*s return s } +func (s *DescribeCreatePrePaidInstanceResultResponse) SetStatusCode(v int32) *DescribeCreatePrePaidInstanceResultResponse { + s.StatusCode = &v + return s +} + func (s *DescribeCreatePrePaidInstanceResultResponse) SetBody(v *DescribeCreatePrePaidInstanceResultResponseBody) *DescribeCreatePrePaidInstanceResultResponse { s.Body = v return s @@ -5634,8 +6003,9 @@ func (s *DescribeDataDistResultResponseBodyDistResultsDistResultStatusStatsStatu } type DescribeDataDistResultResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeDataDistResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeDataDistResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeDataDistResultResponse) String() string { @@ -5651,6 +6021,11 @@ func (s *DescribeDataDistResultResponse) SetHeaders(v map[string]*string) *Descr return s } +func (s *DescribeDataDistResultResponse) SetStatusCode(v int32) *DescribeDataDistResultResponse { + s.StatusCode = &v + return s +} + func (s *DescribeDataDistResultResponse) SetBody(v *DescribeDataDistResultResponseBody) *DescribeDataDistResultResponse { s.Body = v return s @@ -5785,8 +6160,9 @@ func (s *DescribeDataDownloadURLResponseBodyDataServerList) SetRegionId(v string } type DescribeDataDownloadURLResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeDataDownloadURLResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeDataDownloadURLResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeDataDownloadURLResponse) String() string { @@ -5802,6 +6178,11 @@ func (s *DescribeDataDownloadURLResponse) SetHeaders(v map[string]*string) *Desc return s } +func (s *DescribeDataDownloadURLResponse) SetStatusCode(v int32) *DescribeDataDownloadURLResponse { + s.StatusCode = &v + return s +} + func (s *DescribeDataDownloadURLResponse) SetBody(v *DescribeDataDownloadURLResponseBody) *DescribeDataDownloadURLResponse { s.Body = v return s @@ -6052,8 +6433,9 @@ func (s *DescribeDataPushResultResponseBodyPushResultsPushResultStatusStatSStatu } type DescribeDataPushResultResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeDataPushResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeDataPushResultResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeDataPushResultResponse) String() string { @@ -6069,6 +6451,11 @@ func (s *DescribeDataPushResultResponse) SetHeaders(v map[string]*string) *Descr return s } +func (s *DescribeDataPushResultResponse) SetStatusCode(v int32) *DescribeDataPushResultResponse { + s.StatusCode = &v + return s +} + func (s *DescribeDataPushResultResponse) SetBody(v *DescribeDataPushResultResponseBody) *DescribeDataPushResultResponse { s.Body = v return s @@ -6499,8 +6886,9 @@ func (s *DescribeDeviceServiceResponseBodyResourceInfosPublicIps) SetIp(v string } type DescribeDeviceServiceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeDeviceServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeDeviceServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeDeviceServiceResponse) String() string { @@ -6516,6 +6904,11 @@ func (s *DescribeDeviceServiceResponse) SetHeaders(v map[string]*string) *Descri return s } +func (s *DescribeDeviceServiceResponse) SetStatusCode(v int32) *DescribeDeviceServiceResponse { + s.StatusCode = &v + return s +} + func (s *DescribeDeviceServiceResponse) SetBody(v *DescribeDeviceServiceResponseBody) *DescribeDeviceServiceResponse { s.Body = v return s @@ -6758,8 +7151,9 @@ func (s *DescribeDisksResponseBodyDisksDisks) SetType(v string) *DescribeDisksRe } type DescribeDisksResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeDisksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeDisksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeDisksResponse) String() string { @@ -6775,6 +7169,11 @@ func (s *DescribeDisksResponse) SetHeaders(v map[string]*string) *DescribeDisksR return s } +func (s *DescribeDisksResponse) SetStatusCode(v int32) *DescribeDisksResponse { + s.StatusCode = &v + return s +} + func (s *DescribeDisksResponse) SetBody(v *DescribeDisksResponseBody) *DescribeDisksResponse { s.Body = v return s @@ -6873,8 +7272,9 @@ func (s *DescribeEipAddressesResponseBodyEipAddressesEipAddress) SetInstanceIdIn } type DescribeEipAddressesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEipAddressesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEipAddressesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEipAddressesResponse) String() string { @@ -6890,6 +7290,11 @@ func (s *DescribeEipAddressesResponse) SetHeaders(v map[string]*string) *Describ return s } +func (s *DescribeEipAddressesResponse) SetStatusCode(v int32) *DescribeEipAddressesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEipAddressesResponse) SetBody(v *DescribeEipAddressesResponseBody) *DescribeEipAddressesResponse { s.Body = v return s @@ -6972,8 +7377,9 @@ func (s *DescribeElbAvailableResourceInfoResponseBodyElbAvailableResourceInfo) S } type DescribeElbAvailableResourceInfoResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeElbAvailableResourceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeElbAvailableResourceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeElbAvailableResourceInfoResponse) String() string { @@ -6989,6 +7395,11 @@ func (s *DescribeElbAvailableResourceInfoResponse) SetHeaders(v map[string]*stri return s } +func (s *DescribeElbAvailableResourceInfoResponse) SetStatusCode(v int32) *DescribeElbAvailableResourceInfoResponse { + s.StatusCode = &v + return s +} + func (s *DescribeElbAvailableResourceInfoResponse) SetBody(v *DescribeElbAvailableResourceInfoResponseBody) *DescribeElbAvailableResourceInfoResponse { s.Body = v return s @@ -7201,8 +7612,9 @@ func (s *DescribeEnsEipAddressesResponseBodyEipAddressesEipAddress) SetStatus(v } type DescribeEnsEipAddressesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsEipAddressesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsEipAddressesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsEipAddressesResponse) String() string { @@ -7218,6 +7630,11 @@ func (s *DescribeEnsEipAddressesResponse) SetHeaders(v map[string]*string) *Desc return s } +func (s *DescribeEnsEipAddressesResponse) SetStatusCode(v int32) *DescribeEnsEipAddressesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsEipAddressesResponse) SetBody(v *DescribeEnsEipAddressesResponseBody) *DescribeEnsEipAddressesResponse { s.Body = v return s @@ -7346,8 +7763,9 @@ func (s *DescribeEnsNetDistrictResponseBodyEnsNetDistrictsEnsNetDistrict) SetNet } type DescribeEnsNetDistrictResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsNetDistrictResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsNetDistrictResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsNetDistrictResponse) String() string { @@ -7363,6 +7781,11 @@ func (s *DescribeEnsNetDistrictResponse) SetHeaders(v map[string]*string) *Descr return s } +func (s *DescribeEnsNetDistrictResponse) SetStatusCode(v int32) *DescribeEnsNetDistrictResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsNetDistrictResponse) SetBody(v *DescribeEnsNetDistrictResponseBody) *DescribeEnsNetDistrictResponse { s.Body = v return s @@ -7449,8 +7872,9 @@ func (s *DescribeEnsNetLevelResponseBodyEnsNetLevelsEnsNetLevel) SetEnsNetLevelC } type DescribeEnsNetLevelResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsNetLevelResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsNetLevelResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsNetLevelResponse) String() string { @@ -7466,6 +7890,11 @@ func (s *DescribeEnsNetLevelResponse) SetHeaders(v map[string]*string) *Describe return s } +func (s *DescribeEnsNetLevelResponse) SetStatusCode(v int32) *DescribeEnsNetLevelResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsNetLevelResponse) SetBody(v *DescribeEnsNetLevelResponseBody) *DescribeEnsNetLevelResponse { s.Body = v return s @@ -7600,8 +8029,9 @@ func (s *DescribeEnsNetSaleDistrictResponseBodyEnsNetDistrictsEnsNetDistrict) Se } type DescribeEnsNetSaleDistrictResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsNetSaleDistrictResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsNetSaleDistrictResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsNetSaleDistrictResponse) String() string { @@ -7617,6 +8047,11 @@ func (s *DescribeEnsNetSaleDistrictResponse) SetHeaders(v map[string]*string) *D return s } +func (s *DescribeEnsNetSaleDistrictResponse) SetStatusCode(v int32) *DescribeEnsNetSaleDistrictResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsNetSaleDistrictResponse) SetBody(v *DescribeEnsNetSaleDistrictResponseBody) *DescribeEnsNetSaleDistrictResponse { s.Body = v return s @@ -7692,8 +8127,9 @@ func (s *DescribeEnsRegionIdIpv6InfoResponseBodySupportIpv6Info) SetSupportIpv6( } type DescribeEnsRegionIdIpv6InfoResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsRegionIdIpv6InfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsRegionIdIpv6InfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsRegionIdIpv6InfoResponse) String() string { @@ -7709,6 +8145,11 @@ func (s *DescribeEnsRegionIdIpv6InfoResponse) SetHeaders(v map[string]*string) * return s } +func (s *DescribeEnsRegionIdIpv6InfoResponse) SetStatusCode(v int32) *DescribeEnsRegionIdIpv6InfoResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsRegionIdIpv6InfoResponse) SetBody(v *DescribeEnsRegionIdIpv6InfoResponseBody) *DescribeEnsRegionIdIpv6InfoResponse { s.Body = v return s @@ -7885,8 +8326,9 @@ func (s *DescribeEnsRegionIdResourceResponseBodyEnsRegionIdResourcesEnsRegionIdR } type DescribeEnsRegionIdResourceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsRegionIdResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsRegionIdResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsRegionIdResourceResponse) String() string { @@ -7902,6 +8344,11 @@ func (s *DescribeEnsRegionIdResourceResponse) SetHeaders(v map[string]*string) * return s } +func (s *DescribeEnsRegionIdResourceResponse) SetStatusCode(v int32) *DescribeEnsRegionIdResourceResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsRegionIdResourceResponse) SetBody(v *DescribeEnsRegionIdResourceResponseBody) *DescribeEnsRegionIdResourceResponse { s.Body = v return s @@ -8018,8 +8465,9 @@ func (s *DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions) SetProvince(v strin } type DescribeEnsRegionsResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsRegionsResponse) String() string { @@ -8035,6 +8483,11 @@ func (s *DescribeEnsRegionsResponse) SetHeaders(v map[string]*string) *DescribeE return s } +func (s *DescribeEnsRegionsResponse) SetStatusCode(v int32) *DescribeEnsRegionsResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsRegionsResponse) SetBody(v *DescribeEnsRegionsResponseBody) *DescribeEnsRegionsResponse { s.Body = v return s @@ -8167,8 +8620,9 @@ func (s *DescribeEnsResourceUsageResponseBodyEnsResourceUsage) SetStorageSum(v i } type DescribeEnsResourceUsageResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsResourceUsageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsResourceUsageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsResourceUsageResponse) String() string { @@ -8184,6 +8638,11 @@ func (s *DescribeEnsResourceUsageResponse) SetHeaders(v map[string]*string) *Des return s } +func (s *DescribeEnsResourceUsageResponse) SetStatusCode(v int32) *DescribeEnsResourceUsageResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsResourceUsageResponse) SetBody(v *DescribeEnsResourceUsageResponseBody) *DescribeEnsResourceUsageResponse { s.Body = v return s @@ -8399,8 +8858,9 @@ func (s *DescribeEnsRouteEntryListResponseBodyRouteEntrysNextHops) SetNextHopTyp } type DescribeEnsRouteEntryListResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEnsRouteEntryListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEnsRouteEntryListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEnsRouteEntryListResponse) String() string { @@ -8416,6 +8876,11 @@ func (s *DescribeEnsRouteEntryListResponse) SetHeaders(v map[string]*string) *De return s } +func (s *DescribeEnsRouteEntryListResponse) SetStatusCode(v int32) *DescribeEnsRouteEntryListResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEnsRouteEntryListResponse) SetBody(v *DescribeEnsRouteEntryListResponseBody) *DescribeEnsRouteEntryListResponse { s.Body = v return s @@ -8580,8 +9045,9 @@ func (s *DescribeEpnBandWidthDataResponseBodyMonitorDataBandWidthMonitorData) Se } type DescribeEpnBandWidthDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEpnBandWidthDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEpnBandWidthDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEpnBandWidthDataResponse) String() string { @@ -8597,6 +9063,11 @@ func (s *DescribeEpnBandWidthDataResponse) SetHeaders(v map[string]*string) *Des return s } +func (s *DescribeEpnBandWidthDataResponse) SetStatusCode(v int32) *DescribeEpnBandWidthDataResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEpnBandWidthDataResponse) SetBody(v *DescribeEpnBandWidthDataResponseBody) *DescribeEpnBandWidthDataResponse { s.Body = v return s @@ -8685,8 +9156,9 @@ func (s *DescribeEpnBandwitdhByInternetChargeTypeResponseBody) SetTimeStamp(v st } type DescribeEpnBandwitdhByInternetChargeTypeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEpnBandwitdhByInternetChargeTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEpnBandwitdhByInternetChargeTypeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEpnBandwitdhByInternetChargeTypeResponse) String() string { @@ -8702,6 +9174,11 @@ func (s *DescribeEpnBandwitdhByInternetChargeTypeResponse) SetHeaders(v map[stri return s } +func (s *DescribeEpnBandwitdhByInternetChargeTypeResponse) SetStatusCode(v int32) *DescribeEpnBandwitdhByInternetChargeTypeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEpnBandwitdhByInternetChargeTypeResponse) SetBody(v *DescribeEpnBandwitdhByInternetChargeTypeResponseBody) *DescribeEpnBandwitdhByInternetChargeTypeResponse { s.Body = v return s @@ -8889,8 +9366,9 @@ func (s *DescribeEpnInstanceAttributeResponseBodyVSwitches) SetVSwitchName(v str } type DescribeEpnInstanceAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEpnInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEpnInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEpnInstanceAttributeResponse) String() string { @@ -8906,6 +9384,11 @@ func (s *DescribeEpnInstanceAttributeResponse) SetHeaders(v map[string]*string) return s } +func (s *DescribeEpnInstanceAttributeResponse) SetStatusCode(v int32) *DescribeEpnInstanceAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEpnInstanceAttributeResponse) SetBody(v *DescribeEpnInstanceAttributeResponseBody) *DescribeEpnInstanceAttributeResponse { s.Body = v return s @@ -9076,8 +9559,9 @@ func (s *DescribeEpnInstancesResponseBodyEPNInstancesEPNInstance) SetStatus(v st } type DescribeEpnInstancesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEpnInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEpnInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEpnInstancesResponse) String() string { @@ -9093,6 +9577,11 @@ func (s *DescribeEpnInstancesResponse) SetHeaders(v map[string]*string) *Describ return s } +func (s *DescribeEpnInstancesResponse) SetStatusCode(v int32) *DescribeEpnInstancesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEpnInstancesResponse) SetBody(v *DescribeEpnInstancesResponseBody) *DescribeEpnInstancesResponse { s.Body = v return s @@ -9267,8 +9756,9 @@ func (s *DescribeEpnMeasurementDataResponseBodyMeasurementDatasMeasurementDataBa } type DescribeEpnMeasurementDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeEpnMeasurementDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeEpnMeasurementDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeEpnMeasurementDataResponse) String() string { @@ -9284,6 +9774,11 @@ func (s *DescribeEpnMeasurementDataResponse) SetHeaders(v map[string]*string) *D return s } +func (s *DescribeEpnMeasurementDataResponse) SetStatusCode(v int32) *DescribeEpnMeasurementDataResponse { + s.StatusCode = &v + return s +} + func (s *DescribeEpnMeasurementDataResponse) SetBody(v *DescribeEpnMeasurementDataResponseBody) *DescribeEpnMeasurementDataResponse { s.Body = v return s @@ -9442,8 +9937,9 @@ func (s *DescribeExportImageInfoResponseBodyImagesImage) SetPlatform(v string) * } type DescribeExportImageInfoResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeExportImageInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeExportImageInfoResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeExportImageInfoResponse) String() string { @@ -9459,6 +9955,11 @@ func (s *DescribeExportImageInfoResponse) SetHeaders(v map[string]*string) *Desc return s } +func (s *DescribeExportImageInfoResponse) SetStatusCode(v int32) *DescribeExportImageInfoResponse { + s.StatusCode = &v + return s +} + func (s *DescribeExportImageInfoResponse) SetBody(v *DescribeExportImageInfoResponseBody) *DescribeExportImageInfoResponse { s.Body = v return s @@ -9511,8 +10012,9 @@ func (s *DescribeExportImageStatusResponseBody) SetRequestId(v string) *Describe } type DescribeExportImageStatusResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeExportImageStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeExportImageStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeExportImageStatusResponse) String() string { @@ -9528,6 +10030,11 @@ func (s *DescribeExportImageStatusResponse) SetHeaders(v map[string]*string) *De return s } +func (s *DescribeExportImageStatusResponse) SetStatusCode(v int32) *DescribeExportImageStatusResponse { + s.StatusCode = &v + return s +} + func (s *DescribeExportImageStatusResponse) SetBody(v *DescribeExportImageStatusResponseBody) *DescribeExportImageStatusResponse { s.Body = v return s @@ -9700,8 +10207,9 @@ func (s *DescribeForwardTableEntriesResponseBodyForwardTableEntries) SetStatus(v } type DescribeForwardTableEntriesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeForwardTableEntriesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeForwardTableEntriesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeForwardTableEntriesResponse) String() string { @@ -9717,6 +10225,11 @@ func (s *DescribeForwardTableEntriesResponse) SetHeaders(v map[string]*string) * return s } +func (s *DescribeForwardTableEntriesResponse) SetStatusCode(v int32) *DescribeForwardTableEntriesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeForwardTableEntriesResponse) SetBody(v *DescribeForwardTableEntriesResponseBody) *DescribeForwardTableEntriesResponse { s.Body = v return s @@ -9839,8 +10352,9 @@ func (s *DescribeImageInfosResponseBodyImagesImage) SetOSType(v string) *Describ } type DescribeImageInfosResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeImageInfosResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeImageInfosResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeImageInfosResponse) String() string { @@ -9856,6 +10370,11 @@ func (s *DescribeImageInfosResponse) SetHeaders(v map[string]*string) *DescribeI return s } +func (s *DescribeImageInfosResponse) SetStatusCode(v int32) *DescribeImageInfosResponse { + s.StatusCode = &v + return s +} + func (s *DescribeImageInfosResponse) SetBody(v *DescribeImageInfosResponseBody) *DescribeImageInfosResponse { s.Body = v return s @@ -9961,8 +10480,9 @@ func (s *DescribeImageSharePermissionResponseBodyAccounts) SetAccount(v []*strin } type DescribeImageSharePermissionResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeImageSharePermissionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeImageSharePermissionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeImageSharePermissionResponse) String() string { @@ -9978,6 +10498,11 @@ func (s *DescribeImageSharePermissionResponse) SetHeaders(v map[string]*string) return s } +func (s *DescribeImageSharePermissionResponse) SetStatusCode(v int32) *DescribeImageSharePermissionResponse { + s.StatusCode = &v + return s +} + func (s *DescribeImageSharePermissionResponse) SetBody(v *DescribeImageSharePermissionResponseBody) *DescribeImageSharePermissionResponse { s.Body = v return s @@ -10160,8 +10685,9 @@ func (s *DescribeImagesResponseBodyImagesImage) SetPlatform(v string) *DescribeI } type DescribeImagesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeImagesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeImagesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeImagesResponse) String() string { @@ -10177,6 +10703,11 @@ func (s *DescribeImagesResponse) SetHeaders(v map[string]*string) *DescribeImage return s } +func (s *DescribeImagesResponse) SetStatusCode(v int32) *DescribeImagesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeImagesResponse) SetBody(v *DescribeImagesResponseBody) *DescribeImagesResponse { s.Body = v return s @@ -10287,8 +10818,9 @@ func (s *DescribeInstanceAutoRenewAttributeResponseBodyInstanceRenewAttributesIn } type DescribeInstanceAutoRenewAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeInstanceAutoRenewAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeInstanceAutoRenewAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeInstanceAutoRenewAttributeResponse) String() string { @@ -10304,6 +10836,11 @@ func (s *DescribeInstanceAutoRenewAttributeResponse) SetHeaders(v map[string]*st return s } +func (s *DescribeInstanceAutoRenewAttributeResponse) SetStatusCode(v int32) *DescribeInstanceAutoRenewAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeInstanceAutoRenewAttributeResponse) SetBody(v *DescribeInstanceAutoRenewAttributeResponseBody) *DescribeInstanceAutoRenewAttributeResponse { s.Body = v return s @@ -10426,8 +10963,9 @@ func (s *DescribeInstanceMonitorDataResponseBodyMonitorDataInstanceMonitorData) } type DescribeInstanceMonitorDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeInstanceMonitorDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeInstanceMonitorDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeInstanceMonitorDataResponse) String() string { @@ -10443,6 +10981,11 @@ func (s *DescribeInstanceMonitorDataResponse) SetHeaders(v map[string]*string) * return s } +func (s *DescribeInstanceMonitorDataResponse) SetStatusCode(v int32) *DescribeInstanceMonitorDataResponse { + s.StatusCode = &v + return s +} + func (s *DescribeInstanceMonitorDataResponse) SetBody(v *DescribeInstanceMonitorDataResponseBody) *DescribeInstanceMonitorDataResponse { s.Body = v return s @@ -10571,8 +11114,9 @@ func (s *DescribeInstanceSpecResponseBodyInstanceSpecsInstanceSpec) SetMemory(v } type DescribeInstanceSpecResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeInstanceSpecResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeInstanceSpecResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeInstanceSpecResponse) String() string { @@ -10588,6 +11132,11 @@ func (s *DescribeInstanceSpecResponse) SetHeaders(v map[string]*string) *Describ return s } +func (s *DescribeInstanceSpecResponse) SetStatusCode(v int32) *DescribeInstanceSpecResponse { + s.StatusCode = &v + return s +} + func (s *DescribeInstanceSpecResponse) SetBody(v *DescribeInstanceSpecResponseBody) *DescribeInstanceSpecResponse { s.Body = v return s @@ -10692,8 +11241,9 @@ func (s *DescribeInstanceTypesResponseBodyInstanceTypesInstanceType) SetMemorySi } type DescribeInstanceTypesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeInstanceTypesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeInstanceTypesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeInstanceTypesResponse) String() string { @@ -10709,6 +11259,11 @@ func (s *DescribeInstanceTypesResponse) SetHeaders(v map[string]*string) *Descri return s } +func (s *DescribeInstanceTypesResponse) SetStatusCode(v int32) *DescribeInstanceTypesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeInstanceTypesResponse) SetBody(v *DescribeInstanceTypesResponseBody) *DescribeInstanceTypesResponse { s.Body = v return s @@ -10758,8 +11313,9 @@ func (s *DescribeInstanceVncUrlResponseBody) SetVncUrl(v string) *DescribeInstan } type DescribeInstanceVncUrlResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeInstanceVncUrlResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeInstanceVncUrlResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeInstanceVncUrlResponse) String() string { @@ -10775,6 +11331,11 @@ func (s *DescribeInstanceVncUrlResponse) SetHeaders(v map[string]*string) *Descr return s } +func (s *DescribeInstanceVncUrlResponse) SetStatusCode(v int32) *DescribeInstanceVncUrlResponse { + s.StatusCode = &v + return s +} + func (s *DescribeInstanceVncUrlResponse) SetBody(v *DescribeInstanceVncUrlResponseBody) *DescribeInstanceVncUrlResponse { s.Body = v return s @@ -11443,8 +12004,9 @@ func (s *DescribeInstancesResponseBodyInstancesInstanceSystemDisk) SetUuid(v str } type DescribeInstancesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeInstancesResponse) String() string { @@ -11460,6 +12022,11 @@ func (s *DescribeInstancesResponse) SetHeaders(v map[string]*string) *DescribeIn return s } +func (s *DescribeInstancesResponse) SetStatusCode(v int32) *DescribeInstancesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeInstancesResponse) SetBody(v *DescribeInstancesResponseBody) *DescribeInstancesResponse { s.Body = v return s @@ -11588,8 +12155,9 @@ func (s *DescribeKeyPairsResponseBodyKeyPairsKeyPair) SetKeyPairName(v string) * } type DescribeKeyPairsResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeKeyPairsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeKeyPairsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeKeyPairsResponse) String() string { @@ -11605,6 +12173,11 @@ func (s *DescribeKeyPairsResponse) SetHeaders(v map[string]*string) *DescribeKey return s } +func (s *DescribeKeyPairsResponse) SetStatusCode(v int32) *DescribeKeyPairsResponse { + s.StatusCode = &v + return s +} + func (s *DescribeKeyPairsResponse) SetBody(v *DescribeKeyPairsResponseBody) *DescribeKeyPairsResponse { s.Body = v return s @@ -11824,8 +12397,9 @@ func (s *DescribeLoadBalancerAttributeResponseBodyListenerPortsAndProtocols) Set } type DescribeLoadBalancerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeLoadBalancerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeLoadBalancerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeLoadBalancerAttributeResponse) String() string { @@ -11841,6 +12415,11 @@ func (s *DescribeLoadBalancerAttributeResponse) SetHeaders(v map[string]*string) return s } +func (s *DescribeLoadBalancerAttributeResponse) SetStatusCode(v int32) *DescribeLoadBalancerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeLoadBalancerAttributeResponse) SetBody(v *DescribeLoadBalancerAttributeResponseBody) *DescribeLoadBalancerAttributeResponse { s.Body = v return s @@ -12008,8 +12587,9 @@ func (s *DescribeLoadBalancerHTTPListenerAttributeResponseBody) SetUnhealthyThre } type DescribeLoadBalancerHTTPListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeLoadBalancerHTTPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeLoadBalancerHTTPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeLoadBalancerHTTPListenerAttributeResponse) String() string { @@ -12025,6 +12605,11 @@ func (s *DescribeLoadBalancerHTTPListenerAttributeResponse) SetHeaders(v map[str return s } +func (s *DescribeLoadBalancerHTTPListenerAttributeResponse) SetStatusCode(v int32) *DescribeLoadBalancerHTTPListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeLoadBalancerHTTPListenerAttributeResponse) SetBody(v *DescribeLoadBalancerHTTPListenerAttributeResponseBody) *DescribeLoadBalancerHTTPListenerAttributeResponse { s.Body = v return s @@ -12192,8 +12777,9 @@ func (s *DescribeLoadBalancerHTTPSListenerAttributeResponseBody) SetUnhealthyThr } type DescribeLoadBalancerHTTPSListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeLoadBalancerHTTPSListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeLoadBalancerHTTPSListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeLoadBalancerHTTPSListenerAttributeResponse) String() string { @@ -12209,6 +12795,11 @@ func (s *DescribeLoadBalancerHTTPSListenerAttributeResponse) SetHeaders(v map[st return s } +func (s *DescribeLoadBalancerHTTPSListenerAttributeResponse) SetStatusCode(v int32) *DescribeLoadBalancerHTTPSListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeLoadBalancerHTTPSListenerAttributeResponse) SetBody(v *DescribeLoadBalancerHTTPSListenerAttributeResponseBody) *DescribeLoadBalancerHTTPSListenerAttributeResponse { s.Body = v return s @@ -12297,8 +12888,9 @@ func (s *DescribeLoadBalancerSpecResponseBodyLoadBalancerSpecs) SetLoadBalancerS } type DescribeLoadBalancerSpecResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeLoadBalancerSpecResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeLoadBalancerSpecResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeLoadBalancerSpecResponse) String() string { @@ -12314,6 +12906,11 @@ func (s *DescribeLoadBalancerSpecResponse) SetHeaders(v map[string]*string) *Des return s } +func (s *DescribeLoadBalancerSpecResponse) SetStatusCode(v int32) *DescribeLoadBalancerSpecResponse { + s.StatusCode = &v + return s +} + func (s *DescribeLoadBalancerSpecResponse) SetBody(v *DescribeLoadBalancerSpecResponseBody) *DescribeLoadBalancerSpecResponse { s.Body = v return s @@ -12475,8 +13072,9 @@ func (s *DescribeLoadBalancerTCPListenerAttributeResponseBody) SetUnhealthyThres } type DescribeLoadBalancerTCPListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeLoadBalancerTCPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeLoadBalancerTCPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeLoadBalancerTCPListenerAttributeResponse) String() string { @@ -12492,6 +13090,11 @@ func (s *DescribeLoadBalancerTCPListenerAttributeResponse) SetHeaders(v map[stri return s } +func (s *DescribeLoadBalancerTCPListenerAttributeResponse) SetStatusCode(v int32) *DescribeLoadBalancerTCPListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeLoadBalancerTCPListenerAttributeResponse) SetBody(v *DescribeLoadBalancerTCPListenerAttributeResponseBody) *DescribeLoadBalancerTCPListenerAttributeResponse { s.Body = v return s @@ -12629,8 +13232,9 @@ func (s *DescribeLoadBalancerUDPListenerAttributeResponseBody) SetUnhealthyThres } type DescribeLoadBalancerUDPListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeLoadBalancerUDPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeLoadBalancerUDPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeLoadBalancerUDPListenerAttributeResponse) String() string { @@ -12646,6 +13250,11 @@ func (s *DescribeLoadBalancerUDPListenerAttributeResponse) SetHeaders(v map[stri return s } +func (s *DescribeLoadBalancerUDPListenerAttributeResponse) SetStatusCode(v int32) *DescribeLoadBalancerUDPListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeLoadBalancerUDPListenerAttributeResponse) SetBody(v *DescribeLoadBalancerUDPListenerAttributeResponseBody) *DescribeLoadBalancerUDPListenerAttributeResponse { s.Body = v return s @@ -12853,8 +13462,9 @@ func (s *DescribeLoadBalancersResponseBodyLoadBalancersLoadBalancer) SetVSwitchI } type DescribeLoadBalancersResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeLoadBalancersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeLoadBalancersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeLoadBalancersResponse) String() string { @@ -12870,6 +13480,11 @@ func (s *DescribeLoadBalancersResponse) SetHeaders(v map[string]*string) *Descri return s } +func (s *DescribeLoadBalancersResponse) SetStatusCode(v int32) *DescribeLoadBalancersResponse { + s.StatusCode = &v + return s +} + func (s *DescribeLoadBalancersResponse) SetBody(v *DescribeLoadBalancersResponseBody) *DescribeLoadBalancersResponse { s.Body = v return s @@ -13125,8 +13740,9 @@ func (s *DescribeMeasurementDataResponseBodyMeasurementDatasMeasurementDataResou } type DescribeMeasurementDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeMeasurementDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeMeasurementDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeMeasurementDataResponse) String() string { @@ -13142,6 +13758,11 @@ func (s *DescribeMeasurementDataResponse) SetHeaders(v map[string]*string) *Desc return s } +func (s *DescribeMeasurementDataResponse) SetStatusCode(v int32) *DescribeMeasurementDataResponse { + s.StatusCode = &v + return s +} + func (s *DescribeMeasurementDataResponse) SetBody(v *DescribeMeasurementDataResponseBody) *DescribeMeasurementDataResponse { s.Body = v return s @@ -13290,8 +13911,9 @@ func (s *DescribeNatGatewaysResponseBodyNatGateways) SetVSwitchId(v string) *Des } type DescribeNatGatewaysResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeNatGatewaysResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeNatGatewaysResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeNatGatewaysResponse) String() string { @@ -13307,6 +13929,11 @@ func (s *DescribeNatGatewaysResponse) SetHeaders(v map[string]*string) *Describe return s } +func (s *DescribeNatGatewaysResponse) SetStatusCode(v int32) *DescribeNatGatewaysResponse { + s.StatusCode = &v + return s +} + func (s *DescribeNatGatewaysResponse) SetBody(v *DescribeNatGatewaysResponseBody) *DescribeNatGatewaysResponse { s.Body = v return s @@ -13465,8 +14092,9 @@ func (s *DescribeNetworkAttributeResponseBodyVSwitchIds) SetVSwitchId(v []*strin } type DescribeNetworkAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeNetworkAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeNetworkAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeNetworkAttributeResponse) String() string { @@ -13482,6 +14110,11 @@ func (s *DescribeNetworkAttributeResponse) SetHeaders(v map[string]*string) *Des return s } +func (s *DescribeNetworkAttributeResponse) SetStatusCode(v int32) *DescribeNetworkAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeNetworkAttributeResponse) SetBody(v *DescribeNetworkAttributeResponseBody) *DescribeNetworkAttributeResponse { s.Body = v return s @@ -13658,8 +14291,9 @@ func (s *DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfa } type DescribeNetworkInterfacesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeNetworkInterfacesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeNetworkInterfacesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeNetworkInterfacesResponse) String() string { @@ -13675,6 +14309,11 @@ func (s *DescribeNetworkInterfacesResponse) SetHeaders(v map[string]*string) *De return s } +func (s *DescribeNetworkInterfacesResponse) SetStatusCode(v int32) *DescribeNetworkInterfacesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeNetworkInterfacesResponse) SetBody(v *DescribeNetworkInterfacesResponseBody) *DescribeNetworkInterfacesResponse { s.Body = v return s @@ -13863,8 +14502,9 @@ func (s *DescribeNetworksResponseBodyNetworksNetworkVSwitchIds) SetVSwitchId(v [ } type DescribeNetworksResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeNetworksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeNetworksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeNetworksResponse) String() string { @@ -13880,6 +14520,11 @@ func (s *DescribeNetworksResponse) SetHeaders(v map[string]*string) *DescribeNet return s } +func (s *DescribeNetworksResponse) SetStatusCode(v int32) *DescribeNetworksResponse { + s.StatusCode = &v + return s +} + func (s *DescribeNetworksResponse) SetBody(v *DescribeNetworksResponseBody) *DescribeNetworksResponse { s.Body = v return s @@ -13986,8 +14631,9 @@ func (s *DescribePrePaidInstanceStockResponseBody) SetSystemDiskSize(v int32) *D } type DescribePrePaidInstanceStockResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribePrePaidInstanceStockResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribePrePaidInstanceStockResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribePrePaidInstanceStockResponse) String() string { @@ -14003,6 +14649,11 @@ func (s *DescribePrePaidInstanceStockResponse) SetHeaders(v map[string]*string) return s } +func (s *DescribePrePaidInstanceStockResponse) SetStatusCode(v int32) *DescribePrePaidInstanceStockResponse { + s.StatusCode = &v + return s +} + func (s *DescribePrePaidInstanceStockResponse) SetBody(v *DescribePrePaidInstanceStockResponseBody) *DescribePrePaidInstanceStockResponse { s.Body = v return s @@ -14328,8 +14979,9 @@ func (s *DescribePriceResponseBodyPriceInfoPrice) SetTradePrice(v float32) *Desc } type DescribePriceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribePriceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribePriceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribePriceResponse) String() string { @@ -14345,6 +14997,11 @@ func (s *DescribePriceResponse) SetHeaders(v map[string]*string) *DescribePriceR return s } +func (s *DescribePriceResponse) SetStatusCode(v int32) *DescribePriceResponse { + s.StatusCode = &v + return s +} + func (s *DescribePriceResponse) SetBody(v *DescribePriceResponseBody) *DescribePriceResponse { s.Body = v return s @@ -14415,8 +15072,9 @@ func (s *DescribeRegionIspsResponseBodyIsps) SetName(v string) *DescribeRegionIs } type DescribeRegionIspsResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeRegionIspsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeRegionIspsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeRegionIspsResponse) String() string { @@ -14432,6 +15090,11 @@ func (s *DescribeRegionIspsResponse) SetHeaders(v map[string]*string) *DescribeR return s } +func (s *DescribeRegionIspsResponse) SetStatusCode(v int32) *DescribeRegionIspsResponse { + s.StatusCode = &v + return s +} + func (s *DescribeRegionIspsResponse) SetBody(v *DescribeRegionIspsResponseBody) *DescribeRegionIspsResponse { s.Body = v return s @@ -14622,8 +15285,9 @@ func (s *DescribeReservedResourceResponseBodySupportResourcesSupportResourceSyst } type DescribeReservedResourceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeReservedResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeReservedResourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeReservedResourceResponse) String() string { @@ -14639,6 +15303,11 @@ func (s *DescribeReservedResourceResponse) SetHeaders(v map[string]*string) *Des return s } +func (s *DescribeReservedResourceResponse) SetStatusCode(v int32) *DescribeReservedResourceResponse { + s.StatusCode = &v + return s +} + func (s *DescribeReservedResourceResponse) SetBody(v *DescribeReservedResourceResponseBody) *DescribeReservedResourceResponse { s.Body = v return s @@ -14791,8 +15460,9 @@ func (s *DescribeSecurityGroupAttributeResponseBodyPermissionsPermission) SetSou } type DescribeSecurityGroupAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeSecurityGroupAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeSecurityGroupAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeSecurityGroupAttributeResponse) String() string { @@ -14808,6 +15478,11 @@ func (s *DescribeSecurityGroupAttributeResponse) SetHeaders(v map[string]*string return s } +func (s *DescribeSecurityGroupAttributeResponse) SetStatusCode(v int32) *DescribeSecurityGroupAttributeResponse { + s.StatusCode = &v + return s +} + func (s *DescribeSecurityGroupAttributeResponse) SetBody(v *DescribeSecurityGroupAttributeResponseBody) *DescribeSecurityGroupAttributeResponse { s.Body = v return s @@ -14954,8 +15629,9 @@ func (s *DescribeSecurityGroupsResponseBodySecurityGroupsSecurityGroup) SetSecur } type DescribeSecurityGroupsResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeSecurityGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeSecurityGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeSecurityGroupsResponse) String() string { @@ -14966,8 +15642,13 @@ func (s DescribeSecurityGroupsResponse) GoString() string { return s.String() } -func (s *DescribeSecurityGroupsResponse) SetHeaders(v map[string]*string) *DescribeSecurityGroupsResponse { - s.Headers = v +func (s *DescribeSecurityGroupsResponse) SetHeaders(v map[string]*string) *DescribeSecurityGroupsResponse { + s.Headers = v + return s +} + +func (s *DescribeSecurityGroupsResponse) SetStatusCode(v int32) *DescribeSecurityGroupsResponse { + s.StatusCode = &v return s } @@ -15152,8 +15833,9 @@ func (s *DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatusesCont } type DescribeServcieScheduleResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeServcieScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeServcieScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeServcieScheduleResponse) String() string { @@ -15169,6 +15851,11 @@ func (s *DescribeServcieScheduleResponse) SetHeaders(v map[string]*string) *Desc return s } +func (s *DescribeServcieScheduleResponse) SetStatusCode(v int32) *DescribeServcieScheduleResponse { + s.StatusCode = &v + return s +} + func (s *DescribeServcieScheduleResponse) SetBody(v *DescribeServcieScheduleResponseBody) *DescribeServcieScheduleResponse { s.Body = v return s @@ -15317,8 +16004,9 @@ func (s *DescribeSnatTableEntriesResponseBodySnatTableEntries) SetStatus(v strin } type DescribeSnatTableEntriesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeSnatTableEntriesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeSnatTableEntriesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeSnatTableEntriesResponse) String() string { @@ -15334,6 +16022,11 @@ func (s *DescribeSnatTableEntriesResponse) SetHeaders(v map[string]*string) *Des return s } +func (s *DescribeSnatTableEntriesResponse) SetStatusCode(v int32) *DescribeSnatTableEntriesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeSnatTableEntriesResponse) SetBody(v *DescribeSnatTableEntriesResponseBody) *DescribeSnatTableEntriesResponse { s.Body = v return s @@ -15492,8 +16185,9 @@ func (s *DescribeUserBandWidthDataResponseBodyMonitorDataBandWidthMonitorData) S } type DescribeUserBandWidthDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeUserBandWidthDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeUserBandWidthDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeUserBandWidthDataResponse) String() string { @@ -15509,6 +16203,11 @@ func (s *DescribeUserBandWidthDataResponse) SetHeaders(v map[string]*string) *De return s } +func (s *DescribeUserBandWidthDataResponse) SetStatusCode(v int32) *DescribeUserBandWidthDataResponse { + s.StatusCode = &v + return s +} + func (s *DescribeUserBandWidthDataResponse) SetBody(v *DescribeUserBandWidthDataResponseBody) *DescribeUserBandWidthDataResponse { s.Body = v return s @@ -15697,8 +16396,9 @@ func (s *DescribeVSwitchesResponseBodyVSwitchesVSwitch) SetVSwitchName(v string) } type DescribeVSwitchesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DescribeVSwitchesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DescribeVSwitchesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DescribeVSwitchesResponse) String() string { @@ -15714,6 +16414,11 @@ func (s *DescribeVSwitchesResponse) SetHeaders(v map[string]*string) *DescribeVS return s } +func (s *DescribeVSwitchesResponse) SetStatusCode(v int32) *DescribeVSwitchesResponse { + s.StatusCode = &v + return s +} + func (s *DescribeVSwitchesResponse) SetBody(v *DescribeVSwitchesResponseBody) *DescribeVSwitchesResponse { s.Body = v return s @@ -15766,8 +16471,9 @@ func (s *DetachDiskResponseBody) SetRequestId(v string) *DetachDiskResponseBody } type DetachDiskResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DetachDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DetachDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DetachDiskResponse) String() string { @@ -15783,6 +16489,11 @@ func (s *DetachDiskResponse) SetHeaders(v map[string]*string) *DetachDiskRespons return s } +func (s *DetachDiskResponse) SetStatusCode(v int32) *DetachDiskResponse { + s.StatusCode = &v + return s +} + func (s *DetachDiskResponse) SetBody(v *DetachDiskResponseBody) *DetachDiskResponse { s.Body = v return s @@ -15922,8 +16633,9 @@ func (s *DistApplicationDataResponseBodyDistResultsDistResult) SetVersion(v stri } type DistApplicationDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *DistApplicationDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *DistApplicationDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s DistApplicationDataResponse) String() string { @@ -15939,6 +16651,11 @@ func (s *DistApplicationDataResponse) SetHeaders(v map[string]*string) *DistAppl return s } +func (s *DistApplicationDataResponse) SetStatusCode(v int32) *DistApplicationDataResponse { + s.StatusCode = &v + return s +} + func (s *DistApplicationDataResponse) SetBody(v *DistApplicationDataResponseBody) *DistApplicationDataResponse { s.Body = v return s @@ -15995,8 +16712,9 @@ func (s *ExportBillDetailDataResponseBody) SetRequestId(v string) *ExportBillDet } type ExportBillDetailDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ExportBillDetailDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ExportBillDetailDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ExportBillDetailDataResponse) String() string { @@ -16012,6 +16730,11 @@ func (s *ExportBillDetailDataResponse) SetHeaders(v map[string]*string) *ExportB return s } +func (s *ExportBillDetailDataResponse) SetStatusCode(v int32) *ExportBillDetailDataResponse { + s.StatusCode = &v + return s +} + func (s *ExportBillDetailDataResponse) SetBody(v *ExportBillDetailDataResponseBody) *ExportBillDetailDataResponse { s.Body = v return s @@ -16082,8 +16805,9 @@ func (s *ExportImageResponseBody) SetRequestId(v string) *ExportImageResponseBod } type ExportImageResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ExportImageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ExportImageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ExportImageResponse) String() string { @@ -16099,6 +16823,11 @@ func (s *ExportImageResponse) SetHeaders(v map[string]*string) *ExportImageRespo return s } +func (s *ExportImageResponse) SetStatusCode(v int32) *ExportImageResponse { + s.StatusCode = &v + return s +} + func (s *ExportImageResponse) SetBody(v *ExportImageResponseBody) *ExportImageResponse { s.Body = v return s @@ -16155,8 +16884,9 @@ func (s *ExportMeasurementDataResponseBody) SetRequestId(v string) *ExportMeasur } type ExportMeasurementDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ExportMeasurementDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ExportMeasurementDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ExportMeasurementDataResponse) String() string { @@ -16172,6 +16902,11 @@ func (s *ExportMeasurementDataResponse) SetHeaders(v map[string]*string) *Export return s } +func (s *ExportMeasurementDataResponse) SetStatusCode(v int32) *ExportMeasurementDataResponse { + s.StatusCode = &v + return s +} + func (s *ExportMeasurementDataResponse) SetBody(v *ExportMeasurementDataResponseBody) *ExportMeasurementDataResponse { s.Body = v return s @@ -16286,8 +17021,9 @@ func (s *GetDeviceInternetPortResponseBodyNetworkInfo) SetStatus(v string) *GetD } type GetDeviceInternetPortResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *GetDeviceInternetPortResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *GetDeviceInternetPortResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s GetDeviceInternetPortResponse) String() string { @@ -16303,6 +17039,11 @@ func (s *GetDeviceInternetPortResponse) SetHeaders(v map[string]*string) *GetDev return s } +func (s *GetDeviceInternetPortResponse) SetStatusCode(v int32) *GetDeviceInternetPortResponse { + s.StatusCode = &v + return s +} + func (s *GetDeviceInternetPortResponse) SetBody(v *GetDeviceInternetPortResponseBody) *GetDeviceInternetPortResponse { s.Body = v return s @@ -16367,8 +17108,9 @@ func (s *ImportKeyPairResponseBody) SetRequestId(v string) *ImportKeyPairRespons } type ImportKeyPairResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ImportKeyPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ImportKeyPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ImportKeyPairResponse) String() string { @@ -16384,6 +17126,11 @@ func (s *ImportKeyPairResponse) SetHeaders(v map[string]*string) *ImportKeyPairR return s } +func (s *ImportKeyPairResponse) SetStatusCode(v int32) *ImportKeyPairResponse { + s.StatusCode = &v + return s +} + func (s *ImportKeyPairResponse) SetBody(v *ImportKeyPairResponseBody) *ImportKeyPairResponse { s.Body = v return s @@ -16430,8 +17177,9 @@ func (s *JoinPublicIpsToEpnInstanceResponseBody) SetRequestId(v string) *JoinPub } type JoinPublicIpsToEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *JoinPublicIpsToEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *JoinPublicIpsToEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s JoinPublicIpsToEpnInstanceResponse) String() string { @@ -16447,6 +17195,11 @@ func (s *JoinPublicIpsToEpnInstanceResponse) SetHeaders(v map[string]*string) *J return s } +func (s *JoinPublicIpsToEpnInstanceResponse) SetStatusCode(v int32) *JoinPublicIpsToEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *JoinPublicIpsToEpnInstanceResponse) SetBody(v *JoinPublicIpsToEpnInstanceResponseBody) *JoinPublicIpsToEpnInstanceResponse { s.Body = v return s @@ -16499,8 +17252,9 @@ func (s *JoinSecurityGroupResponseBody) SetRequestId(v string) *JoinSecurityGrou } type JoinSecurityGroupResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *JoinSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *JoinSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s JoinSecurityGroupResponse) String() string { @@ -16516,6 +17270,11 @@ func (s *JoinSecurityGroupResponse) SetHeaders(v map[string]*string) *JoinSecuri return s } +func (s *JoinSecurityGroupResponse) SetStatusCode(v int32) *JoinSecurityGroupResponse { + s.StatusCode = &v + return s +} + func (s *JoinSecurityGroupResponse) SetBody(v *JoinSecurityGroupResponseBody) *JoinSecurityGroupResponse { s.Body = v return s @@ -16562,8 +17321,9 @@ func (s *JoinVSwitchesToEpnInstanceResponseBody) SetRequestId(v string) *JoinVSw } type JoinVSwitchesToEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *JoinVSwitchesToEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *JoinVSwitchesToEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s JoinVSwitchesToEpnInstanceResponse) String() string { @@ -16579,6 +17339,11 @@ func (s *JoinVSwitchesToEpnInstanceResponse) SetHeaders(v map[string]*string) *J return s } +func (s *JoinVSwitchesToEpnInstanceResponse) SetStatusCode(v int32) *JoinVSwitchesToEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *JoinVSwitchesToEpnInstanceResponse) SetBody(v *JoinVSwitchesToEpnInstanceResponseBody) *JoinVSwitchesToEpnInstanceResponse { s.Body = v return s @@ -16631,8 +17396,9 @@ func (s *LeaveSecurityGroupResponseBody) SetRequestId(v string) *LeaveSecurityGr } type LeaveSecurityGroupResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *LeaveSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *LeaveSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s LeaveSecurityGroupResponse) String() string { @@ -16648,6 +17414,11 @@ func (s *LeaveSecurityGroupResponse) SetHeaders(v map[string]*string) *LeaveSecu return s } +func (s *LeaveSecurityGroupResponse) SetStatusCode(v int32) *LeaveSecurityGroupResponse { + s.StatusCode = &v + return s +} + func (s *LeaveSecurityGroupResponse) SetBody(v *LeaveSecurityGroupResponseBody) *LeaveSecurityGroupResponse { s.Body = v return s @@ -16834,8 +17605,9 @@ func (s *ListApplicationsResponseBodyApplicationsApplicationAppListApp) SetAppIn } type ListApplicationsResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ListApplicationsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ListApplicationsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ListApplicationsResponse) String() string { @@ -16851,6 +17623,11 @@ func (s *ListApplicationsResponse) SetHeaders(v map[string]*string) *ListApplica return s } +func (s *ListApplicationsResponse) SetStatusCode(v int32) *ListApplicationsResponse { + s.StatusCode = &v + return s +} + func (s *ListApplicationsResponse) SetBody(v *ListApplicationsResponseBody) *ListApplicationsResponse { s.Body = v return s @@ -16910,8 +17687,9 @@ func (s *ModifyEnsEipAddressAttributeResponseBody) SetRequestId(v string) *Modif } type ModifyEnsEipAddressAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyEnsEipAddressAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyEnsEipAddressAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyEnsEipAddressAttributeResponse) String() string { @@ -16927,6 +17705,11 @@ func (s *ModifyEnsEipAddressAttributeResponse) SetHeaders(v map[string]*string) return s } +func (s *ModifyEnsEipAddressAttributeResponse) SetStatusCode(v int32) *ModifyEnsEipAddressAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifyEnsEipAddressAttributeResponse) SetBody(v *ModifyEnsEipAddressAttributeResponseBody) *ModifyEnsEipAddressAttributeResponse { s.Body = v return s @@ -16985,8 +17768,9 @@ func (s *ModifyEpnInstanceResponseBody) SetRequestId(v string) *ModifyEpnInstanc } type ModifyEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyEpnInstanceResponse) String() string { @@ -17002,6 +17786,11 @@ func (s *ModifyEpnInstanceResponse) SetHeaders(v map[string]*string) *ModifyEpnI return s } +func (s *ModifyEpnInstanceResponse) SetStatusCode(v int32) *ModifyEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *ModifyEpnInstanceResponse) SetBody(v *ModifyEpnInstanceResponseBody) *ModifyEpnInstanceResponse { s.Body = v return s @@ -17066,8 +17855,9 @@ func (s *ModifyImageAttributeResponseBody) SetRequestId(v string) *ModifyImageAt } type ModifyImageAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyImageAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyImageAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyImageAttributeResponse) String() string { @@ -17083,6 +17873,11 @@ func (s *ModifyImageAttributeResponse) SetHeaders(v map[string]*string) *ModifyI return s } +func (s *ModifyImageAttributeResponse) SetStatusCode(v int32) *ModifyImageAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifyImageAttributeResponse) SetBody(v *ModifyImageAttributeResponseBody) *ModifyImageAttributeResponse { s.Body = v return s @@ -17135,8 +17930,9 @@ func (s *ModifyImageSharePermissionResponseBody) SetRequestId(v string) *ModifyI } type ModifyImageSharePermissionResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyImageSharePermissionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyImageSharePermissionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyImageSharePermissionResponse) String() string { @@ -17152,6 +17948,11 @@ func (s *ModifyImageSharePermissionResponse) SetHeaders(v map[string]*string) *M return s } +func (s *ModifyImageSharePermissionResponse) SetStatusCode(v int32) *ModifyImageSharePermissionResponse { + s.StatusCode = &v + return s +} + func (s *ModifyImageSharePermissionResponse) SetBody(v *ModifyImageSharePermissionResponseBody) *ModifyImageSharePermissionResponse { s.Body = v return s @@ -17216,8 +18017,9 @@ func (s *ModifyInstanceAttributeResponseBody) SetRequestId(v string) *ModifyInst } type ModifyInstanceAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyInstanceAttributeResponse) String() string { @@ -17233,6 +18035,11 @@ func (s *ModifyInstanceAttributeResponse) SetHeaders(v map[string]*string) *Modi return s } +func (s *ModifyInstanceAttributeResponse) SetStatusCode(v int32) *ModifyInstanceAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifyInstanceAttributeResponse) SetBody(v *ModifyInstanceAttributeResponseBody) *ModifyInstanceAttributeResponse { s.Body = v return s @@ -17303,8 +18110,9 @@ func (s *ModifyInstanceAutoRenewAttributeResponseBody) SetRequestId(v string) *M } type ModifyInstanceAutoRenewAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyInstanceAutoRenewAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyInstanceAutoRenewAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyInstanceAutoRenewAttributeResponse) String() string { @@ -17320,6 +18128,11 @@ func (s *ModifyInstanceAutoRenewAttributeResponse) SetHeaders(v map[string]*stri return s } +func (s *ModifyInstanceAutoRenewAttributeResponse) SetStatusCode(v int32) *ModifyInstanceAutoRenewAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifyInstanceAutoRenewAttributeResponse) SetBody(v *ModifyInstanceAutoRenewAttributeResponseBody) *ModifyInstanceAutoRenewAttributeResponse { s.Body = v return s @@ -17367,8 +18180,9 @@ func (s *ModifyLoadBalancerAttributeResponseBody) SetRequestId(v string) *Modify } type ModifyLoadBalancerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyLoadBalancerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyLoadBalancerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyLoadBalancerAttributeResponse) String() string { @@ -17384,6 +18198,11 @@ func (s *ModifyLoadBalancerAttributeResponse) SetHeaders(v map[string]*string) * return s } +func (s *ModifyLoadBalancerAttributeResponse) SetStatusCode(v int32) *ModifyLoadBalancerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifyLoadBalancerAttributeResponse) SetBody(v *ModifyLoadBalancerAttributeResponseBody) *ModifyLoadBalancerAttributeResponse { s.Body = v return s @@ -17436,8 +18255,9 @@ func (s *ModifyNetworkAttributeResponseBody) SetRequestId(v string) *ModifyNetwo } type ModifyNetworkAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyNetworkAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyNetworkAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyNetworkAttributeResponse) String() string { @@ -17453,6 +18273,11 @@ func (s *ModifyNetworkAttributeResponse) SetHeaders(v map[string]*string) *Modif return s } +func (s *ModifyNetworkAttributeResponse) SetStatusCode(v int32) *ModifyNetworkAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifyNetworkAttributeResponse) SetBody(v *ModifyNetworkAttributeResponseBody) *ModifyNetworkAttributeResponse { s.Body = v return s @@ -17502,8 +18327,9 @@ func (s *ModifyPrepayInstanceSpecResponseBody) SetRequestId(v string) *ModifyPre } type ModifyPrepayInstanceSpecResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyPrepayInstanceSpecResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyPrepayInstanceSpecResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyPrepayInstanceSpecResponse) String() string { @@ -17519,6 +18345,11 @@ func (s *ModifyPrepayInstanceSpecResponse) SetHeaders(v map[string]*string) *Mod return s } +func (s *ModifyPrepayInstanceSpecResponse) SetStatusCode(v int32) *ModifyPrepayInstanceSpecResponse { + s.StatusCode = &v + return s +} + func (s *ModifyPrepayInstanceSpecResponse) SetBody(v *ModifyPrepayInstanceSpecResponseBody) *ModifyPrepayInstanceSpecResponse { s.Body = v return s @@ -17572,8 +18403,9 @@ func (s *ModifySecurityGroupAttributeResponseBody) SetRequestId(v string) *Modif } type ModifySecurityGroupAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifySecurityGroupAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifySecurityGroupAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifySecurityGroupAttributeResponse) String() string { @@ -17589,6 +18421,11 @@ func (s *ModifySecurityGroupAttributeResponse) SetHeaders(v map[string]*string) return s } +func (s *ModifySecurityGroupAttributeResponse) SetStatusCode(v int32) *ModifySecurityGroupAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifySecurityGroupAttributeResponse) SetBody(v *ModifySecurityGroupAttributeResponseBody) *ModifySecurityGroupAttributeResponse { s.Body = v return s @@ -17642,8 +18479,9 @@ func (s *ModifyVSwitchAttributeResponseBody) SetRequestId(v string) *ModifyVSwit } type ModifyVSwitchAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ModifyVSwitchAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ModifyVSwitchAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ModifyVSwitchAttributeResponse) String() string { @@ -17659,6 +18497,11 @@ func (s *ModifyVSwitchAttributeResponse) SetHeaders(v map[string]*string) *Modif return s } +func (s *ModifyVSwitchAttributeResponse) SetStatusCode(v int32) *ModifyVSwitchAttributeResponse { + s.StatusCode = &v + return s +} + func (s *ModifyVSwitchAttributeResponse) SetBody(v *ModifyVSwitchAttributeResponseBody) *ModifyVSwitchAttributeResponse { s.Body = v return s @@ -17807,8 +18650,9 @@ func (s *PreCreateEnsServiceResponseBody) SetRequestId(v string) *PreCreateEnsSe } type PreCreateEnsServiceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *PreCreateEnsServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *PreCreateEnsServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s PreCreateEnsServiceResponse) String() string { @@ -17824,6 +18668,11 @@ func (s *PreCreateEnsServiceResponse) SetHeaders(v map[string]*string) *PreCreat return s } +func (s *PreCreateEnsServiceResponse) SetStatusCode(v int32) *PreCreateEnsServiceResponse { + s.StatusCode = &v + return s +} + func (s *PreCreateEnsServiceResponse) SetBody(v *PreCreateEnsServiceResponseBody) *PreCreateEnsServiceResponse { s.Body = v return s @@ -17940,8 +18789,9 @@ func (s *PushApplicationDataResponseBodyPushResultsPushResult) SetVersion(v stri } type PushApplicationDataResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *PushApplicationDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *PushApplicationDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s PushApplicationDataResponse) String() string { @@ -17957,6 +18807,11 @@ func (s *PushApplicationDataResponse) SetHeaders(v map[string]*string) *PushAppl return s } +func (s *PushApplicationDataResponse) SetStatusCode(v int32) *PushApplicationDataResponse { + s.StatusCode = &v + return s +} + func (s *PushApplicationDataResponse) SetBody(v *PushApplicationDataResponseBody) *PushApplicationDataResponse { s.Body = v return s @@ -18015,8 +18870,9 @@ func (s *ReInitDiskResponseBody) SetRequestId(v string) *ReInitDiskResponseBody } type ReInitDiskResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ReInitDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ReInitDiskResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ReInitDiskResponse) String() string { @@ -18032,6 +18888,11 @@ func (s *ReInitDiskResponse) SetHeaders(v map[string]*string) *ReInitDiskRespons return s } +func (s *ReInitDiskResponse) SetStatusCode(v int32) *ReInitDiskResponse { + s.StatusCode = &v + return s +} + func (s *ReInitDiskResponse) SetBody(v *ReInitDiskResponseBody) *ReInitDiskResponse { s.Body = v return s @@ -18090,8 +18951,9 @@ func (s *RebootInstanceResponseBody) SetRequestId(v string) *RebootInstanceRespo } type RebootInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RebootInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RebootInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RebootInstanceResponse) String() string { @@ -18107,6 +18969,11 @@ func (s *RebootInstanceResponse) SetHeaders(v map[string]*string) *RebootInstanc return s } +func (s *RebootInstanceResponse) SetStatusCode(v int32) *RebootInstanceResponse { + s.StatusCode = &v + return s +} + func (s *RebootInstanceResponse) SetBody(v *RebootInstanceResponseBody) *RebootInstanceResponse { s.Body = v return s @@ -18149,8 +19016,9 @@ func (s *ReleaseInstanceResponseBody) SetRequestId(v string) *ReleaseInstanceRes } type ReleaseInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ReleaseInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ReleaseInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ReleaseInstanceResponse) String() string { @@ -18166,6 +19034,11 @@ func (s *ReleaseInstanceResponse) SetHeaders(v map[string]*string) *ReleaseInsta return s } +func (s *ReleaseInstanceResponse) SetStatusCode(v int32) *ReleaseInstanceResponse { + s.StatusCode = &v + return s +} + func (s *ReleaseInstanceResponse) SetBody(v *ReleaseInstanceResponseBody) *ReleaseInstanceResponse { s.Body = v return s @@ -18212,8 +19085,9 @@ func (s *ReleasePostPaidInstanceResponseBody) SetRequestId(v string) *ReleasePos } type ReleasePostPaidInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ReleasePostPaidInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ReleasePostPaidInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ReleasePostPaidInstanceResponse) String() string { @@ -18229,6 +19103,11 @@ func (s *ReleasePostPaidInstanceResponse) SetHeaders(v map[string]*string) *Rele return s } +func (s *ReleasePostPaidInstanceResponse) SetStatusCode(v int32) *ReleasePostPaidInstanceResponse { + s.StatusCode = &v + return s +} + func (s *ReleasePostPaidInstanceResponse) SetBody(v *ReleasePostPaidInstanceResponseBody) *ReleasePostPaidInstanceResponse { s.Body = v return s @@ -18236,7 +19115,6 @@ func (s *ReleasePostPaidInstanceResponse) SetBody(v *ReleasePostPaidInstanceResp type ReleasePrePaidInstanceRequest struct { InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` - Version *string `json:"Version,omitempty" xml:"Version,omitempty"` } func (s ReleasePrePaidInstanceRequest) String() string { @@ -18252,11 +19130,6 @@ func (s *ReleasePrePaidInstanceRequest) SetInstanceId(v string) *ReleasePrePaidI return s } -func (s *ReleasePrePaidInstanceRequest) SetVersion(v string) *ReleasePrePaidInstanceRequest { - s.Version = &v - return s -} - type ReleasePrePaidInstanceResponseBody struct { RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` } @@ -18275,8 +19148,9 @@ func (s *ReleasePrePaidInstanceResponseBody) SetRequestId(v string) *ReleasePreP } type ReleasePrePaidInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ReleasePrePaidInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ReleasePrePaidInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ReleasePrePaidInstanceResponse) String() string { @@ -18292,6 +19166,11 @@ func (s *ReleasePrePaidInstanceResponse) SetHeaders(v map[string]*string) *Relea return s } +func (s *ReleasePrePaidInstanceResponse) SetStatusCode(v int32) *ReleasePrePaidInstanceResponse { + s.StatusCode = &v + return s +} + func (s *ReleasePrePaidInstanceResponse) SetBody(v *ReleasePrePaidInstanceResponseBody) *ReleasePrePaidInstanceResponse { s.Body = v return s @@ -18470,8 +19349,9 @@ func (s *RemoveBackendServersResponseBodyBackendServersBackendServer) SetWeight( } type RemoveBackendServersResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RemoveBackendServersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RemoveBackendServersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RemoveBackendServersResponse) String() string { @@ -18487,6 +19367,11 @@ func (s *RemoveBackendServersResponse) SetHeaders(v map[string]*string) *RemoveB return s } +func (s *RemoveBackendServersResponse) SetStatusCode(v int32) *RemoveBackendServersResponse { + s.StatusCode = &v + return s +} + func (s *RemoveBackendServersResponse) SetBody(v *RemoveBackendServersResponseBody) *RemoveBackendServersResponse { s.Body = v return s @@ -18533,8 +19418,9 @@ func (s *RemovePublicIpsFromEpnInstanceResponseBody) SetRequestId(v string) *Rem } type RemovePublicIpsFromEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RemovePublicIpsFromEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RemovePublicIpsFromEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RemovePublicIpsFromEpnInstanceResponse) String() string { @@ -18550,6 +19436,11 @@ func (s *RemovePublicIpsFromEpnInstanceResponse) SetHeaders(v map[string]*string return s } +func (s *RemovePublicIpsFromEpnInstanceResponse) SetStatusCode(v int32) *RemovePublicIpsFromEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *RemovePublicIpsFromEpnInstanceResponse) SetBody(v *RemovePublicIpsFromEpnInstanceResponseBody) *RemovePublicIpsFromEpnInstanceResponse { s.Body = v return s @@ -18596,8 +19487,9 @@ func (s *RemoveVSwitchesFromEpnInstanceResponseBody) SetRequestId(v string) *Rem } type RemoveVSwitchesFromEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RemoveVSwitchesFromEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RemoveVSwitchesFromEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RemoveVSwitchesFromEpnInstanceResponse) String() string { @@ -18613,6 +19505,11 @@ func (s *RemoveVSwitchesFromEpnInstanceResponse) SetHeaders(v map[string]*string return s } +func (s *RemoveVSwitchesFromEpnInstanceResponse) SetStatusCode(v int32) *RemoveVSwitchesFromEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *RemoveVSwitchesFromEpnInstanceResponse) SetBody(v *RemoveVSwitchesFromEpnInstanceResponseBody) *RemoveVSwitchesFromEpnInstanceResponse { s.Body = v return s @@ -18661,8 +19558,9 @@ func (s *RenewInstanceResponseBody) SetRequestId(v string) *RenewInstanceRespons } type RenewInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RenewInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RenewInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RenewInstanceResponse) String() string { @@ -18678,6 +19576,11 @@ func (s *RenewInstanceResponse) SetHeaders(v map[string]*string) *RenewInstanceR return s } +func (s *RenewInstanceResponse) SetStatusCode(v int32) *RenewInstanceResponse { + s.StatusCode = &v + return s +} + func (s *RenewInstanceResponse) SetBody(v *RenewInstanceResponseBody) *RenewInstanceResponse { s.Body = v return s @@ -18748,8 +19651,9 @@ func (s *RescaleApplicationResponseBody) SetRequestId(v string) *RescaleApplicat } type RescaleApplicationResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RescaleApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RescaleApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RescaleApplicationResponse) String() string { @@ -18765,6 +19669,11 @@ func (s *RescaleApplicationResponse) SetHeaders(v map[string]*string) *RescaleAp return s } +func (s *RescaleApplicationResponse) SetStatusCode(v int32) *RescaleApplicationResponse { + s.StatusCode = &v + return s +} + func (s *RescaleApplicationResponse) SetBody(v *RescaleApplicationResponseBody) *RescaleApplicationResponse { s.Body = v return s @@ -18937,8 +19846,9 @@ func (s *RescaleDeviceServiceResponseBodyResourceDetailInfos) SetType(v string) } type RescaleDeviceServiceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RescaleDeviceServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RescaleDeviceServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RescaleDeviceServiceResponse) String() string { @@ -18954,6 +19864,11 @@ func (s *RescaleDeviceServiceResponse) SetHeaders(v map[string]*string) *Rescale return s } +func (s *RescaleDeviceServiceResponse) SetStatusCode(v int32) *RescaleDeviceServiceResponse { + s.StatusCode = &v + return s +} + func (s *RescaleDeviceServiceResponse) SetBody(v *RescaleDeviceServiceResponseBody) *RescaleDeviceServiceResponse { s.Body = v return s @@ -19008,8 +19923,9 @@ func (s *ResetDeviceInstanceResponseBody) SetRequestId(v string) *ResetDeviceIns } type ResetDeviceInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *ResetDeviceInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *ResetDeviceInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s ResetDeviceInstanceResponse) String() string { @@ -19025,6 +19941,11 @@ func (s *ResetDeviceInstanceResponse) SetHeaders(v map[string]*string) *ResetDev return s } +func (s *ResetDeviceInstanceResponse) SetStatusCode(v int32) *ResetDeviceInstanceResponse { + s.StatusCode = &v + return s +} + func (s *ResetDeviceInstanceResponse) SetBody(v *ResetDeviceInstanceResponseBody) *ResetDeviceInstanceResponse { s.Body = v return s @@ -19074,8 +19995,9 @@ func (s *RestartDeviceInstanceResponseBody) SetRequestId(v string) *RestartDevic } type RestartDeviceInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RestartDeviceInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RestartDeviceInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RestartDeviceInstanceResponse) String() string { @@ -19091,6 +20013,11 @@ func (s *RestartDeviceInstanceResponse) SetHeaders(v map[string]*string) *Restar return s } +func (s *RestartDeviceInstanceResponse) SetStatusCode(v int32) *RestartDeviceInstanceResponse { + s.StatusCode = &v + return s +} + func (s *RestartDeviceInstanceResponse) SetBody(v *RestartDeviceInstanceResponseBody) *RestartDeviceInstanceResponse { s.Body = v return s @@ -19173,8 +20100,9 @@ func (s *RevokeSecurityGroupResponseBody) SetRequestId(v string) *RevokeSecurity } type RevokeSecurityGroupResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RevokeSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RevokeSecurityGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RevokeSecurityGroupResponse) String() string { @@ -19190,6 +20118,11 @@ func (s *RevokeSecurityGroupResponse) SetHeaders(v map[string]*string) *RevokeSe return s } +func (s *RevokeSecurityGroupResponse) SetStatusCode(v int32) *RevokeSecurityGroupResponse { + s.StatusCode = &v + return s +} + func (s *RevokeSecurityGroupResponse) SetBody(v *RevokeSecurityGroupResponseBody) *RevokeSecurityGroupResponse { s.Body = v return s @@ -19272,8 +20205,9 @@ func (s *RevokeSecurityGroupEgressResponseBody) SetRequestId(v string) *RevokeSe } type RevokeSecurityGroupEgressResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RevokeSecurityGroupEgressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RevokeSecurityGroupEgressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RevokeSecurityGroupEgressResponse) String() string { @@ -19289,6 +20223,11 @@ func (s *RevokeSecurityGroupEgressResponse) SetHeaders(v map[string]*string) *Re return s } +func (s *RevokeSecurityGroupEgressResponse) SetStatusCode(v int32) *RevokeSecurityGroupEgressResponse { + s.StatusCode = &v + return s +} + func (s *RevokeSecurityGroupEgressResponse) SetBody(v *RevokeSecurityGroupEgressResponseBody) *RevokeSecurityGroupEgressResponse { s.Body = v return s @@ -19347,8 +20286,9 @@ func (s *RollbackApplicationResponseBody) SetRequestId(v string) *RollbackApplic } type RollbackApplicationResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RollbackApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RollbackApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RollbackApplicationResponse) String() string { @@ -19364,6 +20304,11 @@ func (s *RollbackApplicationResponse) SetHeaders(v map[string]*string) *Rollback return s } +func (s *RollbackApplicationResponse) SetStatusCode(v int32) *RollbackApplicationResponse { + s.StatusCode = &v + return s +} + func (s *RollbackApplicationResponse) SetBody(v *RollbackApplicationResponseBody) *RollbackApplicationResponse { s.Body = v return s @@ -19843,8 +20788,9 @@ func (s *RunInstancesResponseBody) SetRequestId(v string) *RunInstancesResponseB } type RunInstancesResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RunInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RunInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RunInstancesResponse) String() string { @@ -19860,6 +20806,11 @@ func (s *RunInstancesResponse) SetHeaders(v map[string]*string) *RunInstancesRes return s } +func (s *RunInstancesResponse) SetStatusCode(v int32) *RunInstancesResponse { + s.StatusCode = &v + return s +} + func (s *RunInstancesResponse) SetBody(v *RunInstancesResponseBody) *RunInstancesResponse { s.Body = v return s @@ -20036,8 +20987,9 @@ func (s *RunServiceScheduleResponseBodyCommandResultsCommandResult) SetResultMsg } type RunServiceScheduleResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *RunServiceScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *RunServiceScheduleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s RunServiceScheduleResponse) String() string { @@ -20053,6 +21005,11 @@ func (s *RunServiceScheduleResponse) SetHeaders(v map[string]*string) *RunServic return s } +func (s *RunServiceScheduleResponse) SetStatusCode(v int32) *RunServiceScheduleResponse { + s.StatusCode = &v + return s +} + func (s *RunServiceScheduleResponse) SetBody(v *RunServiceScheduleResponseBody) *RunServiceScheduleResponse { s.Body = v return s @@ -20218,8 +21175,9 @@ func (s *SetBackendServersResponseBodyBackendServersBackendServer) SetWeight(v i } type SetBackendServersResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *SetBackendServersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *SetBackendServersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s SetBackendServersResponse) String() string { @@ -20235,6 +21193,11 @@ func (s *SetBackendServersResponse) SetHeaders(v map[string]*string) *SetBackend return s } +func (s *SetBackendServersResponse) SetStatusCode(v int32) *SetBackendServersResponse { + s.StatusCode = &v + return s +} + func (s *SetBackendServersResponse) SetBody(v *SetBackendServersResponseBody) *SetBackendServersResponse { s.Body = v return s @@ -20381,8 +21344,9 @@ func (s *SetLoadBalancerHTTPListenerAttributeResponseBody) SetRequestId(v string } type SetLoadBalancerHTTPListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *SetLoadBalancerHTTPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *SetLoadBalancerHTTPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s SetLoadBalancerHTTPListenerAttributeResponse) String() string { @@ -20398,6 +21362,11 @@ func (s *SetLoadBalancerHTTPListenerAttributeResponse) SetHeaders(v map[string]* return s } +func (s *SetLoadBalancerHTTPListenerAttributeResponse) SetStatusCode(v int32) *SetLoadBalancerHTTPListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *SetLoadBalancerHTTPListenerAttributeResponse) SetBody(v *SetLoadBalancerHTTPListenerAttributeResponseBody) *SetLoadBalancerHTTPListenerAttributeResponse { s.Body = v return s @@ -20551,8 +21520,9 @@ func (s *SetLoadBalancerHTTPSListenerAttributeResponseBody) SetRequestId(v strin } type SetLoadBalancerHTTPSListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *SetLoadBalancerHTTPSListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *SetLoadBalancerHTTPSListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s SetLoadBalancerHTTPSListenerAttributeResponse) String() string { @@ -20568,6 +21538,11 @@ func (s *SetLoadBalancerHTTPSListenerAttributeResponse) SetHeaders(v map[string] return s } +func (s *SetLoadBalancerHTTPSListenerAttributeResponse) SetStatusCode(v int32) *SetLoadBalancerHTTPSListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *SetLoadBalancerHTTPSListenerAttributeResponse) SetBody(v *SetLoadBalancerHTTPSListenerAttributeResponseBody) *SetLoadBalancerHTTPSListenerAttributeResponse { s.Body = v return s @@ -20615,8 +21590,9 @@ func (s *SetLoadBalancerStatusResponseBody) SetRequestId(v string) *SetLoadBalan } type SetLoadBalancerStatusResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *SetLoadBalancerStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *SetLoadBalancerStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s SetLoadBalancerStatusResponse) String() string { @@ -20632,6 +21608,11 @@ func (s *SetLoadBalancerStatusResponse) SetHeaders(v map[string]*string) *SetLoa return s } +func (s *SetLoadBalancerStatusResponse) SetStatusCode(v int32) *SetLoadBalancerStatusResponse { + s.StatusCode = &v + return s +} + func (s *SetLoadBalancerStatusResponse) SetBody(v *SetLoadBalancerStatusResponseBody) *SetLoadBalancerStatusResponse { s.Body = v return s @@ -20778,8 +21759,9 @@ func (s *SetLoadBalancerTCPListenerAttributeResponseBody) SetRequestId(v string) } type SetLoadBalancerTCPListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *SetLoadBalancerTCPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *SetLoadBalancerTCPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s SetLoadBalancerTCPListenerAttributeResponse) String() string { @@ -20795,6 +21777,11 @@ func (s *SetLoadBalancerTCPListenerAttributeResponse) SetHeaders(v map[string]*s return s } +func (s *SetLoadBalancerTCPListenerAttributeResponse) SetStatusCode(v int32) *SetLoadBalancerTCPListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *SetLoadBalancerTCPListenerAttributeResponse) SetBody(v *SetLoadBalancerTCPListenerAttributeResponseBody) *SetLoadBalancerTCPListenerAttributeResponse { s.Body = v return s @@ -20913,8 +21900,9 @@ func (s *SetLoadBalancerUDPListenerAttributeResponseBody) SetRequestId(v string) } type SetLoadBalancerUDPListenerAttributeResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *SetLoadBalancerUDPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *SetLoadBalancerUDPListenerAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s SetLoadBalancerUDPListenerAttributeResponse) String() string { @@ -20930,6 +21918,11 @@ func (s *SetLoadBalancerUDPListenerAttributeResponse) SetHeaders(v map[string]*s return s } +func (s *SetLoadBalancerUDPListenerAttributeResponse) SetStatusCode(v int32) *SetLoadBalancerUDPListenerAttributeResponse { + s.StatusCode = &v + return s +} + func (s *SetLoadBalancerUDPListenerAttributeResponse) SetBody(v *SetLoadBalancerUDPListenerAttributeResponseBody) *SetLoadBalancerUDPListenerAttributeResponse { s.Body = v return s @@ -20970,8 +21963,9 @@ func (s *StartEpnInstanceResponseBody) SetRequestId(v string) *StartEpnInstanceR } type StartEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *StartEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *StartEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s StartEpnInstanceResponse) String() string { @@ -20987,6 +21981,11 @@ func (s *StartEpnInstanceResponse) SetHeaders(v map[string]*string) *StartEpnIns return s } +func (s *StartEpnInstanceResponse) SetStatusCode(v int32) *StartEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *StartEpnInstanceResponse) SetBody(v *StartEpnInstanceResponseBody) *StartEpnInstanceResponse { s.Body = v return s @@ -21039,8 +22038,9 @@ func (s *StartInstanceResponseBody) SetRequestId(v string) *StartInstanceRespons } type StartInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *StartInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *StartInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s StartInstanceResponse) String() string { @@ -21056,14 +22056,20 @@ func (s *StartInstanceResponse) SetHeaders(v map[string]*string) *StartInstanceR return s } +func (s *StartInstanceResponse) SetStatusCode(v int32) *StartInstanceResponse { + s.StatusCode = &v + return s +} + func (s *StartInstanceResponse) SetBody(v *StartInstanceResponseBody) *StartInstanceResponse { s.Body = v return s } type StartLoadBalancerListenerRequest struct { - ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"` - LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"` + ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"` + ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"` + LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"` } func (s StartLoadBalancerListenerRequest) String() string { @@ -21079,6 +22085,11 @@ func (s *StartLoadBalancerListenerRequest) SetListenerPort(v int32) *StartLoadBa return s } +func (s *StartLoadBalancerListenerRequest) SetListenerProtocol(v string) *StartLoadBalancerListenerRequest { + s.ListenerProtocol = &v + return s +} + func (s *StartLoadBalancerListenerRequest) SetLoadBalancerId(v string) *StartLoadBalancerListenerRequest { s.LoadBalancerId = &v return s @@ -21103,8 +22114,9 @@ func (s *StartLoadBalancerListenerResponseBody) SetRequestId(v string) *StartLoa } type StartLoadBalancerListenerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *StartLoadBalancerListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *StartLoadBalancerListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s StartLoadBalancerListenerResponse) String() string { @@ -21120,6 +22132,11 @@ func (s *StartLoadBalancerListenerResponse) SetHeaders(v map[string]*string) *St return s } +func (s *StartLoadBalancerListenerResponse) SetStatusCode(v int32) *StartLoadBalancerListenerResponse { + s.StatusCode = &v + return s +} + func (s *StartLoadBalancerListenerResponse) SetBody(v *StartLoadBalancerListenerResponseBody) *StartLoadBalancerListenerResponse { s.Body = v return s @@ -21160,8 +22177,9 @@ func (s *StopEpnInstanceResponseBody) SetRequestId(v string) *StopEpnInstanceRes } type StopEpnInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *StopEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *StopEpnInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s StopEpnInstanceResponse) String() string { @@ -21177,6 +22195,11 @@ func (s *StopEpnInstanceResponse) SetHeaders(v map[string]*string) *StopEpnInsta return s } +func (s *StopEpnInstanceResponse) SetStatusCode(v int32) *StopEpnInstanceResponse { + s.StatusCode = &v + return s +} + func (s *StopEpnInstanceResponse) SetBody(v *StopEpnInstanceResponseBody) *StopEpnInstanceResponse { s.Body = v return s @@ -21235,8 +22258,9 @@ func (s *StopInstanceResponseBody) SetRequestId(v string) *StopInstanceResponseB } type StopInstanceResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *StopInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *StopInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s StopInstanceResponse) String() string { @@ -21252,14 +22276,20 @@ func (s *StopInstanceResponse) SetHeaders(v map[string]*string) *StopInstanceRes return s } +func (s *StopInstanceResponse) SetStatusCode(v int32) *StopInstanceResponse { + s.StatusCode = &v + return s +} + func (s *StopInstanceResponse) SetBody(v *StopInstanceResponseBody) *StopInstanceResponse { s.Body = v return s } type StopLoadBalancerListenerRequest struct { - ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"` - LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"` + ListenerPort *int32 `json:"ListenerPort,omitempty" xml:"ListenerPort,omitempty"` + ListenerProtocol *string `json:"ListenerProtocol,omitempty" xml:"ListenerProtocol,omitempty"` + LoadBalancerId *string `json:"LoadBalancerId,omitempty" xml:"LoadBalancerId,omitempty"` } func (s StopLoadBalancerListenerRequest) String() string { @@ -21275,6 +22305,11 @@ func (s *StopLoadBalancerListenerRequest) SetListenerPort(v int32) *StopLoadBala return s } +func (s *StopLoadBalancerListenerRequest) SetListenerProtocol(v string) *StopLoadBalancerListenerRequest { + s.ListenerProtocol = &v + return s +} + func (s *StopLoadBalancerListenerRequest) SetLoadBalancerId(v string) *StopLoadBalancerListenerRequest { s.LoadBalancerId = &v return s @@ -21299,8 +22334,9 @@ func (s *StopLoadBalancerListenerResponseBody) SetRequestId(v string) *StopLoadB } type StopLoadBalancerListenerResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *StopLoadBalancerListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *StopLoadBalancerListenerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s StopLoadBalancerListenerResponse) String() string { @@ -21316,6 +22352,11 @@ func (s *StopLoadBalancerListenerResponse) SetHeaders(v map[string]*string) *Sto return s } +func (s *StopLoadBalancerListenerResponse) SetStatusCode(v int32) *StopLoadBalancerListenerResponse { + s.StatusCode = &v + return s +} + func (s *StopLoadBalancerListenerResponse) SetBody(v *StopLoadBalancerListenerResponseBody) *StopLoadBalancerListenerResponse { s.Body = v return s @@ -21357,8 +22398,9 @@ func (s *UnAssociateEnsEipAddressResponseBody) SetRequestId(v string) *UnAssocia } type UnAssociateEnsEipAddressResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *UnAssociateEnsEipAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *UnAssociateEnsEipAddressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s UnAssociateEnsEipAddressResponse) String() string { @@ -21374,6 +22416,11 @@ func (s *UnAssociateEnsEipAddressResponse) SetHeaders(v map[string]*string) *UnA return s } +func (s *UnAssociateEnsEipAddressResponse) SetStatusCode(v int32) *UnAssociateEnsEipAddressResponse { + s.StatusCode = &v + return s +} + func (s *UnAssociateEnsEipAddressResponse) SetBody(v *UnAssociateEnsEipAddressResponseBody) *UnAssociateEnsEipAddressResponse { s.Body = v return s @@ -21426,8 +22473,9 @@ func (s *UpgradeApplicationResponseBody) SetRequestId(v string) *UpgradeApplicat } type UpgradeApplicationResponse struct { - Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` - Body *UpgradeApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` + Body *UpgradeApplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` } func (s UpgradeApplicationResponse) String() string { @@ -21443,6 +22491,11 @@ func (s *UpgradeApplicationResponse) SetHeaders(v map[string]*string) *UpgradeAp return s } +func (s *UpgradeApplicationResponse) SetStatusCode(v int32) *UpgradeApplicationResponse { + s.StatusCode = &v + return s +} + func (s *UpgradeApplicationResponse) SetBody(v *UpgradeApplicationResponseBody) *UpgradeApplicationResponse { s.Body = v return s @@ -23605,6 +24658,50 @@ func (client *Client) DeleteForwardEntry(request *DeleteForwardEntryRequest) (_r return _result, _err } +func (client *Client) DeleteImageWithOptions(request *DeleteImageRequest, runtime *util.RuntimeOptions) (_result *DeleteImageResponse, _err error) { + _err = util.ValidateModel(request) + if _err != nil { + return _result, _err + } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.ImageId)) { + query["ImageId"] = request.ImageId + } + + req := &openapi.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapi.Params{ + Action: tea.String("DeleteImage"), + Version: tea.String("2017-11-10"), + Protocol: tea.String("HTTPS"), + Pathname: tea.String("/"), + Method: tea.String("POST"), + AuthType: tea.String("AK"), + Style: tea.String("RPC"), + ReqBodyType: tea.String("formData"), + BodyType: tea.String("json"), + } + _result = &DeleteImageResponse{} + _body, _err := client.CallApi(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = tea.Convert(_body, &_result) + return _result, _err +} + +func (client *Client) DeleteImage(request *DeleteImageRequest) (_result *DeleteImageResponse, _err error) { + runtime := &util.RuntimeOptions{} + _result = &DeleteImageResponse{} + _body, _err := client.DeleteImageWithOptions(request, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + func (client *Client) DeleteKeyPairsWithOptions(request *DeleteKeyPairsRequest, runtime *util.RuntimeOptions) (_result *DeleteKeyPairsResponse, _err error) { _err = util.ValidateModel(request) if _err != nil { @@ -23663,6 +24760,10 @@ func (client *Client) DeleteLoadBalancerListenerWithOptions(request *DeleteLoadB query["ListenerPort"] = request.ListenerPort } + if !tea.BoolValue(util.IsUnset(request.ListenerProtocol)) { + query["ListenerProtocol"] = request.ListenerProtocol + } + if !tea.BoolValue(util.IsUnset(request.LoadBalancerId)) { query["LoadBalancerId"] = request.LoadBalancerId } @@ -28995,10 +30096,6 @@ func (client *Client) ReleasePrePaidInstanceWithOptions(request *ReleasePrePaidI query["InstanceId"] = request.InstanceId } - if !tea.BoolValue(util.IsUnset(request.Version)) { - query["Version"] = request.Version - } - req := &openapi.OpenApiRequest{ Query: openapiutil.Query(query), } @@ -30491,6 +31588,10 @@ func (client *Client) StartLoadBalancerListenerWithOptions(request *StartLoadBal query["ListenerPort"] = request.ListenerPort } + if !tea.BoolValue(util.IsUnset(request.ListenerProtocol)) { + query["ListenerProtocol"] = request.ListenerProtocol + } + if !tea.BoolValue(util.IsUnset(request.LoadBalancerId)) { query["LoadBalancerId"] = request.LoadBalancerId } @@ -30635,6 +31736,10 @@ func (client *Client) StopLoadBalancerListenerWithOptions(request *StopLoadBalan query["ListenerPort"] = request.ListenerPort } + if !tea.BoolValue(util.IsUnset(request.ListenerProtocol)) { + query["ListenerProtocol"] = request.ListenerProtocol + } + if !tea.BoolValue(util.IsUnset(request.LoadBalancerId)) { query["LoadBalancerId"] = request.LoadBalancerId }