diff --git a/go.mod b/go.mod index bc44b23e7..f1e22c804 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module cloud.ibm.com/cloud-provider-ibm go 1.20 require ( - github.com/IBM-Cloud/power-go-client v1.2.3 + github.com/IBM-Cloud/power-go-client v1.2.4 github.com/IBM/go-sdk-core/v5 v5.13.4 github.com/IBM/platform-services-go-sdk v0.40.0 github.com/IBM/vpc-go-sdk v0.38.0 diff --git a/go.sum b/go.sum index 19ec3e71b..9b3e7398e 100644 --- a/go.sum +++ b/go.sum @@ -37,8 +37,8 @@ github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg6 github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/IBM-Cloud/power-go-client v1.2.3 h1:Scx70PyqpKv3zS/kJeMEg0qOOmsG6cM3bueiAYcCgXI= -github.com/IBM-Cloud/power-go-client v1.2.3/go.mod h1:Qfx0fNi+9hms+xu9Z6Euhu9088ByW6C/TCMLECTRWNE= +github.com/IBM-Cloud/power-go-client v1.2.4 h1:4y/ubiOXpMg3xyBryfgfsa8hae/9Dn5WLdvphoxvgsQ= +github.com/IBM-Cloud/power-go-client v1.2.4/go.mod h1:0YVWoIQN5I5IvyhO/m4yxgPJqCh9QjceN2FNlVpYlOQ= github.com/IBM/go-sdk-core/v5 v5.13.4 h1:kJvBNQOwhFRkXCPapjNvKVC7n7n2vd1Nr6uUtDZGcfo= github.com/IBM/go-sdk-core/v5 v5.13.4/go.mod h1:gKRSB+YyKsGlRQW7v5frlLbue5afulSvrRa4O26o4MM= github.com/IBM/platform-services-go-sdk v0.40.0 h1:khFqwE08xMvMjfKqFQ2MWorrLqjdgU7EE1EzvH/KLaU= diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_callback_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_callback_responses.go index ecd31641d..c072804d8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_callback_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_callback_responses.go @@ -85,6 +85,11 @@ func (o *ServiceBrokerAuthCallbackOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth callback o k response +func (o *ServiceBrokerAuthCallbackOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthCallbackOK) Error() string { return fmt.Sprintf("[GET /auth/v1/callback][%d] serviceBrokerAuthCallbackOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *ServiceBrokerAuthCallbackUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the service broker auth callback unauthorized response +func (o *ServiceBrokerAuthCallbackUnauthorized) Code() int { + return 401 +} + func (o *ServiceBrokerAuthCallbackUnauthorized) Error() string { return fmt.Sprintf("[GET /auth/v1/callback][%d] serviceBrokerAuthCallbackUnauthorized %+v", 401, o.Payload) } @@ -211,6 +221,11 @@ func (o *ServiceBrokerAuthCallbackInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker auth callback internal server error response +func (o *ServiceBrokerAuthCallbackInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthCallbackInternalServerError) Error() string { return fmt.Sprintf("[GET /auth/v1/callback][%d] serviceBrokerAuthCallbackInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_code_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_code_post_responses.go index 602b66cdd..5d7ff94b7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_code_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_code_post_responses.go @@ -85,6 +85,11 @@ func (o *ServiceBrokerAuthDeviceCodePostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth device code post o k response +func (o *ServiceBrokerAuthDeviceCodePostOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthDeviceCodePostOK) Error() string { return fmt.Sprintf("[POST /auth/v1/device/code][%d] serviceBrokerAuthDeviceCodePostOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the service broker auth device code post forbidden response +func (o *ServiceBrokerAuthDeviceCodePostForbidden) Code() int { + return 403 +} + func (o *ServiceBrokerAuthDeviceCodePostForbidden) Error() string { return fmt.Sprintf("[POST /auth/v1/device/code][%d] serviceBrokerAuthDeviceCodePostForbidden %+v", 403, o.Payload) } @@ -211,6 +221,11 @@ func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the service broker auth device code post internal server error response +func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) Error() string { return fmt.Sprintf("[POST /auth/v1/device/code][%d] serviceBrokerAuthDeviceCodePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_token_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_token_post_responses.go index 2a2bd8d92..b3b9b2518 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_token_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_device_token_post_responses.go @@ -99,6 +99,11 @@ func (o *ServiceBrokerAuthDeviceTokenPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth device token post o k response +func (o *ServiceBrokerAuthDeviceTokenPostOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthDeviceTokenPostOK) Error() string { return fmt.Sprintf("[POST /auth/v1/device/token][%d] serviceBrokerAuthDeviceTokenPostOK %+v", 200, o.Payload) } @@ -162,6 +167,11 @@ func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker auth device token post bad request response +func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) Error() string { return fmt.Sprintf("[POST /auth/v1/device/token][%d] serviceBrokerAuthDeviceTokenPostBadRequest %+v", 400, o.Payload) } @@ -225,6 +235,11 @@ func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the service broker auth device token post forbidden response +func (o *ServiceBrokerAuthDeviceTokenPostForbidden) Code() int { + return 403 +} + func (o *ServiceBrokerAuthDeviceTokenPostForbidden) Error() string { return fmt.Sprintf("[POST /auth/v1/device/token][%d] serviceBrokerAuthDeviceTokenPostForbidden %+v", 403, o.Payload) } @@ -288,6 +303,11 @@ func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsCode(code int) bool return code == 429 } +// Code gets the status code for the service broker auth device token post too many requests response +func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) Code() int { + return 429 +} + func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) Error() string { return fmt.Sprintf("[POST /auth/v1/device/token][%d] serviceBrokerAuthDeviceTokenPostTooManyRequests %+v", 429, o.Payload) } @@ -351,6 +371,11 @@ func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the service broker auth device token post internal server error response +func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) Error() string { return fmt.Sprintf("[POST /auth/v1/device/token][%d] serviceBrokerAuthDeviceTokenPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_token_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_token_responses.go index d835aa49d..bb64de567 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_token_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_token_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerAuthInfoTokenOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth info token o k response +func (o *ServiceBrokerAuthInfoTokenOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthInfoTokenOK) Error() string { return fmt.Sprintf("[GET /auth/v1/info/token][%d] serviceBrokerAuthInfoTokenOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker auth info token internal server error response +func (o *ServiceBrokerAuthInfoTokenInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthInfoTokenInternalServerError) Error() string { return fmt.Sprintf("[GET /auth/v1/info/token][%d] serviceBrokerAuthInfoTokenInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_user_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_user_responses.go index e310114b0..e945709da 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_user_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_info_user_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerAuthInfoUserOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth info user o k response +func (o *ServiceBrokerAuthInfoUserOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthInfoUserOK) Error() string { return fmt.Sprintf("[GET /auth/v1/info/user][%d] serviceBrokerAuthInfoUserOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *ServiceBrokerAuthInfoUserInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker auth info user internal server error response +func (o *ServiceBrokerAuthInfoUserInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthInfoUserInternalServerError) Error() string { return fmt.Sprintf("[GET /auth/v1/info/user][%d] serviceBrokerAuthInfoUserInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_login_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_login_responses.go index 0638e2740..f03e4e69a 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_login_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_login_responses.go @@ -85,6 +85,11 @@ func (o *ServiceBrokerAuthLoginOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth login o k response +func (o *ServiceBrokerAuthLoginOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthLoginOK) Error() string { return fmt.Sprintf("[GET /auth/v1/login][%d] serviceBrokerAuthLoginOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *ServiceBrokerAuthLoginUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the service broker auth login unauthorized response +func (o *ServiceBrokerAuthLoginUnauthorized) Code() int { + return 401 +} + func (o *ServiceBrokerAuthLoginUnauthorized) Error() string { return fmt.Sprintf("[GET /auth/v1/login][%d] serviceBrokerAuthLoginUnauthorized %+v", 401, o.Payload) } @@ -211,6 +221,11 @@ func (o *ServiceBrokerAuthLoginInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker auth login internal server error response +func (o *ServiceBrokerAuthLoginInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthLoginInternalServerError) Error() string { return fmt.Sprintf("[GET /auth/v1/login][%d] serviceBrokerAuthLoginInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_logout_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_logout_responses.go index 25bcf26df..2f6b7c355 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_logout_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_logout_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerAuthLogoutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth logout o k response +func (o *ServiceBrokerAuthLogoutOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthLogoutOK) Error() string { return fmt.Sprintf("[GET /auth/v1/logout][%d] serviceBrokerAuthLogoutOK %+v", 200, o.Payload) } @@ -140,6 +145,11 @@ func (o *ServiceBrokerAuthLogoutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker auth logout internal server error response +func (o *ServiceBrokerAuthLogoutInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthLogoutInternalServerError) Error() string { return fmt.Sprintf("[GET /auth/v1/logout][%d] serviceBrokerAuthLogoutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_callback_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_callback_responses.go index 3b31ccc9b..ed2a8c906 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_callback_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_callback_responses.go @@ -85,6 +85,11 @@ func (o *ServiceBrokerAuthRegistrationCallbackOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth registration callback o k response +func (o *ServiceBrokerAuthRegistrationCallbackOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthRegistrationCallbackOK) Error() string { return fmt.Sprintf("[GET /auth/v1/callback-registration][%d] serviceBrokerAuthRegistrationCallbackOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the service broker auth registration callback unauthorized response +func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) Code() int { + return 401 +} + func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) Error() string { return fmt.Sprintf("[GET /auth/v1/callback-registration][%d] serviceBrokerAuthRegistrationCallbackUnauthorized %+v", 401, o.Payload) } @@ -211,6 +221,11 @@ func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the service broker auth registration callback internal server error response +func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) Error() string { return fmt.Sprintf("[GET /auth/v1/callback-registration][%d] serviceBrokerAuthRegistrationCallbackInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_responses.go index b55d028fe..fc3aaa7d7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_registration_responses.go @@ -85,6 +85,11 @@ func (o *ServiceBrokerAuthRegistrationOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth registration o k response +func (o *ServiceBrokerAuthRegistrationOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthRegistrationOK) Error() string { return fmt.Sprintf("[GET /auth/v1/registration][%d] serviceBrokerAuthRegistrationOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *ServiceBrokerAuthRegistrationUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the service broker auth registration unauthorized response +func (o *ServiceBrokerAuthRegistrationUnauthorized) Code() int { + return 401 +} + func (o *ServiceBrokerAuthRegistrationUnauthorized) Error() string { return fmt.Sprintf("[GET /auth/v1/registration][%d] serviceBrokerAuthRegistrationUnauthorized %+v", 401, o.Payload) } @@ -211,6 +221,11 @@ func (o *ServiceBrokerAuthRegistrationInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the service broker auth registration internal server error response +func (o *ServiceBrokerAuthRegistrationInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthRegistrationInternalServerError) Error() string { return fmt.Sprintf("[GET /auth/v1/registration][%d] serviceBrokerAuthRegistrationInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_token_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_token_post_responses.go index 652035487..324a6e73b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_token_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/authentication/service_broker_auth_token_post_responses.go @@ -97,6 +97,11 @@ func (o *ServiceBrokerAuthTokenPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker auth token post o k response +func (o *ServiceBrokerAuthTokenPostOK) Code() int { + return 200 +} + func (o *ServiceBrokerAuthTokenPostOK) Error() string { return fmt.Sprintf("[POST /auth/v1/token][%d] serviceBrokerAuthTokenPostOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *ServiceBrokerAuthTokenPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker auth token post bad request response +func (o *ServiceBrokerAuthTokenPostBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerAuthTokenPostBadRequest) Error() string { return fmt.Sprintf("[POST /auth/v1/token][%d] serviceBrokerAuthTokenPostBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *ServiceBrokerAuthTokenPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the service broker auth token post forbidden response +func (o *ServiceBrokerAuthTokenPostForbidden) Code() int { + return 403 +} + func (o *ServiceBrokerAuthTokenPostForbidden) Error() string { return fmt.Sprintf("[POST /auth/v1/token][%d] serviceBrokerAuthTokenPostForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsCode(code int) bool { return code == 429 } +// Code gets the status code for the service broker auth token post too many requests response +func (o *ServiceBrokerAuthTokenPostTooManyRequests) Code() int { + return 429 +} + func (o *ServiceBrokerAuthTokenPostTooManyRequests) Error() string { return fmt.Sprintf("[POST /auth/v1/token][%d] serviceBrokerAuthTokenPostTooManyRequests %+v", 429, o.Payload) } @@ -349,6 +369,11 @@ func (o *ServiceBrokerAuthTokenPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker auth token post internal server error response +func (o *ServiceBrokerAuthTokenPostInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerAuthTokenPostInternalServerError) Error() string { return fmt.Sprintf("[POST /auth/v1/token][%d] serviceBrokerAuthTokenPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_get_responses.go index 0dbbebf11..97b0732a3 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_get_responses.go @@ -79,6 +79,11 @@ func (o *BluemixServiceInstanceGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the bluemix service instance get o k response +func (o *BluemixServiceInstanceGetOK) Code() int { + return 200 +} + func (o *BluemixServiceInstanceGetOK) Error() string { return fmt.Sprintf("[GET /bluemix_v1/service_instances/{instance_id}][%d] bluemixServiceInstanceGetOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *BluemixServiceInstanceGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the bluemix service instance get bad request response +func (o *BluemixServiceInstanceGetBadRequest) Code() int { + return 400 +} + func (o *BluemixServiceInstanceGetBadRequest) Error() string { return fmt.Sprintf("[GET /bluemix_v1/service_instances/{instance_id}][%d] bluemixServiceInstanceGetBadRequest %+v", 400, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_put_responses.go index 7526af897..465a2470a 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/bluemix_service_instances/bluemix_service_instance_put_responses.go @@ -79,6 +79,11 @@ func (o *BluemixServiceInstancePutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the bluemix service instance put o k response +func (o *BluemixServiceInstancePutOK) Code() int { + return 200 +} + func (o *BluemixServiceInstancePutOK) Error() string { return fmt.Sprintf("[PUT /bluemix_v1/service_instances/{instance_id}][%d] bluemixServiceInstancePutOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *BluemixServiceInstancePutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the bluemix service instance put bad request response +func (o *BluemixServiceInstancePutBadRequest) Code() int { + return 400 +} + func (o *BluemixServiceInstancePutBadRequest) Error() string { return fmt.Sprintf("[PUT /bluemix_v1/service_instances/{instance_id}][%d] bluemixServiceInstancePutBadRequest %+v", 400, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/catalog/catalog_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/catalog/catalog_get_responses.go index f8accdb68..9d55a08fb 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/catalog/catalog_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/catalog/catalog_get_responses.go @@ -73,6 +73,11 @@ func (o *CatalogGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the catalog get o k response +func (o *CatalogGetOK) Code() int { + return 200 +} + func (o *CatalogGetOK) Error() string { return fmt.Sprintf("[GET /v2/catalog][%d] catalogGetOK %+v", 200, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/hardware_platforms/service_broker_hardwareplatforms_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/hardware_platforms/service_broker_hardwareplatforms_get_responses.go index ea90ab579..01e56c6a1 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/hardware_platforms/service_broker_hardwareplatforms_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/hardware_platforms/service_broker_hardwareplatforms_get_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerHardwareplatformsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker hardwareplatforms get o k response +func (o *ServiceBrokerHardwareplatformsGetOK) Code() int { + return 200 +} + func (o *ServiceBrokerHardwareplatformsGetOK) Error() string { return fmt.Sprintf("[GET /broker/v1/hardware-platforms][%d] serviceBrokerHardwareplatformsGetOK %+v", 200, o.Payload) } @@ -140,6 +145,11 @@ func (o *ServiceBrokerHardwareplatformsGetInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the service broker hardwareplatforms get internal server error response +func (o *ServiceBrokerHardwareplatformsGetInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerHardwareplatformsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /broker/v1/hardware-platforms][%d] serviceBrokerHardwareplatformsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_head_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_head_responses.go index 674e4d6f8..7b71d1abb 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_head_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_head_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerHealthHeadOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker health head o k response +func (o *ServiceBrokerHealthHeadOK) Code() int { + return 200 +} + func (o *ServiceBrokerHealthHeadOK) Error() string { return fmt.Sprintf("[HEAD /broker/v1/health][%d] serviceBrokerHealthHeadOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *ServiceBrokerHealthHeadBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker health head bad request response +func (o *ServiceBrokerHealthHeadBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerHealthHeadBadRequest) Error() string { return fmt.Sprintf("[HEAD /broker/v1/health][%d] serviceBrokerHealthHeadBadRequest %+v", 400, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_responses.go index dbef0532d..afde98ea5 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_health_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerHealthOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker health o k response +func (o *ServiceBrokerHealthOK) Code() int { + return 200 +} + func (o *ServiceBrokerHealthOK) Error() string { return fmt.Sprintf("[GET /broker/v1/health][%d] serviceBrokerHealthOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *ServiceBrokerHealthBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker health bad request response +func (o *ServiceBrokerHealthBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerHealthBadRequest) Error() string { return fmt.Sprintf("[GET /broker/v1/health][%d] serviceBrokerHealthBadRequest %+v", 400, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_test_timeout_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_test_timeout_responses.go index 048f0e27f..f870712b8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_test_timeout_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_test_timeout_responses.go @@ -73,6 +73,11 @@ func (o *ServiceBrokerTestTimeoutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker test timeout o k response +func (o *ServiceBrokerTestTimeoutOK) Code() int { + return 200 +} + func (o *ServiceBrokerTestTimeoutOK) Error() string { return fmt.Sprintf("[GET /broker/v1/test/timeout][%d] serviceBrokerTestTimeoutOK %+v", 200, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_version_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_version_responses.go index 961dad92d..41c7a90ef 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_version_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/iaas_service_broker/service_broker_version_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerVersionOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker version o k response +func (o *ServiceBrokerVersionOK) Code() int { + return 200 +} + func (o *ServiceBrokerVersionOK) Error() string { return fmt.Sprintf("[GET /broker/v1/version][%d] serviceBrokerVersionOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *ServiceBrokerVersionBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker version bad request response +func (o *ServiceBrokerVersionBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerVersionBadRequest) Error() string { return fmt.Sprintf("[GET /broker/v1/version][%d] serviceBrokerVersionBadRequest %+v", 400, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_instances/internal_v1_powervs_instances_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_instances/internal_v1_powervs_instances_get_responses.go index ea38a7a15..0944d8df1 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_instances/internal_v1_powervs_instances_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_instances/internal_v1_powervs_instances_get_responses.go @@ -85,6 +85,11 @@ func (o *InternalV1PowervsInstancesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the internal v1 powervs instances get o k response +func (o *InternalV1PowervsInstancesGetOK) Code() int { + return 200 +} + func (o *InternalV1PowervsInstancesGetOK) Error() string { return fmt.Sprintf("[GET /internal/v1/powervs/instances][%d] internalV1PowervsInstancesGetOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *InternalV1PowervsInstancesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the internal v1 powervs instances get forbidden response +func (o *InternalV1PowervsInstancesGetForbidden) Code() int { + return 403 +} + func (o *InternalV1PowervsInstancesGetForbidden) Error() string { return fmt.Sprintf("[GET /internal/v1/powervs/instances][%d] internalV1PowervsInstancesGetForbidden %+v", 403, o.Payload) } @@ -211,6 +221,11 @@ func (o *InternalV1PowervsInstancesGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the internal v1 powervs instances get internal server error response +func (o *InternalV1PowervsInstancesGetInternalServerError) Code() int { + return 500 +} + func (o *InternalV1PowervsInstancesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /internal/v1/powervs/instances][%d] internalV1PowervsInstancesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_locations/internal_v1_powervs_locations_transitgateway_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_locations/internal_v1_powervs_locations_transitgateway_get_responses.go index cc1d00a35..a468ebaa8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_locations/internal_v1_powervs_locations_transitgateway_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_power_v_s_locations/internal_v1_powervs_locations_transitgateway_get_responses.go @@ -85,6 +85,11 @@ func (o *InternalV1PowervsLocationsTransitgatewayGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the internal v1 powervs locations transitgateway get o k response +func (o *InternalV1PowervsLocationsTransitgatewayGetOK) Code() int { + return 200 +} + func (o *InternalV1PowervsLocationsTransitgatewayGetOK) Error() string { return fmt.Sprintf("[GET /internal/v1/powervs/locations/transit-gateway][%d] internalV1PowervsLocationsTransitgatewayGetOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) IsCode(code int) return code == 403 } +// Code gets the status code for the internal v1 powervs locations transitgateway get forbidden response +func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) Code() int { + return 403 +} + func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) Error() string { return fmt.Sprintf("[GET /internal/v1/powervs/locations/transit-gateway][%d] internalV1PowervsLocationsTransitgatewayGetForbidden %+v", 403, o.Payload) } @@ -211,6 +221,11 @@ func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) IsCode( return code == 500 } +// Code gets the status code for the internal v1 powervs locations transitgateway get internal server error response +func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Code() int { + return 500 +} + func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Error() string { return fmt.Sprintf("[GET /internal/v1/powervs/locations/transit-gateway][%d] internalV1PowervsLocationsTransitgatewayGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_get_responses.go index 374564dd1..abaf056fd 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_get_responses.go @@ -97,6 +97,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the internal v1 storage regions storage pools get o k response +func (o *InternalV1StorageRegionsStoragePoolsGetOK) Code() int { + return 200 +} + func (o *InternalV1StorageRegionsStoragePoolsGetOK) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsGetOK %+v", 200, o.Payload) } @@ -158,6 +163,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsCode(code int) b return code == 401 } +// Code gets the status code for the internal v1 storage regions storage pools get unauthorized response +func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) Code() int { + return 401 +} + func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsGetUnauthorized %+v", 401, o.Payload) } @@ -221,6 +231,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsCode(code int) bool return code == 403 } +// Code gets the status code for the internal v1 storage regions storage pools get forbidden response +func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) Code() int { + return 403 +} + func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsGetForbidden %+v", 403, o.Payload) } @@ -284,6 +299,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsCode(code int) bool return code == 404 } +// Code gets the status code for the internal v1 storage regions storage pools get not found response +func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) Code() int { + return 404 +} + func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsGetNotFound %+v", 404, o.Payload) } @@ -347,6 +367,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsCode(code return code == 500 } +// Code gets the status code for the internal v1 storage regions storage pools get internal server error response +func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) Code() int { + return 500 +} + func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_getall_responses.go index 3bc64a773..eedf69400 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_getall_responses.go @@ -97,6 +97,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the internal v1 storage regions storage pools getall o k response +func (o *InternalV1StorageRegionsStoragePoolsGetallOK) Code() int { + return 200 +} + func (o *InternalV1StorageRegionsStoragePoolsGetallOK) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools][%d] internalV1StorageRegionsStoragePoolsGetallOK %+v", 200, o.Payload) } @@ -158,6 +163,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsCode(code int return code == 401 } +// Code gets the status code for the internal v1 storage regions storage pools getall unauthorized response +func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Code() int { + return 401 +} + func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools][%d] internalV1StorageRegionsStoragePoolsGetallUnauthorized %+v", 401, o.Payload) } @@ -221,6 +231,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsCode(code int) b return code == 403 } +// Code gets the status code for the internal v1 storage regions storage pools getall forbidden response +func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) Code() int { + return 403 +} + func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools][%d] internalV1StorageRegionsStoragePoolsGetallForbidden %+v", 403, o.Payload) } @@ -284,6 +299,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsCode(code int) bo return code == 404 } +// Code gets the status code for the internal v1 storage regions storage pools getall not found response +func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) Code() int { + return 404 +} + func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools][%d] internalV1StorageRegionsStoragePoolsGetallNotFound %+v", 404, o.Payload) } @@ -347,6 +367,11 @@ func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsCode(c return code == 500 } +// Code gets the status code for the internal v1 storage regions storage pools getall internal server error response +func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Code() int { + return 500 +} + func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/storage-pools][%d] internalV1StorageRegionsStoragePoolsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_put_responses.go index a1996432e..1070ecb20 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_storage_pools_put_responses.go @@ -103,6 +103,11 @@ func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the internal v1 storage regions storage pools put o k response +func (o *InternalV1StorageRegionsStoragePoolsPutOK) Code() int { + return 200 +} + func (o *InternalV1StorageRegionsStoragePoolsPutOK) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsPutOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsCode(code int) boo return code == 400 } +// Code gets the status code for the internal v1 storage regions storage pools put bad request response +func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) Code() int { + return 400 +} + func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsPutBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsCode(code int) b return code == 401 } +// Code gets the status code for the internal v1 storage regions storage pools put unauthorized response +func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) Code() int { + return 401 +} + func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsPutUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsCode(code int) bool return code == 403 } +// Code gets the status code for the internal v1 storage regions storage pools put forbidden response +func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) Code() int { + return 403 +} + func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsPutForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsCode(code int) bool return code == 404 } +// Code gets the status code for the internal v1 storage regions storage pools put not found response +func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) Code() int { + return 404 +} + func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsPutNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsCode(code return code == 500 } +// Code gets the status code for the internal v1 storage regions storage pools put internal server error response +func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) Code() int { + return 500 +} + func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/storage-pools/{storage_pool_name}][%d] internalV1StorageRegionsStoragePoolsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_get_responses.go index 074209d51..b9986183b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_get_responses.go @@ -97,6 +97,11 @@ func (o *InternalV1StorageRegionsThresholdsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the internal v1 storage regions thresholds get o k response +func (o *InternalV1StorageRegionsThresholdsGetOK) Code() int { + return 200 +} + func (o *InternalV1StorageRegionsThresholdsGetOK) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the internal v1 storage regions thresholds get unauthorized response +func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) Code() int { + return 401 +} + func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsGetUnauthorized %+v", 401, o.Payload) } @@ -223,6 +233,11 @@ func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the internal v1 storage regions thresholds get forbidden response +func (o *InternalV1StorageRegionsThresholdsGetForbidden) Code() int { + return 403 +} + func (o *InternalV1StorageRegionsThresholdsGetForbidden) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the internal v1 storage regions thresholds get not found response +func (o *InternalV1StorageRegionsThresholdsGetNotFound) Code() int { + return 404 +} + func (o *InternalV1StorageRegionsThresholdsGetNotFound) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the internal v1 storage regions thresholds get internal server error response +func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) Code() int { + return 500 +} + func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_put_responses.go index a61d43351..a4680e781 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_storage_regions/internal_v1_storage_regions_thresholds_put_responses.go @@ -109,6 +109,11 @@ func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the internal v1 storage regions thresholds put accepted response +func (o *InternalV1StorageRegionsThresholdsPutAccepted) Code() int { + return 202 +} + func (o *InternalV1StorageRegionsThresholdsPutAccepted) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsPutAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsCode(code int) bool return code == 400 } +// Code gets the status code for the internal v1 storage regions thresholds put bad request response +func (o *InternalV1StorageRegionsThresholdsPutBadRequest) Code() int { + return 400 +} + func (o *InternalV1StorageRegionsThresholdsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsPutBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the internal v1 storage regions thresholds put unauthorized response +func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) Code() int { + return 401 +} + func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsPutUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the internal v1 storage regions thresholds put forbidden response +func (o *InternalV1StorageRegionsThresholdsPutForbidden) Code() int { + return 403 +} + func (o *InternalV1StorageRegionsThresholdsPutForbidden) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsPutForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *InternalV1StorageRegionsThresholdsPutConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the internal v1 storage regions thresholds put conflict response +func (o *InternalV1StorageRegionsThresholdsPutConflict) Code() int { + return 409 +} + func (o *InternalV1StorageRegionsThresholdsPutConflict) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsPutConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsCode(code i return code == 422 } +// Code gets the status code for the internal v1 storage regions thresholds put unprocessable entity response +func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Code() int { + return 422 +} + func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsPutUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the internal v1 storage regions thresholds put internal server error response +func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) Code() int { + return 500 +} + func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /internal/v1/storage/regions/{region_zone_id}/thresholds][%d] internalV1StorageRegionsThresholdsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_transit_gateway/internal_v1_transitgateway_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_transit_gateway/internal_v1_transitgateway_get_responses.go index 07584952b..0b72a4dcc 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_transit_gateway/internal_v1_transitgateway_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/internal_transit_gateway/internal_v1_transitgateway_get_responses.go @@ -79,6 +79,11 @@ func (o *InternalV1TransitgatewayGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the internal v1 transitgateway get o k response +func (o *InternalV1TransitgatewayGetOK) Code() int { + return 200 +} + func (o *InternalV1TransitgatewayGetOK) Error() string { return fmt.Sprintf("[GET /internal/v1/transit-gateway/{powervs_service_crn}][%d] internalV1TransitgatewayGetOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *InternalV1TransitgatewayGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the internal v1 transitgateway get forbidden response +func (o *InternalV1TransitgatewayGetForbidden) Code() int { + return 403 +} + func (o *InternalV1TransitgatewayGetForbidden) Error() string { return fmt.Sprintf("[GET /internal/v1/transit-gateway/{powervs_service_crn}][%d] internalV1TransitgatewayGetForbidden %+v", 403, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_get_responses.go index 95ac39fba..a3847dd66 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_get_responses.go @@ -91,6 +91,11 @@ func (o *ServiceBrokerOpenstacksGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker openstacks get o k response +func (o *ServiceBrokerOpenstacksGetOK) Code() int { + return 200 +} + func (o *ServiceBrokerOpenstacksGetOK) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks][%d] serviceBrokerOpenstacksGetOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *ServiceBrokerOpenstacksGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker openstacks get bad request response +func (o *ServiceBrokerOpenstacksGetBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerOpenstacksGetBadRequest) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks][%d] serviceBrokerOpenstacksGetBadRequest %+v", 400, o.Payload) } @@ -217,6 +227,11 @@ func (o *ServiceBrokerOpenstacksGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the service broker openstacks get forbidden response +func (o *ServiceBrokerOpenstacksGetForbidden) Code() int { + return 403 +} + func (o *ServiceBrokerOpenstacksGetForbidden) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks][%d] serviceBrokerOpenstacksGetForbidden %+v", 403, o.Payload) } @@ -280,6 +295,11 @@ func (o *ServiceBrokerOpenstacksGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker openstacks get internal server error response +func (o *ServiceBrokerOpenstacksGetInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerOpenstacksGetInternalServerError) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks][%d] serviceBrokerOpenstacksGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_hosts_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_hosts_get_responses.go index 7d8e21ab6..5bc072909 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_hosts_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_hosts_get_responses.go @@ -91,6 +91,11 @@ func (o *ServiceBrokerOpenstacksHostsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker openstacks hosts get o k response +func (o *ServiceBrokerOpenstacksHostsGetOK) Code() int { + return 200 +} + func (o *ServiceBrokerOpenstacksHostsGetOK) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/hosts/{hostname}][%d] serviceBrokerOpenstacksHostsGetOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *ServiceBrokerOpenstacksHostsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker openstacks hosts get bad request response +func (o *ServiceBrokerOpenstacksHostsGetBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerOpenstacksHostsGetBadRequest) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/hosts/{hostname}][%d] serviceBrokerOpenstacksHostsGetBadRequest %+v", 400, o.Payload) } @@ -217,6 +227,11 @@ func (o *ServiceBrokerOpenstacksHostsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the service broker openstacks hosts get not found response +func (o *ServiceBrokerOpenstacksHostsGetNotFound) Code() int { + return 404 +} + func (o *ServiceBrokerOpenstacksHostsGetNotFound) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/hosts/{hostname}][%d] serviceBrokerOpenstacksHostsGetNotFound %+v", 404, o.Payload) } @@ -280,6 +295,11 @@ func (o *ServiceBrokerOpenstacksHostsGetInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the service broker openstacks hosts get internal server error response +func (o *ServiceBrokerOpenstacksHostsGetInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerOpenstacksHostsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/hosts/{hostname}][%d] serviceBrokerOpenstacksHostsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_openstack_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_openstack_get_responses.go index b5e57c58b..cc8228a0b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_openstack_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_openstack_get_responses.go @@ -91,6 +91,11 @@ func (o *ServiceBrokerOpenstacksOpenstackGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker openstacks openstack get o k response +func (o *ServiceBrokerOpenstacksOpenstackGetOK) Code() int { + return 200 +} + func (o *ServiceBrokerOpenstacksOpenstackGetOK) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}][%d] serviceBrokerOpenstacksOpenstackGetOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *ServiceBrokerOpenstacksOpenstackGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker openstacks openstack get bad request response +func (o *ServiceBrokerOpenstacksOpenstackGetBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerOpenstacksOpenstackGetBadRequest) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}][%d] serviceBrokerOpenstacksOpenstackGetBadRequest %+v", 400, o.Payload) } @@ -217,6 +227,11 @@ func (o *ServiceBrokerOpenstacksOpenstackGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the service broker openstacks openstack get not found response +func (o *ServiceBrokerOpenstacksOpenstackGetNotFound) Code() int { + return 404 +} + func (o *ServiceBrokerOpenstacksOpenstackGetNotFound) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}][%d] serviceBrokerOpenstacksOpenstackGetNotFound %+v", 404, o.Payload) } @@ -280,6 +295,11 @@ func (o *ServiceBrokerOpenstacksOpenstackGetInternalServerError) IsCode(code int return code == 500 } +// Code gets the status code for the service broker openstacks openstack get internal server error response +func (o *ServiceBrokerOpenstacksOpenstackGetInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerOpenstacksOpenstackGetInternalServerError) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}][%d] serviceBrokerOpenstacksOpenstackGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_post_responses.go index 749ae0e0f..ac181444d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_post_responses.go @@ -103,6 +103,11 @@ func (o *ServiceBrokerOpenstacksPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker openstacks post o k response +func (o *ServiceBrokerOpenstacksPostOK) Code() int { + return 200 +} + func (o *ServiceBrokerOpenstacksPostOK) Error() string { return fmt.Sprintf("[POST /broker/v1/openstacks][%d] serviceBrokerOpenstacksPostOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *ServiceBrokerOpenstacksPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the service broker openstacks post created response +func (o *ServiceBrokerOpenstacksPostCreated) Code() int { + return 201 +} + func (o *ServiceBrokerOpenstacksPostCreated) Error() string { return fmt.Sprintf("[POST /broker/v1/openstacks][%d] serviceBrokerOpenstacksPostCreated %+v", 201, o.Payload) } @@ -229,6 +239,11 @@ func (o *ServiceBrokerOpenstacksPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker openstacks post bad request response +func (o *ServiceBrokerOpenstacksPostBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerOpenstacksPostBadRequest) Error() string { return fmt.Sprintf("[POST /broker/v1/openstacks][%d] serviceBrokerOpenstacksPostBadRequest %+v", 400, o.Payload) } @@ -292,6 +307,11 @@ func (o *ServiceBrokerOpenstacksPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the service broker openstacks post conflict response +func (o *ServiceBrokerOpenstacksPostConflict) Code() int { + return 409 +} + func (o *ServiceBrokerOpenstacksPostConflict) Error() string { return fmt.Sprintf("[POST /broker/v1/openstacks][%d] serviceBrokerOpenstacksPostConflict %+v", 409, o.Payload) } @@ -355,6 +375,11 @@ func (o *ServiceBrokerOpenstacksPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the service broker openstacks post unprocessable entity response +func (o *ServiceBrokerOpenstacksPostUnprocessableEntity) Code() int { + return 422 +} + func (o *ServiceBrokerOpenstacksPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /broker/v1/openstacks][%d] serviceBrokerOpenstacksPostUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *ServiceBrokerOpenstacksPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the service broker openstacks post internal server error response +func (o *ServiceBrokerOpenstacksPostInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerOpenstacksPostInternalServerError) Error() string { return fmt.Sprintf("[POST /broker/v1/openstacks][%d] serviceBrokerOpenstacksPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_servers_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_servers_get_responses.go index 98035c1a6..feba9e07a 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_servers_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/open_stacks/service_broker_openstacks_servers_get_responses.go @@ -91,6 +91,11 @@ func (o *ServiceBrokerOpenstacksServersGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker openstacks servers get o k response +func (o *ServiceBrokerOpenstacksServersGetOK) Code() int { + return 200 +} + func (o *ServiceBrokerOpenstacksServersGetOK) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/servers/{pvm_instance_id}][%d] serviceBrokerOpenstacksServersGetOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *ServiceBrokerOpenstacksServersGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service broker openstacks servers get bad request response +func (o *ServiceBrokerOpenstacksServersGetBadRequest) Code() int { + return 400 +} + func (o *ServiceBrokerOpenstacksServersGetBadRequest) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/servers/{pvm_instance_id}][%d] serviceBrokerOpenstacksServersGetBadRequest %+v", 400, o.Payload) } @@ -217,6 +227,11 @@ func (o *ServiceBrokerOpenstacksServersGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the service broker openstacks servers get not found response +func (o *ServiceBrokerOpenstacksServersGetNotFound) Code() int { + return 404 +} + func (o *ServiceBrokerOpenstacksServersGetNotFound) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/servers/{pvm_instance_id}][%d] serviceBrokerOpenstacksServersGetNotFound %+v", 404, o.Payload) } @@ -280,6 +295,11 @@ func (o *ServiceBrokerOpenstacksServersGetInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the service broker openstacks servers get internal server error response +func (o *ServiceBrokerOpenstacksServersGetInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerOpenstacksServersGetInternalServerError) Error() string { return fmt.Sprintf("[GET /broker/v1/openstacks/{openstack_id}/servers/{pvm_instance_id}][%d] serviceBrokerOpenstacksServersGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_delete_responses.go index 8ba636d28..900ed29a5 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_delete_responses.go @@ -115,6 +115,11 @@ func (o *PcloudCloudconnectionsDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudconnections delete o k response +func (o *PcloudCloudconnectionsDeleteOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteOK %+v", 200, o.Payload) } @@ -176,6 +181,11 @@ func (o *PcloudCloudconnectionsDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudconnections delete accepted response +func (o *PcloudCloudconnectionsDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudCloudconnectionsDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteAccepted %+v", 202, o.Payload) } @@ -239,6 +249,11 @@ func (o *PcloudCloudconnectionsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudconnections delete bad request response +func (o *PcloudCloudconnectionsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteBadRequest %+v", 400, o.Payload) } @@ -302,6 +317,11 @@ func (o *PcloudCloudconnectionsDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudconnections delete unauthorized response +func (o *PcloudCloudconnectionsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteUnauthorized %+v", 401, o.Payload) } @@ -365,6 +385,11 @@ func (o *PcloudCloudconnectionsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudconnections delete not found response +func (o *PcloudCloudconnectionsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudCloudconnectionsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteNotFound %+v", 404, o.Payload) } @@ -428,6 +453,11 @@ func (o *PcloudCloudconnectionsDeleteRequestTimeout) IsCode(code int) bool { return code == 408 } +// Code gets the status code for the pcloud cloudconnections delete request timeout response +func (o *PcloudCloudconnectionsDeleteRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsDeleteRequestTimeout) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteRequestTimeout %+v", 408, o.Payload) } @@ -491,6 +521,11 @@ func (o *PcloudCloudconnectionsDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud cloudconnections delete gone response +func (o *PcloudCloudconnectionsDeleteGone) Code() int { + return 410 +} + func (o *PcloudCloudconnectionsDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteGone %+v", 410, o.Payload) } @@ -554,6 +589,11 @@ func (o *PcloudCloudconnectionsDeleteInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud cloudconnections delete internal server error response +func (o *PcloudCloudconnectionsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_get_responses.go index 2da8381ac..9484ad5a5 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudconnectionsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudconnections get o k response +func (o *PcloudCloudconnectionsGetOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudconnectionsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudconnections get bad request response +func (o *PcloudCloudconnectionsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudconnectionsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudconnections get unauthorized response +func (o *PcloudCloudconnectionsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudconnectionsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudconnections get not found response +func (o *PcloudCloudconnectionsGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudconnectionsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsGetNotFound %+v", 404, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudconnectionsGetRequestTimeout) IsCode(code int) bool { return code == 408 } +// Code gets the status code for the pcloud cloudconnections get request timeout response +func (o *PcloudCloudconnectionsGetRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsGetRequestTimeout) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsGetRequestTimeout %+v", 408, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudconnectionsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud cloudconnections get internal server error response +func (o *PcloudCloudconnectionsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_getall_responses.go index 7c82948d9..283ef40dc 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudconnectionsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudconnections getall o k response +func (o *PcloudCloudconnectionsGetallOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudconnectionsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudconnections getall bad request response +func (o *PcloudCloudconnectionsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudconnectionsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudconnections getall unauthorized response +func (o *PcloudCloudconnectionsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudconnectionsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudconnections getall forbidden response +func (o *PcloudCloudconnectionsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudCloudconnectionsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudconnectionsGetallRequestTimeout) IsCode(code int) bool { return code == 408 } +// Code gets the status code for the pcloud cloudconnections getall request timeout response +func (o *PcloudCloudconnectionsGetallRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsGetallRequestTimeout) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsGetallRequestTimeout %+v", 408, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudconnectionsGetallInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud cloudconnections getall internal server error response +func (o *PcloudCloudconnectionsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_delete_responses.go index 93de7c292..5292814e9 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_delete_responses.go @@ -115,6 +115,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudconnections networks delete o k response +func (o *PcloudCloudconnectionsNetworksDeleteOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsNetworksDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteOK %+v", 200, o.Payload) } @@ -176,6 +181,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudconnections networks delete accepted response +func (o *PcloudCloudconnectionsNetworksDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudCloudconnectionsNetworksDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteAccepted %+v", 202, o.Payload) } @@ -239,6 +249,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudconnections networks delete bad request response +func (o *PcloudCloudconnectionsNetworksDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsNetworksDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteBadRequest %+v", 400, o.Payload) } @@ -302,6 +317,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteUnauthorized) IsCode(code int) bool return code == 401 } +// Code gets the status code for the pcloud cloudconnections networks delete unauthorized response +func (o *PcloudCloudconnectionsNetworksDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsNetworksDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteUnauthorized %+v", 401, o.Payload) } @@ -365,6 +385,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudconnections networks delete not found response +func (o *PcloudCloudconnectionsNetworksDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudCloudconnectionsNetworksDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteNotFound %+v", 404, o.Payload) } @@ -428,6 +453,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteRequestTimeout) IsCode(code int) bo return code == 408 } +// Code gets the status code for the pcloud cloudconnections networks delete request timeout response +func (o *PcloudCloudconnectionsNetworksDeleteRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsNetworksDeleteRequestTimeout) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteRequestTimeout %+v", 408, o.Payload) } @@ -491,6 +521,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud cloudconnections networks delete gone response +func (o *PcloudCloudconnectionsNetworksDeleteGone) Code() int { + return 410 +} + func (o *PcloudCloudconnectionsNetworksDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteGone %+v", 410, o.Payload) } @@ -554,6 +589,11 @@ func (o *PcloudCloudconnectionsNetworksDeleteInternalServerError) IsCode(code in return code == 500 } +// Code gets the status code for the pcloud cloudconnections networks delete internal server error response +func (o *PcloudCloudconnectionsNetworksDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsNetworksDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_put_responses.go index 61549c727..76a755d24 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_networks_put_responses.go @@ -115,6 +115,11 @@ func (o *PcloudCloudconnectionsNetworksPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudconnections networks put o k response +func (o *PcloudCloudconnectionsNetworksPutOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsNetworksPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutOK %+v", 200, o.Payload) } @@ -176,6 +181,11 @@ func (o *PcloudCloudconnectionsNetworksPutAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudconnections networks put accepted response +func (o *PcloudCloudconnectionsNetworksPutAccepted) Code() int { + return 202 +} + func (o *PcloudCloudconnectionsNetworksPutAccepted) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutAccepted %+v", 202, o.Payload) } @@ -239,6 +249,11 @@ func (o *PcloudCloudconnectionsNetworksPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudconnections networks put bad request response +func (o *PcloudCloudconnectionsNetworksPutBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsNetworksPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutBadRequest %+v", 400, o.Payload) } @@ -302,6 +317,11 @@ func (o *PcloudCloudconnectionsNetworksPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudconnections networks put unauthorized response +func (o *PcloudCloudconnectionsNetworksPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsNetworksPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutUnauthorized %+v", 401, o.Payload) } @@ -365,6 +385,11 @@ func (o *PcloudCloudconnectionsNetworksPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudconnections networks put not found response +func (o *PcloudCloudconnectionsNetworksPutNotFound) Code() int { + return 404 +} + func (o *PcloudCloudconnectionsNetworksPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutNotFound %+v", 404, o.Payload) } @@ -428,6 +453,11 @@ func (o *PcloudCloudconnectionsNetworksPutRequestTimeout) IsCode(code int) bool return code == 408 } +// Code gets the status code for the pcloud cloudconnections networks put request timeout response +func (o *PcloudCloudconnectionsNetworksPutRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsNetworksPutRequestTimeout) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutRequestTimeout %+v", 408, o.Payload) } @@ -491,6 +521,11 @@ func (o *PcloudCloudconnectionsNetworksPutUnprocessableEntity) IsCode(code int) return code == 422 } +// Code gets the status code for the pcloud cloudconnections networks put unprocessable entity response +func (o *PcloudCloudconnectionsNetworksPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudconnectionsNetworksPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutUnprocessableEntity %+v", 422, o.Payload) } @@ -554,6 +589,11 @@ func (o *PcloudCloudconnectionsNetworksPutInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud cloudconnections networks put internal server error response +func (o *PcloudCloudconnectionsNetworksPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsNetworksPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}/networks/{network_id}][%d] pcloudCloudconnectionsNetworksPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_post_responses.go index 818287422..e7f0a58db 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_post_responses.go @@ -83,6 +83,12 @@ func (o *PcloudCloudconnectionsPostReader) ReadResponse(response runtime.ClientR return nil, err } return nil, result + case 503: + result := NewPcloudCloudconnectionsPostServiceUnavailable() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result case 504: result := NewPcloudCloudconnectionsPostGatewayTimeout() if err := result.readResponse(response, consumer, o.formats); err != nil { @@ -133,6 +139,11 @@ func (o *PcloudCloudconnectionsPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudconnections post o k response +func (o *PcloudCloudconnectionsPostOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostOK %+v", 200, o.Payload) } @@ -196,6 +207,11 @@ func (o *PcloudCloudconnectionsPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud cloudconnections post created response +func (o *PcloudCloudconnectionsPostCreated) Code() int { + return 201 +} + func (o *PcloudCloudconnectionsPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostCreated %+v", 201, o.Payload) } @@ -259,6 +275,11 @@ func (o *PcloudCloudconnectionsPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudconnections post accepted response +func (o *PcloudCloudconnectionsPostAccepted) Code() int { + return 202 +} + func (o *PcloudCloudconnectionsPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostAccepted %+v", 202, o.Payload) } @@ -322,6 +343,11 @@ func (o *PcloudCloudconnectionsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudconnections post bad request response +func (o *PcloudCloudconnectionsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostBadRequest %+v", 400, o.Payload) } @@ -385,6 +411,11 @@ func (o *PcloudCloudconnectionsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudconnections post unauthorized response +func (o *PcloudCloudconnectionsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostUnauthorized %+v", 401, o.Payload) } @@ -448,6 +479,11 @@ func (o *PcloudCloudconnectionsPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudconnections post not found response +func (o *PcloudCloudconnectionsPostNotFound) Code() int { + return 404 +} + func (o *PcloudCloudconnectionsPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostNotFound %+v", 404, o.Payload) } @@ -511,6 +547,11 @@ func (o *PcloudCloudconnectionsPostRequestTimeout) IsCode(code int) bool { return code == 408 } +// Code gets the status code for the pcloud cloudconnections post request timeout response +func (o *PcloudCloudconnectionsPostRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsPostRequestTimeout) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostRequestTimeout %+v", 408, o.Payload) } @@ -574,6 +615,11 @@ func (o *PcloudCloudconnectionsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud cloudconnections post conflict response +func (o *PcloudCloudconnectionsPostConflict) Code() int { + return 409 +} + func (o *PcloudCloudconnectionsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostConflict %+v", 409, o.Payload) } @@ -637,6 +683,11 @@ func (o *PcloudCloudconnectionsPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud cloudconnections post unprocessable entity response +func (o *PcloudCloudconnectionsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudconnectionsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -700,6 +751,11 @@ func (o *PcloudCloudconnectionsPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud cloudconnections post internal server error response +func (o *PcloudCloudconnectionsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostInternalServerError %+v", 500, o.Payload) } @@ -724,6 +780,74 @@ func (o *PcloudCloudconnectionsPostInternalServerError) readResponse(response ru return nil } +// NewPcloudCloudconnectionsPostServiceUnavailable creates a PcloudCloudconnectionsPostServiceUnavailable with default headers values +func NewPcloudCloudconnectionsPostServiceUnavailable() *PcloudCloudconnectionsPostServiceUnavailable { + return &PcloudCloudconnectionsPostServiceUnavailable{} +} + +/* +PcloudCloudconnectionsPostServiceUnavailable describes a response with status code 503, with default header values. + +Service Unavailable +*/ +type PcloudCloudconnectionsPostServiceUnavailable struct { + Payload *models.Error +} + +// IsSuccess returns true when this pcloud cloudconnections post service unavailable response has a 2xx status code +func (o *PcloudCloudconnectionsPostServiceUnavailable) IsSuccess() bool { + return false +} + +// IsRedirect returns true when this pcloud cloudconnections post service unavailable response has a 3xx status code +func (o *PcloudCloudconnectionsPostServiceUnavailable) IsRedirect() bool { + return false +} + +// IsClientError returns true when this pcloud cloudconnections post service unavailable response has a 4xx status code +func (o *PcloudCloudconnectionsPostServiceUnavailable) IsClientError() bool { + return false +} + +// IsServerError returns true when this pcloud cloudconnections post service unavailable response has a 5xx status code +func (o *PcloudCloudconnectionsPostServiceUnavailable) IsServerError() bool { + return true +} + +// IsCode returns true when this pcloud cloudconnections post service unavailable response a status code equal to that given +func (o *PcloudCloudconnectionsPostServiceUnavailable) IsCode(code int) bool { + return code == 503 +} + +// Code gets the status code for the pcloud cloudconnections post service unavailable response +func (o *PcloudCloudconnectionsPostServiceUnavailable) Code() int { + return 503 +} + +func (o *PcloudCloudconnectionsPostServiceUnavailable) Error() string { + return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostServiceUnavailable %+v", 503, o.Payload) +} + +func (o *PcloudCloudconnectionsPostServiceUnavailable) String() string { + return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostServiceUnavailable %+v", 503, o.Payload) +} + +func (o *PcloudCloudconnectionsPostServiceUnavailable) GetPayload() *models.Error { + return o.Payload +} + +func (o *PcloudCloudconnectionsPostServiceUnavailable) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(models.Error) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} + // NewPcloudCloudconnectionsPostGatewayTimeout creates a PcloudCloudconnectionsPostGatewayTimeout with default headers values func NewPcloudCloudconnectionsPostGatewayTimeout() *PcloudCloudconnectionsPostGatewayTimeout { return &PcloudCloudconnectionsPostGatewayTimeout{} @@ -763,6 +887,11 @@ func (o *PcloudCloudconnectionsPostGatewayTimeout) IsCode(code int) bool { return code == 504 } +// Code gets the status code for the pcloud cloudconnections post gateway timeout response +func (o *PcloudCloudconnectionsPostGatewayTimeout) Code() int { + return 504 +} + func (o *PcloudCloudconnectionsPostGatewayTimeout) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections][%d] pcloudCloudconnectionsPostGatewayTimeout %+v", 504, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_put_responses.go index f04f373cc..f3568dd50 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_put_responses.go @@ -83,6 +83,12 @@ func (o *PcloudCloudconnectionsPutReader) ReadResponse(response runtime.ClientRe return nil, err } return nil, result + case 503: + result := NewPcloudCloudconnectionsPutServiceUnavailable() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,6 +133,11 @@ func (o *PcloudCloudconnectionsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudconnections put o k response +func (o *PcloudCloudconnectionsPutOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutOK %+v", 200, o.Payload) } @@ -190,6 +201,11 @@ func (o *PcloudCloudconnectionsPutAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudconnections put accepted response +func (o *PcloudCloudconnectionsPutAccepted) Code() int { + return 202 +} + func (o *PcloudCloudconnectionsPutAccepted) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutAccepted %+v", 202, o.Payload) } @@ -253,6 +269,11 @@ func (o *PcloudCloudconnectionsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudconnections put bad request response +func (o *PcloudCloudconnectionsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutBadRequest %+v", 400, o.Payload) } @@ -316,6 +337,11 @@ func (o *PcloudCloudconnectionsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudconnections put unauthorized response +func (o *PcloudCloudconnectionsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutUnauthorized %+v", 401, o.Payload) } @@ -379,6 +405,11 @@ func (o *PcloudCloudconnectionsPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudconnections put not found response +func (o *PcloudCloudconnectionsPutNotFound) Code() int { + return 404 +} + func (o *PcloudCloudconnectionsPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutNotFound %+v", 404, o.Payload) } @@ -442,6 +473,11 @@ func (o *PcloudCloudconnectionsPutMethodNotAllowed) IsCode(code int) bool { return code == 405 } +// Code gets the status code for the pcloud cloudconnections put method not allowed response +func (o *PcloudCloudconnectionsPutMethodNotAllowed) Code() int { + return 405 +} + func (o *PcloudCloudconnectionsPutMethodNotAllowed) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutMethodNotAllowed %+v", 405, o.Payload) } @@ -505,6 +541,11 @@ func (o *PcloudCloudconnectionsPutRequestTimeout) IsCode(code int) bool { return code == 408 } +// Code gets the status code for the pcloud cloudconnections put request timeout response +func (o *PcloudCloudconnectionsPutRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsPutRequestTimeout) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutRequestTimeout %+v", 408, o.Payload) } @@ -568,6 +609,11 @@ func (o *PcloudCloudconnectionsPutConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud cloudconnections put conflict response +func (o *PcloudCloudconnectionsPutConflict) Code() int { + return 409 +} + func (o *PcloudCloudconnectionsPutConflict) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutConflict %+v", 409, o.Payload) } @@ -631,6 +677,11 @@ func (o *PcloudCloudconnectionsPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud cloudconnections put unprocessable entity response +func (o *PcloudCloudconnectionsPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudconnectionsPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutUnprocessableEntity %+v", 422, o.Payload) } @@ -694,6 +745,11 @@ func (o *PcloudCloudconnectionsPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud cloudconnections put internal server error response +func (o *PcloudCloudconnectionsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutInternalServerError %+v", 500, o.Payload) } @@ -717,3 +773,71 @@ func (o *PcloudCloudconnectionsPutInternalServerError) readResponse(response run return nil } + +// NewPcloudCloudconnectionsPutServiceUnavailable creates a PcloudCloudconnectionsPutServiceUnavailable with default headers values +func NewPcloudCloudconnectionsPutServiceUnavailable() *PcloudCloudconnectionsPutServiceUnavailable { + return &PcloudCloudconnectionsPutServiceUnavailable{} +} + +/* +PcloudCloudconnectionsPutServiceUnavailable describes a response with status code 503, with default header values. + +Service Unavailable +*/ +type PcloudCloudconnectionsPutServiceUnavailable struct { + Payload *models.Error +} + +// IsSuccess returns true when this pcloud cloudconnections put service unavailable response has a 2xx status code +func (o *PcloudCloudconnectionsPutServiceUnavailable) IsSuccess() bool { + return false +} + +// IsRedirect returns true when this pcloud cloudconnections put service unavailable response has a 3xx status code +func (o *PcloudCloudconnectionsPutServiceUnavailable) IsRedirect() bool { + return false +} + +// IsClientError returns true when this pcloud cloudconnections put service unavailable response has a 4xx status code +func (o *PcloudCloudconnectionsPutServiceUnavailable) IsClientError() bool { + return false +} + +// IsServerError returns true when this pcloud cloudconnections put service unavailable response has a 5xx status code +func (o *PcloudCloudconnectionsPutServiceUnavailable) IsServerError() bool { + return true +} + +// IsCode returns true when this pcloud cloudconnections put service unavailable response a status code equal to that given +func (o *PcloudCloudconnectionsPutServiceUnavailable) IsCode(code int) bool { + return code == 503 +} + +// Code gets the status code for the pcloud cloudconnections put service unavailable response +func (o *PcloudCloudconnectionsPutServiceUnavailable) Code() int { + return 503 +} + +func (o *PcloudCloudconnectionsPutServiceUnavailable) Error() string { + return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutServiceUnavailable %+v", 503, o.Payload) +} + +func (o *PcloudCloudconnectionsPutServiceUnavailable) String() string { + return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections/{cloud_connection_id}][%d] pcloudCloudconnectionsPutServiceUnavailable %+v", 503, o.Payload) +} + +func (o *PcloudCloudconnectionsPutServiceUnavailable) GetPayload() *models.Error { + return o.Payload +} + +func (o *PcloudCloudconnectionsPutServiceUnavailable) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(models.Error) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_virtualprivateclouds_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_virtualprivateclouds_getall_responses.go index 00e931669..26dd24f18 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_virtualprivateclouds_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_cloud_connections/pcloud_cloudconnections_virtualprivateclouds_getall_responses.go @@ -59,6 +59,12 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallReader) ReadResponse(re return nil, err } return nil, result + case 503: + result := NewPcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result case 504: result := NewPcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout() if err := result.readResponse(response, consumer, o.formats); err != nil { @@ -109,6 +115,11 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallOK) IsCode(code int) bo return code == 200 } +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall o k response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallOK) Code() int { + return 200 +} + func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallOK %+v", 200, o.Payload) } @@ -172,6 +183,11 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallBadRequest) IsCode(code return code == 400 } +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall bad request response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallBadRequest %+v", 400, o.Payload) } @@ -235,6 +251,11 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallUnauthorized) IsCode(co return code == 401 } +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall unauthorized response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallUnauthorized %+v", 401, o.Payload) } @@ -298,6 +319,11 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallForbidden) IsCode(code return code == 403 } +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall forbidden response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallForbidden %+v", 403, o.Payload) } @@ -361,6 +387,11 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallRequestTimeout) IsCode( return code == 408 } +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall request timeout response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallRequestTimeout) Code() int { + return 408 +} + func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallRequestTimeout) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallRequestTimeout %+v", 408, o.Payload) } @@ -424,6 +455,11 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallInternalServerError) Is return code == 500 } +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall internal server error response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallInternalServerError %+v", 500, o.Payload) } @@ -448,6 +484,74 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallInternalServerError) re return nil } +// NewPcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable creates a PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable with default headers values +func NewPcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable() *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable { + return &PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable{} +} + +/* +PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable describes a response with status code 503, with default header values. + +Service Unavailable +*/ +type PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable struct { + Payload *models.Error +} + +// IsSuccess returns true when this pcloud cloudconnections virtualprivateclouds getall service unavailable response has a 2xx status code +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) IsSuccess() bool { + return false +} + +// IsRedirect returns true when this pcloud cloudconnections virtualprivateclouds getall service unavailable response has a 3xx status code +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) IsRedirect() bool { + return false +} + +// IsClientError returns true when this pcloud cloudconnections virtualprivateclouds getall service unavailable response has a 4xx status code +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) IsClientError() bool { + return false +} + +// IsServerError returns true when this pcloud cloudconnections virtualprivateclouds getall service unavailable response has a 5xx status code +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) IsServerError() bool { + return true +} + +// IsCode returns true when this pcloud cloudconnections virtualprivateclouds getall service unavailable response a status code equal to that given +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) IsCode(code int) bool { + return code == 503 +} + +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall service unavailable response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) Code() int { + return 503 +} + +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) Error() string { + return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable %+v", 503, o.Payload) +} + +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) String() string { + return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable %+v", 503, o.Payload) +} + +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) GetPayload() *models.Error { + return o.Payload +} + +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallServiceUnavailable) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(models.Error) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} + // NewPcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout creates a PcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout with default headers values func NewPcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout() *PcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout { return &PcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout{} @@ -487,6 +591,11 @@ func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout) IsCode( return code == 504 } +// Code gets the status code for the pcloud cloudconnections virtualprivateclouds getall gateway timeout response +func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout) Code() int { + return 504 +} + func (o *PcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cloud-connections-virtual-private-clouds][%d] pcloudCloudconnectionsVirtualprivatecloudsGetallGatewayTimeout %+v", 504, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_get_responses.go index 3de9489a1..f09bf856f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudLocationsDisasterrecoveryGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud locations disasterrecovery get o k response +func (o *PcloudLocationsDisasterrecoveryGetOK) Code() int { + return 200 +} + func (o *PcloudLocationsDisasterrecoveryGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudLocationsDisasterrecoveryGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud locations disasterrecovery get bad request response +func (o *PcloudLocationsDisasterrecoveryGetBadRequest) Code() int { + return 400 +} + func (o *PcloudLocationsDisasterrecoveryGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud locations disasterrecovery get unauthorized response +func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudLocationsDisasterrecoveryGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudLocationsDisasterrecoveryGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud locations disasterrecovery get not found response +func (o *PcloudLocationsDisasterrecoveryGetNotFound) Code() int { + return 404 +} + func (o *PcloudLocationsDisasterrecoveryGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud locations disasterrecovery get internal server error response +func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudLocationsDisasterrecoveryGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_getall_responses.go index e44dd9f3c..1e68ba92d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_disaster_recovery/pcloud_locations_disasterrecovery_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudLocationsDisasterrecoveryGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud locations disasterrecovery getall o k response +func (o *PcloudLocationsDisasterrecoveryGetallOK) Code() int { + return 200 +} + func (o *PcloudLocationsDisasterrecoveryGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) IsCode(code int) bool return code == 400 } +// Code gets the status code for the pcloud locations disasterrecovery getall bad request response +func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudLocationsDisasterrecoveryGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the pcloud locations disasterrecovery getall unauthorized response +func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudLocationsDisasterrecoveryGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudLocationsDisasterrecoveryGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud locations disasterrecovery getall not found response +func (o *PcloudLocationsDisasterrecoveryGetallNotFound) Code() int { + return 404 +} + func (o *PcloudLocationsDisasterrecoveryGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetallNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the pcloud locations disasterrecovery getall internal server error response +func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudLocationsDisasterrecoveryGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/locations/disaster-recovery][%d] pcloudLocationsDisasterrecoveryGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_get_responses.go index 47f15ba54..46603c3c4 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudEventsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud events get o k response +func (o *PcloudEventsGetOK) Code() int { + return 200 +} + func (o *PcloudEventsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events/{event_id}][%d] pcloudEventsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudEventsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud events get bad request response +func (o *PcloudEventsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudEventsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events/{event_id}][%d] pcloudEventsGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudEventsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud events get forbidden response +func (o *PcloudEventsGetForbidden) Code() int { + return 403 +} + func (o *PcloudEventsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events/{event_id}][%d] pcloudEventsGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudEventsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud events get not found response +func (o *PcloudEventsGetNotFound) Code() int { + return 404 +} + func (o *PcloudEventsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events/{event_id}][%d] pcloudEventsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudEventsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud events get internal server error response +func (o *PcloudEventsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudEventsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events/{event_id}][%d] pcloudEventsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_getquery_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_getquery_responses.go index 640dddd87..abaf18a55 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_getquery_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_events/pcloud_events_getquery_responses.go @@ -97,6 +97,11 @@ func (o *PcloudEventsGetqueryOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud events getquery o k response +func (o *PcloudEventsGetqueryOK) Code() int { + return 200 +} + func (o *PcloudEventsGetqueryOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events][%d] pcloudEventsGetqueryOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudEventsGetqueryBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud events getquery bad request response +func (o *PcloudEventsGetqueryBadRequest) Code() int { + return 400 +} + func (o *PcloudEventsGetqueryBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events][%d] pcloudEventsGetqueryBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudEventsGetqueryUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud events getquery unauthorized response +func (o *PcloudEventsGetqueryUnauthorized) Code() int { + return 401 +} + func (o *PcloudEventsGetqueryUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events][%d] pcloudEventsGetqueryUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudEventsGetqueryForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud events getquery forbidden response +func (o *PcloudEventsGetqueryForbidden) Code() int { + return 403 +} + func (o *PcloudEventsGetqueryForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events][%d] pcloudEventsGetqueryForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudEventsGetqueryInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud events getquery internal server error response +func (o *PcloudEventsGetqueryInternalServerError) Code() int { + return 500 +} + func (o *PcloudEventsGetqueryInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/events][%d] pcloudEventsGetqueryInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_delete_responses.go index c5c0a1fd6..668991873 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesImagesDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances images delete o k response +func (o *PcloudCloudinstancesImagesDeleteOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesImagesDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudCloudinstancesImagesDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances images delete bad request response +func (o *PcloudCloudinstancesImagesDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesImagesDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudCloudinstancesImagesDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances images delete unauthorized response +func (o *PcloudCloudinstancesImagesDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesImagesDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudCloudinstancesImagesDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances images delete forbidden response +func (o *PcloudCloudinstancesImagesDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesImagesDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudCloudinstancesImagesDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances images delete not found response +func (o *PcloudCloudinstancesImagesDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesImagesDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudCloudinstancesImagesDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud cloudinstances images delete gone response +func (o *PcloudCloudinstancesImagesDeleteGone) Code() int { + return 410 +} + func (o *PcloudCloudinstancesImagesDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesDeleteGone %+v", 410, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudCloudinstancesImagesDeleteInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud cloudinstances images delete internal server error response +func (o *PcloudCloudinstancesImagesDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesImagesDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_export_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_export_post_responses.go index 3e01975b9..50face55c 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_export_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_export_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesImagesExportPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudinstances images export post accepted response +func (o *PcloudCloudinstancesImagesExportPostAccepted) Code() int { + return 202 +} + func (o *PcloudCloudinstancesImagesExportPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudCloudinstancesImagesExportPostAccepted %+v", 202, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudCloudinstancesImagesExportPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances images export post bad request response +func (o *PcloudCloudinstancesImagesExportPostBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesImagesExportPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudCloudinstancesImagesExportPostBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudCloudinstancesImagesExportPostUnauthorized) IsCode(code int) bool return code == 401 } +// Code gets the status code for the pcloud cloudinstances images export post unauthorized response +func (o *PcloudCloudinstancesImagesExportPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesImagesExportPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudCloudinstancesImagesExportPostUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudCloudinstancesImagesExportPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances images export post forbidden response +func (o *PcloudCloudinstancesImagesExportPostForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesImagesExportPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudCloudinstancesImagesExportPostForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudCloudinstancesImagesExportPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances images export post not found response +func (o *PcloudCloudinstancesImagesExportPostNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesImagesExportPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudCloudinstancesImagesExportPostNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudCloudinstancesImagesExportPostUnprocessableEntity) IsCode(code in return code == 422 } +// Code gets the status code for the pcloud cloudinstances images export post unprocessable entity response +func (o *PcloudCloudinstancesImagesExportPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudinstancesImagesExportPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudCloudinstancesImagesExportPostUnprocessableEntity %+v", 422, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudCloudinstancesImagesExportPostInternalServerError) IsCode(code in return code == 500 } +// Code gets the status code for the pcloud cloudinstances images export post internal server error response +func (o *PcloudCloudinstancesImagesExportPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesImagesExportPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudCloudinstancesImagesExportPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_get_responses.go index 5232e265d..9a08334ef 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesImagesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances images get o k response +func (o *PcloudCloudinstancesImagesGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesImagesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudinstancesImagesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances images get bad request response +func (o *PcloudCloudinstancesImagesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesImagesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudinstancesImagesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances images get unauthorized response +func (o *PcloudCloudinstancesImagesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesImagesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudinstancesImagesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances images get forbidden response +func (o *PcloudCloudinstancesImagesGetForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesImagesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudinstancesImagesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances images get not found response +func (o *PcloudCloudinstancesImagesGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesImagesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudinstancesImagesGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud cloudinstances images get internal server error response +func (o *PcloudCloudinstancesImagesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesImagesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images/{image_id}][%d] pcloudCloudinstancesImagesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_getall_responses.go index 936d6530f..1c7443f84 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesImagesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances images getall o k response +func (o *PcloudCloudinstancesImagesGetallOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesImagesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudinstancesImagesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances images getall bad request response +func (o *PcloudCloudinstancesImagesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesImagesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudinstancesImagesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances images getall unauthorized response +func (o *PcloudCloudinstancesImagesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesImagesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudinstancesImagesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances images getall forbidden response +func (o *PcloudCloudinstancesImagesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesImagesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudinstancesImagesGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances images getall not found response +func (o *PcloudCloudinstancesImagesGetallNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesImagesGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudinstancesImagesGetallInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud cloudinstances images getall internal server error response +func (o *PcloudCloudinstancesImagesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesImagesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_post_responses.go index 9f967a206..67c90be56 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_images_post_responses.go @@ -115,6 +115,11 @@ func (o *PcloudCloudinstancesImagesPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances images post o k response +func (o *PcloudCloudinstancesImagesPostOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesImagesPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostOK %+v", 200, o.Payload) } @@ -178,6 +183,11 @@ func (o *PcloudCloudinstancesImagesPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud cloudinstances images post created response +func (o *PcloudCloudinstancesImagesPostCreated) Code() int { + return 201 +} + func (o *PcloudCloudinstancesImagesPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostCreated %+v", 201, o.Payload) } @@ -241,6 +251,11 @@ func (o *PcloudCloudinstancesImagesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances images post bad request response +func (o *PcloudCloudinstancesImagesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesImagesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostBadRequest %+v", 400, o.Payload) } @@ -304,6 +319,11 @@ func (o *PcloudCloudinstancesImagesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances images post unauthorized response +func (o *PcloudCloudinstancesImagesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesImagesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostUnauthorized %+v", 401, o.Payload) } @@ -367,6 +387,11 @@ func (o *PcloudCloudinstancesImagesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances images post forbidden response +func (o *PcloudCloudinstancesImagesPostForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesImagesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostForbidden %+v", 403, o.Payload) } @@ -430,6 +455,11 @@ func (o *PcloudCloudinstancesImagesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud cloudinstances images post conflict response +func (o *PcloudCloudinstancesImagesPostConflict) Code() int { + return 409 +} + func (o *PcloudCloudinstancesImagesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostConflict %+v", 409, o.Payload) } @@ -493,6 +523,11 @@ func (o *PcloudCloudinstancesImagesPostUnprocessableEntity) IsCode(code int) boo return code == 422 } +// Code gets the status code for the pcloud cloudinstances images post unprocessable entity response +func (o *PcloudCloudinstancesImagesPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudinstancesImagesPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostUnprocessableEntity %+v", 422, o.Payload) } @@ -556,6 +591,11 @@ func (o *PcloudCloudinstancesImagesPostInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud cloudinstances images post internal server error response +func (o *PcloudCloudinstancesImagesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesImagesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][%d] pcloudCloudinstancesImagesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_get_responses.go index 393fea1dc..876b957fe 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudCloudinstancesStockimagesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances stockimages get o k response +func (o *PcloudCloudinstancesStockimagesGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesStockimagesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images/{image_id}][%d] pcloudCloudinstancesStockimagesGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudCloudinstancesStockimagesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances stockimages get bad request response +func (o *PcloudCloudinstancesStockimagesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesStockimagesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images/{image_id}][%d] pcloudCloudinstancesStockimagesGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudCloudinstancesStockimagesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances stockimages get unauthorized response +func (o *PcloudCloudinstancesStockimagesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesStockimagesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images/{image_id}][%d] pcloudCloudinstancesStockimagesGetUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudCloudinstancesStockimagesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances stockimages get not found response +func (o *PcloudCloudinstancesStockimagesGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesStockimagesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images/{image_id}][%d] pcloudCloudinstancesStockimagesGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudCloudinstancesStockimagesGetInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud cloudinstances stockimages get internal server error response +func (o *PcloudCloudinstancesStockimagesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesStockimagesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images/{image_id}][%d] pcloudCloudinstancesStockimagesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_getall_responses.go index 2359271d3..450232c80 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_cloudinstances_stockimages_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudCloudinstancesStockimagesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances stockimages getall o k response +func (o *PcloudCloudinstancesStockimagesGetallOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesStockimagesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images][%d] pcloudCloudinstancesStockimagesGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudCloudinstancesStockimagesGetallBadRequest) IsCode(code int) bool return code == 400 } +// Code gets the status code for the pcloud cloudinstances stockimages getall bad request response +func (o *PcloudCloudinstancesStockimagesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesStockimagesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images][%d] pcloudCloudinstancesStockimagesGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudCloudinstancesStockimagesGetallUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the pcloud cloudinstances stockimages getall unauthorized response +func (o *PcloudCloudinstancesStockimagesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesStockimagesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images][%d] pcloudCloudinstancesStockimagesGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudCloudinstancesStockimagesGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances stockimages getall not found response +func (o *PcloudCloudinstancesStockimagesGetallNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesStockimagesGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images][%d] pcloudCloudinstancesStockimagesGetallNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudCloudinstancesStockimagesGetallInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the pcloud cloudinstances stockimages getall internal server error response +func (o *PcloudCloudinstancesStockimagesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesStockimagesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/stock-images][%d] pcloudCloudinstancesStockimagesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_get_responses.go index bbff4fc22..9570351ce 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudImagesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud images get o k response +func (o *PcloudImagesGetOK) Code() int { + return 200 +} + func (o *PcloudImagesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images/{image_id}][%d] pcloudImagesGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudImagesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud images get bad request response +func (o *PcloudImagesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudImagesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images/{image_id}][%d] pcloudImagesGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudImagesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud images get unauthorized response +func (o *PcloudImagesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudImagesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images/{image_id}][%d] pcloudImagesGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudImagesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud images get forbidden response +func (o *PcloudImagesGetForbidden) Code() int { + return 403 +} + func (o *PcloudImagesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images/{image_id}][%d] pcloudImagesGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudImagesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud images get not found response +func (o *PcloudImagesGetNotFound) Code() int { + return 404 +} + func (o *PcloudImagesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images/{image_id}][%d] pcloudImagesGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudImagesGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud images get internal server error response +func (o *PcloudImagesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudImagesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images/{image_id}][%d] pcloudImagesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_getall_responses.go index bdb5074c2..a435cc1c7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_images_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudImagesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud images getall o k response +func (o *PcloudImagesGetallOK) Code() int { + return 200 +} + func (o *PcloudImagesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images][%d] pcloudImagesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudImagesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud images getall bad request response +func (o *PcloudImagesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudImagesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images][%d] pcloudImagesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudImagesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud images getall unauthorized response +func (o *PcloudImagesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudImagesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images][%d] pcloudImagesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudImagesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud images getall forbidden response +func (o *PcloudImagesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudImagesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images][%d] pcloudImagesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudImagesGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud images getall not found response +func (o *PcloudImagesGetallNotFound) Code() int { + return 404 +} + func (o *PcloudImagesGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images][%d] pcloudImagesGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudImagesGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud images getall internal server error response +func (o *PcloudImagesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudImagesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/images][%d] pcloudImagesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_get_responses.go index 2e8683f95..99c77e544 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudV1CloudinstancesCosimagesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages get o k response +func (o *PcloudV1CloudinstancesCosimagesGetOK) Code() int { + return 200 +} + func (o *PcloudV1CloudinstancesCosimagesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudV1CloudinstancesCosimagesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages get unauthorized response +func (o *PcloudV1CloudinstancesCosimagesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudV1CloudinstancesCosimagesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesGetUnauthorized %+v", 401, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudV1CloudinstancesCosimagesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages get forbidden response +func (o *PcloudV1CloudinstancesCosimagesGetForbidden) Code() int { + return 403 +} + func (o *PcloudV1CloudinstancesCosimagesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudV1CloudinstancesCosimagesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages get not found response +func (o *PcloudV1CloudinstancesCosimagesGetNotFound) Code() int { + return 404 +} + func (o *PcloudV1CloudinstancesCosimagesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudV1CloudinstancesCosimagesGetInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages get internal server error response +func (o *PcloudV1CloudinstancesCosimagesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudV1CloudinstancesCosimagesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_post_responses.go index f12a354fb..3bf4c95a8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v1_cloudinstances_cosimages_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudV1CloudinstancesCosimagesPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages post accepted response +func (o *PcloudV1CloudinstancesCosimagesPostAccepted) Code() int { + return 202 +} + func (o *PcloudV1CloudinstancesCosimagesPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesPostAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudV1CloudinstancesCosimagesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages post bad request response +func (o *PcloudV1CloudinstancesCosimagesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudV1CloudinstancesCosimagesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudV1CloudinstancesCosimagesPostUnauthorized) IsCode(code int) bool return code == 401 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages post unauthorized response +func (o *PcloudV1CloudinstancesCosimagesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV1CloudinstancesCosimagesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudV1CloudinstancesCosimagesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages post forbidden response +func (o *PcloudV1CloudinstancesCosimagesPostForbidden) Code() int { + return 403 +} + func (o *PcloudV1CloudinstancesCosimagesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudV1CloudinstancesCosimagesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages post conflict response +func (o *PcloudV1CloudinstancesCosimagesPostConflict) Code() int { + return 409 +} + func (o *PcloudV1CloudinstancesCosimagesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) IsCode(code int return code == 422 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages post unprocessable entity response +func (o *PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudV1CloudinstancesCosimagesPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudV1CloudinstancesCosimagesPostInternalServerError) IsCode(code int return code == 500 } +// Code gets the status code for the pcloud v1 cloudinstances cosimages post internal server error response +func (o *PcloudV1CloudinstancesCosimagesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV1CloudinstancesCosimagesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/cos-images][%d] pcloudV1CloudinstancesCosimagesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_get_responses.go index c336e36bb..a23c972b8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_get_responses.go @@ -91,6 +91,11 @@ func (o *PcloudV2ImagesExportGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 images export get o k response +func (o *PcloudV2ImagesExportGetOK) Code() int { + return 200 +} + func (o *PcloudV2ImagesExportGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportGetOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudV2ImagesExportGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 images export get unauthorized response +func (o *PcloudV2ImagesExportGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2ImagesExportGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportGetUnauthorized %+v", 401, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudV2ImagesExportGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 images export get not found response +func (o *PcloudV2ImagesExportGetNotFound) Code() int { + return 404 +} + func (o *PcloudV2ImagesExportGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportGetNotFound %+v", 404, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudV2ImagesExportGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 images export get internal server error response +func (o *PcloudV2ImagesExportGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2ImagesExportGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_post_responses.go index 3fc0394e6..fd1ea3e1b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_images/pcloud_v2_images_export_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudV2ImagesExportPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v2 images export post accepted response +func (o *PcloudV2ImagesExportPostAccepted) Code() int { + return 202 +} + func (o *PcloudV2ImagesExportPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportPostAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudV2ImagesExportPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 images export post bad request response +func (o *PcloudV2ImagesExportPostBadRequest) Code() int { + return 400 +} + func (o *PcloudV2ImagesExportPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudV2ImagesExportPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 images export post unauthorized response +func (o *PcloudV2ImagesExportPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2ImagesExportPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudV2ImagesExportPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 images export post not found response +func (o *PcloudV2ImagesExportPostNotFound) Code() int { + return 404 +} + func (o *PcloudV2ImagesExportPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportPostNotFound %+v", 404, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudV2ImagesExportPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud v2 images export post conflict response +func (o *PcloudV2ImagesExportPostConflict) Code() int { + return 409 +} + func (o *PcloudV2ImagesExportPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudV2ImagesExportPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud v2 images export post unprocessable entity response +func (o *PcloudV2ImagesExportPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudV2ImagesExportPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudV2ImagesExportPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 images export post internal server error response +func (o *PcloudV2ImagesExportPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2ImagesExportPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/images/{image_id}/export][%d] pcloudV2ImagesExportPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_delete_responses.go index f540d6c53..8e9ab82a3 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_delete_responses.go @@ -97,6 +97,11 @@ func (o *PcloudCloudinstancesDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances delete o k response +func (o *PcloudCloudinstancesDeleteOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesDeleteOK %+v", 200, o.Payload) } @@ -158,6 +163,11 @@ func (o *PcloudCloudinstancesDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances delete bad request response +func (o *PcloudCloudinstancesDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesDeleteBadRequest %+v", 400, o.Payload) } @@ -221,6 +231,11 @@ func (o *PcloudCloudinstancesDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances delete unauthorized response +func (o *PcloudCloudinstancesDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesDeleteUnauthorized %+v", 401, o.Payload) } @@ -284,6 +299,11 @@ func (o *PcloudCloudinstancesDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud cloudinstances delete gone response +func (o *PcloudCloudinstancesDeleteGone) Code() int { + return 410 +} + func (o *PcloudCloudinstancesDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesDeleteGone %+v", 410, o.Payload) } @@ -347,6 +367,11 @@ func (o *PcloudCloudinstancesDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud cloudinstances delete internal server error response +func (o *PcloudCloudinstancesDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_get_responses.go index 9cf834bea..4fb60d17f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudCloudinstancesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances get o k response +func (o *PcloudCloudinstancesGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudCloudinstancesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances get bad request response +func (o *PcloudCloudinstancesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudCloudinstancesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances get unauthorized response +func (o *PcloudCloudinstancesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesGetUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudCloudinstancesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances get not found response +func (o *PcloudCloudinstancesGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudCloudinstancesGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud cloudinstances get internal server error response +func (o *PcloudCloudinstancesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_put_responses.go index 867d9f16b..375ef0ed6 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_instances/pcloud_cloudinstances_put_responses.go @@ -97,6 +97,11 @@ func (o *PcloudCloudinstancesPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances put o k response +func (o *PcloudCloudinstancesPutOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesPutOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudCloudinstancesPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances put bad request response +func (o *PcloudCloudinstancesPutBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesPutBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudCloudinstancesPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances put unauthorized response +func (o *PcloudCloudinstancesPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesPutUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudCloudinstancesPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud cloudinstances put unprocessable entity response +func (o *PcloudCloudinstancesPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudinstancesPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesPutUnprocessableEntity %+v", 422, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudCloudinstancesPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud cloudinstances put internal server error response +func (o *PcloudCloudinstancesPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}][%d] pcloudCloudinstancesPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_delete_responses.go index 9fd1ef5bd..3e35edfc5 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesJobsDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances jobs delete o k response +func (o *PcloudCloudinstancesJobsDeleteOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesJobsDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudCloudinstancesJobsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances jobs delete bad request response +func (o *PcloudCloudinstancesJobsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesJobsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudCloudinstancesJobsDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances jobs delete unauthorized response +func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesJobsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudCloudinstancesJobsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances jobs delete forbidden response +func (o *PcloudCloudinstancesJobsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesJobsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudCloudinstancesJobsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances jobs delete not found response +func (o *PcloudCloudinstancesJobsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesJobsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudCloudinstancesJobsDeleteConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud cloudinstances jobs delete conflict response +func (o *PcloudCloudinstancesJobsDeleteConflict) Code() int { + return 409 +} + func (o *PcloudCloudinstancesJobsDeleteConflict) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsDeleteConflict %+v", 409, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudCloudinstancesJobsDeleteInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud cloudinstances jobs delete internal server error response +func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesJobsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_get_responses.go index f070db0ce..5a2c227dc 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesJobsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances jobs get o k response +func (o *PcloudCloudinstancesJobsGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesJobsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudinstancesJobsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances jobs get bad request response +func (o *PcloudCloudinstancesJobsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesJobsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudinstancesJobsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances jobs get unauthorized response +func (o *PcloudCloudinstancesJobsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesJobsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudinstancesJobsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances jobs get forbidden response +func (o *PcloudCloudinstancesJobsGetForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesJobsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudinstancesJobsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances jobs get not found response +func (o *PcloudCloudinstancesJobsGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesJobsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudinstancesJobsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud cloudinstances jobs get internal server error response +func (o *PcloudCloudinstancesJobsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesJobsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs/{job_id}][%d] pcloudCloudinstancesJobsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_getall_responses.go index c1c3ef910..6bc7138fd 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_jobs/pcloud_cloudinstances_jobs_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesJobsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances jobs getall o k response +func (o *PcloudCloudinstancesJobsGetallOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesJobsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs][%d] pcloudCloudinstancesJobsGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudinstancesJobsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances jobs getall bad request response +func (o *PcloudCloudinstancesJobsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesJobsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs][%d] pcloudCloudinstancesJobsGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudinstancesJobsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances jobs getall unauthorized response +func (o *PcloudCloudinstancesJobsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesJobsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs][%d] pcloudCloudinstancesJobsGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudinstancesJobsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances jobs getall forbidden response +func (o *PcloudCloudinstancesJobsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesJobsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs][%d] pcloudCloudinstancesJobsGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudinstancesJobsGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances jobs getall not found response +func (o *PcloudCloudinstancesJobsGetallNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesJobsGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs][%d] pcloudCloudinstancesJobsGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudinstancesJobsGetallInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud cloudinstances jobs getall internal server error response +func (o *PcloudCloudinstancesJobsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesJobsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/jobs][%d] pcloudCloudinstancesJobsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_delete_responses.go index 9e78e5f9f..d5a7d7fb2 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudNetworksDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks delete o k response +func (o *PcloudNetworksDeleteOK) Code() int { + return 200 +} + func (o *PcloudNetworksDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudNetworksDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks delete bad request response +func (o *PcloudNetworksDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudNetworksDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks delete unauthorized response +func (o *PcloudNetworksDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudNetworksDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks delete forbidden response +func (o *PcloudNetworksDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudNetworksDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks delete not found response +func (o *PcloudNetworksDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudNetworksDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud networks delete gone response +func (o *PcloudNetworksDeleteGone) Code() int { + return 410 +} + func (o *PcloudNetworksDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksDeleteGone %+v", 410, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudNetworksDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks delete internal server error response +func (o *PcloudNetworksDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_get_responses.go index 7d361a288..309cb3360 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudNetworksGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks get o k response +func (o *PcloudNetworksGetOK) Code() int { + return 200 +} + func (o *PcloudNetworksGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudNetworksGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks get bad request response +func (o *PcloudNetworksGetBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudNetworksGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks get unauthorized response +func (o *PcloudNetworksGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudNetworksGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks get forbidden response +func (o *PcloudNetworksGetForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudNetworksGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks get not found response +func (o *PcloudNetworksGetNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudNetworksGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks get internal server error response +func (o *PcloudNetworksGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_getall_responses.go index 83a2b58c6..eede20e73 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudNetworksGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks getall o k response +func (o *PcloudNetworksGetallOK) Code() int { + return 200 +} + func (o *PcloudNetworksGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudNetworksGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks getall bad request response +func (o *PcloudNetworksGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudNetworksGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks getall unauthorized response +func (o *PcloudNetworksGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudNetworksGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks getall forbidden response +func (o *PcloudNetworksGetallForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksGetallForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudNetworksGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks getall internal server error response +func (o *PcloudNetworksGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_delete_responses.go index a619f540f..14c2eb94d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudNetworksPortsDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks ports delete o k response +func (o *PcloudNetworksPortsDeleteOK) Code() int { + return 200 +} + func (o *PcloudNetworksPortsDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudNetworksPortsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks ports delete bad request response +func (o *PcloudNetworksPortsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksPortsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudNetworksPortsDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks ports delete unauthorized response +func (o *PcloudNetworksPortsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksPortsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudNetworksPortsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks ports delete forbidden response +func (o *PcloudNetworksPortsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksPortsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudNetworksPortsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks ports delete not found response +func (o *PcloudNetworksPortsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksPortsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudNetworksPortsDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud networks ports delete gone response +func (o *PcloudNetworksPortsDeleteGone) Code() int { + return 410 +} + func (o *PcloudNetworksPortsDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsDeleteGone %+v", 410, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudNetworksPortsDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks ports delete internal server error response +func (o *PcloudNetworksPortsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksPortsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_get_responses.go index 890d35d89..f247a6aaf 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudNetworksPortsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks ports get o k response +func (o *PcloudNetworksPortsGetOK) Code() int { + return 200 +} + func (o *PcloudNetworksPortsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudNetworksPortsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks ports get unauthorized response +func (o *PcloudNetworksPortsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksPortsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsGetUnauthorized %+v", 401, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudNetworksPortsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks ports get forbidden response +func (o *PcloudNetworksPortsGetForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksPortsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudNetworksPortsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks ports get not found response +func (o *PcloudNetworksPortsGetNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksPortsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudNetworksPortsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks ports get internal server error response +func (o *PcloudNetworksPortsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksPortsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_getall_responses.go index 2692867a6..69c7384fc 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudNetworksPortsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks ports getall o k response +func (o *PcloudNetworksPortsGetallOK) Code() int { + return 200 +} + func (o *PcloudNetworksPortsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudNetworksPortsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks ports getall bad request response +func (o *PcloudNetworksPortsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksPortsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudNetworksPortsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks ports getall unauthorized response +func (o *PcloudNetworksPortsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksPortsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudNetworksPortsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks ports getall forbidden response +func (o *PcloudNetworksPortsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksPortsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudNetworksPortsGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks ports getall not found response +func (o *PcloudNetworksPortsGetallNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksPortsGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudNetworksPortsGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks ports getall internal server error response +func (o *PcloudNetworksPortsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksPortsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_post_responses.go index 1b9fad84b..ffe33d4b6 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_post_responses.go @@ -115,6 +115,11 @@ func (o *PcloudNetworksPortsPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud networks ports post created response +func (o *PcloudNetworksPortsPostCreated) Code() int { + return 201 +} + func (o *PcloudNetworksPortsPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostCreated %+v", 201, o.Payload) } @@ -178,6 +183,11 @@ func (o *PcloudNetworksPortsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks ports post bad request response +func (o *PcloudNetworksPortsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksPortsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostBadRequest %+v", 400, o.Payload) } @@ -241,6 +251,11 @@ func (o *PcloudNetworksPortsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks ports post unauthorized response +func (o *PcloudNetworksPortsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksPortsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostUnauthorized %+v", 401, o.Payload) } @@ -304,6 +319,11 @@ func (o *PcloudNetworksPortsPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks ports post forbidden response +func (o *PcloudNetworksPortsPostForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksPortsPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostForbidden %+v", 403, o.Payload) } @@ -367,6 +387,11 @@ func (o *PcloudNetworksPortsPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks ports post not found response +func (o *PcloudNetworksPortsPostNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksPortsPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostNotFound %+v", 404, o.Payload) } @@ -430,6 +455,11 @@ func (o *PcloudNetworksPortsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud networks ports post conflict response +func (o *PcloudNetworksPortsPostConflict) Code() int { + return 409 +} + func (o *PcloudNetworksPortsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostConflict %+v", 409, o.Payload) } @@ -493,6 +523,11 @@ func (o *PcloudNetworksPortsPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud networks ports post unprocessable entity response +func (o *PcloudNetworksPortsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudNetworksPortsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -556,6 +591,11 @@ func (o *PcloudNetworksPortsPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks ports post internal server error response +func (o *PcloudNetworksPortsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksPortsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports][%d] pcloudNetworksPortsPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_put_responses.go index 68eaa9a92..47bf32299 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_ports_put_responses.go @@ -109,6 +109,11 @@ func (o *PcloudNetworksPortsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks ports put o k response +func (o *PcloudNetworksPortsPutOK) Code() int { + return 200 +} + func (o *PcloudNetworksPortsPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsPutOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudNetworksPortsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks ports put bad request response +func (o *PcloudNetworksPortsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksPortsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsPutBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudNetworksPortsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks ports put unauthorized response +func (o *PcloudNetworksPortsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksPortsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsPutUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudNetworksPortsPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks ports put forbidden response +func (o *PcloudNetworksPortsPutForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksPortsPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsPutForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudNetworksPortsPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks ports put not found response +func (o *PcloudNetworksPortsPutNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksPortsPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsPutNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudNetworksPortsPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud networks ports put unprocessable entity response +func (o *PcloudNetworksPortsPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudNetworksPortsPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsPutUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudNetworksPortsPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks ports put internal server error response +func (o *PcloudNetworksPortsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksPortsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}/ports/{port_id}][%d] pcloudNetworksPortsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_post_responses.go index 3deef3539..b0bb25d58 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_post_responses.go @@ -121,6 +121,11 @@ func (o *PcloudNetworksPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks post o k response +func (o *PcloudNetworksPostOK) Code() int { + return 200 +} + func (o *PcloudNetworksPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostOK %+v", 200, o.Payload) } @@ -184,6 +189,11 @@ func (o *PcloudNetworksPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud networks post created response +func (o *PcloudNetworksPostCreated) Code() int { + return 201 +} + func (o *PcloudNetworksPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostCreated %+v", 201, o.Payload) } @@ -247,6 +257,11 @@ func (o *PcloudNetworksPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks post bad request response +func (o *PcloudNetworksPostBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostBadRequest %+v", 400, o.Payload) } @@ -310,6 +325,11 @@ func (o *PcloudNetworksPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks post unauthorized response +func (o *PcloudNetworksPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostUnauthorized %+v", 401, o.Payload) } @@ -373,6 +393,11 @@ func (o *PcloudNetworksPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks post forbidden response +func (o *PcloudNetworksPostForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostForbidden %+v", 403, o.Payload) } @@ -436,6 +461,11 @@ func (o *PcloudNetworksPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud networks post conflict response +func (o *PcloudNetworksPostConflict) Code() int { + return 409 +} + func (o *PcloudNetworksPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostConflict %+v", 409, o.Payload) } @@ -499,6 +529,11 @@ func (o *PcloudNetworksPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud networks post unprocessable entity response +func (o *PcloudNetworksPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudNetworksPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostUnprocessableEntity %+v", 422, o.Payload) } @@ -562,6 +597,11 @@ func (o *PcloudNetworksPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks post internal server error response +func (o *PcloudNetworksPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostInternalServerError %+v", 500, o.Payload) } @@ -625,6 +665,11 @@ func (o *PcloudNetworksPostStatus550) IsCode(code int) bool { return code == 550 } +// Code gets the status code for the pcloud networks post status550 response +func (o *PcloudNetworksPostStatus550) Code() int { + return 550 +} + func (o *PcloudNetworksPostStatus550) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/networks][%d] pcloudNetworksPostStatus550 %+v", 550, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_put_responses.go index 8a29abc13..77c87822f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_networks/pcloud_networks_put_responses.go @@ -109,6 +109,11 @@ func (o *PcloudNetworksPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud networks put o k response +func (o *PcloudNetworksPutOK) Code() int { + return 200 +} + func (o *PcloudNetworksPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksPutOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudNetworksPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud networks put bad request response +func (o *PcloudNetworksPutBadRequest) Code() int { + return 400 +} + func (o *PcloudNetworksPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksPutBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudNetworksPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud networks put unauthorized response +func (o *PcloudNetworksPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudNetworksPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksPutUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudNetworksPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud networks put forbidden response +func (o *PcloudNetworksPutForbidden) Code() int { + return 403 +} + func (o *PcloudNetworksPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksPutForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudNetworksPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud networks put not found response +func (o *PcloudNetworksPutNotFound) Code() int { + return 404 +} + func (o *PcloudNetworksPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksPutNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudNetworksPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud networks put unprocessable entity response +func (o *PcloudNetworksPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudNetworksPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksPutUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudNetworksPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud networks put internal server error response +func (o *PcloudNetworksPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudNetworksPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/networks/{network_id}][%d] pcloudNetworksPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_action_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_action_post_responses.go index 54376cbc6..d3eb98a8d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_action_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_action_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPvminstancesActionPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances action post o k response +func (o *PcloudPvminstancesActionPostOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesActionPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/action][%d] pcloudPvminstancesActionPostOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudPvminstancesActionPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances action post bad request response +func (o *PcloudPvminstancesActionPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesActionPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/action][%d] pcloudPvminstancesActionPostBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudPvminstancesActionPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances action post unauthorized response +func (o *PcloudPvminstancesActionPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesActionPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/action][%d] pcloudPvminstancesActionPostUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudPvminstancesActionPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances action post forbidden response +func (o *PcloudPvminstancesActionPostForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesActionPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/action][%d] pcloudPvminstancesActionPostForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudPvminstancesActionPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances action post not found response +func (o *PcloudPvminstancesActionPostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesActionPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/action][%d] pcloudPvminstancesActionPostNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudPvminstancesActionPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances action post conflict response +func (o *PcloudPvminstancesActionPostConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesActionPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/action][%d] pcloudPvminstancesActionPostConflict %+v", 409, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudPvminstancesActionPostInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances action post internal server error response +func (o *PcloudPvminstancesActionPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesActionPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/action][%d] pcloudPvminstancesActionPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_capture_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_capture_post_responses.go index 6aa8f86c2..aeeb1e4d3 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_capture_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_capture_post_responses.go @@ -115,6 +115,11 @@ func (o *PcloudPvminstancesCapturePostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances capture post o k response +func (o *PcloudPvminstancesCapturePostOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesCapturePostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostOK %+v", 200, o.Payload) } @@ -176,6 +181,11 @@ func (o *PcloudPvminstancesCapturePostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud pvminstances capture post accepted response +func (o *PcloudPvminstancesCapturePostAccepted) Code() int { + return 202 +} + func (o *PcloudPvminstancesCapturePostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostAccepted %+v", 202, o.Payload) } @@ -237,6 +247,11 @@ func (o *PcloudPvminstancesCapturePostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances capture post bad request response +func (o *PcloudPvminstancesCapturePostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesCapturePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostBadRequest %+v", 400, o.Payload) } @@ -300,6 +315,11 @@ func (o *PcloudPvminstancesCapturePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances capture post unauthorized response +func (o *PcloudPvminstancesCapturePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesCapturePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostUnauthorized %+v", 401, o.Payload) } @@ -363,6 +383,11 @@ func (o *PcloudPvminstancesCapturePostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances capture post forbidden response +func (o *PcloudPvminstancesCapturePostForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesCapturePostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostForbidden %+v", 403, o.Payload) } @@ -426,6 +451,11 @@ func (o *PcloudPvminstancesCapturePostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances capture post not found response +func (o *PcloudPvminstancesCapturePostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesCapturePostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostNotFound %+v", 404, o.Payload) } @@ -489,6 +519,11 @@ func (o *PcloudPvminstancesCapturePostUnprocessableEntity) IsCode(code int) bool return code == 422 } +// Code gets the status code for the pcloud pvminstances capture post unprocessable entity response +func (o *PcloudPvminstancesCapturePostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPvminstancesCapturePostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostUnprocessableEntity %+v", 422, o.Payload) } @@ -552,6 +587,11 @@ func (o *PcloudPvminstancesCapturePostInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances capture post internal server error response +func (o *PcloudPvminstancesCapturePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesCapturePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudPvminstancesCapturePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_clone_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_clone_post_responses.go index 65b6a17a8..a9092e5aa 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_clone_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_clone_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesClonePostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud pvminstances clone post accepted response +func (o *PcloudPvminstancesClonePostAccepted) Code() int { + return 202 +} + func (o *PcloudPvminstancesClonePostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/clone][%d] pcloudPvminstancesClonePostAccepted %+v", 202, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesClonePostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances clone post bad request response +func (o *PcloudPvminstancesClonePostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesClonePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/clone][%d] pcloudPvminstancesClonePostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesClonePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances clone post unauthorized response +func (o *PcloudPvminstancesClonePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesClonePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/clone][%d] pcloudPvminstancesClonePostUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesClonePostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances clone post conflict response +func (o *PcloudPvminstancesClonePostConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesClonePostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/clone][%d] pcloudPvminstancesClonePostConflict %+v", 409, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesClonePostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud pvminstances clone post unprocessable entity response +func (o *PcloudPvminstancesClonePostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPvminstancesClonePostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/clone][%d] pcloudPvminstancesClonePostUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesClonePostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud pvminstances clone post internal server error response +func (o *PcloudPvminstancesClonePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesClonePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/clone][%d] pcloudPvminstancesClonePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_get_responses.go index eaa17c319..878f2f11f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesConsoleGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances console get o k response +func (o *PcloudPvminstancesConsoleGetOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesConsoleGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsoleGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesConsoleGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances console get bad request response +func (o *PcloudPvminstancesConsoleGetBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesConsoleGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsoleGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesConsoleGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances console get unauthorized response +func (o *PcloudPvminstancesConsoleGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesConsoleGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsoleGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesConsoleGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances console get forbidden response +func (o *PcloudPvminstancesConsoleGetForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesConsoleGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsoleGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesConsoleGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances console get not found response +func (o *PcloudPvminstancesConsoleGetNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesConsoleGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsoleGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesConsoleGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances console get internal server error response +func (o *PcloudPvminstancesConsoleGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesConsoleGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsoleGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_post_responses.go index 04cfd468c..ce0ba3855 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesConsolePostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud pvminstances console post created response +func (o *PcloudPvminstancesConsolePostCreated) Code() int { + return 201 +} + func (o *PcloudPvminstancesConsolePostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePostCreated %+v", 201, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesConsolePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances console post unauthorized response +func (o *PcloudPvminstancesConsolePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesConsolePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePostUnauthorized %+v", 401, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesConsolePostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances console post forbidden response +func (o *PcloudPvminstancesConsolePostForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesConsolePostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePostForbidden %+v", 403, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesConsolePostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances console post not found response +func (o *PcloudPvminstancesConsolePostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesConsolePostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePostNotFound %+v", 404, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesConsolePostUnprocessableEntity) IsCode(code int) bool return code == 422 } +// Code gets the status code for the pcloud pvminstances console post unprocessable entity response +func (o *PcloudPvminstancesConsolePostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPvminstancesConsolePostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePostUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesConsolePostInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances console post internal server error response +func (o *PcloudPvminstancesConsolePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesConsolePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_put_responses.go index 76efa34a7..9be07e79e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_console_put_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesConsolePutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances console put o k response +func (o *PcloudPvminstancesConsolePutOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesConsolePutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePutOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesConsolePutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances console put bad request response +func (o *PcloudPvminstancesConsolePutBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesConsolePutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePutBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesConsolePutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances console put unauthorized response +func (o *PcloudPvminstancesConsolePutUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesConsolePutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePutUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesConsolePutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances console put forbidden response +func (o *PcloudPvminstancesConsolePutForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesConsolePutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePutForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesConsolePutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances console put not found response +func (o *PcloudPvminstancesConsolePutNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesConsolePutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePutNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesConsolePutInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances console put internal server error response +func (o *PcloudPvminstancesConsolePutInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesConsolePutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/console][%d] pcloudPvminstancesConsolePutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_delete_responses.go index 9ff11fffd..f1e9b5d41 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPvminstancesDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances delete o k response +func (o *PcloudPvminstancesDeleteOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudPvminstancesDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances delete bad request response +func (o *PcloudPvminstancesDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudPvminstancesDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances delete unauthorized response +func (o *PcloudPvminstancesDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudPvminstancesDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances delete forbidden response +func (o *PcloudPvminstancesDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudPvminstancesDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances delete not found response +func (o *PcloudPvminstancesDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudPvminstancesDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud pvminstances delete gone response +func (o *PcloudPvminstancesDeleteGone) Code() int { + return 410 +} + func (o *PcloudPvminstancesDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesDeleteGone %+v", 410, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudPvminstancesDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud pvminstances delete internal server error response +func (o *PcloudPvminstancesDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_get_responses.go index 2b311da93..102743c57 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances get o k response +func (o *PcloudPvminstancesGetOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances get bad request response +func (o *PcloudPvminstancesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances get unauthorized response +func (o *PcloudPvminstancesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances get forbidden response +func (o *PcloudPvminstancesGetForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances get not found response +func (o *PcloudPvminstancesGetNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud pvminstances get internal server error response +func (o *PcloudPvminstancesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_getall_responses.go index 23fcd39e8..753741c79 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances getall o k response +func (o *PcloudPvminstancesGetallOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances getall bad request response +func (o *PcloudPvminstancesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances getall unauthorized response +func (o *PcloudPvminstancesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances getall forbidden response +func (o *PcloudPvminstancesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesGetallRequestTimeout) IsCode(code int) bool { return code == 408 } +// Code gets the status code for the pcloud pvminstances getall request timeout response +func (o *PcloudPvminstancesGetallRequestTimeout) Code() int { + return 408 +} + func (o *PcloudPvminstancesGetallRequestTimeout) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesGetallRequestTimeout %+v", 408, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud pvminstances getall internal server error response +func (o *PcloudPvminstancesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_delete_responses.go index 75436fe49..df05bb972 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_delete_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesNetworksDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances networks delete o k response +func (o *PcloudPvminstancesNetworksDeleteOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesNetworksDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksDeleteOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudPvminstancesNetworksDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances networks delete bad request response +func (o *PcloudPvminstancesNetworksDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesNetworksDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksDeleteBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudPvminstancesNetworksDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances networks delete unauthorized response +func (o *PcloudPvminstancesNetworksDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesNetworksDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksDeleteUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudPvminstancesNetworksDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances networks delete not found response +func (o *PcloudPvminstancesNetworksDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesNetworksDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksDeleteNotFound %+v", 404, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudPvminstancesNetworksDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud pvminstances networks delete gone response +func (o *PcloudPvminstancesNetworksDeleteGone) Code() int { + return 410 +} + func (o *PcloudPvminstancesNetworksDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksDeleteGone %+v", 410, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudPvminstancesNetworksDeleteInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud pvminstances networks delete internal server error response +func (o *PcloudPvminstancesNetworksDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesNetworksDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_get_responses.go index 20826ba3f..adf374878 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_get_responses.go @@ -91,6 +91,11 @@ func (o *PcloudPvminstancesNetworksGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances networks get o k response +func (o *PcloudPvminstancesNetworksGetOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesNetworksGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksGetOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudPvminstancesNetworksGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances networks get unauthorized response +func (o *PcloudPvminstancesNetworksGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesNetworksGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksGetUnauthorized %+v", 401, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudPvminstancesNetworksGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances networks get not found response +func (o *PcloudPvminstancesNetworksGetNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesNetworksGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksGetNotFound %+v", 404, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudPvminstancesNetworksGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances networks get internal server error response +func (o *PcloudPvminstancesNetworksGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesNetworksGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks/{network_id}][%d] pcloudPvminstancesNetworksGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_getall_responses.go index 000cda14c..b4accd46f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_getall_responses.go @@ -91,6 +91,11 @@ func (o *PcloudPvminstancesNetworksGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances networks getall o k response +func (o *PcloudPvminstancesNetworksGetallOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesNetworksGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksGetallOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudPvminstancesNetworksGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances networks getall bad request response +func (o *PcloudPvminstancesNetworksGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesNetworksGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksGetallBadRequest %+v", 400, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudPvminstancesNetworksGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances networks getall unauthorized response +func (o *PcloudPvminstancesNetworksGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesNetworksGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksGetallUnauthorized %+v", 401, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudPvminstancesNetworksGetallInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud pvminstances networks getall internal server error response +func (o *PcloudPvminstancesNetworksGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesNetworksGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_post_responses.go index 71e5c1646..7f5c9cc25 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_networks_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesNetworksPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud pvminstances networks post created response +func (o *PcloudPvminstancesNetworksPostCreated) Code() int { + return 201 +} + func (o *PcloudPvminstancesNetworksPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksPostCreated %+v", 201, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesNetworksPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances networks post bad request response +func (o *PcloudPvminstancesNetworksPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesNetworksPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksPostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesNetworksPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances networks post unauthorized response +func (o *PcloudPvminstancesNetworksPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesNetworksPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksPostUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesNetworksPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances networks post conflict response +func (o *PcloudPvminstancesNetworksPostConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesNetworksPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksPostConflict %+v", 409, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) IsCode(code int) boo return code == 422 } +// Code gets the status code for the pcloud pvminstances networks post unprocessable entity response +func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPvminstancesNetworksPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksPostUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesNetworksPostInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud pvminstances networks post internal server error response +func (o *PcloudPvminstancesNetworksPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesNetworksPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/networks][%d] pcloudPvminstancesNetworksPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_operations_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_operations_post_responses.go index 0b259d47d..49f8f335d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_operations_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_operations_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesOperationsPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances operations post o k response +func (o *PcloudPvminstancesOperationsPostOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesOperationsPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/operations][%d] pcloudPvminstancesOperationsPostOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudPvminstancesOperationsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances operations post bad request response +func (o *PcloudPvminstancesOperationsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesOperationsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/operations][%d] pcloudPvminstancesOperationsPostBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudPvminstancesOperationsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances operations post unauthorized response +func (o *PcloudPvminstancesOperationsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesOperationsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/operations][%d] pcloudPvminstancesOperationsPostUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudPvminstancesOperationsPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances operations post not found response +func (o *PcloudPvminstancesOperationsPostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesOperationsPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/operations][%d] pcloudPvminstancesOperationsPostNotFound %+v", 404, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) IsCode(code int) b return code == 422 } +// Code gets the status code for the pcloud pvminstances operations post unprocessable entity response +func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPvminstancesOperationsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/operations][%d] pcloudPvminstancesOperationsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudPvminstancesOperationsPostInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud pvminstances operations post internal server error response +func (o *PcloudPvminstancesOperationsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesOperationsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/operations][%d] pcloudPvminstancesOperationsPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_post_responses.go index c7973e9e7..e37720fbc 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_post_responses.go @@ -133,6 +133,11 @@ func (o *PcloudPvminstancesPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances post o k response +func (o *PcloudPvminstancesPostOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostOK %+v", 200, o.Payload) } @@ -194,6 +199,11 @@ func (o *PcloudPvminstancesPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud pvminstances post created response +func (o *PcloudPvminstancesPostCreated) Code() int { + return 201 +} + func (o *PcloudPvminstancesPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostCreated %+v", 201, o.Payload) } @@ -255,6 +265,11 @@ func (o *PcloudPvminstancesPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud pvminstances post accepted response +func (o *PcloudPvminstancesPostAccepted) Code() int { + return 202 +} + func (o *PcloudPvminstancesPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostAccepted %+v", 202, o.Payload) } @@ -316,6 +331,11 @@ func (o *PcloudPvminstancesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances post bad request response +func (o *PcloudPvminstancesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostBadRequest %+v", 400, o.Payload) } @@ -379,6 +399,11 @@ func (o *PcloudPvminstancesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances post unauthorized response +func (o *PcloudPvminstancesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostUnauthorized %+v", 401, o.Payload) } @@ -442,6 +467,11 @@ func (o *PcloudPvminstancesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances post forbidden response +func (o *PcloudPvminstancesPostForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostForbidden %+v", 403, o.Payload) } @@ -505,6 +535,11 @@ func (o *PcloudPvminstancesPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances post not found response +func (o *PcloudPvminstancesPostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostNotFound %+v", 404, o.Payload) } @@ -568,6 +603,11 @@ func (o *PcloudPvminstancesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances post conflict response +func (o *PcloudPvminstancesPostConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostConflict %+v", 409, o.Payload) } @@ -631,6 +671,11 @@ func (o *PcloudPvminstancesPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud pvminstances post unprocessable entity response +func (o *PcloudPvminstancesPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPvminstancesPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostUnprocessableEntity %+v", 422, o.Payload) } @@ -694,6 +739,11 @@ func (o *PcloudPvminstancesPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud pvminstances post internal server error response +func (o *PcloudPvminstancesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostInternalServerError %+v", 500, o.Payload) } @@ -757,6 +807,11 @@ func (o *PcloudPvminstancesPostGatewayTimeout) IsCode(code int) bool { return code == 504 } +// Code gets the status code for the pcloud pvminstances post gateway timeout response +func (o *PcloudPvminstancesPostGatewayTimeout) Code() int { + return 504 +} + func (o *PcloudPvminstancesPostGatewayTimeout) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudPvminstancesPostGatewayTimeout %+v", 504, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_put_responses.go index d64ac657c..488d147e0 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_put_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPvminstancesPutAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud pvminstances put accepted response +func (o *PcloudPvminstancesPutAccepted) Code() int { + return 202 +} + func (o *PcloudPvminstancesPutAccepted) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesPutAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudPvminstancesPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances put bad request response +func (o *PcloudPvminstancesPutBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesPutBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudPvminstancesPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances put unauthorized response +func (o *PcloudPvminstancesPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesPutUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudPvminstancesPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances put forbidden response +func (o *PcloudPvminstancesPutForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesPutForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudPvminstancesPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances put not found response +func (o *PcloudPvminstancesPutNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesPutNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudPvminstancesPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud pvminstances put unprocessable entity response +func (o *PcloudPvminstancesPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPvminstancesPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesPutUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudPvminstancesPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud pvminstances put internal server error response +func (o *PcloudPvminstancesPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][%d] pcloudPvminstancesPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_getall_responses.go index 9a68cffa9..f6b1ad772 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesSnapshotsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances snapshots getall o k response +func (o *PcloudPvminstancesSnapshotsGetallOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesSnapshotsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesSnapshotsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances snapshots getall bad request response +func (o *PcloudPvminstancesSnapshotsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesSnapshotsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances snapshots getall unauthorized response +func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesSnapshotsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesSnapshotsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances snapshots getall forbidden response +func (o *PcloudPvminstancesSnapshotsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesSnapshotsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesSnapshotsGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances snapshots getall not found response +func (o *PcloudPvminstancesSnapshotsGetallNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesSnapshotsGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud pvminstances snapshots getall internal server error response +func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesSnapshotsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_post_responses.go index 672709989..7e46b730d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_post_responses.go @@ -115,6 +115,11 @@ func (o *PcloudPvminstancesSnapshotsPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud pvminstances snapshots post accepted response +func (o *PcloudPvminstancesSnapshotsPostAccepted) Code() int { + return 202 +} + func (o *PcloudPvminstancesSnapshotsPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostAccepted %+v", 202, o.Payload) } @@ -178,6 +183,11 @@ func (o *PcloudPvminstancesSnapshotsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances snapshots post bad request response +func (o *PcloudPvminstancesSnapshotsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesSnapshotsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostBadRequest %+v", 400, o.Payload) } @@ -241,6 +251,11 @@ func (o *PcloudPvminstancesSnapshotsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances snapshots post unauthorized response +func (o *PcloudPvminstancesSnapshotsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesSnapshotsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostUnauthorized %+v", 401, o.Payload) } @@ -304,6 +319,11 @@ func (o *PcloudPvminstancesSnapshotsPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances snapshots post forbidden response +func (o *PcloudPvminstancesSnapshotsPostForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesSnapshotsPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostForbidden %+v", 403, o.Payload) } @@ -367,6 +387,11 @@ func (o *PcloudPvminstancesSnapshotsPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances snapshots post not found response +func (o *PcloudPvminstancesSnapshotsPostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesSnapshotsPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostNotFound %+v", 404, o.Payload) } @@ -430,6 +455,11 @@ func (o *PcloudPvminstancesSnapshotsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances snapshots post conflict response +func (o *PcloudPvminstancesSnapshotsPostConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesSnapshotsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostConflict %+v", 409, o.Payload) } @@ -493,6 +523,11 @@ func (o *PcloudPvminstancesSnapshotsPostInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud pvminstances snapshots post internal server error response +func (o *PcloudPvminstancesSnapshotsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesSnapshotsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostInternalServerError %+v", 500, o.Payload) } @@ -556,6 +591,11 @@ func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) IsCode(code int) bool { return code == 504 } +// Code gets the status code for the pcloud pvminstances snapshots post gateway timeout response +func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) Code() int { + return 504 +} + func (o *PcloudPvminstancesSnapshotsPostGatewayTimeout) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots][%d] pcloudPvminstancesSnapshotsPostGatewayTimeout %+v", 504, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_restore_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_restore_post_responses.go index ae57f99b3..3fc719e07 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_restore_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_pvminstances_snapshots_restore_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud pvminstances snapshots restore post accepted response +func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) Code() int { + return 202 +} + func (o *PcloudPvminstancesSnapshotsRestorePostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots/{snapshot_id}/restore][%d] pcloudPvminstancesSnapshotsRestorePostAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) IsCode(code int) bool return code == 400 } +// Code gets the status code for the pcloud pvminstances snapshots restore post bad request response +func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesSnapshotsRestorePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots/{snapshot_id}/restore][%d] pcloudPvminstancesSnapshotsRestorePostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) IsCode(code int) bo return code == 401 } +// Code gets the status code for the pcloud pvminstances snapshots restore post unauthorized response +func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesSnapshotsRestorePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots/{snapshot_id}/restore][%d] pcloudPvminstancesSnapshotsRestorePostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) IsCode(code int) bool return code == 403 } +// Code gets the status code for the pcloud pvminstances snapshots restore post forbidden response +func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesSnapshotsRestorePostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots/{snapshot_id}/restore][%d] pcloudPvminstancesSnapshotsRestorePostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances snapshots restore post not found response +func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesSnapshotsRestorePostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots/{snapshot_id}/restore][%d] pcloudPvminstancesSnapshotsRestorePostNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudPvminstancesSnapshotsRestorePostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances snapshots restore post conflict response +func (o *PcloudPvminstancesSnapshotsRestorePostConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesSnapshotsRestorePostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots/{snapshot_id}/restore][%d] pcloudPvminstancesSnapshotsRestorePostConflict %+v", 409, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) IsCode(code return code == 500 } +// Code gets the status code for the pcloud pvminstances snapshots restore post internal server error response +func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesSnapshotsRestorePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/snapshots/{snapshot_id}/restore][%d] pcloudPvminstancesSnapshotsRestorePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_get_responses.go index c235af7c8..b63ac63ce 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_get_responses.go @@ -91,6 +91,11 @@ func (o *PcloudV2PvminstancesCaptureGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 pvminstances capture get o k response +func (o *PcloudV2PvminstancesCaptureGetOK) Code() int { + return 200 +} + func (o *PcloudV2PvminstancesCaptureGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCaptureGetOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudV2PvminstancesCaptureGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 pvminstances capture get unauthorized response +func (o *PcloudV2PvminstancesCaptureGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2PvminstancesCaptureGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCaptureGetUnauthorized %+v", 401, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudV2PvminstancesCaptureGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 pvminstances capture get not found response +func (o *PcloudV2PvminstancesCaptureGetNotFound) Code() int { + return 404 +} + func (o *PcloudV2PvminstancesCaptureGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCaptureGetNotFound %+v", 404, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudV2PvminstancesCaptureGetInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud v2 pvminstances capture get internal server error response +func (o *PcloudV2PvminstancesCaptureGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2PvminstancesCaptureGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCaptureGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_post_responses.go index ceb2edded..d4ab5a90f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_capture_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudV2PvminstancesCapturePostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v2 pvminstances capture post accepted response +func (o *PcloudV2PvminstancesCapturePostAccepted) Code() int { + return 202 +} + func (o *PcloudV2PvminstancesCapturePostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCapturePostAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudV2PvminstancesCapturePostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 pvminstances capture post bad request response +func (o *PcloudV2PvminstancesCapturePostBadRequest) Code() int { + return 400 +} + func (o *PcloudV2PvminstancesCapturePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCapturePostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudV2PvminstancesCapturePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 pvminstances capture post unauthorized response +func (o *PcloudV2PvminstancesCapturePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2PvminstancesCapturePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCapturePostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudV2PvminstancesCapturePostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 pvminstances capture post not found response +func (o *PcloudV2PvminstancesCapturePostNotFound) Code() int { + return 404 +} + func (o *PcloudV2PvminstancesCapturePostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCapturePostNotFound %+v", 404, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudV2PvminstancesCapturePostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud v2 pvminstances capture post conflict response +func (o *PcloudV2PvminstancesCapturePostConflict) Code() int { + return 409 +} + func (o *PcloudV2PvminstancesCapturePostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCapturePostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) IsCode(code int) bo return code == 422 } +// Code gets the status code for the pcloud v2 pvminstances capture post unprocessable entity response +func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudV2PvminstancesCapturePostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCapturePostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudV2PvminstancesCapturePostInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud v2 pvminstances capture post internal server error response +func (o *PcloudV2PvminstancesCapturePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2PvminstancesCapturePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/capture][%d] pcloudV2PvminstancesCapturePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_getall_responses.go index db2bc8415..023641e8c 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_p_vm_instances/pcloud_v2_pvminstances_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudV2PvminstancesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 pvminstances getall o k response +func (o *PcloudV2PvminstancesGetallOK) Code() int { + return 200 +} + func (o *PcloudV2PvminstancesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudV2PvminstancesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudV2PvminstancesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 pvminstances getall bad request response +func (o *PcloudV2PvminstancesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudV2PvminstancesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudV2PvminstancesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudV2PvminstancesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 pvminstances getall unauthorized response +func (o *PcloudV2PvminstancesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2PvminstancesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudV2PvminstancesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudV2PvminstancesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 pvminstances getall forbidden response +func (o *PcloudV2PvminstancesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudV2PvminstancesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudV2PvminstancesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudV2PvminstancesGetallRequestTimeout) IsCode(code int) bool { return code == 408 } +// Code gets the status code for the pcloud v2 pvminstances getall request timeout response +func (o *PcloudV2PvminstancesGetallRequestTimeout) Code() int { + return 408 +} + func (o *PcloudV2PvminstancesGetallRequestTimeout) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudV2PvminstancesGetallRequestTimeout %+v", 408, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudV2PvminstancesGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 pvminstances getall internal server error response +func (o *PcloudV2PvminstancesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2PvminstancesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances][%d] pcloudV2PvminstancesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_delete_responses.go index 9ea945669..0bb643974 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_delete_responses.go @@ -97,6 +97,11 @@ func (o *PcloudPlacementgroupsDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud placementgroups delete o k response +func (o *PcloudPlacementgroupsDeleteOK) Code() int { + return 200 +} + func (o *PcloudPlacementgroupsDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsDeleteOK %+v", 200, o.Payload) } @@ -158,6 +163,11 @@ func (o *PcloudPlacementgroupsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud placementgroups delete bad request response +func (o *PcloudPlacementgroupsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudPlacementgroupsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsDeleteBadRequest %+v", 400, o.Payload) } @@ -221,6 +231,11 @@ func (o *PcloudPlacementgroupsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud placementgroups delete forbidden response +func (o *PcloudPlacementgroupsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudPlacementgroupsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsDeleteForbidden %+v", 403, o.Payload) } @@ -284,6 +299,11 @@ func (o *PcloudPlacementgroupsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud placementgroups delete not found response +func (o *PcloudPlacementgroupsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudPlacementgroupsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsDeleteNotFound %+v", 404, o.Payload) } @@ -347,6 +367,11 @@ func (o *PcloudPlacementgroupsDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud placementgroups delete internal server error response +func (o *PcloudPlacementgroupsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudPlacementgroupsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_get_responses.go index a93b11c7d..ddb14bbce 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudPlacementgroupsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud placementgroups get o k response +func (o *PcloudPlacementgroupsGetOK) Code() int { + return 200 +} + func (o *PcloudPlacementgroupsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudPlacementgroupsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud placementgroups get bad request response +func (o *PcloudPlacementgroupsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudPlacementgroupsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudPlacementgroupsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud placementgroups get forbidden response +func (o *PcloudPlacementgroupsGetForbidden) Code() int { + return 403 +} + func (o *PcloudPlacementgroupsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudPlacementgroupsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud placementgroups get not found response +func (o *PcloudPlacementgroupsGetNotFound) Code() int { + return 404 +} + func (o *PcloudPlacementgroupsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudPlacementgroupsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud placementgroups get internal server error response +func (o *PcloudPlacementgroupsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudPlacementgroupsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}][%d] pcloudPlacementgroupsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_getall_responses.go index 5fc384900..46f10bee5 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudPlacementgroupsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud placementgroups getall o k response +func (o *PcloudPlacementgroupsGetallOK) Code() int { + return 200 +} + func (o *PcloudPlacementgroupsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudPlacementgroupsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud placementgroups getall bad request response +func (o *PcloudPlacementgroupsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudPlacementgroupsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudPlacementgroupsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud placementgroups getall unauthorized response +func (o *PcloudPlacementgroupsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudPlacementgroupsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudPlacementgroupsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud placementgroups getall forbidden response +func (o *PcloudPlacementgroupsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudPlacementgroupsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsGetallForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudPlacementgroupsGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud placementgroups getall internal server error response +func (o *PcloudPlacementgroupsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudPlacementgroupsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_delete_responses.go index 924593dfe..df9c508f8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPlacementgroupsMembersDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud placementgroups members delete o k response +func (o *PcloudPlacementgroupsMembersDeleteOK) Code() int { + return 200 +} + func (o *PcloudPlacementgroupsMembersDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersDeleteOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudPlacementgroupsMembersDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud placementgroups members delete bad request response +func (o *PcloudPlacementgroupsMembersDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudPlacementgroupsMembersDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersDeleteBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudPlacementgroupsMembersDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud placementgroups members delete forbidden response +func (o *PcloudPlacementgroupsMembersDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudPlacementgroupsMembersDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersDeleteForbidden %+v", 403, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudPlacementgroupsMembersDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud placementgroups members delete not found response +func (o *PcloudPlacementgroupsMembersDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudPlacementgroupsMembersDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersDeleteNotFound %+v", 404, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudPlacementgroupsMembersDeleteConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud placementgroups members delete conflict response +func (o *PcloudPlacementgroupsMembersDeleteConflict) Code() int { + return 409 +} + func (o *PcloudPlacementgroupsMembersDeleteConflict) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersDeleteConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) IsCode(code int) return code == 422 } +// Code gets the status code for the pcloud placementgroups members delete unprocessable entity response +func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPlacementgroupsMembersDeleteUnprocessableEntity) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersDeleteUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud placementgroups members delete internal server error response +func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudPlacementgroupsMembersDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_post_responses.go index 1ff1f2b3a..0ea003826 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_members_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPlacementgroupsMembersPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud placementgroups members post o k response +func (o *PcloudPlacementgroupsMembersPostOK) Code() int { + return 200 +} + func (o *PcloudPlacementgroupsMembersPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersPostOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudPlacementgroupsMembersPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud placementgroups members post bad request response +func (o *PcloudPlacementgroupsMembersPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPlacementgroupsMembersPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudPlacementgroupsMembersPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud placementgroups members post forbidden response +func (o *PcloudPlacementgroupsMembersPostForbidden) Code() int { + return 403 +} + func (o *PcloudPlacementgroupsMembersPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersPostForbidden %+v", 403, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudPlacementgroupsMembersPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud placementgroups members post not found response +func (o *PcloudPlacementgroupsMembersPostNotFound) Code() int { + return 404 +} + func (o *PcloudPlacementgroupsMembersPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersPostNotFound %+v", 404, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudPlacementgroupsMembersPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud placementgroups members post conflict response +func (o *PcloudPlacementgroupsMembersPostConflict) Code() int { + return 409 +} + func (o *PcloudPlacementgroupsMembersPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) IsCode(code int) b return code == 422 } +// Code gets the status code for the pcloud placementgroups members post unprocessable entity response +func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPlacementgroupsMembersPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudPlacementgroupsMembersPostInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud placementgroups members post internal server error response +func (o *PcloudPlacementgroupsMembersPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPlacementgroupsMembersPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups/{placement_group_id}/members][%d] pcloudPlacementgroupsMembersPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_post_responses.go index f00c3422b..08b8f7875 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_placement_groups/pcloud_placementgroups_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPlacementgroupsPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud placementgroups post o k response +func (o *PcloudPlacementgroupsPostOK) Code() int { + return 200 +} + func (o *PcloudPlacementgroupsPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsPostOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPlacementgroupsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud placementgroups post bad request response +func (o *PcloudPlacementgroupsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPlacementgroupsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsPostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPlacementgroupsPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud placementgroups post forbidden response +func (o *PcloudPlacementgroupsPostForbidden) Code() int { + return 403 +} + func (o *PcloudPlacementgroupsPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsPostForbidden %+v", 403, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPlacementgroupsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud placementgroups post conflict response +func (o *PcloudPlacementgroupsPostConflict) Code() int { + return 409 +} + func (o *PcloudPlacementgroupsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsPostConflict %+v", 409, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPlacementgroupsPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud placementgroups post unprocessable entity response +func (o *PcloudPlacementgroupsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudPlacementgroupsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPlacementgroupsPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud placementgroups post internal server error response +func (o *PcloudPlacementgroupsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPlacementgroupsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/placement-groups][%d] pcloudPlacementgroupsPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_get_responses.go index a2536b005..afe47d4ee 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudSapGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sap get o k response +func (o *PcloudSapGetOK) Code() int { + return 200 +} + func (o *PcloudSapGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap/{sap_profile_id}][%d] pcloudSapGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudSapGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sap get bad request response +func (o *PcloudSapGetBadRequest) Code() int { + return 400 +} + func (o *PcloudSapGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap/{sap_profile_id}][%d] pcloudSapGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudSapGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sap get unauthorized response +func (o *PcloudSapGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudSapGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap/{sap_profile_id}][%d] pcloudSapGetUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudSapGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sap get not found response +func (o *PcloudSapGetNotFound) Code() int { + return 404 +} + func (o *PcloudSapGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap/{sap_profile_id}][%d] pcloudSapGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudSapGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud sap get internal server error response +func (o *PcloudSapGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudSapGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap/{sap_profile_id}][%d] pcloudSapGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_getall_responses.go index 09da6635b..63e068ea0 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_getall_responses.go @@ -91,6 +91,11 @@ func (o *PcloudSapGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sap getall o k response +func (o *PcloudSapGetallOK) Code() int { + return 200 +} + func (o *PcloudSapGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapGetallOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudSapGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sap getall bad request response +func (o *PcloudSapGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudSapGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapGetallBadRequest %+v", 400, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudSapGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sap getall unauthorized response +func (o *PcloudSapGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudSapGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapGetallUnauthorized %+v", 401, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudSapGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud sap getall internal server error response +func (o *PcloudSapGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudSapGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_post_responses.go index 49764e073..f032855ab 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_a_p/pcloud_sap_post_responses.go @@ -115,6 +115,11 @@ func (o *PcloudSapPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sap post o k response +func (o *PcloudSapPostOK) Code() int { + return 200 +} + func (o *PcloudSapPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostOK %+v", 200, o.Payload) } @@ -176,6 +181,11 @@ func (o *PcloudSapPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud sap post created response +func (o *PcloudSapPostCreated) Code() int { + return 201 +} + func (o *PcloudSapPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostCreated %+v", 201, o.Payload) } @@ -237,6 +247,11 @@ func (o *PcloudSapPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud sap post accepted response +func (o *PcloudSapPostAccepted) Code() int { + return 202 +} + func (o *PcloudSapPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostAccepted %+v", 202, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudSapPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sap post bad request response +func (o *PcloudSapPostBadRequest) Code() int { + return 400 +} + func (o *PcloudSapPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostBadRequest %+v", 400, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudSapPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sap post unauthorized response +func (o *PcloudSapPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudSapPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostUnauthorized %+v", 401, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudSapPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud sap post conflict response +func (o *PcloudSapPostConflict) Code() int { + return 409 +} + func (o *PcloudSapPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostConflict %+v", 409, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudSapPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud sap post unprocessable entity response +func (o *PcloudSapPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudSapPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostUnprocessableEntity %+v", 422, o.Payload) } @@ -550,6 +585,11 @@ func (o *PcloudSapPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud sap post internal server error response +func (o *PcloudSapPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudSapPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/sap][%d] pcloudSapPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_delete_responses.go index 6360af65d..70255bb18 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudSppplacementgroupsDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sppplacementgroups delete o k response +func (o *PcloudSppplacementgroupsDeleteOK) Code() int { + return 200 +} + func (o *PcloudSppplacementgroupsDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudSppplacementgroupsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sppplacementgroups delete bad request response +func (o *PcloudSppplacementgroupsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudSppplacementgroupsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudSppplacementgroupsDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sppplacementgroups delete unauthorized response +func (o *PcloudSppplacementgroupsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudSppplacementgroupsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudSppplacementgroupsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sppplacementgroups delete forbidden response +func (o *PcloudSppplacementgroupsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudSppplacementgroupsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudSppplacementgroupsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sppplacementgroups delete not found response +func (o *PcloudSppplacementgroupsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudSppplacementgroupsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudSppplacementgroupsDeleteConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud sppplacementgroups delete conflict response +func (o *PcloudSppplacementgroupsDeleteConflict) Code() int { + return 409 +} + func (o *PcloudSppplacementgroupsDeleteConflict) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsDeleteConflict %+v", 409, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudSppplacementgroupsDeleteInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud sppplacementgroups delete internal server error response +func (o *PcloudSppplacementgroupsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudSppplacementgroupsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_get_responses.go index 598fbcb8d..34a1172a2 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudSppplacementgroupsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sppplacementgroups get o k response +func (o *PcloudSppplacementgroupsGetOK) Code() int { + return 200 +} + func (o *PcloudSppplacementgroupsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudSppplacementgroupsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sppplacementgroups get bad request response +func (o *PcloudSppplacementgroupsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudSppplacementgroupsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudSppplacementgroupsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sppplacementgroups get unauthorized response +func (o *PcloudSppplacementgroupsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudSppplacementgroupsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsGetUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudSppplacementgroupsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sppplacementgroups get not found response +func (o *PcloudSppplacementgroupsGetNotFound) Code() int { + return 404 +} + func (o *PcloudSppplacementgroupsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudSppplacementgroupsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud sppplacementgroups get internal server error response +func (o *PcloudSppplacementgroupsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudSppplacementgroupsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}][%d] pcloudSppplacementgroupsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_getall_responses.go index e84cc496d..078a48530 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudSppplacementgroupsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sppplacementgroups getall o k response +func (o *PcloudSppplacementgroupsGetallOK) Code() int { + return 200 +} + func (o *PcloudSppplacementgroupsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudSppplacementgroupsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sppplacementgroups getall bad request response +func (o *PcloudSppplacementgroupsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudSppplacementgroupsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudSppplacementgroupsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sppplacementgroups getall unauthorized response +func (o *PcloudSppplacementgroupsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudSppplacementgroupsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudSppplacementgroupsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sppplacementgroups getall forbidden response +func (o *PcloudSppplacementgroupsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudSppplacementgroupsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudSppplacementgroupsGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sppplacementgroups getall not found response +func (o *PcloudSppplacementgroupsGetallNotFound) Code() int { + return 404 +} + func (o *PcloudSppplacementgroupsGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudSppplacementgroupsGetallInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud sppplacementgroups getall internal server error response +func (o *PcloudSppplacementgroupsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudSppplacementgroupsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_delete_responses.go index b767ae66f..a99b190df 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudSppplacementgroupsMembersDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sppplacementgroups members delete o k response +func (o *PcloudSppplacementgroupsMembersDeleteOK) Code() int { + return 200 +} + func (o *PcloudSppplacementgroupsMembersDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersDeleteOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudSppplacementgroupsMembersDeleteBadRequest) IsCode(code int) bool return code == 400 } +// Code gets the status code for the pcloud sppplacementgroups members delete bad request response +func (o *PcloudSppplacementgroupsMembersDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudSppplacementgroupsMembersDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersDeleteBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudSppplacementgroupsMembersDeleteUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the pcloud sppplacementgroups members delete unauthorized response +func (o *PcloudSppplacementgroupsMembersDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudSppplacementgroupsMembersDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersDeleteUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudSppplacementgroupsMembersDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sppplacementgroups members delete forbidden response +func (o *PcloudSppplacementgroupsMembersDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudSppplacementgroupsMembersDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersDeleteForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudSppplacementgroupsMembersDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sppplacementgroups members delete not found response +func (o *PcloudSppplacementgroupsMembersDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudSppplacementgroupsMembersDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersDeleteNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudSppplacementgroupsMembersDeleteConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud sppplacementgroups members delete conflict response +func (o *PcloudSppplacementgroupsMembersDeleteConflict) Code() int { + return 409 +} + func (o *PcloudSppplacementgroupsMembersDeleteConflict) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersDeleteConflict %+v", 409, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudSppplacementgroupsMembersDeleteInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the pcloud sppplacementgroups members delete internal server error response +func (o *PcloudSppplacementgroupsMembersDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudSppplacementgroupsMembersDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_post_responses.go index 904dbebf9..0387fcee8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_members_post_responses.go @@ -115,6 +115,11 @@ func (o *PcloudSppplacementgroupsMembersPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sppplacementgroups members post o k response +func (o *PcloudSppplacementgroupsMembersPostOK) Code() int { + return 200 +} + func (o *PcloudSppplacementgroupsMembersPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostOK %+v", 200, o.Payload) } @@ -178,6 +183,11 @@ func (o *PcloudSppplacementgroupsMembersPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sppplacementgroups members post bad request response +func (o *PcloudSppplacementgroupsMembersPostBadRequest) Code() int { + return 400 +} + func (o *PcloudSppplacementgroupsMembersPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostBadRequest %+v", 400, o.Payload) } @@ -241,6 +251,11 @@ func (o *PcloudSppplacementgroupsMembersPostUnauthorized) IsCode(code int) bool return code == 401 } +// Code gets the status code for the pcloud sppplacementgroups members post unauthorized response +func (o *PcloudSppplacementgroupsMembersPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudSppplacementgroupsMembersPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostUnauthorized %+v", 401, o.Payload) } @@ -304,6 +319,11 @@ func (o *PcloudSppplacementgroupsMembersPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sppplacementgroups members post forbidden response +func (o *PcloudSppplacementgroupsMembersPostForbidden) Code() int { + return 403 +} + func (o *PcloudSppplacementgroupsMembersPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostForbidden %+v", 403, o.Payload) } @@ -367,6 +387,11 @@ func (o *PcloudSppplacementgroupsMembersPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sppplacementgroups members post not found response +func (o *PcloudSppplacementgroupsMembersPostNotFound) Code() int { + return 404 +} + func (o *PcloudSppplacementgroupsMembersPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostNotFound %+v", 404, o.Payload) } @@ -430,6 +455,11 @@ func (o *PcloudSppplacementgroupsMembersPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud sppplacementgroups members post conflict response +func (o *PcloudSppplacementgroupsMembersPostConflict) Code() int { + return 409 +} + func (o *PcloudSppplacementgroupsMembersPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostConflict %+v", 409, o.Payload) } @@ -493,6 +523,11 @@ func (o *PcloudSppplacementgroupsMembersPostUnprocessableEntity) IsCode(code int return code == 422 } +// Code gets the status code for the pcloud sppplacementgroups members post unprocessable entity response +func (o *PcloudSppplacementgroupsMembersPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudSppplacementgroupsMembersPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostUnprocessableEntity %+v", 422, o.Payload) } @@ -556,6 +591,11 @@ func (o *PcloudSppplacementgroupsMembersPostInternalServerError) IsCode(code int return code == 500 } +// Code gets the status code for the pcloud sppplacementgroups members post internal server error response +func (o *PcloudSppplacementgroupsMembersPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudSppplacementgroupsMembersPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups/{spp_placement_group_id}/members/{shared_processor_pool_id}][%d] pcloudSppplacementgroupsMembersPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_post_responses.go index 4972e6a11..c8071eeb2 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_s_p_p_placement_groups/pcloud_sppplacementgroups_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudSppplacementgroupsPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sppplacementgroups post o k response +func (o *PcloudSppplacementgroupsPostOK) Code() int { + return 200 +} + func (o *PcloudSppplacementgroupsPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsPostOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudSppplacementgroupsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sppplacementgroups post bad request response +func (o *PcloudSppplacementgroupsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudSppplacementgroupsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudSppplacementgroupsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sppplacementgroups post unauthorized response +func (o *PcloudSppplacementgroupsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudSppplacementgroupsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudSppplacementgroupsPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sppplacementgroups post forbidden response +func (o *PcloudSppplacementgroupsPostForbidden) Code() int { + return 403 +} + func (o *PcloudSppplacementgroupsPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudSppplacementgroupsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud sppplacementgroups post conflict response +func (o *PcloudSppplacementgroupsPostConflict) Code() int { + return 409 +} + func (o *PcloudSppplacementgroupsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudSppplacementgroupsPostUnprocessableEntity) IsCode(code int) bool return code == 422 } +// Code gets the status code for the pcloud sppplacementgroups post unprocessable entity response +func (o *PcloudSppplacementgroupsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudSppplacementgroupsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudSppplacementgroupsPostInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud sppplacementgroups post internal server error response +func (o *PcloudSppplacementgroupsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudSppplacementgroupsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/spp-placement-groups][%d] pcloudSppplacementgroupsPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_delete_responses.go index 81756033c..541e4000e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_delete_responses.go @@ -97,6 +97,11 @@ func (o *PcloudDhcpDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud dhcp delete accepted response +func (o *PcloudDhcpDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudDhcpDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpDeleteAccepted %+v", 202, o.Payload) } @@ -158,6 +163,11 @@ func (o *PcloudDhcpDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud dhcp delete bad request response +func (o *PcloudDhcpDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudDhcpDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpDeleteBadRequest %+v", 400, o.Payload) } @@ -221,6 +231,11 @@ func (o *PcloudDhcpDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud dhcp delete forbidden response +func (o *PcloudDhcpDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudDhcpDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpDeleteForbidden %+v", 403, o.Payload) } @@ -284,6 +299,11 @@ func (o *PcloudDhcpDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud dhcp delete not found response +func (o *PcloudDhcpDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudDhcpDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpDeleteNotFound %+v", 404, o.Payload) } @@ -347,6 +367,11 @@ func (o *PcloudDhcpDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud dhcp delete internal server error response +func (o *PcloudDhcpDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudDhcpDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_get_responses.go index dc96eeabb..4a57e7317 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudDhcpGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud dhcp get o k response +func (o *PcloudDhcpGetOK) Code() int { + return 200 +} + func (o *PcloudDhcpGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudDhcpGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud dhcp get bad request response +func (o *PcloudDhcpGetBadRequest) Code() int { + return 400 +} + func (o *PcloudDhcpGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudDhcpGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud dhcp get forbidden response +func (o *PcloudDhcpGetForbidden) Code() int { + return 403 +} + func (o *PcloudDhcpGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudDhcpGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud dhcp get not found response +func (o *PcloudDhcpGetNotFound) Code() int { + return 404 +} + func (o *PcloudDhcpGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudDhcpGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud dhcp get internal server error response +func (o *PcloudDhcpGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudDhcpGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp/{dhcp_id}][%d] pcloudDhcpGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_getall_responses.go index 5f97ba103..53e6ed4bd 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_getall_responses.go @@ -85,6 +85,11 @@ func (o *PcloudDhcpGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud dhcp getall o k response +func (o *PcloudDhcpGetallOK) Code() int { + return 200 +} + func (o *PcloudDhcpGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp][%d] pcloudDhcpGetallOK %+v", 200, o.Payload) } @@ -146,6 +151,11 @@ func (o *PcloudDhcpGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud dhcp getall forbidden response +func (o *PcloudDhcpGetallForbidden) Code() int { + return 403 +} + func (o *PcloudDhcpGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp][%d] pcloudDhcpGetallForbidden %+v", 403, o.Payload) } @@ -209,6 +219,11 @@ func (o *PcloudDhcpGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud dhcp getall internal server error response +func (o *PcloudDhcpGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudDhcpGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp][%d] pcloudDhcpGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_post_responses.go index a9f886939..6685c0bda 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_service_d_h_c_p/pcloud_dhcp_post_responses.go @@ -91,6 +91,11 @@ func (o *PcloudDhcpPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud dhcp post accepted response +func (o *PcloudDhcpPostAccepted) Code() int { + return 202 +} + func (o *PcloudDhcpPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp][%d] pcloudDhcpPostAccepted %+v", 202, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudDhcpPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud dhcp post bad request response +func (o *PcloudDhcpPostBadRequest) Code() int { + return 400 +} + func (o *PcloudDhcpPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp][%d] pcloudDhcpPostBadRequest %+v", 400, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudDhcpPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud dhcp post forbidden response +func (o *PcloudDhcpPostForbidden) Code() int { + return 403 +} + func (o *PcloudDhcpPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp][%d] pcloudDhcpPostForbidden %+v", 403, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudDhcpPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud dhcp post internal server error response +func (o *PcloudDhcpPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudDhcpPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/services/dhcp][%d] pcloudDhcpPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_delete_responses.go index ecc7e0268..b6c5a9c6c 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudSharedprocessorpoolsDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sharedprocessorpools delete o k response +func (o *PcloudSharedprocessorpoolsDeleteOK) Code() int { + return 200 +} + func (o *PcloudSharedprocessorpoolsDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudSharedprocessorpoolsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sharedprocessorpools delete bad request response +func (o *PcloudSharedprocessorpoolsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudSharedprocessorpoolsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudSharedprocessorpoolsDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sharedprocessorpools delete unauthorized response +func (o *PcloudSharedprocessorpoolsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudSharedprocessorpoolsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudSharedprocessorpoolsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sharedprocessorpools delete forbidden response +func (o *PcloudSharedprocessorpoolsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudSharedprocessorpoolsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudSharedprocessorpoolsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sharedprocessorpools delete not found response +func (o *PcloudSharedprocessorpoolsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudSharedprocessorpoolsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudSharedprocessorpoolsDeleteConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud sharedprocessorpools delete conflict response +func (o *PcloudSharedprocessorpoolsDeleteConflict) Code() int { + return 409 +} + func (o *PcloudSharedprocessorpoolsDeleteConflict) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsDeleteConflict %+v", 409, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudSharedprocessorpoolsDeleteInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud sharedprocessorpools delete internal server error response +func (o *PcloudSharedprocessorpoolsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudSharedprocessorpoolsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_get_responses.go index ea466d8c7..ff39ecf6f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudSharedprocessorpoolsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sharedprocessorpools get o k response +func (o *PcloudSharedprocessorpoolsGetOK) Code() int { + return 200 +} + func (o *PcloudSharedprocessorpoolsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudSharedprocessorpoolsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sharedprocessorpools get bad request response +func (o *PcloudSharedprocessorpoolsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudSharedprocessorpoolsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudSharedprocessorpoolsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sharedprocessorpools get unauthorized response +func (o *PcloudSharedprocessorpoolsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudSharedprocessorpoolsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsGetUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudSharedprocessorpoolsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sharedprocessorpools get not found response +func (o *PcloudSharedprocessorpoolsGetNotFound) Code() int { + return 404 +} + func (o *PcloudSharedprocessorpoolsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudSharedprocessorpoolsGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud sharedprocessorpools get internal server error response +func (o *PcloudSharedprocessorpoolsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudSharedprocessorpoolsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_getall_responses.go index c66d32675..dd3afb8af 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudSharedprocessorpoolsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sharedprocessorpools getall o k response +func (o *PcloudSharedprocessorpoolsGetallOK) Code() int { + return 200 +} + func (o *PcloudSharedprocessorpoolsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudSharedprocessorpoolsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sharedprocessorpools getall bad request response +func (o *PcloudSharedprocessorpoolsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudSharedprocessorpoolsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudSharedprocessorpoolsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sharedprocessorpools getall unauthorized response +func (o *PcloudSharedprocessorpoolsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudSharedprocessorpoolsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudSharedprocessorpoolsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sharedprocessorpools getall forbidden response +func (o *PcloudSharedprocessorpoolsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudSharedprocessorpoolsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudSharedprocessorpoolsGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sharedprocessorpools getall not found response +func (o *PcloudSharedprocessorpoolsGetallNotFound) Code() int { + return 404 +} + func (o *PcloudSharedprocessorpoolsGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudSharedprocessorpoolsGetallInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud sharedprocessorpools getall internal server error response +func (o *PcloudSharedprocessorpoolsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudSharedprocessorpoolsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_post_responses.go index ba2af46aa..44625bc05 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudSharedprocessorpoolsPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud sharedprocessorpools post accepted response +func (o *PcloudSharedprocessorpoolsPostAccepted) Code() int { + return 202 +} + func (o *PcloudSharedprocessorpoolsPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsPostAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudSharedprocessorpoolsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sharedprocessorpools post bad request response +func (o *PcloudSharedprocessorpoolsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudSharedprocessorpoolsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudSharedprocessorpoolsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sharedprocessorpools post unauthorized response +func (o *PcloudSharedprocessorpoolsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudSharedprocessorpoolsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudSharedprocessorpoolsPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sharedprocessorpools post forbidden response +func (o *PcloudSharedprocessorpoolsPostForbidden) Code() int { + return 403 +} + func (o *PcloudSharedprocessorpoolsPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudSharedprocessorpoolsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud sharedprocessorpools post conflict response +func (o *PcloudSharedprocessorpoolsPostConflict) Code() int { + return 409 +} + func (o *PcloudSharedprocessorpoolsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudSharedprocessorpoolsPostUnprocessableEntity) IsCode(code int) boo return code == 422 } +// Code gets the status code for the pcloud sharedprocessorpools post unprocessable entity response +func (o *PcloudSharedprocessorpoolsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudSharedprocessorpoolsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudSharedprocessorpoolsPostInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud sharedprocessorpools post internal server error response +func (o *PcloudSharedprocessorpoolsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudSharedprocessorpoolsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools][%d] pcloudSharedprocessorpoolsPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_put_responses.go index 94df0202f..0a0e1d2dc 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_shared_processor_pools/pcloud_sharedprocessorpools_put_responses.go @@ -103,6 +103,11 @@ func (o *PcloudSharedprocessorpoolsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud sharedprocessorpools put o k response +func (o *PcloudSharedprocessorpoolsPutOK) Code() int { + return 200 +} + func (o *PcloudSharedprocessorpoolsPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsPutOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudSharedprocessorpoolsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud sharedprocessorpools put bad request response +func (o *PcloudSharedprocessorpoolsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudSharedprocessorpoolsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsPutBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudSharedprocessorpoolsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud sharedprocessorpools put unauthorized response +func (o *PcloudSharedprocessorpoolsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudSharedprocessorpoolsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsPutUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudSharedprocessorpoolsPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud sharedprocessorpools put forbidden response +func (o *PcloudSharedprocessorpoolsPutForbidden) Code() int { + return 403 +} + func (o *PcloudSharedprocessorpoolsPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsPutForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudSharedprocessorpoolsPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud sharedprocessorpools put not found response +func (o *PcloudSharedprocessorpoolsPutNotFound) Code() int { + return 404 +} + func (o *PcloudSharedprocessorpoolsPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsPutNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudSharedprocessorpoolsPutInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud sharedprocessorpools put internal server error response +func (o *PcloudSharedprocessorpoolsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudSharedprocessorpoolsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/shared-processor-pools/{shared_processor_pool_id}][%d] pcloudSharedprocessorpoolsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_delete_responses.go index caf93af33..19d83a619 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudinstances snapshots delete accepted response +func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudCloudinstancesSnapshotsDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsDeleteAccepted %+v", 202, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances snapshots delete bad request response +func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesSnapshotsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) IsCode(code int) bool return code == 401 } +// Code gets the status code for the pcloud cloudinstances snapshots delete unauthorized response +func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesSnapshotsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances snapshots delete forbidden response +func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesSnapshotsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances snapshots delete not found response +func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesSnapshotsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudCloudinstancesSnapshotsDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud cloudinstances snapshots delete gone response +func (o *PcloudCloudinstancesSnapshotsDeleteGone) Code() int { + return 410 +} + func (o *PcloudCloudinstancesSnapshotsDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsDeleteGone %+v", 410, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) IsCode(code int return code == 500 } +// Code gets the status code for the pcloud cloudinstances snapshots delete internal server error response +func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesSnapshotsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_get_responses.go index e3fcdc86c..97a715fc9 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesSnapshotsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances snapshots get o k response +func (o *PcloudCloudinstancesSnapshotsGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesSnapshotsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudinstancesSnapshotsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances snapshots get bad request response +func (o *PcloudCloudinstancesSnapshotsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesSnapshotsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances snapshots get unauthorized response +func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesSnapshotsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudinstancesSnapshotsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances snapshots get forbidden response +func (o *PcloudCloudinstancesSnapshotsGetForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesSnapshotsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudinstancesSnapshotsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances snapshots get not found response +func (o *PcloudCloudinstancesSnapshotsGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesSnapshotsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud cloudinstances snapshots get internal server error response +func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesSnapshotsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_getall_responses.go index a9930407b..f81de25e4 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudCloudinstancesSnapshotsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances snapshots getall o k response +func (o *PcloudCloudinstancesSnapshotsGetallOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesSnapshotsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots][%d] pcloudCloudinstancesSnapshotsGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances snapshots getall bad request response +func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesSnapshotsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots][%d] pcloudCloudinstancesSnapshotsGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) IsCode(code int) bool return code == 401 } +// Code gets the status code for the pcloud cloudinstances snapshots getall unauthorized response +func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesSnapshotsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots][%d] pcloudCloudinstancesSnapshotsGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudCloudinstancesSnapshotsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances snapshots getall forbidden response +func (o *PcloudCloudinstancesSnapshotsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesSnapshotsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots][%d] pcloudCloudinstancesSnapshotsGetallForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) IsCode(code int return code == 500 } +// Code gets the status code for the pcloud cloudinstances snapshots getall internal server error response +func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesSnapshotsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots][%d] pcloudCloudinstancesSnapshotsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_put_responses.go index 157bb7045..0d0bcb8ca 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_snapshots/pcloud_cloudinstances_snapshots_put_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesSnapshotsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances snapshots put o k response +func (o *PcloudCloudinstancesSnapshotsPutOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesSnapshotsPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsPutOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudCloudinstancesSnapshotsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances snapshots put bad request response +func (o *PcloudCloudinstancesSnapshotsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesSnapshotsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsPutBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances snapshots put unauthorized response +func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesSnapshotsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsPutUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudCloudinstancesSnapshotsPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances snapshots put forbidden response +func (o *PcloudCloudinstancesSnapshotsPutForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesSnapshotsPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsPutForbidden %+v", 403, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudCloudinstancesSnapshotsPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances snapshots put not found response +func (o *PcloudCloudinstancesSnapshotsPutNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesSnapshotsPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsPutNotFound %+v", 404, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud cloudinstances snapshots put internal server error response +func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesSnapshotsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/snapshots/{snapshot_id}][%d] pcloudCloudinstancesSnapshotsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_get_responses.go index bad1ca8dd..5cb87c2e2 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudStoragecapacityPoolsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud storagecapacity pools get o k response +func (o *PcloudStoragecapacityPoolsGetOK) Code() int { + return 200 +} + func (o *PcloudStoragecapacityPoolsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools/{storage_pool_name}][%d] pcloudStoragecapacityPoolsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudStoragecapacityPoolsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud storagecapacity pools get unauthorized response +func (o *PcloudStoragecapacityPoolsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudStoragecapacityPoolsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools/{storage_pool_name}][%d] pcloudStoragecapacityPoolsGetUnauthorized %+v", 401, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudStoragecapacityPoolsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud storagecapacity pools get forbidden response +func (o *PcloudStoragecapacityPoolsGetForbidden) Code() int { + return 403 +} + func (o *PcloudStoragecapacityPoolsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools/{storage_pool_name}][%d] pcloudStoragecapacityPoolsGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudStoragecapacityPoolsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud storagecapacity pools get not found response +func (o *PcloudStoragecapacityPoolsGetNotFound) Code() int { + return 404 +} + func (o *PcloudStoragecapacityPoolsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools/{storage_pool_name}][%d] pcloudStoragecapacityPoolsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudStoragecapacityPoolsGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud storagecapacity pools get internal server error response +func (o *PcloudStoragecapacityPoolsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudStoragecapacityPoolsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools/{storage_pool_name}][%d] pcloudStoragecapacityPoolsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_getall_responses.go index b054fd75f..3e9a53312 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_pools_getall_responses.go @@ -91,6 +91,11 @@ func (o *PcloudStoragecapacityPoolsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud storagecapacity pools getall o k response +func (o *PcloudStoragecapacityPoolsGetallOK) Code() int { + return 200 +} + func (o *PcloudStoragecapacityPoolsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools][%d] pcloudStoragecapacityPoolsGetallOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudStoragecapacityPoolsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud storagecapacity pools getall unauthorized response +func (o *PcloudStoragecapacityPoolsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudStoragecapacityPoolsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools][%d] pcloudStoragecapacityPoolsGetallUnauthorized %+v", 401, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudStoragecapacityPoolsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud storagecapacity pools getall forbidden response +func (o *PcloudStoragecapacityPoolsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudStoragecapacityPoolsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools][%d] pcloudStoragecapacityPoolsGetallForbidden %+v", 403, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudStoragecapacityPoolsGetallInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud storagecapacity pools getall internal server error response +func (o *PcloudStoragecapacityPoolsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudStoragecapacityPoolsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-pools][%d] pcloudStoragecapacityPoolsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_get_responses.go index 334c73a31..38513ccf0 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudStoragecapacityTypesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud storagecapacity types get o k response +func (o *PcloudStoragecapacityTypesGetOK) Code() int { + return 200 +} + func (o *PcloudStoragecapacityTypesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types/{storage_type_name}][%d] pcloudStoragecapacityTypesGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudStoragecapacityTypesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud storagecapacity types get unauthorized response +func (o *PcloudStoragecapacityTypesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudStoragecapacityTypesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types/{storage_type_name}][%d] pcloudStoragecapacityTypesGetUnauthorized %+v", 401, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudStoragecapacityTypesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud storagecapacity types get forbidden response +func (o *PcloudStoragecapacityTypesGetForbidden) Code() int { + return 403 +} + func (o *PcloudStoragecapacityTypesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types/{storage_type_name}][%d] pcloudStoragecapacityTypesGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudStoragecapacityTypesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud storagecapacity types get not found response +func (o *PcloudStoragecapacityTypesGetNotFound) Code() int { + return 404 +} + func (o *PcloudStoragecapacityTypesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types/{storage_type_name}][%d] pcloudStoragecapacityTypesGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudStoragecapacityTypesGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud storagecapacity types get internal server error response +func (o *PcloudStoragecapacityTypesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudStoragecapacityTypesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types/{storage_type_name}][%d] pcloudStoragecapacityTypesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_getall_responses.go index bbefc007e..47eb1008e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_storage_capacity/pcloud_storagecapacity_types_getall_responses.go @@ -91,6 +91,11 @@ func (o *PcloudStoragecapacityTypesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud storagecapacity types getall o k response +func (o *PcloudStoragecapacityTypesGetallOK) Code() int { + return 200 +} + func (o *PcloudStoragecapacityTypesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types][%d] pcloudStoragecapacityTypesGetallOK %+v", 200, o.Payload) } @@ -154,6 +159,11 @@ func (o *PcloudStoragecapacityTypesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud storagecapacity types getall unauthorized response +func (o *PcloudStoragecapacityTypesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudStoragecapacityTypesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types][%d] pcloudStoragecapacityTypesGetallUnauthorized %+v", 401, o.Payload) } @@ -217,6 +227,11 @@ func (o *PcloudStoragecapacityTypesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud storagecapacity types getall forbidden response +func (o *PcloudStoragecapacityTypesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudStoragecapacityTypesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types][%d] pcloudStoragecapacityTypesGetallForbidden %+v", 403, o.Payload) } @@ -280,6 +295,11 @@ func (o *PcloudStoragecapacityTypesGetallInternalServerError) IsCode(code int) b return code == 500 } +// Code gets the status code for the pcloud storagecapacity types getall internal server error response +func (o *PcloudStoragecapacityTypesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudStoragecapacityTypesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/storage-capacity/storage-types][%d] pcloudStoragecapacityTypesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_system_pools/pcloud_systempools_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_system_pools/pcloud_systempools_get_responses.go index 6a0ecb425..4004c3efe 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_system_pools/pcloud_systempools_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_system_pools/pcloud_systempools_get_responses.go @@ -91,6 +91,11 @@ func (o *PcloudSystempoolsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud systempools get o k response +func (o *PcloudSystempoolsGetOK) Code() int { + return 200 +} + func (o *PcloudSystempoolsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/system-pools][%d] pcloudSystempoolsGetOK %+v", 200, o.Payload) } @@ -152,6 +157,11 @@ func (o *PcloudSystempoolsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud systempools get unauthorized response +func (o *PcloudSystempoolsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudSystempoolsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/system-pools][%d] pcloudSystempoolsGetUnauthorized %+v", 401, o.Payload) } @@ -215,6 +225,11 @@ func (o *PcloudSystempoolsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud systempools get forbidden response +func (o *PcloudSystempoolsGetForbidden) Code() int { + return 403 +} + func (o *PcloudSystempoolsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/system-pools][%d] pcloudSystempoolsGetForbidden %+v", 403, o.Payload) } @@ -278,6 +293,11 @@ func (o *PcloudSystempoolsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud systempools get internal server error response +func (o *PcloudSystempoolsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudSystempoolsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/system-pools][%d] pcloudSystempoolsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_delete_responses.go index d79c23869..68c4a076f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudTasksDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tasks delete o k response +func (o *PcloudTasksDeleteOK) Code() int { + return 200 +} + func (o *PcloudTasksDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tasks/{task_id}][%d] pcloudTasksDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudTasksDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tasks delete bad request response +func (o *PcloudTasksDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudTasksDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tasks/{task_id}][%d] pcloudTasksDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudTasksDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tasks delete unauthorized response +func (o *PcloudTasksDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudTasksDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tasks/{task_id}][%d] pcloudTasksDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudTasksDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud tasks delete forbidden response +func (o *PcloudTasksDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudTasksDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tasks/{task_id}][%d] pcloudTasksDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudTasksDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud tasks delete not found response +func (o *PcloudTasksDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudTasksDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tasks/{task_id}][%d] pcloudTasksDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudTasksDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud tasks delete gone response +func (o *PcloudTasksDeleteGone) Code() int { + return 410 +} + func (o *PcloudTasksDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tasks/{task_id}][%d] pcloudTasksDeleteGone %+v", 410, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudTasksDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tasks delete internal server error response +func (o *PcloudTasksDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudTasksDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tasks/{task_id}][%d] pcloudTasksDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_get_responses.go index 5ad74f7c9..7a3ba450a 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tasks/pcloud_tasks_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudTasksGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tasks get o k response +func (o *PcloudTasksGetOK) Code() int { + return 200 +} + func (o *PcloudTasksGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tasks/{task_id}][%d] pcloudTasksGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudTasksGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tasks get bad request response +func (o *PcloudTasksGetBadRequest) Code() int { + return 400 +} + func (o *PcloudTasksGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tasks/{task_id}][%d] pcloudTasksGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudTasksGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tasks get unauthorized response +func (o *PcloudTasksGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudTasksGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tasks/{task_id}][%d] pcloudTasksGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudTasksGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud tasks get forbidden response +func (o *PcloudTasksGetForbidden) Code() int { + return 403 +} + func (o *PcloudTasksGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tasks/{task_id}][%d] pcloudTasksGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudTasksGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud tasks get not found response +func (o *PcloudTasksGetNotFound) Code() int { + return 404 +} + func (o *PcloudTasksGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tasks/{task_id}][%d] pcloudTasksGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudTasksGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tasks get internal server error response +func (o *PcloudTasksGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudTasksGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tasks/{task_id}][%d] pcloudTasksGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_get_responses.go index 81df0f462..549fdca7e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudTenantsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tenants get o k response +func (o *PcloudTenantsGetOK) Code() int { + return 200 +} + func (o *PcloudTenantsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudTenantsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tenants get bad request response +func (o *PcloudTenantsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudTenantsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudTenantsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tenants get unauthorized response +func (o *PcloudTenantsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudTenantsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudTenantsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud tenants get forbidden response +func (o *PcloudTenantsGetForbidden) Code() int { + return 403 +} + func (o *PcloudTenantsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudTenantsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud tenants get not found response +func (o *PcloudTenantsGetNotFound) Code() int { + return 404 +} + func (o *PcloudTenantsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudTenantsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tenants get internal server error response +func (o *PcloudTenantsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudTenantsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_put_responses.go index ec9354a1d..ae341ce93 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants/pcloud_tenants_put_responses.go @@ -97,6 +97,11 @@ func (o *PcloudTenantsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tenants put o k response +func (o *PcloudTenantsPutOK) Code() int { + return 200 +} + func (o *PcloudTenantsPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsPutOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudTenantsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tenants put bad request response +func (o *PcloudTenantsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudTenantsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsPutBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudTenantsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tenants put unauthorized response +func (o *PcloudTenantsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudTenantsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsPutUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudTenantsPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud tenants put unprocessable entity response +func (o *PcloudTenantsPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudTenantsPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsPutUnprocessableEntity %+v", 422, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudTenantsPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tenants put internal server error response +func (o *PcloudTenantsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudTenantsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}][%d] pcloudTenantsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_delete_responses.go index 96bbb44da..959e0bb49 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_delete_responses.go @@ -97,6 +97,11 @@ func (o *PcloudTenantsSshkeysDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tenants sshkeys delete o k response +func (o *PcloudTenantsSshkeysDeleteOK) Code() int { + return 200 +} + func (o *PcloudTenantsSshkeysDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysDeleteOK %+v", 200, o.Payload) } @@ -158,6 +163,11 @@ func (o *PcloudTenantsSshkeysDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tenants sshkeys delete bad request response +func (o *PcloudTenantsSshkeysDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudTenantsSshkeysDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysDeleteBadRequest %+v", 400, o.Payload) } @@ -221,6 +231,11 @@ func (o *PcloudTenantsSshkeysDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tenants sshkeys delete unauthorized response +func (o *PcloudTenantsSshkeysDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudTenantsSshkeysDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysDeleteUnauthorized %+v", 401, o.Payload) } @@ -284,6 +299,11 @@ func (o *PcloudTenantsSshkeysDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud tenants sshkeys delete gone response +func (o *PcloudTenantsSshkeysDeleteGone) Code() int { + return 410 +} + func (o *PcloudTenantsSshkeysDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysDeleteGone %+v", 410, o.Payload) } @@ -347,6 +367,11 @@ func (o *PcloudTenantsSshkeysDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tenants sshkeys delete internal server error response +func (o *PcloudTenantsSshkeysDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudTenantsSshkeysDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_get_responses.go index 45c18f33b..3c6aa6973 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudTenantsSshkeysGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tenants sshkeys get o k response +func (o *PcloudTenantsSshkeysGetOK) Code() int { + return 200 +} + func (o *PcloudTenantsSshkeysGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudTenantsSshkeysGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tenants sshkeys get bad request response +func (o *PcloudTenantsSshkeysGetBadRequest) Code() int { + return 400 +} + func (o *PcloudTenantsSshkeysGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudTenantsSshkeysGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tenants sshkeys get unauthorized response +func (o *PcloudTenantsSshkeysGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudTenantsSshkeysGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudTenantsSshkeysGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud tenants sshkeys get forbidden response +func (o *PcloudTenantsSshkeysGetForbidden) Code() int { + return 403 +} + func (o *PcloudTenantsSshkeysGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudTenantsSshkeysGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud tenants sshkeys get not found response +func (o *PcloudTenantsSshkeysGetNotFound) Code() int { + return 404 +} + func (o *PcloudTenantsSshkeysGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudTenantsSshkeysGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tenants sshkeys get internal server error response +func (o *PcloudTenantsSshkeysGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudTenantsSshkeysGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_getall_responses.go index a6d47c02d..9d9d784d6 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudTenantsSshkeysGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tenants sshkeys getall o k response +func (o *PcloudTenantsSshkeysGetallOK) Code() int { + return 200 +} + func (o *PcloudTenantsSshkeysGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudTenantsSshkeysGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tenants sshkeys getall bad request response +func (o *PcloudTenantsSshkeysGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudTenantsSshkeysGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudTenantsSshkeysGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tenants sshkeys getall unauthorized response +func (o *PcloudTenantsSshkeysGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudTenantsSshkeysGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudTenantsSshkeysGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud tenants sshkeys getall forbidden response +func (o *PcloudTenantsSshkeysGetallForbidden) Code() int { + return 403 +} + func (o *PcloudTenantsSshkeysGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudTenantsSshkeysGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud tenants sshkeys getall not found response +func (o *PcloudTenantsSshkeysGetallNotFound) Code() int { + return 404 +} + func (o *PcloudTenantsSshkeysGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudTenantsSshkeysGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tenants sshkeys getall internal server error response +func (o *PcloudTenantsSshkeysGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudTenantsSshkeysGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_post_responses.go index 86e3548e7..248abde32 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudTenantsSshkeysPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tenants sshkeys post o k response +func (o *PcloudTenantsSshkeysPostOK) Code() int { + return 200 +} + func (o *PcloudTenantsSshkeysPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysPostOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudTenantsSshkeysPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud tenants sshkeys post created response +func (o *PcloudTenantsSshkeysPostCreated) Code() int { + return 201 +} + func (o *PcloudTenantsSshkeysPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysPostCreated %+v", 201, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudTenantsSshkeysPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tenants sshkeys post bad request response +func (o *PcloudTenantsSshkeysPostBadRequest) Code() int { + return 400 +} + func (o *PcloudTenantsSshkeysPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysPostBadRequest %+v", 400, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudTenantsSshkeysPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tenants sshkeys post unauthorized response +func (o *PcloudTenantsSshkeysPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudTenantsSshkeysPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysPostUnauthorized %+v", 401, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudTenantsSshkeysPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud tenants sshkeys post conflict response +func (o *PcloudTenantsSshkeysPostConflict) Code() int { + return 409 +} + func (o *PcloudTenantsSshkeysPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudTenantsSshkeysPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud tenants sshkeys post unprocessable entity response +func (o *PcloudTenantsSshkeysPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudTenantsSshkeysPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudTenantsSshkeysPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tenants sshkeys post internal server error response +func (o *PcloudTenantsSshkeysPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudTenantsSshkeysPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/tenants/{tenant_id}/sshkeys][%d] pcloudTenantsSshkeysPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_put_responses.go index e99f7a538..3d825584c 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_tenants_ssh_keys/pcloud_tenants_sshkeys_put_responses.go @@ -97,6 +97,11 @@ func (o *PcloudTenantsSshkeysPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud tenants sshkeys put o k response +func (o *PcloudTenantsSshkeysPutOK) Code() int { + return 200 +} + func (o *PcloudTenantsSshkeysPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysPutOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudTenantsSshkeysPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud tenants sshkeys put bad request response +func (o *PcloudTenantsSshkeysPutBadRequest) Code() int { + return 400 +} + func (o *PcloudTenantsSshkeysPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysPutBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudTenantsSshkeysPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud tenants sshkeys put unauthorized response +func (o *PcloudTenantsSshkeysPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudTenantsSshkeysPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysPutUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudTenantsSshkeysPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud tenants sshkeys put unprocessable entity response +func (o *PcloudTenantsSshkeysPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudTenantsSshkeysPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysPutUnprocessableEntity %+v", 422, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudTenantsSshkeysPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud tenants sshkeys put internal server error response +func (o *PcloudTenantsSshkeysPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudTenantsSshkeysPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/tenants/{tenant_id}/sshkeys/{sshkey_name}][%d] pcloudTenantsSshkeysPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_delete_responses.go index cad588ee9..88af6933a 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_delete_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVpnconnectionsDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud vpnconnections delete accepted response +func (o *PcloudVpnconnectionsDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudVpnconnectionsDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsDeleteAccepted %+v", 202, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVpnconnectionsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections delete bad request response +func (o *PcloudVpnconnectionsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsDeleteBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVpnconnectionsDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections delete unauthorized response +func (o *PcloudVpnconnectionsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsDeleteUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVpnconnectionsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections delete forbidden response +func (o *PcloudVpnconnectionsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsDeleteForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVpnconnectionsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections delete not found response +func (o *PcloudVpnconnectionsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsDeleteNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVpnconnectionsDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud vpnconnections delete internal server error response +func (o *PcloudVpnconnectionsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_get_responses.go index d47a6ab5c..1e7cba720 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_get_responses.go @@ -109,6 +109,11 @@ func (o *PcloudVpnconnectionsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud vpnconnections get o k response +func (o *PcloudVpnconnectionsGetOK) Code() int { + return 200 +} + func (o *PcloudVpnconnectionsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsGetOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudVpnconnectionsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections get bad request response +func (o *PcloudVpnconnectionsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsGetBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudVpnconnectionsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections get unauthorized response +func (o *PcloudVpnconnectionsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsGetUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudVpnconnectionsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections get forbidden response +func (o *PcloudVpnconnectionsGetForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsGetForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudVpnconnectionsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections get not found response +func (o *PcloudVpnconnectionsGetNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsGetNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudVpnconnectionsGetUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud vpnconnections get unprocessable entity response +func (o *PcloudVpnconnectionsGetUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVpnconnectionsGetUnprocessableEntity) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsGetUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudVpnconnectionsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud vpnconnections get internal server error response +func (o *PcloudVpnconnectionsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_getall_responses.go index 9d7a1e298..aa197932e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVpnconnectionsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud vpnconnections getall o k response +func (o *PcloudVpnconnectionsGetallOK) Code() int { + return 200 +} + func (o *PcloudVpnconnectionsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVpnconnectionsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections getall bad request response +func (o *PcloudVpnconnectionsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVpnconnectionsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections getall unauthorized response +func (o *PcloudVpnconnectionsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVpnconnectionsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections getall forbidden response +func (o *PcloudVpnconnectionsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVpnconnectionsGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections getall not found response +func (o *PcloudVpnconnectionsGetallNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVpnconnectionsGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud vpnconnections getall internal server error response +func (o *PcloudVpnconnectionsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_delete_responses.go index 6ac2e4ced..8b6614cb0 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudVpnconnectionsNetworksDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud vpnconnections networks delete accepted response +func (o *PcloudVpnconnectionsNetworksDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudVpnconnectionsNetworksDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksDeleteAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections networks delete bad request response +func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsNetworksDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksDeleteBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections networks delete unauthorized response +func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsNetworksDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksDeleteUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudVpnconnectionsNetworksDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections networks delete forbidden response +func (o *PcloudVpnconnectionsNetworksDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsNetworksDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksDeleteForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudVpnconnectionsNetworksDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections networks delete not found response +func (o *PcloudVpnconnectionsNetworksDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsNetworksDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksDeleteNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) IsCode(code int) return code == 422 } +// Code gets the status code for the pcloud vpnconnections networks delete unprocessable entity response +func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVpnconnectionsNetworksDeleteUnprocessableEntity) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksDeleteUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud vpnconnections networks delete internal server error response +func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsNetworksDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_get_responses.go index 2b1a06660..0c5b2e8aa 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVpnconnectionsNetworksGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud vpnconnections networks get o k response +func (o *PcloudVpnconnectionsNetworksGetOK) Code() int { + return 200 +} + func (o *PcloudVpnconnectionsNetworksGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVpnconnectionsNetworksGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections networks get bad request response +func (o *PcloudVpnconnectionsNetworksGetBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsNetworksGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVpnconnectionsNetworksGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections networks get unauthorized response +func (o *PcloudVpnconnectionsNetworksGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsNetworksGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVpnconnectionsNetworksGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections networks get forbidden response +func (o *PcloudVpnconnectionsNetworksGetForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsNetworksGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVpnconnectionsNetworksGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections networks get not found response +func (o *PcloudVpnconnectionsNetworksGetNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsNetworksGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVpnconnectionsNetworksGetInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud vpnconnections networks get internal server error response +func (o *PcloudVpnconnectionsNetworksGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsNetworksGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_put_responses.go index 432e9711a..cb37838c6 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_networks_put_responses.go @@ -109,6 +109,11 @@ func (o *PcloudVpnconnectionsNetworksPutAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud vpnconnections networks put accepted response +func (o *PcloudVpnconnectionsNetworksPutAccepted) Code() int { + return 202 +} + func (o *PcloudVpnconnectionsNetworksPutAccepted) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksPutAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudVpnconnectionsNetworksPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections networks put bad request response +func (o *PcloudVpnconnectionsNetworksPutBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsNetworksPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksPutBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudVpnconnectionsNetworksPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections networks put unauthorized response +func (o *PcloudVpnconnectionsNetworksPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsNetworksPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksPutUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudVpnconnectionsNetworksPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections networks put forbidden response +func (o *PcloudVpnconnectionsNetworksPutForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsNetworksPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksPutForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudVpnconnectionsNetworksPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections networks put not found response +func (o *PcloudVpnconnectionsNetworksPutNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsNetworksPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksPutNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) IsCode(code int) bo return code == 422 } +// Code gets the status code for the pcloud vpnconnections networks put unprocessable entity response +func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVpnconnectionsNetworksPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksPutUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudVpnconnectionsNetworksPutInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud vpnconnections networks put internal server error response +func (o *PcloudVpnconnectionsNetworksPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsNetworksPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/networks][%d] pcloudVpnconnectionsNetworksPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_delete_responses.go index 24d66b808..b03d6ab28 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_delete_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud vpnconnections peersubnets delete o k response +func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) Code() int { + return 200 +} + func (o *PcloudVpnconnectionsPeersubnetsDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsDeleteOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) IsCode(code int) bool return code == 400 } +// Code gets the status code for the pcloud vpnconnections peersubnets delete bad request response +func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsPeersubnetsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsDeleteBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the pcloud vpnconnections peersubnets delete unauthorized response +func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsPeersubnetsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsDeleteUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections peersubnets delete forbidden response +func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsPeersubnetsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsDeleteForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) IsCode(code i return code == 422 } +// Code gets the status code for the pcloud vpnconnections peersubnets delete unprocessable entity response +func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsDeleteUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the pcloud vpnconnections peersubnets delete internal server error response +func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsPeersubnetsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_get_responses.go index f063e12c5..660d6ab76 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVpnconnectionsPeersubnetsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud vpnconnections peersubnets get o k response +func (o *PcloudVpnconnectionsPeersubnetsGetOK) Code() int { + return 200 +} + func (o *PcloudVpnconnectionsPeersubnetsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections peersubnets get bad request response +func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsPeersubnetsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections peersubnets get unauthorized response +func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsPeersubnetsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections peersubnets get forbidden response +func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsPeersubnetsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections peersubnets get not found response +func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsPeersubnetsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud vpnconnections peersubnets get internal server error response +func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsPeersubnetsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_put_responses.go index 566dba052..39e54de15 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_peersubnets_put_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVpnconnectionsPeersubnetsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud vpnconnections peersubnets put o k response +func (o *PcloudVpnconnectionsPeersubnetsPutOK) Code() int { + return 200 +} + func (o *PcloudVpnconnectionsPeersubnetsPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsPutOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections peersubnets put bad request response +func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsPeersubnetsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsPutBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections peersubnets put unauthorized response +func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsPeersubnetsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsPutUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections peersubnets put forbidden response +func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsPeersubnetsPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsPutForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) IsCode(code int) return code == 422 } +// Code gets the status code for the pcloud vpnconnections peersubnets put unprocessable entity response +func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVpnconnectionsPeersubnetsPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsPutUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud vpnconnections peersubnets put internal server error response +func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsPeersubnetsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}/peer-subnets][%d] pcloudVpnconnectionsPeersubnetsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_post_responses.go index 95ac1756a..f31e48d7d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudVpnconnectionsPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud vpnconnections post accepted response +func (o *PcloudVpnconnectionsPostAccepted) Code() int { + return 202 +} + func (o *PcloudVpnconnectionsPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsPostAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudVpnconnectionsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections post bad request response +func (o *PcloudVpnconnectionsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudVpnconnectionsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections post unauthorized response +func (o *PcloudVpnconnectionsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudVpnconnectionsPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections post forbidden response +func (o *PcloudVpnconnectionsPostForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudVpnconnectionsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud vpnconnections post conflict response +func (o *PcloudVpnconnectionsPostConflict) Code() int { + return 409 +} + func (o *PcloudVpnconnectionsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudVpnconnectionsPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud vpnconnections post unprocessable entity response +func (o *PcloudVpnconnectionsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVpnconnectionsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudVpnconnectionsPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud vpnconnections post internal server error response +func (o *PcloudVpnconnectionsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections][%d] pcloudVpnconnectionsPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_put_responses.go index 0057c1775..448d8dae1 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_connections/pcloud_vpnconnections_put_responses.go @@ -109,6 +109,11 @@ func (o *PcloudVpnconnectionsPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud vpnconnections put o k response +func (o *PcloudVpnconnectionsPutOK) Code() int { + return 200 +} + func (o *PcloudVpnconnectionsPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsPutOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudVpnconnectionsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud vpnconnections put bad request response +func (o *PcloudVpnconnectionsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudVpnconnectionsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsPutBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudVpnconnectionsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud vpnconnections put unauthorized response +func (o *PcloudVpnconnectionsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudVpnconnectionsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsPutUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudVpnconnectionsPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud vpnconnections put forbidden response +func (o *PcloudVpnconnectionsPutForbidden) Code() int { + return 403 +} + func (o *PcloudVpnconnectionsPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsPutForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudVpnconnectionsPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud vpnconnections put not found response +func (o *PcloudVpnconnectionsPutNotFound) Code() int { + return 404 +} + func (o *PcloudVpnconnectionsPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsPutNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudVpnconnectionsPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud vpnconnections put unprocessable entity response +func (o *PcloudVpnconnectionsPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVpnconnectionsPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsPutUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudVpnconnectionsPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud vpnconnections put internal server error response +func (o *PcloudVpnconnectionsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudVpnconnectionsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/vpn-connections/{vpn_connection_id}][%d] pcloudVpnconnectionsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_delete_responses.go index a580929fb..461d83ba7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_delete_responses.go @@ -103,6 +103,11 @@ func (o *PcloudIkepoliciesDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ikepolicies delete o k response +func (o *PcloudIkepoliciesDeleteOK) Code() int { + return 200 +} + func (o *PcloudIkepoliciesDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesDeleteOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudIkepoliciesDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ikepolicies delete bad request response +func (o *PcloudIkepoliciesDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudIkepoliciesDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesDeleteBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudIkepoliciesDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ikepolicies delete unauthorized response +func (o *PcloudIkepoliciesDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudIkepoliciesDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesDeleteUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudIkepoliciesDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ikepolicies delete forbidden response +func (o *PcloudIkepoliciesDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudIkepoliciesDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesDeleteForbidden %+v", 403, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudIkepoliciesDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud ikepolicies delete not found response +func (o *PcloudIkepoliciesDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudIkepoliciesDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesDeleteNotFound %+v", 404, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudIkepoliciesDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ikepolicies delete internal server error response +func (o *PcloudIkepoliciesDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudIkepoliciesDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_get_responses.go index 2cfeec40a..625d04d35 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_get_responses.go @@ -109,6 +109,11 @@ func (o *PcloudIkepoliciesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ikepolicies get o k response +func (o *PcloudIkepoliciesGetOK) Code() int { + return 200 +} + func (o *PcloudIkepoliciesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesGetOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudIkepoliciesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ikepolicies get bad request response +func (o *PcloudIkepoliciesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudIkepoliciesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesGetBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudIkepoliciesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ikepolicies get unauthorized response +func (o *PcloudIkepoliciesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudIkepoliciesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesGetUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudIkepoliciesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ikepolicies get forbidden response +func (o *PcloudIkepoliciesGetForbidden) Code() int { + return 403 +} + func (o *PcloudIkepoliciesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesGetForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudIkepoliciesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud ikepolicies get not found response +func (o *PcloudIkepoliciesGetNotFound) Code() int { + return 404 +} + func (o *PcloudIkepoliciesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesGetNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudIkepoliciesGetUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud ikepolicies get unprocessable entity response +func (o *PcloudIkepoliciesGetUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudIkepoliciesGetUnprocessableEntity) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesGetUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudIkepoliciesGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ikepolicies get internal server error response +func (o *PcloudIkepoliciesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudIkepoliciesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_getall_responses.go index 101b375d7..89437d766 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudIkepoliciesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ikepolicies getall o k response +func (o *PcloudIkepoliciesGetallOK) Code() int { + return 200 +} + func (o *PcloudIkepoliciesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudIkepoliciesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ikepolicies getall bad request response +func (o *PcloudIkepoliciesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudIkepoliciesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudIkepoliciesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ikepolicies getall unauthorized response +func (o *PcloudIkepoliciesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudIkepoliciesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudIkepoliciesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ikepolicies getall forbidden response +func (o *PcloudIkepoliciesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudIkepoliciesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudIkepoliciesGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud ikepolicies getall not found response +func (o *PcloudIkepoliciesGetallNotFound) Code() int { + return 404 +} + func (o *PcloudIkepoliciesGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudIkepoliciesGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ikepolicies getall internal server error response +func (o *PcloudIkepoliciesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudIkepoliciesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_post_responses.go index 350730635..33d835a93 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudIkepoliciesPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ikepolicies post o k response +func (o *PcloudIkepoliciesPostOK) Code() int { + return 200 +} + func (o *PcloudIkepoliciesPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesPostOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudIkepoliciesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ikepolicies post bad request response +func (o *PcloudIkepoliciesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudIkepoliciesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudIkepoliciesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ikepolicies post unauthorized response +func (o *PcloudIkepoliciesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudIkepoliciesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudIkepoliciesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ikepolicies post forbidden response +func (o *PcloudIkepoliciesPostForbidden) Code() int { + return 403 +} + func (o *PcloudIkepoliciesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudIkepoliciesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud ikepolicies post conflict response +func (o *PcloudIkepoliciesPostConflict) Code() int { + return 409 +} + func (o *PcloudIkepoliciesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudIkepoliciesPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud ikepolicies post unprocessable entity response +func (o *PcloudIkepoliciesPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudIkepoliciesPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudIkepoliciesPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ikepolicies post internal server error response +func (o *PcloudIkepoliciesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudIkepoliciesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies][%d] pcloudIkepoliciesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_put_responses.go index 92ec5b783..316e2fdcd 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ikepolicies_put_responses.go @@ -103,6 +103,11 @@ func (o *PcloudIkepoliciesPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ikepolicies put o k response +func (o *PcloudIkepoliciesPutOK) Code() int { + return 200 +} + func (o *PcloudIkepoliciesPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesPutOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudIkepoliciesPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ikepolicies put bad request response +func (o *PcloudIkepoliciesPutBadRequest) Code() int { + return 400 +} + func (o *PcloudIkepoliciesPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesPutBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudIkepoliciesPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ikepolicies put unauthorized response +func (o *PcloudIkepoliciesPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudIkepoliciesPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesPutUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudIkepoliciesPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ikepolicies put forbidden response +func (o *PcloudIkepoliciesPutForbidden) Code() int { + return 403 +} + func (o *PcloudIkepoliciesPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesPutForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudIkepoliciesPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud ikepolicies put unprocessable entity response +func (o *PcloudIkepoliciesPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudIkepoliciesPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesPutUnprocessableEntity %+v", 422, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudIkepoliciesPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ikepolicies put internal server error response +func (o *PcloudIkepoliciesPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudIkepoliciesPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ike-policies/{ike_policy_id}][%d] pcloudIkepoliciesPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_delete_responses.go index 592bdb79c..9825883df 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_delete_responses.go @@ -103,6 +103,11 @@ func (o *PcloudIpsecpoliciesDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ipsecpolicies delete o k response +func (o *PcloudIpsecpoliciesDeleteOK) Code() int { + return 200 +} + func (o *PcloudIpsecpoliciesDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesDeleteOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudIpsecpoliciesDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ipsecpolicies delete bad request response +func (o *PcloudIpsecpoliciesDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudIpsecpoliciesDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesDeleteBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudIpsecpoliciesDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ipsecpolicies delete unauthorized response +func (o *PcloudIpsecpoliciesDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudIpsecpoliciesDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesDeleteUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudIpsecpoliciesDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ipsecpolicies delete forbidden response +func (o *PcloudIpsecpoliciesDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudIpsecpoliciesDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesDeleteForbidden %+v", 403, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudIpsecpoliciesDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud ipsecpolicies delete not found response +func (o *PcloudIpsecpoliciesDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudIpsecpoliciesDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesDeleteNotFound %+v", 404, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudIpsecpoliciesDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ipsecpolicies delete internal server error response +func (o *PcloudIpsecpoliciesDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudIpsecpoliciesDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_get_responses.go index 7daad2425..db670beca 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_get_responses.go @@ -109,6 +109,11 @@ func (o *PcloudIpsecpoliciesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ipsecpolicies get o k response +func (o *PcloudIpsecpoliciesGetOK) Code() int { + return 200 +} + func (o *PcloudIpsecpoliciesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesGetOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudIpsecpoliciesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ipsecpolicies get bad request response +func (o *PcloudIpsecpoliciesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudIpsecpoliciesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesGetBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudIpsecpoliciesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ipsecpolicies get unauthorized response +func (o *PcloudIpsecpoliciesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudIpsecpoliciesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesGetUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudIpsecpoliciesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ipsecpolicies get forbidden response +func (o *PcloudIpsecpoliciesGetForbidden) Code() int { + return 403 +} + func (o *PcloudIpsecpoliciesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesGetForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudIpsecpoliciesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud ipsecpolicies get not found response +func (o *PcloudIpsecpoliciesGetNotFound) Code() int { + return 404 +} + func (o *PcloudIpsecpoliciesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesGetNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudIpsecpoliciesGetUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud ipsecpolicies get unprocessable entity response +func (o *PcloudIpsecpoliciesGetUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudIpsecpoliciesGetUnprocessableEntity) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesGetUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudIpsecpoliciesGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ipsecpolicies get internal server error response +func (o *PcloudIpsecpoliciesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudIpsecpoliciesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_getall_responses.go index 14cd58f6b..5575ae63b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudIpsecpoliciesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ipsecpolicies getall o k response +func (o *PcloudIpsecpoliciesGetallOK) Code() int { + return 200 +} + func (o *PcloudIpsecpoliciesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudIpsecpoliciesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ipsecpolicies getall bad request response +func (o *PcloudIpsecpoliciesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudIpsecpoliciesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudIpsecpoliciesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ipsecpolicies getall unauthorized response +func (o *PcloudIpsecpoliciesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudIpsecpoliciesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudIpsecpoliciesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ipsecpolicies getall forbidden response +func (o *PcloudIpsecpoliciesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudIpsecpoliciesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudIpsecpoliciesGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud ipsecpolicies getall not found response +func (o *PcloudIpsecpoliciesGetallNotFound) Code() int { + return 404 +} + func (o *PcloudIpsecpoliciesGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudIpsecpoliciesGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ipsecpolicies getall internal server error response +func (o *PcloudIpsecpoliciesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudIpsecpoliciesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_post_responses.go index 98047537c..53712ec2f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudIpsecpoliciesPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ipsecpolicies post o k response +func (o *PcloudIpsecpoliciesPostOK) Code() int { + return 200 +} + func (o *PcloudIpsecpoliciesPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesPostOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudIpsecpoliciesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ipsecpolicies post bad request response +func (o *PcloudIpsecpoliciesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudIpsecpoliciesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudIpsecpoliciesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ipsecpolicies post unauthorized response +func (o *PcloudIpsecpoliciesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudIpsecpoliciesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudIpsecpoliciesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ipsecpolicies post forbidden response +func (o *PcloudIpsecpoliciesPostForbidden) Code() int { + return 403 +} + func (o *PcloudIpsecpoliciesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudIpsecpoliciesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud ipsecpolicies post conflict response +func (o *PcloudIpsecpoliciesPostConflict) Code() int { + return 409 +} + func (o *PcloudIpsecpoliciesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudIpsecpoliciesPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud ipsecpolicies post unprocessable entity response +func (o *PcloudIpsecpoliciesPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudIpsecpoliciesPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudIpsecpoliciesPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ipsecpolicies post internal server error response +func (o *PcloudIpsecpoliciesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudIpsecpoliciesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies][%d] pcloudIpsecpoliciesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_put_responses.go index 85d5e30f9..7f124211f 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_v_p_n_policies/pcloud_ipsecpolicies_put_responses.go @@ -109,6 +109,11 @@ func (o *PcloudIpsecpoliciesPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud ipsecpolicies put o k response +func (o *PcloudIpsecpoliciesPutOK) Code() int { + return 200 +} + func (o *PcloudIpsecpoliciesPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesPutOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudIpsecpoliciesPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud ipsecpolicies put bad request response +func (o *PcloudIpsecpoliciesPutBadRequest) Code() int { + return 400 +} + func (o *PcloudIpsecpoliciesPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesPutBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudIpsecpoliciesPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud ipsecpolicies put unauthorized response +func (o *PcloudIpsecpoliciesPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudIpsecpoliciesPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesPutUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudIpsecpoliciesPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud ipsecpolicies put forbidden response +func (o *PcloudIpsecpoliciesPutForbidden) Code() int { + return 403 +} + func (o *PcloudIpsecpoliciesPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesPutForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudIpsecpoliciesPutConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud ipsecpolicies put conflict response +func (o *PcloudIpsecpoliciesPutConflict) Code() int { + return 409 +} + func (o *PcloudIpsecpoliciesPutConflict) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesPutConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudIpsecpoliciesPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud ipsecpolicies put unprocessable entity response +func (o *PcloudIpsecpoliciesPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudIpsecpoliciesPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesPutUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudIpsecpoliciesPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud ipsecpolicies put internal server error response +func (o *PcloudIpsecpoliciesPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudIpsecpoliciesPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/vpn/ipsec-policies/{ipsec_policy_id}][%d] pcloudIpsecpoliciesPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_action_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_action_post_responses.go index 4de6e3908..e52acab61 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_action_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_action_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVolumegroupsActionPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud volumegroups action post accepted response +func (o *PcloudVolumegroupsActionPostAccepted) Code() int { + return 202 +} + func (o *PcloudVolumegroupsActionPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/action][%d] pcloudVolumegroupsActionPostAccepted %+v", 202, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudVolumegroupsActionPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups action post bad request response +func (o *PcloudVolumegroupsActionPostBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsActionPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/action][%d] pcloudVolumegroupsActionPostBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudVolumegroupsActionPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups action post forbidden response +func (o *PcloudVolumegroupsActionPostForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsActionPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/action][%d] pcloudVolumegroupsActionPostForbidden %+v", 403, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudVolumegroupsActionPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud volumegroups action post not found response +func (o *PcloudVolumegroupsActionPostNotFound) Code() int { + return 404 +} + func (o *PcloudVolumegroupsActionPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/action][%d] pcloudVolumegroupsActionPostNotFound %+v", 404, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudVolumegroupsActionPostUnprocessableEntity) IsCode(code int) bool return code == 422 } +// Code gets the status code for the pcloud volumegroups action post unprocessable entity response +func (o *PcloudVolumegroupsActionPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVolumegroupsActionPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/action][%d] pcloudVolumegroupsActionPostUnprocessableEntity %+v", 422, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudVolumegroupsActionPostInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud volumegroups action post internal server error response +func (o *PcloudVolumegroupsActionPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsActionPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/action][%d] pcloudVolumegroupsActionPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_delete_responses.go index a0902b1a6..172f88c79 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_delete_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVolumegroupsDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud volumegroups delete accepted response +func (o *PcloudVolumegroupsDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudVolumegroupsDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsDeleteAccepted %+v", 202, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudVolumegroupsDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups delete bad request response +func (o *PcloudVolumegroupsDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsDeleteBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudVolumegroupsDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volumegroups delete unauthorized response +func (o *PcloudVolumegroupsDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumegroupsDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsDeleteUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudVolumegroupsDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups delete forbidden response +func (o *PcloudVolumegroupsDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsDeleteForbidden %+v", 403, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudVolumegroupsDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud volumegroups delete not found response +func (o *PcloudVolumegroupsDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudVolumegroupsDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsDeleteNotFound %+v", 404, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudVolumegroupsDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volumegroups delete internal server error response +func (o *PcloudVolumegroupsDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_details_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_details_responses.go index 91422667e..7393df6dc 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_details_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_details_responses.go @@ -97,6 +97,11 @@ func (o *PcloudVolumegroupsGetDetailsOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volumegroups get details o k response +func (o *PcloudVolumegroupsGetDetailsOK) Code() int { + return 200 +} + func (o *PcloudVolumegroupsGetDetailsOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/details][%d] pcloudVolumegroupsGetDetailsOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudVolumegroupsGetDetailsBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups get details bad request response +func (o *PcloudVolumegroupsGetDetailsBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsGetDetailsBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/details][%d] pcloudVolumegroupsGetDetailsBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudVolumegroupsGetDetailsForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups get details forbidden response +func (o *PcloudVolumegroupsGetDetailsForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsGetDetailsForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/details][%d] pcloudVolumegroupsGetDetailsForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudVolumegroupsGetDetailsNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud volumegroups get details not found response +func (o *PcloudVolumegroupsGetDetailsNotFound) Code() int { + return 404 +} + func (o *PcloudVolumegroupsGetDetailsNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/details][%d] pcloudVolumegroupsGetDetailsNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudVolumegroupsGetDetailsInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud volumegroups get details internal server error response +func (o *PcloudVolumegroupsGetDetailsInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsGetDetailsInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/details][%d] pcloudVolumegroupsGetDetailsInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_responses.go index 99f15c1d5..dcba95af9 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_get_responses.go @@ -97,6 +97,11 @@ func (o *PcloudVolumegroupsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volumegroups get o k response +func (o *PcloudVolumegroupsGetOK) Code() int { + return 200 +} + func (o *PcloudVolumegroupsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsGetOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudVolumegroupsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups get bad request response +func (o *PcloudVolumegroupsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsGetBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudVolumegroupsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups get forbidden response +func (o *PcloudVolumegroupsGetForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsGetForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudVolumegroupsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud volumegroups get not found response +func (o *PcloudVolumegroupsGetNotFound) Code() int { + return 404 +} + func (o *PcloudVolumegroupsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsGetNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudVolumegroupsGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volumegroups get internal server error response +func (o *PcloudVolumegroupsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_details_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_details_responses.go index b92688b8b..49db1ce0c 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_details_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_details_responses.go @@ -97,6 +97,11 @@ func (o *PcloudVolumegroupsGetallDetailsOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volumegroups getall details o k response +func (o *PcloudVolumegroupsGetallDetailsOK) Code() int { + return 200 +} + func (o *PcloudVolumegroupsGetallDetailsOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/details][%d] pcloudVolumegroupsGetallDetailsOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudVolumegroupsGetallDetailsBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups getall details bad request response +func (o *PcloudVolumegroupsGetallDetailsBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsGetallDetailsBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/details][%d] pcloudVolumegroupsGetallDetailsBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudVolumegroupsGetallDetailsUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volumegroups getall details unauthorized response +func (o *PcloudVolumegroupsGetallDetailsUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumegroupsGetallDetailsUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/details][%d] pcloudVolumegroupsGetallDetailsUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudVolumegroupsGetallDetailsForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups getall details forbidden response +func (o *PcloudVolumegroupsGetallDetailsForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsGetallDetailsForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/details][%d] pcloudVolumegroupsGetallDetailsForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudVolumegroupsGetallDetailsInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud volumegroups getall details internal server error response +func (o *PcloudVolumegroupsGetallDetailsInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsGetallDetailsInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/details][%d] pcloudVolumegroupsGetallDetailsInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_responses.go index 1cf8cc6c9..dd8335cc6 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudVolumegroupsGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volumegroups getall o k response +func (o *PcloudVolumegroupsGetallOK) Code() int { + return 200 +} + func (o *PcloudVolumegroupsGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudVolumegroupsGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups getall bad request response +func (o *PcloudVolumegroupsGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudVolumegroupsGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volumegroups getall unauthorized response +func (o *PcloudVolumegroupsGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumegroupsGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudVolumegroupsGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups getall forbidden response +func (o *PcloudVolumegroupsGetallForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsGetallForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudVolumegroupsGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volumegroups getall internal server error response +func (o *PcloudVolumegroupsGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_post_responses.go index 6fb47f1e0..7a9c21572 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_post_responses.go @@ -121,6 +121,11 @@ func (o *PcloudVolumegroupsPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud volumegroups post accepted response +func (o *PcloudVolumegroupsPostAccepted) Code() int { + return 202 +} + func (o *PcloudVolumegroupsPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostAccepted %+v", 202, o.Payload) } @@ -184,6 +189,11 @@ func (o *PcloudVolumegroupsPostPartialContent) IsCode(code int) bool { return code == 206 } +// Code gets the status code for the pcloud volumegroups post partial content response +func (o *PcloudVolumegroupsPostPartialContent) Code() int { + return 206 +} + func (o *PcloudVolumegroupsPostPartialContent) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostPartialContent %+v", 206, o.Payload) } @@ -247,6 +257,11 @@ func (o *PcloudVolumegroupsPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups post bad request response +func (o *PcloudVolumegroupsPostBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostBadRequest %+v", 400, o.Payload) } @@ -310,6 +325,11 @@ func (o *PcloudVolumegroupsPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volumegroups post unauthorized response +func (o *PcloudVolumegroupsPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumegroupsPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostUnauthorized %+v", 401, o.Payload) } @@ -373,6 +393,11 @@ func (o *PcloudVolumegroupsPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups post forbidden response +func (o *PcloudVolumegroupsPostForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostForbidden %+v", 403, o.Payload) } @@ -436,6 +461,11 @@ func (o *PcloudVolumegroupsPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud volumegroups post conflict response +func (o *PcloudVolumegroupsPostConflict) Code() int { + return 409 +} + func (o *PcloudVolumegroupsPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostConflict %+v", 409, o.Payload) } @@ -499,6 +529,11 @@ func (o *PcloudVolumegroupsPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud volumegroups post unprocessable entity response +func (o *PcloudVolumegroupsPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVolumegroupsPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostUnprocessableEntity %+v", 422, o.Payload) } @@ -562,6 +597,11 @@ func (o *PcloudVolumegroupsPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volumegroups post internal server error response +func (o *PcloudVolumegroupsPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostInternalServerError %+v", 500, o.Payload) } @@ -625,6 +665,11 @@ func (o *PcloudVolumegroupsPostGatewayTimeout) IsCode(code int) bool { return code == 504 } +// Code gets the status code for the pcloud volumegroups post gateway timeout response +func (o *PcloudVolumegroupsPostGatewayTimeout) Code() int { + return 504 +} + func (o *PcloudVolumegroupsPostGatewayTimeout) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups][%d] pcloudVolumegroupsPostGatewayTimeout %+v", 504, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_put_responses.go index eb647a796..5094453d3 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_put_responses.go @@ -115,6 +115,11 @@ func (o *PcloudVolumegroupsPutAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud volumegroups put accepted response +func (o *PcloudVolumegroupsPutAccepted) Code() int { + return 202 +} + func (o *PcloudVolumegroupsPutAccepted) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutAccepted %+v", 202, o.Payload) } @@ -176,6 +181,11 @@ func (o *PcloudVolumegroupsPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups put bad request response +func (o *PcloudVolumegroupsPutBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutBadRequest %+v", 400, o.Payload) } @@ -239,6 +249,11 @@ func (o *PcloudVolumegroupsPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volumegroups put unauthorized response +func (o *PcloudVolumegroupsPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumegroupsPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutUnauthorized %+v", 401, o.Payload) } @@ -302,6 +317,11 @@ func (o *PcloudVolumegroupsPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups put forbidden response +func (o *PcloudVolumegroupsPutForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutForbidden %+v", 403, o.Payload) } @@ -365,6 +385,11 @@ func (o *PcloudVolumegroupsPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud volumegroups put not found response +func (o *PcloudVolumegroupsPutNotFound) Code() int { + return 404 +} + func (o *PcloudVolumegroupsPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutNotFound %+v", 404, o.Payload) } @@ -428,6 +453,11 @@ func (o *PcloudVolumegroupsPutConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud volumegroups put conflict response +func (o *PcloudVolumegroupsPutConflict) Code() int { + return 409 +} + func (o *PcloudVolumegroupsPutConflict) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutConflict %+v", 409, o.Payload) } @@ -491,6 +521,11 @@ func (o *PcloudVolumegroupsPutUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud volumegroups put unprocessable entity response +func (o *PcloudVolumegroupsPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudVolumegroupsPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutUnprocessableEntity %+v", 422, o.Payload) } @@ -554,6 +589,11 @@ func (o *PcloudVolumegroupsPutInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volumegroups put internal server error response +func (o *PcloudVolumegroupsPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}][%d] pcloudVolumegroupsPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_remote_copy_relationships_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_remote_copy_relationships_get_responses.go index 32f3672f9..0b5bbb9b0 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_remote_copy_relationships_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_remote_copy_relationships_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volumegroups remote copy relationships get o k response +func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetOK) Code() int { + return 200 +} + func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/remote-copy-relationships][%d] pcloudVolumegroupsRemoteCopyRelationshipsGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetBadRequest) IsCode(code int return code == 400 } +// Code gets the status code for the pcloud volumegroups remote copy relationships get bad request response +func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/remote-copy-relationships][%d] pcloudVolumegroupsRemoteCopyRelationshipsGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetForbidden) IsCode(code int) return code == 403 } +// Code gets the status code for the pcloud volumegroups remote copy relationships get forbidden response +func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/remote-copy-relationships][%d] pcloudVolumegroupsRemoteCopyRelationshipsGetForbidden %+v", 403, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetNotFound) IsCode(code int) return code == 404 } +// Code gets the status code for the pcloud volumegroups remote copy relationships get not found response +func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetNotFound) Code() int { + return 404 +} + func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/remote-copy-relationships][%d] pcloudVolumegroupsRemoteCopyRelationshipsGetNotFound %+v", 404, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetTooManyRequests) IsCode(cod return code == 429 } +// Code gets the status code for the pcloud volumegroups remote copy relationships get too many requests response +func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetTooManyRequests) Code() int { + return 429 +} + func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetTooManyRequests) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/remote-copy-relationships][%d] pcloudVolumegroupsRemoteCopyRelationshipsGetTooManyRequests %+v", 429, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetInternalServerError) IsCode return code == 500 } +// Code gets the status code for the pcloud volumegroups remote copy relationships get internal server error response +func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsRemoteCopyRelationshipsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/remote-copy-relationships][%d] pcloudVolumegroupsRemoteCopyRelationshipsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_storage_details_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_storage_details_get_responses.go index de06ecc4d..8681540c7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_storage_details_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_groups/pcloud_volumegroups_storage_details_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVolumegroupsStorageDetailsGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volumegroups storage details get o k response +func (o *PcloudVolumegroupsStorageDetailsGetOK) Code() int { + return 200 +} + func (o *PcloudVolumegroupsStorageDetailsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/storage-details][%d] pcloudVolumegroupsStorageDetailsGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVolumegroupsStorageDetailsGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumegroups storage details get bad request response +func (o *PcloudVolumegroupsStorageDetailsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumegroupsStorageDetailsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/storage-details][%d] pcloudVolumegroupsStorageDetailsGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVolumegroupsStorageDetailsGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumegroups storage details get forbidden response +func (o *PcloudVolumegroupsStorageDetailsGetForbidden) Code() int { + return 403 +} + func (o *PcloudVolumegroupsStorageDetailsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/storage-details][%d] pcloudVolumegroupsStorageDetailsGetForbidden %+v", 403, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVolumegroupsStorageDetailsGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud volumegroups storage details get not found response +func (o *PcloudVolumegroupsStorageDetailsGetNotFound) Code() int { + return 404 +} + func (o *PcloudVolumegroupsStorageDetailsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/storage-details][%d] pcloudVolumegroupsStorageDetailsGetNotFound %+v", 404, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVolumegroupsStorageDetailsGetTooManyRequests) IsCode(code int) bo return code == 429 } +// Code gets the status code for the pcloud volumegroups storage details get too many requests response +func (o *PcloudVolumegroupsStorageDetailsGetTooManyRequests) Code() int { + return 429 +} + func (o *PcloudVolumegroupsStorageDetailsGetTooManyRequests) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/storage-details][%d] pcloudVolumegroupsStorageDetailsGetTooManyRequests %+v", 429, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVolumegroupsStorageDetailsGetInternalServerError) IsCode(code int return code == 500 } +// Code gets the status code for the pcloud volumegroups storage details get internal server error response +func (o *PcloudVolumegroupsStorageDetailsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumegroupsStorageDetailsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volume-groups/{volume_group_id}/storage-details][%d] pcloudVolumegroupsStorageDetailsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_get_responses.go index ac7812677..659deee70 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVolumeOnboardingGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volume onboarding get o k response +func (o *PcloudVolumeOnboardingGetOK) Code() int { + return 200 +} + func (o *PcloudVolumeOnboardingGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding/{volume_onboarding_id}][%d] pcloudVolumeOnboardingGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVolumeOnboardingGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volume onboarding get bad request response +func (o *PcloudVolumeOnboardingGetBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumeOnboardingGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding/{volume_onboarding_id}][%d] pcloudVolumeOnboardingGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVolumeOnboardingGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volume onboarding get unauthorized response +func (o *PcloudVolumeOnboardingGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumeOnboardingGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding/{volume_onboarding_id}][%d] pcloudVolumeOnboardingGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVolumeOnboardingGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volume onboarding get forbidden response +func (o *PcloudVolumeOnboardingGetForbidden) Code() int { + return 403 +} + func (o *PcloudVolumeOnboardingGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding/{volume_onboarding_id}][%d] pcloudVolumeOnboardingGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVolumeOnboardingGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud volume onboarding get not found response +func (o *PcloudVolumeOnboardingGetNotFound) Code() int { + return 404 +} + func (o *PcloudVolumeOnboardingGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding/{volume_onboarding_id}][%d] pcloudVolumeOnboardingGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVolumeOnboardingGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volume onboarding get internal server error response +func (o *PcloudVolumeOnboardingGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumeOnboardingGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding/{volume_onboarding_id}][%d] pcloudVolumeOnboardingGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_getall_responses.go index 5c75ce5e2..c01fdaec7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudVolumeOnboardingGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volume onboarding getall o k response +func (o *PcloudVolumeOnboardingGetallOK) Code() int { + return 200 +} + func (o *PcloudVolumeOnboardingGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudVolumeOnboardingGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volume onboarding getall bad request response +func (o *PcloudVolumeOnboardingGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumeOnboardingGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudVolumeOnboardingGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volume onboarding getall unauthorized response +func (o *PcloudVolumeOnboardingGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumeOnboardingGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudVolumeOnboardingGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volume onboarding getall forbidden response +func (o *PcloudVolumeOnboardingGetallForbidden) Code() int { + return 403 +} + func (o *PcloudVolumeOnboardingGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingGetallForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudVolumeOnboardingGetallInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud volume onboarding getall internal server error response +func (o *PcloudVolumeOnboardingGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumeOnboardingGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_post_responses.go index 0a53828b6..63ca9894c 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volume_onboarding/pcloud_volume_onboarding_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVolumeOnboardingPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud volume onboarding post accepted response +func (o *PcloudVolumeOnboardingPostAccepted) Code() int { + return 202 +} + func (o *PcloudVolumeOnboardingPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingPostAccepted %+v", 202, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVolumeOnboardingPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volume onboarding post bad request response +func (o *PcloudVolumeOnboardingPostBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumeOnboardingPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingPostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVolumeOnboardingPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volume onboarding post unauthorized response +func (o *PcloudVolumeOnboardingPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumeOnboardingPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingPostUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVolumeOnboardingPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volume onboarding post forbidden response +func (o *PcloudVolumeOnboardingPostForbidden) Code() int { + return 403 +} + func (o *PcloudVolumeOnboardingPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingPostForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVolumeOnboardingPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud volume onboarding post conflict response +func (o *PcloudVolumeOnboardingPostConflict) Code() int { + return 409 +} + func (o *PcloudVolumeOnboardingPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingPostConflict %+v", 409, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVolumeOnboardingPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volume onboarding post internal server error response +func (o *PcloudVolumeOnboardingPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumeOnboardingPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/onboarding][%d] pcloudVolumeOnboardingPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_action_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_action_post_responses.go index f6b8f3f51..d066ab41d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_action_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_action_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesVolumesActionPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudinstances volumes action post accepted response +func (o *PcloudCloudinstancesVolumesActionPostAccepted) Code() int { + return 202 +} + func (o *PcloudCloudinstancesVolumesActionPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action][%d] pcloudCloudinstancesVolumesActionPostAccepted %+v", 202, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudCloudinstancesVolumesActionPostBadRequest) IsCode(code int) bool return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes action post bad request response +func (o *PcloudCloudinstancesVolumesActionPostBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesActionPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action][%d] pcloudCloudinstancesVolumesActionPostBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudCloudinstancesVolumesActionPostUnauthorized) IsCode(code int) boo return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes action post unauthorized response +func (o *PcloudCloudinstancesVolumesActionPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesActionPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action][%d] pcloudCloudinstancesVolumesActionPostUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudCloudinstancesVolumesActionPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes action post forbidden response +func (o *PcloudCloudinstancesVolumesActionPostForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesActionPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action][%d] pcloudCloudinstancesVolumesActionPostForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudCloudinstancesVolumesActionPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances volumes action post not found response +func (o *PcloudCloudinstancesVolumesActionPostNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesVolumesActionPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action][%d] pcloudCloudinstancesVolumesActionPostNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudCloudinstancesVolumesActionPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud cloudinstances volumes action post conflict response +func (o *PcloudCloudinstancesVolumesActionPostConflict) Code() int { + return 409 +} + func (o *PcloudCloudinstancesVolumesActionPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action][%d] pcloudCloudinstancesVolumesActionPostConflict %+v", 409, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudCloudinstancesVolumesActionPostInternalServerError) IsCode(code i return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes action post internal server error response +func (o *PcloudCloudinstancesVolumesActionPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesActionPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/action][%d] pcloudCloudinstancesVolumesActionPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_delete_responses.go index 98a0223c7..23909124d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesVolumesDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances volumes delete o k response +func (o *PcloudCloudinstancesVolumesDeleteOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesVolumesDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesDeleteOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudCloudinstancesVolumesDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes delete bad request response +func (o *PcloudCloudinstancesVolumesDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudCloudinstancesVolumesDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes delete unauthorized response +func (o *PcloudCloudinstancesVolumesDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudCloudinstancesVolumesDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes delete forbidden response +func (o *PcloudCloudinstancesVolumesDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudCloudinstancesVolumesDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances volumes delete not found response +func (o *PcloudCloudinstancesVolumesDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesVolumesDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudCloudinstancesVolumesDeleteGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the pcloud cloudinstances volumes delete gone response +func (o *PcloudCloudinstancesVolumesDeleteGone) Code() int { + return 410 +} + func (o *PcloudCloudinstancesVolumesDeleteGone) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesDeleteGone %+v", 410, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudCloudinstancesVolumesDeleteInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes delete internal server error response +func (o *PcloudCloudinstancesVolumesDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_flash_copy_mappings_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_flash_copy_mappings_get_responses.go index a05406961..c00fbf85e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_flash_copy_mappings_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_flash_copy_mappings_get_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) IsCode(code int) boo return code == 200 } +// Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get o k response +func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings][%d] pcloudCloudinstancesVolumesFlashCopyMappingsGetOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) IsCode(code return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get bad request response +func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings][%d] pcloudCloudinstancesVolumesFlashCopyMappingsGetBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) IsCode(cod return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get unauthorized response +func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings][%d] pcloudCloudinstancesVolumesFlashCopyMappingsGetUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) IsCode(code i return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get forbidden response +func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings][%d] pcloudCloudinstancesVolumesFlashCopyMappingsGetForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) IsCode(code in return code == 404 } +// Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get not found response +func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings][%d] pcloudCloudinstancesVolumesFlashCopyMappingsGetNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) IsCode( return code == 429 } +// Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get too many requests response +func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) Code() int { + return 429 +} + func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings][%d] pcloudCloudinstancesVolumesFlashCopyMappingsGetTooManyRequests %+v", 429, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) IsC return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes flash copy mappings get internal server error response +func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/flash-copy-mappings][%d] pcloudCloudinstancesVolumesFlashCopyMappingsGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_get_responses.go index ec93fbd96..1380d4ca7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesVolumesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances volumes get o k response +func (o *PcloudCloudinstancesVolumesGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesVolumesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudinstancesVolumesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes get bad request response +func (o *PcloudCloudinstancesVolumesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudinstancesVolumesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes get unauthorized response +func (o *PcloudCloudinstancesVolumesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudinstancesVolumesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes get forbidden response +func (o *PcloudCloudinstancesVolumesGetForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudinstancesVolumesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances volumes get not found response +func (o *PcloudCloudinstancesVolumesGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesVolumesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudinstancesVolumesGetInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes get internal server error response +func (o *PcloudCloudinstancesVolumesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_getall_responses.go index 041bdcaaa..9f4c78d5c 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudCloudinstancesVolumesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances volumes getall o k response +func (o *PcloudCloudinstancesVolumesGetallOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesVolumesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudCloudinstancesVolumesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes getall bad request response +func (o *PcloudCloudinstancesVolumesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudCloudinstancesVolumesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes getall unauthorized response +func (o *PcloudCloudinstancesVolumesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudCloudinstancesVolumesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes getall forbidden response +func (o *PcloudCloudinstancesVolumesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudCloudinstancesVolumesGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances volumes getall not found response +func (o *PcloudCloudinstancesVolumesGetallNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesVolumesGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudCloudinstancesVolumesGetallInternalServerError) IsCode(code int) return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes getall internal server error response +func (o *PcloudCloudinstancesVolumesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_post_responses.go index b051afb35..99758299a 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesVolumesPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud cloudinstances volumes post accepted response +func (o *PcloudCloudinstancesVolumesPostAccepted) Code() int { + return 202 +} + func (o *PcloudCloudinstancesVolumesPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostAccepted %+v", 202, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudCloudinstancesVolumesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes post bad request response +func (o *PcloudCloudinstancesVolumesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudCloudinstancesVolumesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes post unauthorized response +func (o *PcloudCloudinstancesVolumesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudCloudinstancesVolumesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes post forbidden response +func (o *PcloudCloudinstancesVolumesPostForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudCloudinstancesVolumesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud cloudinstances volumes post conflict response +func (o *PcloudCloudinstancesVolumesPostConflict) Code() int { + return 409 +} + func (o *PcloudCloudinstancesVolumesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) IsCode(code int) bo return code == 422 } +// Code gets the status code for the pcloud cloudinstances volumes post unprocessable entity response +func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudinstancesVolumesPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudCloudinstancesVolumesPostInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes post internal server error response +func (o *PcloudCloudinstancesVolumesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudCloudinstancesVolumesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_put_responses.go index b2134932e..3313ee621 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_put_responses.go @@ -115,6 +115,11 @@ func (o *PcloudCloudinstancesVolumesPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud cloudinstances volumes put o k response +func (o *PcloudCloudinstancesVolumesPutOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesVolumesPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutOK %+v", 200, o.Payload) } @@ -178,6 +183,11 @@ func (o *PcloudCloudinstancesVolumesPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes put bad request response +func (o *PcloudCloudinstancesVolumesPutBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutBadRequest %+v", 400, o.Payload) } @@ -241,6 +251,11 @@ func (o *PcloudCloudinstancesVolumesPutUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes put unauthorized response +func (o *PcloudCloudinstancesVolumesPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutUnauthorized %+v", 401, o.Payload) } @@ -304,6 +319,11 @@ func (o *PcloudCloudinstancesVolumesPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes put forbidden response +func (o *PcloudCloudinstancesVolumesPutForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutForbidden %+v", 403, o.Payload) } @@ -367,6 +387,11 @@ func (o *PcloudCloudinstancesVolumesPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud cloudinstances volumes put not found response +func (o *PcloudCloudinstancesVolumesPutNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesVolumesPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutNotFound %+v", 404, o.Payload) } @@ -430,6 +455,11 @@ func (o *PcloudCloudinstancesVolumesPutConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud cloudinstances volumes put conflict response +func (o *PcloudCloudinstancesVolumesPutConflict) Code() int { + return 409 +} + func (o *PcloudCloudinstancesVolumesPutConflict) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutConflict %+v", 409, o.Payload) } @@ -493,6 +523,11 @@ func (o *PcloudCloudinstancesVolumesPutUnprocessableEntity) IsCode(code int) boo return code == 422 } +// Code gets the status code for the pcloud cloudinstances volumes put unprocessable entity response +func (o *PcloudCloudinstancesVolumesPutUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudCloudinstancesVolumesPutUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutUnprocessableEntity %+v", 422, o.Payload) } @@ -556,6 +591,11 @@ func (o *PcloudCloudinstancesVolumesPutInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes put internal server error response +func (o *PcloudCloudinstancesVolumesPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}][%d] pcloudCloudinstancesVolumesPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_remote_copy_relationship_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_remote_copy_relationship_get_responses.go index 6a522d628..64b6761b5 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_remote_copy_relationship_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_cloudinstances_volumes_remote_copy_relationship_get_responses.go @@ -109,6 +109,11 @@ func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) IsCode(code int return code == 200 } +// Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get o k response +func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) Code() int { + return 200 +} + func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy][%d] pcloudCloudinstancesVolumesRemoteCopyRelationshipGetOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) IsCode( return code == 400 } +// Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get bad request response +func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) Code() int { + return 400 +} + func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy][%d] pcloudCloudinstancesVolumesRemoteCopyRelationshipGetBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) IsCod return code == 401 } +// Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get unauthorized response +func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy][%d] pcloudCloudinstancesVolumesRemoteCopyRelationshipGetUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) IsCode(c return code == 403 } +// Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get forbidden response +func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) Code() int { + return 403 +} + func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy][%d] pcloudCloudinstancesVolumesRemoteCopyRelationshipGetForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) IsCode(co return code == 404 } +// Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get not found response +func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) Code() int { + return 404 +} + func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy][%d] pcloudCloudinstancesVolumesRemoteCopyRelationshipGetNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) Is return code == 429 } +// Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get too many requests response +func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) Code() int { + return 429 +} + func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy][%d] pcloudCloudinstancesVolumesRemoteCopyRelationshipGetTooManyRequests %+v", 429, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError return code == 500 } +// Code gets the status code for the pcloud cloudinstances volumes remote copy relationship get internal server error response +func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/{volume_id}/remote-copy][%d] pcloudCloudinstancesVolumesRemoteCopyRelationshipGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_delete_responses.go index d425113eb..81fa9e70a 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_delete_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPvminstancesVolumesDeleteAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud pvminstances volumes delete accepted response +func (o *PcloudPvminstancesVolumesDeleteAccepted) Code() int { + return 202 +} + func (o *PcloudPvminstancesVolumesDeleteAccepted) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesDeleteAccepted %+v", 202, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudPvminstancesVolumesDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances volumes delete bad request response +func (o *PcloudPvminstancesVolumesDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesVolumesDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesDeleteBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudPvminstancesVolumesDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances volumes delete unauthorized response +func (o *PcloudPvminstancesVolumesDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesVolumesDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesDeleteUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudPvminstancesVolumesDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances volumes delete forbidden response +func (o *PcloudPvminstancesVolumesDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesVolumesDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesDeleteForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudPvminstancesVolumesDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances volumes delete not found response +func (o *PcloudPvminstancesVolumesDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesVolumesDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesDeleteNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudPvminstancesVolumesDeleteConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances volumes delete conflict response +func (o *PcloudPvminstancesVolumesDeleteConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesVolumesDeleteConflict) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesDeleteConflict %+v", 409, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudPvminstancesVolumesDeleteInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud pvminstances volumes delete internal server error response +func (o *PcloudPvminstancesVolumesDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesVolumesDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_get_responses.go index d3772a529..1d955d4d2 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesVolumesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances volumes get o k response +func (o *PcloudPvminstancesVolumesGetOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesVolumesGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesVolumesGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances volumes get bad request response +func (o *PcloudPvminstancesVolumesGetBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesVolumesGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesVolumesGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances volumes get unauthorized response +func (o *PcloudPvminstancesVolumesGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesVolumesGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesVolumesGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances volumes get forbidden response +func (o *PcloudPvminstancesVolumesGetForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesVolumesGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesVolumesGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances volumes get not found response +func (o *PcloudPvminstancesVolumesGetNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesVolumesGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesVolumesGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances volumes get internal server error response +func (o *PcloudPvminstancesVolumesGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesVolumesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_getall_responses.go index dd7933faf..375d6be48 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_getall_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesVolumesGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances volumes getall o k response +func (o *PcloudPvminstancesVolumesGetallOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesVolumesGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudPvminstancesVolumesGetallOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudPvminstancesVolumesGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances volumes getall bad request response +func (o *PcloudPvminstancesVolumesGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesVolumesGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudPvminstancesVolumesGetallBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudPvminstancesVolumesGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances volumes getall unauthorized response +func (o *PcloudPvminstancesVolumesGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesVolumesGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudPvminstancesVolumesGetallUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudPvminstancesVolumesGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances volumes getall forbidden response +func (o *PcloudPvminstancesVolumesGetallForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesVolumesGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudPvminstancesVolumesGetallForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudPvminstancesVolumesGetallNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances volumes getall not found response +func (o *PcloudPvminstancesVolumesGetallNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesVolumesGetallNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudPvminstancesVolumesGetallNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudPvminstancesVolumesGetallInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud pvminstances volumes getall internal server error response +func (o *PcloudPvminstancesVolumesGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesVolumesGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudPvminstancesVolumesGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_post_responses.go index 22bf89947..2abc69b67 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudPvminstancesVolumesPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances volumes post o k response +func (o *PcloudPvminstancesVolumesPostOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesVolumesPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPostOK %+v", 200, o.Payload) } @@ -170,6 +175,11 @@ func (o *PcloudPvminstancesVolumesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances volumes post bad request response +func (o *PcloudPvminstancesVolumesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesVolumesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPostBadRequest %+v", 400, o.Payload) } @@ -233,6 +243,11 @@ func (o *PcloudPvminstancesVolumesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud pvminstances volumes post unauthorized response +func (o *PcloudPvminstancesVolumesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesVolumesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPostUnauthorized %+v", 401, o.Payload) } @@ -296,6 +311,11 @@ func (o *PcloudPvminstancesVolumesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances volumes post forbidden response +func (o *PcloudPvminstancesVolumesPostForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesVolumesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPostForbidden %+v", 403, o.Payload) } @@ -359,6 +379,11 @@ func (o *PcloudPvminstancesVolumesPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances volumes post not found response +func (o *PcloudPvminstancesVolumesPostNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesVolumesPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPostNotFound %+v", 404, o.Payload) } @@ -422,6 +447,11 @@ func (o *PcloudPvminstancesVolumesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud pvminstances volumes post conflict response +func (o *PcloudPvminstancesVolumesPostConflict) Code() int { + return 409 +} + func (o *PcloudPvminstancesVolumesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPostConflict %+v", 409, o.Payload) } @@ -485,6 +515,11 @@ func (o *PcloudPvminstancesVolumesPostInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances volumes post internal server error response +func (o *PcloudPvminstancesVolumesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesVolumesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_put_responses.go index 43bd5dce9..277da2acb 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_put_responses.go @@ -97,6 +97,11 @@ func (o *PcloudPvminstancesVolumesPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances volumes put o k response +func (o *PcloudPvminstancesVolumesPutOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesVolumesPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPutOK %+v", 200, o.Payload) } @@ -158,6 +163,11 @@ func (o *PcloudPvminstancesVolumesPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances volumes put bad request response +func (o *PcloudPvminstancesVolumesPutBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesVolumesPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPutBadRequest %+v", 400, o.Payload) } @@ -221,6 +231,11 @@ func (o *PcloudPvminstancesVolumesPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances volumes put forbidden response +func (o *PcloudPvminstancesVolumesPutForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesVolumesPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPutForbidden %+v", 403, o.Payload) } @@ -284,6 +299,11 @@ func (o *PcloudPvminstancesVolumesPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances volumes put not found response +func (o *PcloudPvminstancesVolumesPutNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesVolumesPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPutNotFound %+v", 404, o.Payload) } @@ -347,6 +367,11 @@ func (o *PcloudPvminstancesVolumesPutInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud pvminstances volumes put internal server error response +func (o *PcloudPvminstancesVolumesPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesVolumesPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}][%d] pcloudPvminstancesVolumesPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_setboot_put_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_setboot_put_responses.go index 1d2786cdc..6eeca63a4 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_setboot_put_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_pvminstances_volumes_setboot_put_responses.go @@ -103,6 +103,11 @@ func (o *PcloudPvminstancesVolumesSetbootPutOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud pvminstances volumes setboot put o k response +func (o *PcloudPvminstancesVolumesSetbootPutOK) Code() int { + return 200 +} + func (o *PcloudPvminstancesVolumesSetbootPutOK) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot][%d] pcloudPvminstancesVolumesSetbootPutOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudPvminstancesVolumesSetbootPutBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud pvminstances volumes setboot put bad request response +func (o *PcloudPvminstancesVolumesSetbootPutBadRequest) Code() int { + return 400 +} + func (o *PcloudPvminstancesVolumesSetbootPutBadRequest) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot][%d] pcloudPvminstancesVolumesSetbootPutBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudPvminstancesVolumesSetbootPutUnauthorized) IsCode(code int) bool return code == 401 } +// Code gets the status code for the pcloud pvminstances volumes setboot put unauthorized response +func (o *PcloudPvminstancesVolumesSetbootPutUnauthorized) Code() int { + return 401 +} + func (o *PcloudPvminstancesVolumesSetbootPutUnauthorized) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot][%d] pcloudPvminstancesVolumesSetbootPutUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudPvminstancesVolumesSetbootPutForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud pvminstances volumes setboot put forbidden response +func (o *PcloudPvminstancesVolumesSetbootPutForbidden) Code() int { + return 403 +} + func (o *PcloudPvminstancesVolumesSetbootPutForbidden) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot][%d] pcloudPvminstancesVolumesSetbootPutForbidden %+v", 403, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudPvminstancesVolumesSetbootPutNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud pvminstances volumes setboot put not found response +func (o *PcloudPvminstancesVolumesSetbootPutNotFound) Code() int { + return 404 +} + func (o *PcloudPvminstancesVolumesSetbootPutNotFound) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot][%d] pcloudPvminstancesVolumesSetbootPutNotFound %+v", 404, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudPvminstancesVolumesSetbootPutInternalServerError) IsCode(code int return code == 500 } +// Code gets the status code for the pcloud pvminstances volumes setboot put internal server error response +func (o *PcloudPvminstancesVolumesSetbootPutInternalServerError) Code() int { + return 500 +} + func (o *PcloudPvminstancesVolumesSetbootPutInternalServerError) Error() string { return fmt.Sprintf("[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes/{volume_id}/setboot][%d] pcloudPvminstancesVolumesSetbootPutInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_pvminstances_volumes_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_pvminstances_volumes_post_responses.go index 40799bc9b..bc92ecdde 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_pvminstances_volumes_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_pvminstances_volumes_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudV2PvminstancesVolumesPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v2 pvminstances volumes post accepted response +func (o *PcloudV2PvminstancesVolumesPostAccepted) Code() int { + return 202 +} + func (o *PcloudV2PvminstancesVolumesPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudV2PvminstancesVolumesPostAccepted %+v", 202, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudV2PvminstancesVolumesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 pvminstances volumes post bad request response +func (o *PcloudV2PvminstancesVolumesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudV2PvminstancesVolumesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudV2PvminstancesVolumesPostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudV2PvminstancesVolumesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 pvminstances volumes post unauthorized response +func (o *PcloudV2PvminstancesVolumesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2PvminstancesVolumesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudV2PvminstancesVolumesPostUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudV2PvminstancesVolumesPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 pvminstances volumes post not found response +func (o *PcloudV2PvminstancesVolumesPostNotFound) Code() int { + return 404 +} + func (o *PcloudV2PvminstancesVolumesPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudV2PvminstancesVolumesPostNotFound %+v", 404, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudV2PvminstancesVolumesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud v2 pvminstances volumes post conflict response +func (o *PcloudV2PvminstancesVolumesPostConflict) Code() int { + return 409 +} + func (o *PcloudV2PvminstancesVolumesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudV2PvminstancesVolumesPostConflict %+v", 409, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudV2PvminstancesVolumesPostInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud v2 pvminstances volumes post internal server error response +func (o *PcloudV2PvminstancesVolumesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2PvminstancesVolumesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}/volumes][%d] pcloudV2PvminstancesVolumesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clone_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clone_post_responses.go index 661daa326..5499fdb91 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clone_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clone_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudV2VolumesClonePostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v2 volumes clone post accepted response +func (o *PcloudV2VolumesClonePostAccepted) Code() int { + return 202 +} + func (o *PcloudV2VolumesClonePostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudV2VolumesClonePostAccepted %+v", 202, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudV2VolumesClonePostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumes clone post bad request response +func (o *PcloudV2VolumesClonePostBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumesClonePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudV2VolumesClonePostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudV2VolumesClonePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumes clone post unauthorized response +func (o *PcloudV2VolumesClonePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumesClonePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudV2VolumesClonePostUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudV2VolumesClonePostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumes clone post forbidden response +func (o *PcloudV2VolumesClonePostForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumesClonePostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudV2VolumesClonePostForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudV2VolumesClonePostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 volumes clone post not found response +func (o *PcloudV2VolumesClonePostNotFound) Code() int { + return 404 +} + func (o *PcloudV2VolumesClonePostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudV2VolumesClonePostNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudV2VolumesClonePostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 volumes clone post internal server error response +func (o *PcloudV2VolumesClonePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumesClonePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudV2VolumesClonePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clonetasks_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clonetasks_get_responses.go index 417e4533a..9c3f2e45b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clonetasks_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_clonetasks_get_responses.go @@ -109,6 +109,11 @@ func (o *PcloudV2VolumesClonetasksGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 volumes clonetasks get o k response +func (o *PcloudV2VolumesClonetasksGetOK) Code() int { + return 200 +} + func (o *PcloudV2VolumesClonetasksGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}][%d] pcloudV2VolumesClonetasksGetOK %+v", 200, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudV2VolumesClonetasksGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumes clonetasks get bad request response +func (o *PcloudV2VolumesClonetasksGetBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumesClonetasksGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}][%d] pcloudV2VolumesClonetasksGetBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudV2VolumesClonetasksGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumes clonetasks get unauthorized response +func (o *PcloudV2VolumesClonetasksGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumesClonetasksGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}][%d] pcloudV2VolumesClonetasksGetUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudV2VolumesClonetasksGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumes clonetasks get forbidden response +func (o *PcloudV2VolumesClonetasksGetForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumesClonetasksGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}][%d] pcloudV2VolumesClonetasksGetForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudV2VolumesClonetasksGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 volumes clonetasks get not found response +func (o *PcloudV2VolumesClonetasksGetNotFound) Code() int { + return 404 +} + func (o *PcloudV2VolumesClonetasksGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}][%d] pcloudV2VolumesClonetasksGetNotFound %+v", 404, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudV2VolumesClonetasksGetConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud v2 volumes clonetasks get conflict response +func (o *PcloudV2VolumesClonetasksGetConflict) Code() int { + return 409 +} + func (o *PcloudV2VolumesClonetasksGetConflict) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}][%d] pcloudV2VolumesClonetasksGetConflict %+v", 409, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudV2VolumesClonetasksGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud v2 volumes clonetasks get internal server error response +func (o *PcloudV2VolumesClonetasksGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumesClonetasksGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes/clone-tasks/{clone_task_id}][%d] pcloudV2VolumesClonetasksGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_post_responses.go index 231d17d02..5157d87d4 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumes_post_responses.go @@ -109,6 +109,11 @@ func (o *PcloudV2VolumesPostCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the pcloud v2 volumes post created response +func (o *PcloudV2VolumesPostCreated) Code() int { + return 201 +} + func (o *PcloudV2VolumesPostCreated) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudV2VolumesPostCreated %+v", 201, o.Payload) } @@ -172,6 +177,11 @@ func (o *PcloudV2VolumesPostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumes post bad request response +func (o *PcloudV2VolumesPostBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumesPostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudV2VolumesPostBadRequest %+v", 400, o.Payload) } @@ -235,6 +245,11 @@ func (o *PcloudV2VolumesPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumes post unauthorized response +func (o *PcloudV2VolumesPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumesPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudV2VolumesPostUnauthorized %+v", 401, o.Payload) } @@ -298,6 +313,11 @@ func (o *PcloudV2VolumesPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumes post forbidden response +func (o *PcloudV2VolumesPostForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumesPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudV2VolumesPostForbidden %+v", 403, o.Payload) } @@ -361,6 +381,11 @@ func (o *PcloudV2VolumesPostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud v2 volumes post conflict response +func (o *PcloudV2VolumesPostConflict) Code() int { + return 409 +} + func (o *PcloudV2VolumesPostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudV2VolumesPostConflict %+v", 409, o.Payload) } @@ -424,6 +449,11 @@ func (o *PcloudV2VolumesPostUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the pcloud v2 volumes post unprocessable entity response +func (o *PcloudV2VolumesPostUnprocessableEntity) Code() int { + return 422 +} + func (o *PcloudV2VolumesPostUnprocessableEntity) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudV2VolumesPostUnprocessableEntity %+v", 422, o.Payload) } @@ -487,6 +517,11 @@ func (o *PcloudV2VolumesPostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 volumes post internal server error response +func (o *PcloudV2VolumesPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumesPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes][%d] pcloudV2VolumesPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_cancel_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_cancel_post_responses.go index ee3ae6309..c687f524e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_cancel_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_cancel_post_responses.go @@ -97,6 +97,11 @@ func (o *PcloudV2VolumescloneCancelPostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v2 volumesclone cancel post accepted response +func (o *PcloudV2VolumescloneCancelPostAccepted) Code() int { + return 202 +} + func (o *PcloudV2VolumescloneCancelPostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel][%d] pcloudV2VolumescloneCancelPostAccepted %+v", 202, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudV2VolumescloneCancelPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumesclone cancel post unauthorized response +func (o *PcloudV2VolumescloneCancelPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumescloneCancelPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel][%d] pcloudV2VolumescloneCancelPostUnauthorized %+v", 401, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudV2VolumescloneCancelPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumesclone cancel post forbidden response +func (o *PcloudV2VolumescloneCancelPostForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumescloneCancelPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel][%d] pcloudV2VolumescloneCancelPostForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudV2VolumescloneCancelPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 volumesclone cancel post not found response +func (o *PcloudV2VolumescloneCancelPostNotFound) Code() int { + return 404 +} + func (o *PcloudV2VolumescloneCancelPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel][%d] pcloudV2VolumescloneCancelPostNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudV2VolumescloneCancelPostInternalServerError) IsCode(code int) boo return code == 500 } +// Code gets the status code for the pcloud v2 volumesclone cancel post internal server error response +func (o *PcloudV2VolumescloneCancelPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumescloneCancelPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/cancel][%d] pcloudV2VolumescloneCancelPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_delete_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_delete_responses.go index eca1cafd1..68906524e 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_delete_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_delete_responses.go @@ -103,6 +103,11 @@ func (o *PcloudV2VolumescloneDeleteOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 volumesclone delete o k response +func (o *PcloudV2VolumescloneDeleteOK) Code() int { + return 200 +} + func (o *PcloudV2VolumescloneDeleteOK) Error() string { return fmt.Sprintf("[DELETE /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneDeleteOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *PcloudV2VolumescloneDeleteBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumesclone delete bad request response +func (o *PcloudV2VolumescloneDeleteBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumescloneDeleteBadRequest) Error() string { return fmt.Sprintf("[DELETE /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneDeleteBadRequest %+v", 400, o.Payload) } @@ -227,6 +237,11 @@ func (o *PcloudV2VolumescloneDeleteUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumesclone delete unauthorized response +func (o *PcloudV2VolumescloneDeleteUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumescloneDeleteUnauthorized) Error() string { return fmt.Sprintf("[DELETE /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneDeleteUnauthorized %+v", 401, o.Payload) } @@ -290,6 +305,11 @@ func (o *PcloudV2VolumescloneDeleteForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumesclone delete forbidden response +func (o *PcloudV2VolumescloneDeleteForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumescloneDeleteForbidden) Error() string { return fmt.Sprintf("[DELETE /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneDeleteForbidden %+v", 403, o.Payload) } @@ -353,6 +373,11 @@ func (o *PcloudV2VolumescloneDeleteNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 volumesclone delete not found response +func (o *PcloudV2VolumescloneDeleteNotFound) Code() int { + return 404 +} + func (o *PcloudV2VolumescloneDeleteNotFound) Error() string { return fmt.Sprintf("[DELETE /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneDeleteNotFound %+v", 404, o.Payload) } @@ -416,6 +441,11 @@ func (o *PcloudV2VolumescloneDeleteInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 volumesclone delete internal server error response +func (o *PcloudV2VolumescloneDeleteInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumescloneDeleteInternalServerError) Error() string { return fmt.Sprintf("[DELETE /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneDeleteInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_execute_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_execute_post_responses.go index df7608771..f6d48feeb 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_execute_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_execute_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudV2VolumescloneExecutePostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v2 volumesclone execute post accepted response +func (o *PcloudV2VolumescloneExecutePostAccepted) Code() int { + return 202 +} + func (o *PcloudV2VolumescloneExecutePostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute][%d] pcloudV2VolumescloneExecutePostAccepted %+v", 202, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudV2VolumescloneExecutePostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumesclone execute post bad request response +func (o *PcloudV2VolumescloneExecutePostBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumescloneExecutePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute][%d] pcloudV2VolumescloneExecutePostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudV2VolumescloneExecutePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumesclone execute post unauthorized response +func (o *PcloudV2VolumescloneExecutePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumescloneExecutePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute][%d] pcloudV2VolumescloneExecutePostUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudV2VolumescloneExecutePostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumesclone execute post forbidden response +func (o *PcloudV2VolumescloneExecutePostForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumescloneExecutePostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute][%d] pcloudV2VolumescloneExecutePostForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudV2VolumescloneExecutePostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 volumesclone execute post not found response +func (o *PcloudV2VolumescloneExecutePostNotFound) Code() int { + return 404 +} + func (o *PcloudV2VolumescloneExecutePostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute][%d] pcloudV2VolumescloneExecutePostNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudV2VolumescloneExecutePostInternalServerError) IsCode(code int) bo return code == 500 } +// Code gets the status code for the pcloud v2 volumesclone execute post internal server error response +func (o *PcloudV2VolumescloneExecutePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumescloneExecutePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/execute][%d] pcloudV2VolumescloneExecutePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_get_responses.go index f64017741..3061c7f61 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_get_responses.go @@ -103,6 +103,11 @@ func (o *PcloudV2VolumescloneGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 volumesclone get o k response +func (o *PcloudV2VolumescloneGetOK) Code() int { + return 200 +} + func (o *PcloudV2VolumescloneGetOK) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneGetOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudV2VolumescloneGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumesclone get bad request response +func (o *PcloudV2VolumescloneGetBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumescloneGetBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneGetBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudV2VolumescloneGetUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumesclone get unauthorized response +func (o *PcloudV2VolumescloneGetUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumescloneGetUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneGetUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudV2VolumescloneGetForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumesclone get forbidden response +func (o *PcloudV2VolumescloneGetForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumescloneGetForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneGetForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudV2VolumescloneGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 volumesclone get not found response +func (o *PcloudV2VolumescloneGetNotFound) Code() int { + return 404 +} + func (o *PcloudV2VolumescloneGetNotFound) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneGetNotFound %+v", 404, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudV2VolumescloneGetInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 volumesclone get internal server error response +func (o *PcloudV2VolumescloneGetInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumescloneGetInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}][%d] pcloudV2VolumescloneGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_getall_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_getall_responses.go index 4fcff9d3e..5e3d151c6 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_getall_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_getall_responses.go @@ -97,6 +97,11 @@ func (o *PcloudV2VolumescloneGetallOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 volumesclone getall o k response +func (o *PcloudV2VolumescloneGetallOK) Code() int { + return 200 +} + func (o *PcloudV2VolumescloneGetallOK) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumescloneGetallOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudV2VolumescloneGetallBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumesclone getall bad request response +func (o *PcloudV2VolumescloneGetallBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumescloneGetallBadRequest) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumescloneGetallBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudV2VolumescloneGetallUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumesclone getall unauthorized response +func (o *PcloudV2VolumescloneGetallUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumescloneGetallUnauthorized) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumescloneGetallUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudV2VolumescloneGetallForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumesclone getall forbidden response +func (o *PcloudV2VolumescloneGetallForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumescloneGetallForbidden) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumescloneGetallForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudV2VolumescloneGetallInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 volumesclone getall internal server error response +func (o *PcloudV2VolumescloneGetallInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumescloneGetallInternalServerError) Error() string { return fmt.Sprintf("[GET /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumescloneGetallInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_post_responses.go index cdfa99eca..d74a63b6b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_post_responses.go @@ -97,6 +97,11 @@ func (o *PcloudV2VolumesclonePostAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the pcloud v2 volumesclone post accepted response +func (o *PcloudV2VolumesclonePostAccepted) Code() int { + return 202 +} + func (o *PcloudV2VolumesclonePostAccepted) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumesclonePostAccepted %+v", 202, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudV2VolumesclonePostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud v2 volumesclone post bad request response +func (o *PcloudV2VolumesclonePostBadRequest) Code() int { + return 400 +} + func (o *PcloudV2VolumesclonePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumesclonePostBadRequest %+v", 400, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudV2VolumesclonePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumesclone post unauthorized response +func (o *PcloudV2VolumesclonePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumesclonePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumesclonePostUnauthorized %+v", 401, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudV2VolumesclonePostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumesclone post forbidden response +func (o *PcloudV2VolumesclonePostForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumesclonePostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumesclonePostForbidden %+v", 403, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudV2VolumesclonePostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud v2 volumesclone post internal server error response +func (o *PcloudV2VolumesclonePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumesclonePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone][%d] pcloudV2VolumesclonePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_start_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_start_post_responses.go index 514415c16..52287330d 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_start_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_v2_volumesclone_start_post_responses.go @@ -97,6 +97,11 @@ func (o *PcloudV2VolumescloneStartPostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud v2 volumesclone start post o k response +func (o *PcloudV2VolumescloneStartPostOK) Code() int { + return 200 +} + func (o *PcloudV2VolumescloneStartPostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start][%d] pcloudV2VolumescloneStartPostOK %+v", 200, o.Payload) } @@ -160,6 +165,11 @@ func (o *PcloudV2VolumescloneStartPostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud v2 volumesclone start post unauthorized response +func (o *PcloudV2VolumescloneStartPostUnauthorized) Code() int { + return 401 +} + func (o *PcloudV2VolumescloneStartPostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start][%d] pcloudV2VolumescloneStartPostUnauthorized %+v", 401, o.Payload) } @@ -223,6 +233,11 @@ func (o *PcloudV2VolumescloneStartPostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud v2 volumesclone start post forbidden response +func (o *PcloudV2VolumescloneStartPostForbidden) Code() int { + return 403 +} + func (o *PcloudV2VolumescloneStartPostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start][%d] pcloudV2VolumescloneStartPostForbidden %+v", 403, o.Payload) } @@ -286,6 +301,11 @@ func (o *PcloudV2VolumescloneStartPostNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the pcloud v2 volumesclone start post not found response +func (o *PcloudV2VolumescloneStartPostNotFound) Code() int { + return 404 +} + func (o *PcloudV2VolumescloneStartPostNotFound) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start][%d] pcloudV2VolumescloneStartPostNotFound %+v", 404, o.Payload) } @@ -349,6 +369,11 @@ func (o *PcloudV2VolumescloneStartPostInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the pcloud v2 volumesclone start post internal server error response +func (o *PcloudV2VolumescloneStartPostInternalServerError) Code() int { + return 500 +} + func (o *PcloudV2VolumescloneStartPostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v2/cloud-instances/{cloud_instance_id}/volumes-clone/{volumes_clone_id}/start][%d] pcloudV2VolumescloneStartPostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_volumes_clone_post_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_volumes_clone_post_responses.go index d2426e3c9..a3ddcaf42 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_volumes_clone_post_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/p_cloud_volumes/pcloud_volumes_clone_post_responses.go @@ -103,6 +103,11 @@ func (o *PcloudVolumesClonePostOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the pcloud volumes clone post o k response +func (o *PcloudVolumesClonePostOK) Code() int { + return 200 +} + func (o *PcloudVolumesClonePostOK) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudVolumesClonePostOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *PcloudVolumesClonePostBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the pcloud volumes clone post bad request response +func (o *PcloudVolumesClonePostBadRequest) Code() int { + return 400 +} + func (o *PcloudVolumesClonePostBadRequest) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudVolumesClonePostBadRequest %+v", 400, o.Payload) } @@ -229,6 +239,11 @@ func (o *PcloudVolumesClonePostUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the pcloud volumes clone post unauthorized response +func (o *PcloudVolumesClonePostUnauthorized) Code() int { + return 401 +} + func (o *PcloudVolumesClonePostUnauthorized) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudVolumesClonePostUnauthorized %+v", 401, o.Payload) } @@ -292,6 +307,11 @@ func (o *PcloudVolumesClonePostForbidden) IsCode(code int) bool { return code == 403 } +// Code gets the status code for the pcloud volumes clone post forbidden response +func (o *PcloudVolumesClonePostForbidden) Code() int { + return 403 +} + func (o *PcloudVolumesClonePostForbidden) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudVolumesClonePostForbidden %+v", 403, o.Payload) } @@ -355,6 +375,11 @@ func (o *PcloudVolumesClonePostConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the pcloud volumes clone post conflict response +func (o *PcloudVolumesClonePostConflict) Code() int { + return 409 +} + func (o *PcloudVolumesClonePostConflict) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudVolumesClonePostConflict %+v", 409, o.Payload) } @@ -418,6 +443,11 @@ func (o *PcloudVolumesClonePostInternalServerError) IsCode(code int) bool { return code == 500 } +// Code gets the status code for the pcloud volumes clone post internal server error response +func (o *PcloudVolumesClonePostInternalServerError) Code() int { + return 500 +} + func (o *PcloudVolumesClonePostInternalServerError) Error() string { return fmt.Sprintf("[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/volumes/clone][%d] pcloudVolumesClonePostInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_binding_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_binding_responses.go index 63fa451e4..a19059330 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_binding_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_binding_responses.go @@ -103,6 +103,11 @@ func (o *ServiceBindingBindingOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service binding binding o k response +func (o *ServiceBindingBindingOK) Code() int { + return 200 +} + func (o *ServiceBindingBindingOK) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingBindingOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *ServiceBindingBindingCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the service binding binding created response +func (o *ServiceBindingBindingCreated) Code() int { + return 201 +} + func (o *ServiceBindingBindingCreated) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingBindingCreated %+v", 201, o.Payload) } @@ -229,6 +239,11 @@ func (o *ServiceBindingBindingAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the service binding binding accepted response +func (o *ServiceBindingBindingAccepted) Code() int { + return 202 +} + func (o *ServiceBindingBindingAccepted) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingBindingAccepted %+v", 202, o.Payload) } @@ -292,6 +307,11 @@ func (o *ServiceBindingBindingBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service binding binding bad request response +func (o *ServiceBindingBindingBadRequest) Code() int { + return 400 +} + func (o *ServiceBindingBindingBadRequest) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingBindingBadRequest %+v", 400, o.Payload) } @@ -355,6 +375,11 @@ func (o *ServiceBindingBindingConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the service binding binding conflict response +func (o *ServiceBindingBindingConflict) Code() int { + return 409 +} + func (o *ServiceBindingBindingConflict) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingBindingConflict %+v", 409, o.Payload) } @@ -418,6 +443,11 @@ func (o *ServiceBindingBindingUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the service binding binding unprocessable entity response +func (o *ServiceBindingBindingUnprocessableEntity) Code() int { + return 422 +} + func (o *ServiceBindingBindingUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingBindingUnprocessableEntity %+v", 422, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_get_responses.go index 16145d0a3..0cac9c672 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_get_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBindingGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service binding get o k response +func (o *ServiceBindingGetOK) Code() int { + return 200 +} + func (o *ServiceBindingGetOK) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingGetOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *ServiceBindingGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the service binding get not found response +func (o *ServiceBindingGetNotFound) Code() int { + return 404 +} + func (o *ServiceBindingGetNotFound) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingGetNotFound %+v", 404, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_last_operation_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_last_operation_get_responses.go index 91ab74845..7461f6367 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_last_operation_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_last_operation_get_responses.go @@ -85,6 +85,11 @@ func (o *ServiceBindingLastOperationGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service binding last operation get o k response +func (o *ServiceBindingLastOperationGetOK) Code() int { + return 200 +} + func (o *ServiceBindingLastOperationGetOK) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/service_bindings/{binding_id}/last_operation][%d] serviceBindingLastOperationGetOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *ServiceBindingLastOperationGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service binding last operation get bad request response +func (o *ServiceBindingLastOperationGetBadRequest) Code() int { + return 400 +} + func (o *ServiceBindingLastOperationGetBadRequest) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/service_bindings/{binding_id}/last_operation][%d] serviceBindingLastOperationGetBadRequest %+v", 400, o.Payload) } @@ -211,6 +221,11 @@ func (o *ServiceBindingLastOperationGetGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the service binding last operation get gone response +func (o *ServiceBindingLastOperationGetGone) Code() int { + return 410 +} + func (o *ServiceBindingLastOperationGetGone) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/service_bindings/{binding_id}/last_operation][%d] serviceBindingLastOperationGetGone %+v", 410, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_unbinding_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_unbinding_responses.go index b07ff272d..47cc43c75 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_unbinding_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_bindings/service_binding_unbinding_responses.go @@ -91,6 +91,11 @@ func (o *ServiceBindingUnbindingOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service binding unbinding o k response +func (o *ServiceBindingUnbindingOK) Code() int { + return 200 +} + func (o *ServiceBindingUnbindingOK) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingUnbindingOK %+v", 200, o.Payload) } @@ -152,6 +157,11 @@ func (o *ServiceBindingUnbindingAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the service binding unbinding accepted response +func (o *ServiceBindingUnbindingAccepted) Code() int { + return 202 +} + func (o *ServiceBindingUnbindingAccepted) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingUnbindingAccepted %+v", 202, o.Payload) } @@ -215,6 +225,11 @@ func (o *ServiceBindingUnbindingBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service binding unbinding bad request response +func (o *ServiceBindingUnbindingBadRequest) Code() int { + return 400 +} + func (o *ServiceBindingUnbindingBadRequest) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingUnbindingBadRequest %+v", 400, o.Payload) } @@ -278,6 +293,11 @@ func (o *ServiceBindingUnbindingGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the service binding unbinding gone response +func (o *ServiceBindingUnbindingGone) Code() int { + return 410 +} + func (o *ServiceBindingUnbindingGone) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}/service_bindings/{binding_id}][%d] serviceBindingUnbindingGone %+v", 410, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_deprovision_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_deprovision_responses.go index 776fb0608..7697c6949 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_deprovision_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_deprovision_responses.go @@ -103,6 +103,11 @@ func (o *ServiceInstanceDeprovisionOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service instance deprovision o k response +func (o *ServiceInstanceDeprovisionOK) Code() int { + return 200 +} + func (o *ServiceInstanceDeprovisionOK) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}][%d] serviceInstanceDeprovisionOK %+v", 200, o.Payload) } @@ -164,6 +169,11 @@ func (o *ServiceInstanceDeprovisionAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the service instance deprovision accepted response +func (o *ServiceInstanceDeprovisionAccepted) Code() int { + return 202 +} + func (o *ServiceInstanceDeprovisionAccepted) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}][%d] serviceInstanceDeprovisionAccepted %+v", 202, o.Payload) } @@ -227,6 +237,11 @@ func (o *ServiceInstanceDeprovisionBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service instance deprovision bad request response +func (o *ServiceInstanceDeprovisionBadRequest) Code() int { + return 400 +} + func (o *ServiceInstanceDeprovisionBadRequest) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}][%d] serviceInstanceDeprovisionBadRequest %+v", 400, o.Payload) } @@ -290,6 +305,11 @@ func (o *ServiceInstanceDeprovisionUnauthorized) IsCode(code int) bool { return code == 401 } +// Code gets the status code for the service instance deprovision unauthorized response +func (o *ServiceInstanceDeprovisionUnauthorized) Code() int { + return 401 +} + func (o *ServiceInstanceDeprovisionUnauthorized) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}][%d] serviceInstanceDeprovisionUnauthorized %+v", 401, o.Payload) } @@ -353,6 +373,11 @@ func (o *ServiceInstanceDeprovisionGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the service instance deprovision gone response +func (o *ServiceInstanceDeprovisionGone) Code() int { + return 410 +} + func (o *ServiceInstanceDeprovisionGone) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}][%d] serviceInstanceDeprovisionGone %+v", 410, o.Payload) } @@ -416,6 +441,11 @@ func (o *ServiceInstanceDeprovisionUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the service instance deprovision unprocessable entity response +func (o *ServiceInstanceDeprovisionUnprocessableEntity) Code() int { + return 422 +} + func (o *ServiceInstanceDeprovisionUnprocessableEntity) Error() string { return fmt.Sprintf("[DELETE /v2/service_instances/{instance_id}][%d] serviceInstanceDeprovisionUnprocessableEntity %+v", 422, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_get_responses.go index 13e8700e5..e92ba4fd8 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_get_responses.go @@ -79,6 +79,11 @@ func (o *ServiceInstanceGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service instance get o k response +func (o *ServiceInstanceGetOK) Code() int { + return 200 +} + func (o *ServiceInstanceGetOK) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}][%d] serviceInstanceGetOK %+v", 200, o.Payload) } @@ -142,6 +147,11 @@ func (o *ServiceInstanceGetNotFound) IsCode(code int) bool { return code == 404 } +// Code gets the status code for the service instance get not found response +func (o *ServiceInstanceGetNotFound) Code() int { + return 404 +} + func (o *ServiceInstanceGetNotFound) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}][%d] serviceInstanceGetNotFound %+v", 404, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_last_operation_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_last_operation_get_responses.go index d0de79676..060391063 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_last_operation_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_last_operation_get_responses.go @@ -85,6 +85,11 @@ func (o *ServiceInstanceLastOperationGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service instance last operation get o k response +func (o *ServiceInstanceLastOperationGetOK) Code() int { + return 200 +} + func (o *ServiceInstanceLastOperationGetOK) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/last_operation][%d] serviceInstanceLastOperationGetOK %+v", 200, o.Payload) } @@ -148,6 +153,11 @@ func (o *ServiceInstanceLastOperationGetBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service instance last operation get bad request response +func (o *ServiceInstanceLastOperationGetBadRequest) Code() int { + return 400 +} + func (o *ServiceInstanceLastOperationGetBadRequest) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/last_operation][%d] serviceInstanceLastOperationGetBadRequest %+v", 400, o.Payload) } @@ -211,6 +221,11 @@ func (o *ServiceInstanceLastOperationGetGone) IsCode(code int) bool { return code == 410 } +// Code gets the status code for the service instance last operation get gone response +func (o *ServiceInstanceLastOperationGetGone) Code() int { + return 410 +} + func (o *ServiceInstanceLastOperationGetGone) Error() string { return fmt.Sprintf("[GET /v2/service_instances/{instance_id}/last_operation][%d] serviceInstanceLastOperationGetGone %+v", 410, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_provision_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_provision_responses.go index f923162de..2b8224ad7 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_provision_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_provision_responses.go @@ -103,6 +103,11 @@ func (o *ServiceInstanceProvisionOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service instance provision o k response +func (o *ServiceInstanceProvisionOK) Code() int { + return 200 +} + func (o *ServiceInstanceProvisionOK) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}][%d] serviceInstanceProvisionOK %+v", 200, o.Payload) } @@ -166,6 +171,11 @@ func (o *ServiceInstanceProvisionCreated) IsCode(code int) bool { return code == 201 } +// Code gets the status code for the service instance provision created response +func (o *ServiceInstanceProvisionCreated) Code() int { + return 201 +} + func (o *ServiceInstanceProvisionCreated) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}][%d] serviceInstanceProvisionCreated %+v", 201, o.Payload) } @@ -229,6 +239,11 @@ func (o *ServiceInstanceProvisionAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the service instance provision accepted response +func (o *ServiceInstanceProvisionAccepted) Code() int { + return 202 +} + func (o *ServiceInstanceProvisionAccepted) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}][%d] serviceInstanceProvisionAccepted %+v", 202, o.Payload) } @@ -292,6 +307,11 @@ func (o *ServiceInstanceProvisionBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service instance provision bad request response +func (o *ServiceInstanceProvisionBadRequest) Code() int { + return 400 +} + func (o *ServiceInstanceProvisionBadRequest) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}][%d] serviceInstanceProvisionBadRequest %+v", 400, o.Payload) } @@ -355,6 +375,11 @@ func (o *ServiceInstanceProvisionConflict) IsCode(code int) bool { return code == 409 } +// Code gets the status code for the service instance provision conflict response +func (o *ServiceInstanceProvisionConflict) Code() int { + return 409 +} + func (o *ServiceInstanceProvisionConflict) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}][%d] serviceInstanceProvisionConflict %+v", 409, o.Payload) } @@ -418,6 +443,11 @@ func (o *ServiceInstanceProvisionUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the service instance provision unprocessable entity response +func (o *ServiceInstanceProvisionUnprocessableEntity) Code() int { + return 422 +} + func (o *ServiceInstanceProvisionUnprocessableEntity) Error() string { return fmt.Sprintf("[PUT /v2/service_instances/{instance_id}][%d] serviceInstanceProvisionUnprocessableEntity %+v", 422, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_update_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_update_responses.go index 68068d9f2..8b079b9de 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_update_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/service_instances/service_instance_update_responses.go @@ -91,6 +91,11 @@ func (o *ServiceInstanceUpdateOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service instance update o k response +func (o *ServiceInstanceUpdateOK) Code() int { + return 200 +} + func (o *ServiceInstanceUpdateOK) Error() string { return fmt.Sprintf("[PATCH /v2/service_instances/{instance_id}][%d] serviceInstanceUpdateOK %+v", 200, o.Payload) } @@ -152,6 +157,11 @@ func (o *ServiceInstanceUpdateAccepted) IsCode(code int) bool { return code == 202 } +// Code gets the status code for the service instance update accepted response +func (o *ServiceInstanceUpdateAccepted) Code() int { + return 202 +} + func (o *ServiceInstanceUpdateAccepted) Error() string { return fmt.Sprintf("[PATCH /v2/service_instances/{instance_id}][%d] serviceInstanceUpdateAccepted %+v", 202, o.Payload) } @@ -215,6 +225,11 @@ func (o *ServiceInstanceUpdateBadRequest) IsCode(code int) bool { return code == 400 } +// Code gets the status code for the service instance update bad request response +func (o *ServiceInstanceUpdateBadRequest) Code() int { + return 400 +} + func (o *ServiceInstanceUpdateBadRequest) Error() string { return fmt.Sprintf("[PATCH /v2/service_instances/{instance_id}][%d] serviceInstanceUpdateBadRequest %+v", 400, o.Payload) } @@ -278,6 +293,11 @@ func (o *ServiceInstanceUpdateUnprocessableEntity) IsCode(code int) bool { return code == 422 } +// Code gets the status code for the service instance update unprocessable entity response +func (o *ServiceInstanceUpdateUnprocessableEntity) Code() int { + return 422 +} + func (o *ServiceInstanceUpdateUnprocessableEntity) Error() string { return fmt.Sprintf("[PATCH /v2/service_instances/{instance_id}][%d] serviceInstanceUpdateUnprocessableEntity %+v", 422, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/storage_types/service_broker_storagetypes_get_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/storage_types/service_broker_storagetypes_get_responses.go index b805454db..20d18a4e3 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/storage_types/service_broker_storagetypes_get_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/storage_types/service_broker_storagetypes_get_responses.go @@ -79,6 +79,11 @@ func (o *ServiceBrokerStoragetypesGetOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker storagetypes get o k response +func (o *ServiceBrokerStoragetypesGetOK) Code() int { + return 200 +} + func (o *ServiceBrokerStoragetypesGetOK) Error() string { return fmt.Sprintf("[GET /broker/v1/storage-types][%d] serviceBrokerStoragetypesGetOK %+v", 200, o.Payload) } @@ -140,6 +145,11 @@ func (o *ServiceBrokerStoragetypesGetInternalServerError) IsCode(code int) bool return code == 500 } +// Code gets the status code for the service broker storagetypes get internal server error response +func (o *ServiceBrokerStoragetypesGetInternalServerError) Code() int { + return 500 +} + func (o *ServiceBrokerStoragetypesGetInternalServerError) Error() string { return fmt.Sprintf("[GET /broker/v1/storage-types][%d] serviceBrokerStoragetypesGetInternalServerError %+v", 500, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/client/swagger_spec/service_broker_swaggerspec_responses.go b/vendor/github.com/IBM-Cloud/power-go-client/power/client/swagger_spec/service_broker_swaggerspec_responses.go index 3dc362f00..d6cd73a15 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/client/swagger_spec/service_broker_swaggerspec_responses.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/client/swagger_spec/service_broker_swaggerspec_responses.go @@ -73,6 +73,11 @@ func (o *ServiceBrokerSwaggerspecOK) IsCode(code int) bool { return code == 200 } +// Code gets the status code for the service broker swaggerspec o k response +func (o *ServiceBrokerSwaggerspecOK) Code() int { + return 200 +} + func (o *ServiceBrokerSwaggerspecOK) Error() string { return fmt.Sprintf("[GET /v1/swagger.json][%d] serviceBrokerSwaggerspecOK %+v", 200, o.Payload) } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/models/snapshot_create.go b/vendor/github.com/IBM-Cloud/power-go-client/power/models/snapshot_create.go index f09e404bc..003771100 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/models/snapshot_create.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/models/snapshot_create.go @@ -26,9 +26,6 @@ type SnapshotCreate struct { // Required: true Name *string `json:"name"` - // Enables optimized performance path for creating snapshots of PVM instances. - PerformancePath *bool `json:"performancePath,omitempty"` - // List of volumes to include in the PVM instance snapshot VolumeIDs []string `json:"volumeIDs"` } diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_attach.go b/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_attach.go index 48e051677..5e5b69b08 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_attach.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_attach.go @@ -19,9 +19,6 @@ import ( // swagger:model volumesAttach type VolumesAttach struct { - // Enables performance path for volume attach - PerformancePath *bool `json:"performancePath,omitempty"` - // List of volumes to be attached to a PVM instance // Required: true VolumeIDs []string `json:"volumeIDs"` diff --git a/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_clone_create.go b/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_clone_create.go index 70faa11dc..77b38ab9b 100644 --- a/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_clone_create.go +++ b/vendor/github.com/IBM-Cloud/power-go-client/power/models/volumes_clone_create.go @@ -25,9 +25,6 @@ type VolumesCloneCreate struct { // Required: true Name *string `json:"name"` - // Enables performance path for creating volume clones. - PerformancePath *bool `json:"performancePath,omitempty"` - // List of volumes to be cloned // Required: true VolumeIDs []string `json:"volumeIDs"` diff --git a/vendor/github.com/IBM/platform-services-go-sdk/common/version.go b/vendor/github.com/IBM/platform-services-go-sdk/common/version.go index 1bdab9ef0..1823eaa5a 100644 --- a/vendor/github.com/IBM/platform-services-go-sdk/common/version.go +++ b/vendor/github.com/IBM/platform-services-go-sdk/common/version.go @@ -17,4 +17,4 @@ package common // Version of the SDK -const Version = "0.39.0" +const Version = "0.40.0" diff --git a/vendor/modules.txt b/vendor/modules.txt index 5c93c29d9..5a2f2750a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -2,7 +2,7 @@ ## explicit; go 1.16 github.com/Azure/go-ansiterm github.com/Azure/go-ansiterm/winterm -# github.com/IBM-Cloud/power-go-client v1.2.3 +# github.com/IBM-Cloud/power-go-client v1.2.4 ## explicit; go 1.17 github.com/IBM-Cloud/power-go-client/clients/instance github.com/IBM-Cloud/power-go-client/errors @@ -51,7 +51,7 @@ github.com/IBM-Cloud/power-go-client/power/models # github.com/IBM/go-sdk-core/v5 v5.13.4 ## explicit; go 1.18 github.com/IBM/go-sdk-core/v5/core -# github.com/IBM/platform-services-go-sdk v0.39.0 +# github.com/IBM/platform-services-go-sdk v0.40.0 ## explicit; go 1.18 github.com/IBM/platform-services-go-sdk/common github.com/IBM/platform-services-go-sdk/resourcemanagerv2 @@ -608,7 +608,7 @@ gopkg.in/yaml.v2 # gopkg.in/yaml.v3 v3.0.1 ## explicit gopkg.in/yaml.v3 -# k8s.io/api v0.27.2 +# k8s.io/api v0.27.3 ## explicit; go 1.20 k8s.io/api/admission/v1 k8s.io/api/admission/v1beta1 @@ -664,7 +664,7 @@ k8s.io/api/scheduling/v1beta1 k8s.io/api/storage/v1 k8s.io/api/storage/v1alpha1 k8s.io/api/storage/v1beta1 -# k8s.io/apimachinery v0.27.2 +# k8s.io/apimachinery v0.27.3 ## explicit; go 1.20 k8s.io/apimachinery/pkg/api/equality k8s.io/apimachinery/pkg/api/errors @@ -719,7 +719,7 @@ k8s.io/apimachinery/pkg/version k8s.io/apimachinery/pkg/watch k8s.io/apimachinery/third_party/forked/golang/json k8s.io/apimachinery/third_party/forked/golang/reflect -# k8s.io/apiserver v0.27.2 +# k8s.io/apiserver v0.27.3 ## explicit; go 1.20 k8s.io/apiserver/pkg/admission k8s.io/apiserver/pkg/admission/cel @@ -861,7 +861,7 @@ k8s.io/apiserver/plugin/pkg/audit/truncate k8s.io/apiserver/plugin/pkg/audit/webhook k8s.io/apiserver/plugin/pkg/authenticator/token/webhook k8s.io/apiserver/plugin/pkg/authorizer/webhook -# k8s.io/client-go v0.27.2 +# k8s.io/client-go v0.27.3 ## explicit; go 1.20 k8s.io/client-go/applyconfigurations/admissionregistration/v1 k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1 @@ -1175,7 +1175,7 @@ k8s.io/client-go/util/homedir k8s.io/client-go/util/keyutil k8s.io/client-go/util/retry k8s.io/client-go/util/workqueue -# k8s.io/cloud-provider v0.27.2 +# k8s.io/cloud-provider v0.27.3 ## explicit; go 1.20 k8s.io/cloud-provider k8s.io/cloud-provider/api @@ -1195,7 +1195,7 @@ k8s.io/cloud-provider/controllers/service/config/v1alpha1 k8s.io/cloud-provider/node/helpers k8s.io/cloud-provider/options k8s.io/cloud-provider/service/helpers -# k8s.io/component-base v0.27.2 +# k8s.io/component-base v0.27.3 ## explicit; go 1.20 k8s.io/component-base/cli k8s.io/component-base/cli/flag @@ -1227,10 +1227,10 @@ k8s.io/component-base/tracing k8s.io/component-base/tracing/api/v1 k8s.io/component-base/version k8s.io/component-base/version/verflag -# k8s.io/component-helpers v0.27.2 +# k8s.io/component-helpers v0.27.3 ## explicit; go 1.20 k8s.io/component-helpers/node/util -# k8s.io/controller-manager v0.27.2 +# k8s.io/controller-manager v0.27.3 ## explicit; go 1.20 k8s.io/controller-manager/app k8s.io/controller-manager/config @@ -1255,7 +1255,7 @@ k8s.io/klog/v2/internal/clock k8s.io/klog/v2/internal/dbg k8s.io/klog/v2/internal/serialize k8s.io/klog/v2/internal/severity -# k8s.io/kms v0.27.2 +# k8s.io/kms v0.27.3 ## explicit; go 1.20 k8s.io/kms/apis/v1beta1 k8s.io/kms/apis/v2