Documentation ¶
Index ¶
- type Client
- func (a *Client) InternalV1StorageRegionsStoragePoolsGet(params *InternalV1StorageRegionsStoragePoolsGetParams, ...) (*InternalV1StorageRegionsStoragePoolsGetOK, error)
- func (a *Client) InternalV1StorageRegionsStoragePoolsGetall(params *InternalV1StorageRegionsStoragePoolsGetallParams, ...) (*InternalV1StorageRegionsStoragePoolsGetallOK, error)
- func (a *Client) InternalV1StorageRegionsStoragePoolsPut(params *InternalV1StorageRegionsStoragePoolsPutParams, ...) (*InternalV1StorageRegionsStoragePoolsPutOK, error)
- func (a *Client) InternalV1StorageRegionsThresholdsGet(params *InternalV1StorageRegionsThresholdsGetParams, ...) (*InternalV1StorageRegionsThresholdsGetOK, error)
- func (a *Client) InternalV1StorageRegionsThresholdsPut(params *InternalV1StorageRegionsThresholdsPutParams, ...) (*InternalV1StorageRegionsThresholdsPutAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type InternalV1StorageRegionsStoragePoolsGetForbidden
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) String() string
- type InternalV1StorageRegionsStoragePoolsGetInternalServerError
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) String() string
- type InternalV1StorageRegionsStoragePoolsGetNotFound
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) String() string
- type InternalV1StorageRegionsStoragePoolsGetOK
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) GetPayload() models.StoragePools
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetOK) String() string
- type InternalV1StorageRegionsStoragePoolsGetParams
- func NewInternalV1StorageRegionsStoragePoolsGetParams() *InternalV1StorageRegionsStoragePoolsGetParams
- func NewInternalV1StorageRegionsStoragePoolsGetParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetParams
- func NewInternalV1StorageRegionsStoragePoolsGetParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetParams
- func NewInternalV1StorageRegionsStoragePoolsGetParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetParams
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetContext(ctx context.Context)
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetDefaults()
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetRegionZoneID(regionZoneID string)
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetStoragePoolName(storagePoolName string)
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetParams
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithDefaults() *InternalV1StorageRegionsStoragePoolsGetParams
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetParams
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsStoragePoolsGetParams
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithStoragePoolName(storagePoolName string) *InternalV1StorageRegionsStoragePoolsGetParams
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetParams
- func (o *InternalV1StorageRegionsStoragePoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1StorageRegionsStoragePoolsGetReader
- type InternalV1StorageRegionsStoragePoolsGetUnauthorized
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) String() string
- type InternalV1StorageRegionsStoragePoolsGetallForbidden
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) String() string
- type InternalV1StorageRegionsStoragePoolsGetallInternalServerError
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) String() string
- type InternalV1StorageRegionsStoragePoolsGetallNotFound
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) String() string
- type InternalV1StorageRegionsStoragePoolsGetallOK
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) GetPayload() models.StoragePools
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallOK) String() string
- type InternalV1StorageRegionsStoragePoolsGetallParams
- func NewInternalV1StorageRegionsStoragePoolsGetallParams() *InternalV1StorageRegionsStoragePoolsGetallParams
- func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetallParams
- func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetallParams
- func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetallParams
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetContext(ctx context.Context)
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetDefaults()
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetRegionZoneID(regionZoneID string)
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetallParams
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithDefaults() *InternalV1StorageRegionsStoragePoolsGetallParams
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetallParams
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsStoragePoolsGetallParams
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetallParams
- func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1StorageRegionsStoragePoolsGetallReader
- type InternalV1StorageRegionsStoragePoolsGetallUnauthorized
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) String() string
- type InternalV1StorageRegionsStoragePoolsPutBadRequest
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) String() string
- type InternalV1StorageRegionsStoragePoolsPutForbidden
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) String() string
- type InternalV1StorageRegionsStoragePoolsPutInternalServerError
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) String() string
- type InternalV1StorageRegionsStoragePoolsPutNotFound
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) String() string
- type InternalV1StorageRegionsStoragePoolsPutOK
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) GetPayload() *models.StoragePool
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutOK) String() string
- type InternalV1StorageRegionsStoragePoolsPutParams
- func NewInternalV1StorageRegionsStoragePoolsPutParams() *InternalV1StorageRegionsStoragePoolsPutParams
- func NewInternalV1StorageRegionsStoragePoolsPutParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsPutParams
- func NewInternalV1StorageRegionsStoragePoolsPutParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsPutParams
- func NewInternalV1StorageRegionsStoragePoolsPutParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetBody(body *models.UpdateStoragePool)
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetContext(ctx context.Context)
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetDefaults()
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetRegionZoneID(regionZoneID string)
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetStoragePoolName(storagePoolName string)
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithBody(body *models.UpdateStoragePool) *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithDefaults() *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithStoragePoolName(storagePoolName string) *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsPutParams
- func (o *InternalV1StorageRegionsStoragePoolsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1StorageRegionsStoragePoolsPutReader
- type InternalV1StorageRegionsStoragePoolsPutUnauthorized
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) Code() int
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) Error() string
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsClientError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsCode(code int) bool
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsRedirect() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsServerError() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsSuccess() bool
- func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) String() string
- type InternalV1StorageRegionsThresholdsGetForbidden
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) Code() int
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) Error() string
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsGetForbidden) String() string
- type InternalV1StorageRegionsThresholdsGetInternalServerError
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) Code() int
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) Error() string
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) String() string
- type InternalV1StorageRegionsThresholdsGetNotFound
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) Code() int
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) Error() string
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsGetNotFound) String() string
- type InternalV1StorageRegionsThresholdsGetOK
- func (o *InternalV1StorageRegionsThresholdsGetOK) Code() int
- func (o *InternalV1StorageRegionsThresholdsGetOK) Error() string
- func (o *InternalV1StorageRegionsThresholdsGetOK) GetPayload() *models.Thresholds
- func (o *InternalV1StorageRegionsThresholdsGetOK) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsGetOK) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsGetOK) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsGetOK) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsGetOK) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsGetOK) String() string
- type InternalV1StorageRegionsThresholdsGetParams
- func NewInternalV1StorageRegionsThresholdsGetParams() *InternalV1StorageRegionsThresholdsGetParams
- func NewInternalV1StorageRegionsThresholdsGetParamsWithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsGetParams
- func NewInternalV1StorageRegionsThresholdsGetParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsGetParams
- func NewInternalV1StorageRegionsThresholdsGetParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsGetParams
- func (o *InternalV1StorageRegionsThresholdsGetParams) SetContext(ctx context.Context)
- func (o *InternalV1StorageRegionsThresholdsGetParams) SetDefaults()
- func (o *InternalV1StorageRegionsThresholdsGetParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1StorageRegionsThresholdsGetParams) SetRegionZoneID(regionZoneID string)
- func (o *InternalV1StorageRegionsThresholdsGetParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1StorageRegionsThresholdsGetParams) WithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsGetParams
- func (o *InternalV1StorageRegionsThresholdsGetParams) WithDefaults() *InternalV1StorageRegionsThresholdsGetParams
- func (o *InternalV1StorageRegionsThresholdsGetParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsGetParams
- func (o *InternalV1StorageRegionsThresholdsGetParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsThresholdsGetParams
- func (o *InternalV1StorageRegionsThresholdsGetParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsGetParams
- func (o *InternalV1StorageRegionsThresholdsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1StorageRegionsThresholdsGetReader
- type InternalV1StorageRegionsThresholdsGetUnauthorized
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) Code() int
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) Error() string
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) String() string
- type InternalV1StorageRegionsThresholdsPutAccepted
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) Code() int
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) Error() string
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) GetPayload() *models.Thresholds
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsPutAccepted) String() string
- type InternalV1StorageRegionsThresholdsPutBadRequest
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) Code() int
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) Error() string
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsPutBadRequest) String() string
- type InternalV1StorageRegionsThresholdsPutConflict
- func (o *InternalV1StorageRegionsThresholdsPutConflict) Code() int
- func (o *InternalV1StorageRegionsThresholdsPutConflict) Error() string
- func (o *InternalV1StorageRegionsThresholdsPutConflict) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsPutConflict) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsPutConflict) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsPutConflict) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsPutConflict) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsPutConflict) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsPutConflict) String() string
- type InternalV1StorageRegionsThresholdsPutForbidden
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) Code() int
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) Error() string
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsPutForbidden) String() string
- type InternalV1StorageRegionsThresholdsPutInternalServerError
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) Code() int
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) Error() string
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) String() string
- type InternalV1StorageRegionsThresholdsPutParams
- func NewInternalV1StorageRegionsThresholdsPutParams() *InternalV1StorageRegionsThresholdsPutParams
- func NewInternalV1StorageRegionsThresholdsPutParamsWithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsPutParams
- func NewInternalV1StorageRegionsThresholdsPutParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsPutParams
- func NewInternalV1StorageRegionsThresholdsPutParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsPutParams
- func (o *InternalV1StorageRegionsThresholdsPutParams) SetBody(body *models.Thresholds)
- func (o *InternalV1StorageRegionsThresholdsPutParams) SetContext(ctx context.Context)
- func (o *InternalV1StorageRegionsThresholdsPutParams) SetDefaults()
- func (o *InternalV1StorageRegionsThresholdsPutParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1StorageRegionsThresholdsPutParams) SetRegionZoneID(regionZoneID string)
- func (o *InternalV1StorageRegionsThresholdsPutParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1StorageRegionsThresholdsPutParams) WithBody(body *models.Thresholds) *InternalV1StorageRegionsThresholdsPutParams
- func (o *InternalV1StorageRegionsThresholdsPutParams) WithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsPutParams
- func (o *InternalV1StorageRegionsThresholdsPutParams) WithDefaults() *InternalV1StorageRegionsThresholdsPutParams
- func (o *InternalV1StorageRegionsThresholdsPutParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsPutParams
- func (o *InternalV1StorageRegionsThresholdsPutParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsThresholdsPutParams
- func (o *InternalV1StorageRegionsThresholdsPutParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsPutParams
- func (o *InternalV1StorageRegionsThresholdsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1StorageRegionsThresholdsPutReader
- type InternalV1StorageRegionsThresholdsPutUnauthorized
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) Code() int
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) Error() string
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) String() string
- type InternalV1StorageRegionsThresholdsPutUnprocessableEntity
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Code() int
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Error() string
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) GetPayload() *models.Error
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsClientError() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsCode(code int) bool
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsRedirect() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsServerError() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsSuccess() bool
- func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for internal storage regions API
func (*Client) InternalV1StorageRegionsStoragePoolsGet ¶
func (a *Client) InternalV1StorageRegionsStoragePoolsGet(params *InternalV1StorageRegionsStoragePoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsStoragePoolsGetOK, error)
InternalV1StorageRegionsStoragePoolsGet gets the settings for given pool name
func (*Client) InternalV1StorageRegionsStoragePoolsGetall ¶
func (a *Client) InternalV1StorageRegionsStoragePoolsGetall(params *InternalV1StorageRegionsStoragePoolsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsStoragePoolsGetallOK, error)
InternalV1StorageRegionsStoragePoolsGetall gets the current storage pools settings for a region zone
func (*Client) InternalV1StorageRegionsStoragePoolsPut ¶
func (a *Client) InternalV1StorageRegionsStoragePoolsPut(params *InternalV1StorageRegionsStoragePoolsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsStoragePoolsPutOK, error)
InternalV1StorageRegionsStoragePoolsPut updates the settings for given pool name
func (*Client) InternalV1StorageRegionsThresholdsGet ¶
func (a *Client) InternalV1StorageRegionsThresholdsGet(params *InternalV1StorageRegionsThresholdsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsThresholdsGetOK, error)
InternalV1StorageRegionsThresholdsGet gets the current default threshold settings for a region zone
func (*Client) InternalV1StorageRegionsThresholdsPut ¶
func (a *Client) InternalV1StorageRegionsThresholdsPut(params *InternalV1StorageRegionsThresholdsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsThresholdsPutAccepted, error)
InternalV1StorageRegionsThresholdsPut updates a default threshold setting for a region zone
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { InternalV1StorageRegionsStoragePoolsGet(params *InternalV1StorageRegionsStoragePoolsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsStoragePoolsGetOK, error) InternalV1StorageRegionsStoragePoolsGetall(params *InternalV1StorageRegionsStoragePoolsGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsStoragePoolsGetallOK, error) InternalV1StorageRegionsStoragePoolsPut(params *InternalV1StorageRegionsStoragePoolsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsStoragePoolsPutOK, error) InternalV1StorageRegionsThresholdsGet(params *InternalV1StorageRegionsThresholdsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsThresholdsGetOK, error) InternalV1StorageRegionsThresholdsPut(params *InternalV1StorageRegionsThresholdsPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsThresholdsPutAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new internal storage regions API client.
type InternalV1StorageRegionsStoragePoolsGetForbidden ¶ added in v1.2.2
InternalV1StorageRegionsStoragePoolsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1StorageRegionsStoragePoolsGetForbidden ¶ added in v1.2.2
func NewInternalV1StorageRegionsStoragePoolsGetForbidden() *InternalV1StorageRegionsStoragePoolsGetForbidden
NewInternalV1StorageRegionsStoragePoolsGetForbidden creates a InternalV1StorageRegionsStoragePoolsGetForbidden with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) Code() int
Code gets the status code for the internal v1 storage regions storage pools get forbidden response
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) Error ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools get forbidden response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools get forbidden response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools get forbidden response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools get forbidden response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools get forbidden response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetForbidden) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetForbidden) String() string
type InternalV1StorageRegionsStoragePoolsGetInternalServerError ¶
InternalV1StorageRegionsStoragePoolsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1StorageRegionsStoragePoolsGetInternalServerError ¶
func NewInternalV1StorageRegionsStoragePoolsGetInternalServerError() *InternalV1StorageRegionsStoragePoolsGetInternalServerError
NewInternalV1StorageRegionsStoragePoolsGetInternalServerError creates a InternalV1StorageRegionsStoragePoolsGetInternalServerError with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) Code() int
Code gets the status code for the internal v1 storage regions storage pools get internal server error response
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools get internal server error response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools get internal server error response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools get internal server error response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools get internal server error response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools get internal server error response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetInternalServerError) String() string
type InternalV1StorageRegionsStoragePoolsGetNotFound ¶
InternalV1StorageRegionsStoragePoolsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewInternalV1StorageRegionsStoragePoolsGetNotFound ¶
func NewInternalV1StorageRegionsStoragePoolsGetNotFound() *InternalV1StorageRegionsStoragePoolsGetNotFound
NewInternalV1StorageRegionsStoragePoolsGetNotFound creates a InternalV1StorageRegionsStoragePoolsGetNotFound with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) Code() int
Code gets the status code for the internal v1 storage regions storage pools get not found response
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools get not found response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools get not found response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools get not found response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools get not found response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools get not found response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetNotFound) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetNotFound) String() string
type InternalV1StorageRegionsStoragePoolsGetOK ¶
type InternalV1StorageRegionsStoragePoolsGetOK struct {
Payload models.StoragePools
}
InternalV1StorageRegionsStoragePoolsGetOK describes a response with status code 200, with default header values.
OK
func NewInternalV1StorageRegionsStoragePoolsGetOK ¶
func NewInternalV1StorageRegionsStoragePoolsGetOK() *InternalV1StorageRegionsStoragePoolsGetOK
NewInternalV1StorageRegionsStoragePoolsGetOK creates a InternalV1StorageRegionsStoragePoolsGetOK with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetOK) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetOK) Code() int
Code gets the status code for the internal v1 storage regions storage pools get o k response
func (*InternalV1StorageRegionsStoragePoolsGetOK) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetOK) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetOK) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetOK) GetPayload() models.StoragePools
func (*InternalV1StorageRegionsStoragePoolsGetOK) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools get o k response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetOK) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools get o k response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetOK) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools get o k response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetOK) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools get o k response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetOK) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetOK) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools get o k response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetOK) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetOK) String() string
type InternalV1StorageRegionsStoragePoolsGetParams ¶
type InternalV1StorageRegionsStoragePoolsGetParams struct { /* RegionZoneID. ID of a Power Cloud Region Zone */ RegionZoneID string /* StoragePoolName. Storage pool name */ StoragePoolName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1StorageRegionsStoragePoolsGetParams contains all the parameters to send to the API endpoint
for the internal v1 storage regions storage pools get operation. Typically these are written to a http.Request.
func NewInternalV1StorageRegionsStoragePoolsGetParams ¶
func NewInternalV1StorageRegionsStoragePoolsGetParams() *InternalV1StorageRegionsStoragePoolsGetParams
NewInternalV1StorageRegionsStoragePoolsGetParams creates a new InternalV1StorageRegionsStoragePoolsGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInternalV1StorageRegionsStoragePoolsGetParamsWithContext ¶
func NewInternalV1StorageRegionsStoragePoolsGetParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetParams
NewInternalV1StorageRegionsStoragePoolsGetParamsWithContext creates a new InternalV1StorageRegionsStoragePoolsGetParams object with the ability to set a context for a request.
func NewInternalV1StorageRegionsStoragePoolsGetParamsWithHTTPClient ¶
func NewInternalV1StorageRegionsStoragePoolsGetParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetParams
NewInternalV1StorageRegionsStoragePoolsGetParamsWithHTTPClient creates a new InternalV1StorageRegionsStoragePoolsGetParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1StorageRegionsStoragePoolsGetParamsWithTimeout ¶
func NewInternalV1StorageRegionsStoragePoolsGetParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetParams
NewInternalV1StorageRegionsStoragePoolsGetParamsWithTimeout creates a new InternalV1StorageRegionsStoragePoolsGetParams object with the ability to set a timeout on a request.
func (*InternalV1StorageRegionsStoragePoolsGetParams) SetContext ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) SetDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 storage regions storage pools get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsStoragePoolsGetParams) SetHTTPClient ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) SetRegionZoneID ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetRegionZoneID(regionZoneID string)
SetRegionZoneID adds the regionZoneId to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) SetStoragePoolName ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetStoragePoolName(storagePoolName string)
SetStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) SetTimeout ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) WithContext ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetParams
WithContext adds the context to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) WithDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithDefaults() *InternalV1StorageRegionsStoragePoolsGetParams
WithDefaults hydrates default values in the internal v1 storage regions storage pools get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsStoragePoolsGetParams) WithHTTPClient ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetParams
WithHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) WithRegionZoneID ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsStoragePoolsGetParams
WithRegionZoneID adds the regionZoneID to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) WithStoragePoolName ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithStoragePoolName(storagePoolName string) *InternalV1StorageRegionsStoragePoolsGetParams
WithStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) WithTimeout ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetParams
WithTimeout adds the timeout to the internal v1 storage regions storage pools get params
func (*InternalV1StorageRegionsStoragePoolsGetParams) WriteToRequest ¶
func (o *InternalV1StorageRegionsStoragePoolsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1StorageRegionsStoragePoolsGetReader ¶
type InternalV1StorageRegionsStoragePoolsGetReader struct {
// contains filtered or unexported fields
}
InternalV1StorageRegionsStoragePoolsGetReader is a Reader for the InternalV1StorageRegionsStoragePoolsGet structure.
func (*InternalV1StorageRegionsStoragePoolsGetReader) ReadResponse ¶
func (o *InternalV1StorageRegionsStoragePoolsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1StorageRegionsStoragePoolsGetUnauthorized ¶
type InternalV1StorageRegionsStoragePoolsGetUnauthorized struct {
}InternalV1StorageRegionsStoragePoolsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1StorageRegionsStoragePoolsGetUnauthorized ¶
func NewInternalV1StorageRegionsStoragePoolsGetUnauthorized() *InternalV1StorageRegionsStoragePoolsGetUnauthorized
NewInternalV1StorageRegionsStoragePoolsGetUnauthorized creates a InternalV1StorageRegionsStoragePoolsGetUnauthorized with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) Code() int
Code gets the status code for the internal v1 storage regions storage pools get unauthorized response
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools get unauthorized response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools get unauthorized response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools get unauthorized response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools get unauthorized response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools get unauthorized response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetUnauthorized) String() string
type InternalV1StorageRegionsStoragePoolsGetallForbidden ¶ added in v1.2.2
InternalV1StorageRegionsStoragePoolsGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1StorageRegionsStoragePoolsGetallForbidden ¶ added in v1.2.2
func NewInternalV1StorageRegionsStoragePoolsGetallForbidden() *InternalV1StorageRegionsStoragePoolsGetallForbidden
NewInternalV1StorageRegionsStoragePoolsGetallForbidden creates a InternalV1StorageRegionsStoragePoolsGetallForbidden with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) Code() int
Code gets the status code for the internal v1 storage regions storage pools getall forbidden response
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) Error ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) GetPayload ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools getall forbidden response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools getall forbidden response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools getall forbidden response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools getall forbidden response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools getall forbidden response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallForbidden) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallForbidden) String() string
type InternalV1StorageRegionsStoragePoolsGetallInternalServerError ¶
InternalV1StorageRegionsStoragePoolsGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1StorageRegionsStoragePoolsGetallInternalServerError ¶
func NewInternalV1StorageRegionsStoragePoolsGetallInternalServerError() *InternalV1StorageRegionsStoragePoolsGetallInternalServerError
NewInternalV1StorageRegionsStoragePoolsGetallInternalServerError creates a InternalV1StorageRegionsStoragePoolsGetallInternalServerError with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Code() int
Code gets the status code for the internal v1 storage regions storage pools getall internal server error response
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools getall internal server error response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools getall internal server error response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools getall internal server error response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools getall internal server error response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools getall internal server error response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallInternalServerError) String() string
type InternalV1StorageRegionsStoragePoolsGetallNotFound ¶
InternalV1StorageRegionsStoragePoolsGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewInternalV1StorageRegionsStoragePoolsGetallNotFound ¶
func NewInternalV1StorageRegionsStoragePoolsGetallNotFound() *InternalV1StorageRegionsStoragePoolsGetallNotFound
NewInternalV1StorageRegionsStoragePoolsGetallNotFound creates a InternalV1StorageRegionsStoragePoolsGetallNotFound with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) Code() int
Code gets the status code for the internal v1 storage regions storage pools getall not found response
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools getall not found response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools getall not found response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools getall not found response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools getall not found response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools getall not found response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallNotFound) String() string
type InternalV1StorageRegionsStoragePoolsGetallOK ¶
type InternalV1StorageRegionsStoragePoolsGetallOK struct {
Payload models.StoragePools
}
InternalV1StorageRegionsStoragePoolsGetallOK describes a response with status code 200, with default header values.
OK
func NewInternalV1StorageRegionsStoragePoolsGetallOK ¶
func NewInternalV1StorageRegionsStoragePoolsGetallOK() *InternalV1StorageRegionsStoragePoolsGetallOK
NewInternalV1StorageRegionsStoragePoolsGetallOK creates a InternalV1StorageRegionsStoragePoolsGetallOK with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetallOK) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) Code() int
Code gets the status code for the internal v1 storage regions storage pools getall o k response
func (*InternalV1StorageRegionsStoragePoolsGetallOK) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetallOK) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) GetPayload() models.StoragePools
func (*InternalV1StorageRegionsStoragePoolsGetallOK) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools getall o k response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallOK) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools getall o k response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetallOK) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools getall o k response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallOK) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools getall o k response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallOK) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools getall o k response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallOK) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallOK) String() string
type InternalV1StorageRegionsStoragePoolsGetallParams ¶
type InternalV1StorageRegionsStoragePoolsGetallParams struct { /* RegionZoneID. ID of a Power Cloud Region Zone */ RegionZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1StorageRegionsStoragePoolsGetallParams contains all the parameters to send to the API endpoint
for the internal v1 storage regions storage pools getall operation. Typically these are written to a http.Request.
func NewInternalV1StorageRegionsStoragePoolsGetallParams ¶
func NewInternalV1StorageRegionsStoragePoolsGetallParams() *InternalV1StorageRegionsStoragePoolsGetallParams
NewInternalV1StorageRegionsStoragePoolsGetallParams creates a new InternalV1StorageRegionsStoragePoolsGetallParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithContext ¶
func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetallParams
NewInternalV1StorageRegionsStoragePoolsGetallParamsWithContext creates a new InternalV1StorageRegionsStoragePoolsGetallParams object with the ability to set a context for a request.
func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithHTTPClient ¶
func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetallParams
NewInternalV1StorageRegionsStoragePoolsGetallParamsWithHTTPClient creates a new InternalV1StorageRegionsStoragePoolsGetallParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithTimeout ¶
func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetallParams
NewInternalV1StorageRegionsStoragePoolsGetallParamsWithTimeout creates a new InternalV1StorageRegionsStoragePoolsGetallParams object with the ability to set a timeout on a request.
func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetContext ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 storage regions storage pools getall params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetHTTPClient ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetRegionZoneID ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetRegionZoneID(regionZoneID string)
SetRegionZoneID adds the regionZoneId to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetTimeout ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithContext ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetallParams
WithContext adds the context to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithDefaults() *InternalV1StorageRegionsStoragePoolsGetallParams
WithDefaults hydrates default values in the internal v1 storage regions storage pools getall params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithHTTPClient ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetallParams
WithHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithRegionZoneID ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsStoragePoolsGetallParams
WithRegionZoneID adds the regionZoneID to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithTimeout ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetallParams
WithTimeout adds the timeout to the internal v1 storage regions storage pools getall params
func (*InternalV1StorageRegionsStoragePoolsGetallParams) WriteToRequest ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1StorageRegionsStoragePoolsGetallReader ¶
type InternalV1StorageRegionsStoragePoolsGetallReader struct {
// contains filtered or unexported fields
}
InternalV1StorageRegionsStoragePoolsGetallReader is a Reader for the InternalV1StorageRegionsStoragePoolsGetall structure.
func (*InternalV1StorageRegionsStoragePoolsGetallReader) ReadResponse ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1StorageRegionsStoragePoolsGetallUnauthorized ¶
type InternalV1StorageRegionsStoragePoolsGetallUnauthorized struct {
}InternalV1StorageRegionsStoragePoolsGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1StorageRegionsStoragePoolsGetallUnauthorized ¶
func NewInternalV1StorageRegionsStoragePoolsGetallUnauthorized() *InternalV1StorageRegionsStoragePoolsGetallUnauthorized
NewInternalV1StorageRegionsStoragePoolsGetallUnauthorized creates a InternalV1StorageRegionsStoragePoolsGetallUnauthorized with default headers values
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Code() int
Code gets the status code for the internal v1 storage regions storage pools getall unauthorized response
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Error() string
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools getall unauthorized response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools getall unauthorized response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools getall unauthorized response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools getall unauthorized response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools getall unauthorized response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsGetallUnauthorized) String() string
type InternalV1StorageRegionsStoragePoolsPutBadRequest ¶
InternalV1StorageRegionsStoragePoolsPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInternalV1StorageRegionsStoragePoolsPutBadRequest ¶
func NewInternalV1StorageRegionsStoragePoolsPutBadRequest() *InternalV1StorageRegionsStoragePoolsPutBadRequest
NewInternalV1StorageRegionsStoragePoolsPutBadRequest creates a InternalV1StorageRegionsStoragePoolsPutBadRequest with default headers values
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) Code() int
Code gets the status code for the internal v1 storage regions storage pools put bad request response
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) Error() string
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools put bad request response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools put bad request response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools put bad request response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools put bad request response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools put bad request response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutBadRequest) String() string
type InternalV1StorageRegionsStoragePoolsPutForbidden ¶ added in v1.2.2
InternalV1StorageRegionsStoragePoolsPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1StorageRegionsStoragePoolsPutForbidden ¶ added in v1.2.2
func NewInternalV1StorageRegionsStoragePoolsPutForbidden() *InternalV1StorageRegionsStoragePoolsPutForbidden
NewInternalV1StorageRegionsStoragePoolsPutForbidden creates a InternalV1StorageRegionsStoragePoolsPutForbidden with default headers values
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) Code() int
Code gets the status code for the internal v1 storage regions storage pools put forbidden response
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) Error ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) Error() string
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) GetPayload ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools put forbidden response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools put forbidden response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools put forbidden response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools put forbidden response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools put forbidden response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsPutForbidden) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutForbidden) String() string
type InternalV1StorageRegionsStoragePoolsPutInternalServerError ¶
InternalV1StorageRegionsStoragePoolsPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1StorageRegionsStoragePoolsPutInternalServerError ¶
func NewInternalV1StorageRegionsStoragePoolsPutInternalServerError() *InternalV1StorageRegionsStoragePoolsPutInternalServerError
NewInternalV1StorageRegionsStoragePoolsPutInternalServerError creates a InternalV1StorageRegionsStoragePoolsPutInternalServerError with default headers values
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) Code() int
Code gets the status code for the internal v1 storage regions storage pools put internal server error response
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) Error() string
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools put internal server error response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools put internal server error response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools put internal server error response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools put internal server error response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools put internal server error response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutInternalServerError) String() string
type InternalV1StorageRegionsStoragePoolsPutNotFound ¶
InternalV1StorageRegionsStoragePoolsPutNotFound describes a response with status code 404, with default header values.
Not Found
func NewInternalV1StorageRegionsStoragePoolsPutNotFound ¶
func NewInternalV1StorageRegionsStoragePoolsPutNotFound() *InternalV1StorageRegionsStoragePoolsPutNotFound
NewInternalV1StorageRegionsStoragePoolsPutNotFound creates a InternalV1StorageRegionsStoragePoolsPutNotFound with default headers values
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) Code() int
Code gets the status code for the internal v1 storage regions storage pools put not found response
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) Error() string
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools put not found response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools put not found response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools put not found response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools put not found response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools put not found response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsPutNotFound) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutNotFound) String() string
type InternalV1StorageRegionsStoragePoolsPutOK ¶
type InternalV1StorageRegionsStoragePoolsPutOK struct {
Payload *models.StoragePool
}
InternalV1StorageRegionsStoragePoolsPutOK describes a response with status code 200, with default header values.
OK
func NewInternalV1StorageRegionsStoragePoolsPutOK ¶
func NewInternalV1StorageRegionsStoragePoolsPutOK() *InternalV1StorageRegionsStoragePoolsPutOK
NewInternalV1StorageRegionsStoragePoolsPutOK creates a InternalV1StorageRegionsStoragePoolsPutOK with default headers values
func (*InternalV1StorageRegionsStoragePoolsPutOK) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsPutOK) Code() int
Code gets the status code for the internal v1 storage regions storage pools put o k response
func (*InternalV1StorageRegionsStoragePoolsPutOK) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsPutOK) Error() string
func (*InternalV1StorageRegionsStoragePoolsPutOK) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsPutOK) GetPayload() *models.StoragePool
func (*InternalV1StorageRegionsStoragePoolsPutOK) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools put o k response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsPutOK) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools put o k response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsPutOK) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools put o k response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsPutOK) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools put o k response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsPutOK) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutOK) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools put o k response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsPutOK) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutOK) String() string
type InternalV1StorageRegionsStoragePoolsPutParams ¶
type InternalV1StorageRegionsStoragePoolsPutParams struct { /* Body. Parameters for updating a storage pool */ Body *models.UpdateStoragePool /* RegionZoneID. ID of a Power Cloud Region Zone */ RegionZoneID string /* StoragePoolName. Storage pool name */ StoragePoolName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1StorageRegionsStoragePoolsPutParams contains all the parameters to send to the API endpoint
for the internal v1 storage regions storage pools put operation. Typically these are written to a http.Request.
func NewInternalV1StorageRegionsStoragePoolsPutParams ¶
func NewInternalV1StorageRegionsStoragePoolsPutParams() *InternalV1StorageRegionsStoragePoolsPutParams
NewInternalV1StorageRegionsStoragePoolsPutParams creates a new InternalV1StorageRegionsStoragePoolsPutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInternalV1StorageRegionsStoragePoolsPutParamsWithContext ¶
func NewInternalV1StorageRegionsStoragePoolsPutParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsPutParams
NewInternalV1StorageRegionsStoragePoolsPutParamsWithContext creates a new InternalV1StorageRegionsStoragePoolsPutParams object with the ability to set a context for a request.
func NewInternalV1StorageRegionsStoragePoolsPutParamsWithHTTPClient ¶
func NewInternalV1StorageRegionsStoragePoolsPutParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsPutParams
NewInternalV1StorageRegionsStoragePoolsPutParamsWithHTTPClient creates a new InternalV1StorageRegionsStoragePoolsPutParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1StorageRegionsStoragePoolsPutParamsWithTimeout ¶
func NewInternalV1StorageRegionsStoragePoolsPutParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsPutParams
NewInternalV1StorageRegionsStoragePoolsPutParamsWithTimeout creates a new InternalV1StorageRegionsStoragePoolsPutParams object with the ability to set a timeout on a request.
func (*InternalV1StorageRegionsStoragePoolsPutParams) SetBody ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetBody(body *models.UpdateStoragePool)
SetBody adds the body to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) SetContext ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) SetDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 storage regions storage pools put params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsStoragePoolsPutParams) SetHTTPClient ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) SetRegionZoneID ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetRegionZoneID(regionZoneID string)
SetRegionZoneID adds the regionZoneId to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) SetStoragePoolName ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetStoragePoolName(storagePoolName string)
SetStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) SetTimeout ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) WithBody ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithBody(body *models.UpdateStoragePool) *InternalV1StorageRegionsStoragePoolsPutParams
WithBody adds the body to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) WithContext ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsPutParams
WithContext adds the context to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) WithDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithDefaults() *InternalV1StorageRegionsStoragePoolsPutParams
WithDefaults hydrates default values in the internal v1 storage regions storage pools put params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsStoragePoolsPutParams) WithHTTPClient ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsPutParams
WithHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) WithRegionZoneID ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsStoragePoolsPutParams
WithRegionZoneID adds the regionZoneID to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) WithStoragePoolName ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithStoragePoolName(storagePoolName string) *InternalV1StorageRegionsStoragePoolsPutParams
WithStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) WithTimeout ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsPutParams
WithTimeout adds the timeout to the internal v1 storage regions storage pools put params
func (*InternalV1StorageRegionsStoragePoolsPutParams) WriteToRequest ¶
func (o *InternalV1StorageRegionsStoragePoolsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1StorageRegionsStoragePoolsPutReader ¶
type InternalV1StorageRegionsStoragePoolsPutReader struct {
// contains filtered or unexported fields
}
InternalV1StorageRegionsStoragePoolsPutReader is a Reader for the InternalV1StorageRegionsStoragePoolsPut structure.
func (*InternalV1StorageRegionsStoragePoolsPutReader) ReadResponse ¶
func (o *InternalV1StorageRegionsStoragePoolsPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1StorageRegionsStoragePoolsPutUnauthorized ¶
type InternalV1StorageRegionsStoragePoolsPutUnauthorized struct {
}InternalV1StorageRegionsStoragePoolsPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1StorageRegionsStoragePoolsPutUnauthorized ¶
func NewInternalV1StorageRegionsStoragePoolsPutUnauthorized() *InternalV1StorageRegionsStoragePoolsPutUnauthorized
NewInternalV1StorageRegionsStoragePoolsPutUnauthorized creates a InternalV1StorageRegionsStoragePoolsPutUnauthorized with default headers values
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) Code() int
Code gets the status code for the internal v1 storage regions storage pools put unauthorized response
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) Error ¶
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) Error() string
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) GetPayload() *models.Error
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 storage regions storage pools put unauthorized response has a 4xx status code
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions storage pools put unauthorized response a status code equal to that given
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions storage pools put unauthorized response has a 3xx status code
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 storage regions storage pools put unauthorized response has a 5xx status code
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions storage pools put unauthorized response has a 2xx status code
func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsStoragePoolsPutUnauthorized) String() string
type InternalV1StorageRegionsThresholdsGetForbidden ¶ added in v1.2.2
InternalV1StorageRegionsThresholdsGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1StorageRegionsThresholdsGetForbidden ¶ added in v1.2.2
func NewInternalV1StorageRegionsThresholdsGetForbidden() *InternalV1StorageRegionsThresholdsGetForbidden
NewInternalV1StorageRegionsThresholdsGetForbidden creates a InternalV1StorageRegionsThresholdsGetForbidden with default headers values
func (*InternalV1StorageRegionsThresholdsGetForbidden) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsGetForbidden) Code() int
Code gets the status code for the internal v1 storage regions thresholds get forbidden response
func (*InternalV1StorageRegionsThresholdsGetForbidden) Error ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) Error() string
func (*InternalV1StorageRegionsThresholdsGetForbidden) GetPayload ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsGetForbidden) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds get forbidden response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsGetForbidden) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds get forbidden response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds get forbidden response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsGetForbidden) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds get forbidden response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds get forbidden response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsGetForbidden) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetForbidden) String() string
type InternalV1StorageRegionsThresholdsGetInternalServerError ¶
InternalV1StorageRegionsThresholdsGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1StorageRegionsThresholdsGetInternalServerError ¶
func NewInternalV1StorageRegionsThresholdsGetInternalServerError() *InternalV1StorageRegionsThresholdsGetInternalServerError
NewInternalV1StorageRegionsThresholdsGetInternalServerError creates a InternalV1StorageRegionsThresholdsGetInternalServerError with default headers values
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) Code() int
Code gets the status code for the internal v1 storage regions thresholds get internal server error response
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) Error ¶
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) Error() string
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds get internal server error response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds get internal server error response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds get internal server error response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds get internal server error response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds get internal server error response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsGetInternalServerError) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetInternalServerError) String() string
type InternalV1StorageRegionsThresholdsGetNotFound ¶
InternalV1StorageRegionsThresholdsGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewInternalV1StorageRegionsThresholdsGetNotFound ¶
func NewInternalV1StorageRegionsThresholdsGetNotFound() *InternalV1StorageRegionsThresholdsGetNotFound
NewInternalV1StorageRegionsThresholdsGetNotFound creates a InternalV1StorageRegionsThresholdsGetNotFound with default headers values
func (*InternalV1StorageRegionsThresholdsGetNotFound) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsGetNotFound) Code() int
Code gets the status code for the internal v1 storage regions thresholds get not found response
func (*InternalV1StorageRegionsThresholdsGetNotFound) Error ¶
func (o *InternalV1StorageRegionsThresholdsGetNotFound) Error() string
func (*InternalV1StorageRegionsThresholdsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsGetNotFound) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsGetNotFound) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds get not found response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsGetNotFound) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds get not found response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds get not found response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsGetNotFound) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds get not found response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetNotFound) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds get not found response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsGetNotFound) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetNotFound) String() string
type InternalV1StorageRegionsThresholdsGetOK ¶
type InternalV1StorageRegionsThresholdsGetOK struct {
Payload *models.Thresholds
}
InternalV1StorageRegionsThresholdsGetOK describes a response with status code 200, with default header values.
OK
func NewInternalV1StorageRegionsThresholdsGetOK ¶
func NewInternalV1StorageRegionsThresholdsGetOK() *InternalV1StorageRegionsThresholdsGetOK
NewInternalV1StorageRegionsThresholdsGetOK creates a InternalV1StorageRegionsThresholdsGetOK with default headers values
func (*InternalV1StorageRegionsThresholdsGetOK) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsGetOK) Code() int
Code gets the status code for the internal v1 storage regions thresholds get o k response
func (*InternalV1StorageRegionsThresholdsGetOK) Error ¶
func (o *InternalV1StorageRegionsThresholdsGetOK) Error() string
func (*InternalV1StorageRegionsThresholdsGetOK) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsGetOK) GetPayload() *models.Thresholds
func (*InternalV1StorageRegionsThresholdsGetOK) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetOK) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds get o k response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsGetOK) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetOK) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds get o k response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsGetOK) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetOK) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds get o k response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsGetOK) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetOK) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds get o k response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsGetOK) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetOK) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds get o k response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsGetOK) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetOK) String() string
type InternalV1StorageRegionsThresholdsGetParams ¶
type InternalV1StorageRegionsThresholdsGetParams struct { /* RegionZoneID. ID of a Power Cloud Region Zone */ RegionZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1StorageRegionsThresholdsGetParams contains all the parameters to send to the API endpoint
for the internal v1 storage regions thresholds get operation. Typically these are written to a http.Request.
func NewInternalV1StorageRegionsThresholdsGetParams ¶
func NewInternalV1StorageRegionsThresholdsGetParams() *InternalV1StorageRegionsThresholdsGetParams
NewInternalV1StorageRegionsThresholdsGetParams creates a new InternalV1StorageRegionsThresholdsGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInternalV1StorageRegionsThresholdsGetParamsWithContext ¶
func NewInternalV1StorageRegionsThresholdsGetParamsWithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsGetParams
NewInternalV1StorageRegionsThresholdsGetParamsWithContext creates a new InternalV1StorageRegionsThresholdsGetParams object with the ability to set a context for a request.
func NewInternalV1StorageRegionsThresholdsGetParamsWithHTTPClient ¶
func NewInternalV1StorageRegionsThresholdsGetParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsGetParams
NewInternalV1StorageRegionsThresholdsGetParamsWithHTTPClient creates a new InternalV1StorageRegionsThresholdsGetParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1StorageRegionsThresholdsGetParamsWithTimeout ¶
func NewInternalV1StorageRegionsThresholdsGetParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsGetParams
NewInternalV1StorageRegionsThresholdsGetParamsWithTimeout creates a new InternalV1StorageRegionsThresholdsGetParams object with the ability to set a timeout on a request.
func (*InternalV1StorageRegionsThresholdsGetParams) SetContext ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) SetDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsGetParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 storage regions thresholds get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsThresholdsGetParams) SetHTTPClient ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) SetRegionZoneID ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) SetRegionZoneID(regionZoneID string)
SetRegionZoneID adds the regionZoneId to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) SetTimeout ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) WithContext ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) WithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsGetParams
WithContext adds the context to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) WithDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsGetParams) WithDefaults() *InternalV1StorageRegionsThresholdsGetParams
WithDefaults hydrates default values in the internal v1 storage regions thresholds get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsThresholdsGetParams) WithHTTPClient ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsGetParams
WithHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) WithRegionZoneID ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsThresholdsGetParams
WithRegionZoneID adds the regionZoneID to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) WithTimeout ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsGetParams
WithTimeout adds the timeout to the internal v1 storage regions thresholds get params
func (*InternalV1StorageRegionsThresholdsGetParams) WriteToRequest ¶
func (o *InternalV1StorageRegionsThresholdsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1StorageRegionsThresholdsGetReader ¶
type InternalV1StorageRegionsThresholdsGetReader struct {
// contains filtered or unexported fields
}
InternalV1StorageRegionsThresholdsGetReader is a Reader for the InternalV1StorageRegionsThresholdsGet structure.
func (*InternalV1StorageRegionsThresholdsGetReader) ReadResponse ¶
func (o *InternalV1StorageRegionsThresholdsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1StorageRegionsThresholdsGetUnauthorized ¶
type InternalV1StorageRegionsThresholdsGetUnauthorized struct {
}InternalV1StorageRegionsThresholdsGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1StorageRegionsThresholdsGetUnauthorized ¶
func NewInternalV1StorageRegionsThresholdsGetUnauthorized() *InternalV1StorageRegionsThresholdsGetUnauthorized
NewInternalV1StorageRegionsThresholdsGetUnauthorized creates a InternalV1StorageRegionsThresholdsGetUnauthorized with default headers values
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) Code() int
Code gets the status code for the internal v1 storage regions thresholds get unauthorized response
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) Error ¶
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) Error() string
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds get unauthorized response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds get unauthorized response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds get unauthorized response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds get unauthorized response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds get unauthorized response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsGetUnauthorized) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsGetUnauthorized) String() string
type InternalV1StorageRegionsThresholdsPutAccepted ¶
type InternalV1StorageRegionsThresholdsPutAccepted struct {
Payload *models.Thresholds
}
InternalV1StorageRegionsThresholdsPutAccepted describes a response with status code 202, with default header values.
OK, region-zone default threshold settings update
func NewInternalV1StorageRegionsThresholdsPutAccepted ¶
func NewInternalV1StorageRegionsThresholdsPutAccepted() *InternalV1StorageRegionsThresholdsPutAccepted
NewInternalV1StorageRegionsThresholdsPutAccepted creates a InternalV1StorageRegionsThresholdsPutAccepted with default headers values
func (*InternalV1StorageRegionsThresholdsPutAccepted) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsPutAccepted) Code() int
Code gets the status code for the internal v1 storage regions thresholds put accepted response
func (*InternalV1StorageRegionsThresholdsPutAccepted) Error ¶
func (o *InternalV1StorageRegionsThresholdsPutAccepted) Error() string
func (*InternalV1StorageRegionsThresholdsPutAccepted) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutAccepted) GetPayload() *models.Thresholds
func (*InternalV1StorageRegionsThresholdsPutAccepted) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds put accepted response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsPutAccepted) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds put accepted response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsPutAccepted) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds put accepted response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsPutAccepted) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds put accepted response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsPutAccepted) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutAccepted) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds put accepted response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsPutAccepted) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutAccepted) String() string
type InternalV1StorageRegionsThresholdsPutBadRequest ¶
InternalV1StorageRegionsThresholdsPutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInternalV1StorageRegionsThresholdsPutBadRequest ¶
func NewInternalV1StorageRegionsThresholdsPutBadRequest() *InternalV1StorageRegionsThresholdsPutBadRequest
NewInternalV1StorageRegionsThresholdsPutBadRequest creates a InternalV1StorageRegionsThresholdsPutBadRequest with default headers values
func (*InternalV1StorageRegionsThresholdsPutBadRequest) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) Code() int
Code gets the status code for the internal v1 storage regions thresholds put bad request response
func (*InternalV1StorageRegionsThresholdsPutBadRequest) Error ¶
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) Error() string
func (*InternalV1StorageRegionsThresholdsPutBadRequest) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsPutBadRequest) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds put bad request response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsPutBadRequest) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds put bad request response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsPutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds put bad request response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsPutBadRequest) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds put bad request response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsPutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds put bad request response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsPutBadRequest) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutBadRequest) String() string
type InternalV1StorageRegionsThresholdsPutConflict ¶
InternalV1StorageRegionsThresholdsPutConflict describes a response with status code 409, with default header values.
Conflict
func NewInternalV1StorageRegionsThresholdsPutConflict ¶
func NewInternalV1StorageRegionsThresholdsPutConflict() *InternalV1StorageRegionsThresholdsPutConflict
NewInternalV1StorageRegionsThresholdsPutConflict creates a InternalV1StorageRegionsThresholdsPutConflict with default headers values
func (*InternalV1StorageRegionsThresholdsPutConflict) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsPutConflict) Code() int
Code gets the status code for the internal v1 storage regions thresholds put conflict response
func (*InternalV1StorageRegionsThresholdsPutConflict) Error ¶
func (o *InternalV1StorageRegionsThresholdsPutConflict) Error() string
func (*InternalV1StorageRegionsThresholdsPutConflict) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutConflict) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsPutConflict) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutConflict) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds put conflict response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsPutConflict) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutConflict) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds put conflict response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsPutConflict) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutConflict) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds put conflict response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsPutConflict) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutConflict) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds put conflict response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsPutConflict) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutConflict) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds put conflict response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsPutConflict) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutConflict) String() string
type InternalV1StorageRegionsThresholdsPutForbidden ¶
InternalV1StorageRegionsThresholdsPutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1StorageRegionsThresholdsPutForbidden ¶
func NewInternalV1StorageRegionsThresholdsPutForbidden() *InternalV1StorageRegionsThresholdsPutForbidden
NewInternalV1StorageRegionsThresholdsPutForbidden creates a InternalV1StorageRegionsThresholdsPutForbidden with default headers values
func (*InternalV1StorageRegionsThresholdsPutForbidden) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsPutForbidden) Code() int
Code gets the status code for the internal v1 storage regions thresholds put forbidden response
func (*InternalV1StorageRegionsThresholdsPutForbidden) Error ¶
func (o *InternalV1StorageRegionsThresholdsPutForbidden) Error() string
func (*InternalV1StorageRegionsThresholdsPutForbidden) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutForbidden) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsPutForbidden) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds put forbidden response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsPutForbidden) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds put forbidden response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsPutForbidden) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds put forbidden response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsPutForbidden) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds put forbidden response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsPutForbidden) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutForbidden) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds put forbidden response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsPutForbidden) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutForbidden) String() string
type InternalV1StorageRegionsThresholdsPutInternalServerError ¶
InternalV1StorageRegionsThresholdsPutInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1StorageRegionsThresholdsPutInternalServerError ¶
func NewInternalV1StorageRegionsThresholdsPutInternalServerError() *InternalV1StorageRegionsThresholdsPutInternalServerError
NewInternalV1StorageRegionsThresholdsPutInternalServerError creates a InternalV1StorageRegionsThresholdsPutInternalServerError with default headers values
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) Code() int
Code gets the status code for the internal v1 storage regions thresholds put internal server error response
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) Error ¶
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) Error() string
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds put internal server error response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds put internal server error response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds put internal server error response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds put internal server error response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds put internal server error response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsPutInternalServerError) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutInternalServerError) String() string
type InternalV1StorageRegionsThresholdsPutParams ¶
type InternalV1StorageRegionsThresholdsPutParams struct { /* Body. Parameters for updating default threshold settings for a region-zone */ Body *models.Thresholds /* RegionZoneID. ID of a Power Cloud Region Zone */ RegionZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1StorageRegionsThresholdsPutParams contains all the parameters to send to the API endpoint
for the internal v1 storage regions thresholds put operation. Typically these are written to a http.Request.
func NewInternalV1StorageRegionsThresholdsPutParams ¶
func NewInternalV1StorageRegionsThresholdsPutParams() *InternalV1StorageRegionsThresholdsPutParams
NewInternalV1StorageRegionsThresholdsPutParams creates a new InternalV1StorageRegionsThresholdsPutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInternalV1StorageRegionsThresholdsPutParamsWithContext ¶
func NewInternalV1StorageRegionsThresholdsPutParamsWithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsPutParams
NewInternalV1StorageRegionsThresholdsPutParamsWithContext creates a new InternalV1StorageRegionsThresholdsPutParams object with the ability to set a context for a request.
func NewInternalV1StorageRegionsThresholdsPutParamsWithHTTPClient ¶
func NewInternalV1StorageRegionsThresholdsPutParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsPutParams
NewInternalV1StorageRegionsThresholdsPutParamsWithHTTPClient creates a new InternalV1StorageRegionsThresholdsPutParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1StorageRegionsThresholdsPutParamsWithTimeout ¶
func NewInternalV1StorageRegionsThresholdsPutParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsPutParams
NewInternalV1StorageRegionsThresholdsPutParamsWithTimeout creates a new InternalV1StorageRegionsThresholdsPutParams object with the ability to set a timeout on a request.
func (*InternalV1StorageRegionsThresholdsPutParams) SetBody ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) SetBody(body *models.Thresholds)
SetBody adds the body to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) SetContext ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) SetDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 storage regions thresholds put params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsThresholdsPutParams) SetHTTPClient ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) SetRegionZoneID ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) SetRegionZoneID(regionZoneID string)
SetRegionZoneID adds the regionZoneId to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) SetTimeout ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) WithBody ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) WithBody(body *models.Thresholds) *InternalV1StorageRegionsThresholdsPutParams
WithBody adds the body to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) WithContext ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) WithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsPutParams
WithContext adds the context to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) WithDefaults ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutParams) WithDefaults() *InternalV1StorageRegionsThresholdsPutParams
WithDefaults hydrates default values in the internal v1 storage regions thresholds put params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1StorageRegionsThresholdsPutParams) WithHTTPClient ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) WithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsPutParams
WithHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) WithRegionZoneID ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) WithRegionZoneID(regionZoneID string) *InternalV1StorageRegionsThresholdsPutParams
WithRegionZoneID adds the regionZoneID to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) WithTimeout ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) WithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsPutParams
WithTimeout adds the timeout to the internal v1 storage regions thresholds put params
func (*InternalV1StorageRegionsThresholdsPutParams) WriteToRequest ¶
func (o *InternalV1StorageRegionsThresholdsPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1StorageRegionsThresholdsPutReader ¶
type InternalV1StorageRegionsThresholdsPutReader struct {
// contains filtered or unexported fields
}
InternalV1StorageRegionsThresholdsPutReader is a Reader for the InternalV1StorageRegionsThresholdsPut structure.
func (*InternalV1StorageRegionsThresholdsPutReader) ReadResponse ¶
func (o *InternalV1StorageRegionsThresholdsPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InternalV1StorageRegionsThresholdsPutUnauthorized ¶
type InternalV1StorageRegionsThresholdsPutUnauthorized struct {
}InternalV1StorageRegionsThresholdsPutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewInternalV1StorageRegionsThresholdsPutUnauthorized ¶
func NewInternalV1StorageRegionsThresholdsPutUnauthorized() *InternalV1StorageRegionsThresholdsPutUnauthorized
NewInternalV1StorageRegionsThresholdsPutUnauthorized creates a InternalV1StorageRegionsThresholdsPutUnauthorized with default headers values
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) Code() int
Code gets the status code for the internal v1 storage regions thresholds put unauthorized response
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) Error ¶
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) Error() string
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds put unauthorized response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds put unauthorized response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds put unauthorized response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds put unauthorized response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds put unauthorized response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsPutUnauthorized) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnauthorized) String() string
type InternalV1StorageRegionsThresholdsPutUnprocessableEntity ¶
InternalV1StorageRegionsThresholdsPutUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewInternalV1StorageRegionsThresholdsPutUnprocessableEntity ¶
func NewInternalV1StorageRegionsThresholdsPutUnprocessableEntity() *InternalV1StorageRegionsThresholdsPutUnprocessableEntity
NewInternalV1StorageRegionsThresholdsPutUnprocessableEntity creates a InternalV1StorageRegionsThresholdsPutUnprocessableEntity with default headers values
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Code ¶ added in v1.2.4
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Code() int
Code gets the status code for the internal v1 storage regions thresholds put unprocessable entity response
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Error ¶
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Error() string
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) GetPayload() *models.Error
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsClientError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsClientError() bool
IsClientError returns true when this internal v1 storage regions thresholds put unprocessable entity response has a 4xx status code
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsCode ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this internal v1 storage regions thresholds put unprocessable entity response a status code equal to that given
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsRedirect ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this internal v1 storage regions thresholds put unprocessable entity response has a 3xx status code
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsServerError ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsServerError() bool
IsServerError returns true when this internal v1 storage regions thresholds put unprocessable entity response has a 5xx status code
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsSuccess ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this internal v1 storage regions thresholds put unprocessable entity response has a 2xx status code
func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) String ¶ added in v1.2.2
func (o *InternalV1StorageRegionsThresholdsPutUnprocessableEntity) String() string
Source Files ¶
- internal_storage_regions_client.go
- internal_v1_storage_regions_storage_pools_get_parameters.go
- internal_v1_storage_regions_storage_pools_get_responses.go
- internal_v1_storage_regions_storage_pools_getall_parameters.go
- internal_v1_storage_regions_storage_pools_getall_responses.go
- internal_v1_storage_regions_storage_pools_put_parameters.go
- internal_v1_storage_regions_storage_pools_put_responses.go
- internal_v1_storage_regions_thresholds_get_parameters.go
- internal_v1_storage_regions_thresholds_get_responses.go
- internal_v1_storage_regions_thresholds_put_parameters.go
- internal_v1_storage_regions_thresholds_put_responses.go