Documentation
¶
Index ¶
- type Client
- func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAccepted, error)
- func (a *Client) CreateNewVersion(params *CreateNewVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateNewVersionAccepted, error)
- func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOK, error)
- func (a *Client) DeleteAll(params *DeleteAllParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAllOK, error)
- func (a *Client) GetByID(params *GetByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetByIDOK, error)
- func (a *Client) GetListByProjectID(params *GetListbyIdParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetListbyIdOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateAccepted
- func (o *CreateAccepted) Code() int
- func (o *CreateAccepted) Error() string
- func (o *CreateAccepted) GetPayload() *models.ZsrvResponse
- func (o *CreateAccepted) IsClientError() bool
- func (o *CreateAccepted) IsCode(code int) bool
- func (o *CreateAccepted) IsRedirect() bool
- func (o *CreateAccepted) IsServerError() bool
- func (o *CreateAccepted) IsSuccess() bool
- func (o *CreateAccepted) String() string
- type CreateDefault
- func (o *CreateDefault) Code() int
- func (o *CreateDefault) Error() string
- func (o *CreateDefault) GetPayload() *models.GooglerpcStatus
- func (o *CreateDefault) IsClientError() bool
- func (o *CreateDefault) IsCode(code int) bool
- func (o *CreateDefault) IsRedirect() bool
- func (o *CreateDefault) IsServerError() bool
- func (o *CreateDefault) IsSuccess() bool
- func (o *CreateDefault) String() string
- type CreateForbidden
- func (o *CreateForbidden) Code() int
- func (o *CreateForbidden) Error() string
- func (o *CreateForbidden) GetPayload() *models.ZsrvResponse
- func (o *CreateForbidden) IsClientError() bool
- func (o *CreateForbidden) IsCode(code int) bool
- func (o *CreateForbidden) IsRedirect() bool
- func (o *CreateForbidden) IsServerError() bool
- func (o *CreateForbidden) IsSuccess() bool
- func (o *CreateForbidden) String() string
- type CreateGatewayTimeout
- func (o *CreateGatewayTimeout) Code() int
- func (o *CreateGatewayTimeout) Error() string
- func (o *CreateGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *CreateGatewayTimeout) IsClientError() bool
- func (o *CreateGatewayTimeout) IsCode(code int) bool
- func (o *CreateGatewayTimeout) IsRedirect() bool
- func (o *CreateGatewayTimeout) IsServerError() bool
- func (o *CreateGatewayTimeout) IsSuccess() bool
- func (o *CreateGatewayTimeout) String() string
- type CreateInternalServerError
- func (o *CreateInternalServerError) Code() int
- func (o *CreateInternalServerError) Error() string
- func (o *CreateInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *CreateInternalServerError) IsClientError() bool
- func (o *CreateInternalServerError) IsCode(code int) bool
- func (o *CreateInternalServerError) IsRedirect() bool
- func (o *CreateInternalServerError) IsServerError() bool
- func (o *CreateInternalServerError) IsSuccess() bool
- func (o *CreateInternalServerError) String() string
- type CreateNewVersionAccepted
- func (o *CreateNewVersionAccepted) Code() int
- func (o *CreateNewVersionAccepted) Error() string
- func (o *CreateNewVersionAccepted) GetPayload() *models.ZsrvResponse
- func (o *CreateNewVersionAccepted) IsClientError() bool
- func (o *CreateNewVersionAccepted) IsCode(code int) bool
- func (o *CreateNewVersionAccepted) IsRedirect() bool
- func (o *CreateNewVersionAccepted) IsServerError() bool
- func (o *CreateNewVersionAccepted) IsSuccess() bool
- func (o *CreateNewVersionAccepted) String() string
- type CreateNewVersionBody
- type CreateNewVersionDefault
- func (o *CreateNewVersionDefault) Code() int
- func (o *CreateNewVersionDefault) Error() string
- func (o *CreateNewVersionDefault) GetPayload() *models.GooglerpcStatus
- func (o *CreateNewVersionDefault) IsClientError() bool
- func (o *CreateNewVersionDefault) IsCode(code int) bool
- func (o *CreateNewVersionDefault) IsRedirect() bool
- func (o *CreateNewVersionDefault) IsServerError() bool
- func (o *CreateNewVersionDefault) IsSuccess() bool
- func (o *CreateNewVersionDefault) String() string
- type CreateNewVersionForbidden
- func (o *CreateNewVersionForbidden) Code() int
- func (o *CreateNewVersionForbidden) Error() string
- func (o *CreateNewVersionForbidden) GetPayload() *models.ZsrvResponse
- func (o *CreateNewVersionForbidden) IsClientError() bool
- func (o *CreateNewVersionForbidden) IsCode(code int) bool
- func (o *CreateNewVersionForbidden) IsRedirect() bool
- func (o *CreateNewVersionForbidden) IsServerError() bool
- func (o *CreateNewVersionForbidden) IsSuccess() bool
- func (o *CreateNewVersionForbidden) String() string
- type CreateNewVersionGatewayTimeout
- func (o *CreateNewVersionGatewayTimeout) Code() int
- func (o *CreateNewVersionGatewayTimeout) Error() string
- func (o *CreateNewVersionGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *CreateNewVersionGatewayTimeout) IsClientError() bool
- func (o *CreateNewVersionGatewayTimeout) IsCode(code int) bool
- func (o *CreateNewVersionGatewayTimeout) IsRedirect() bool
- func (o *CreateNewVersionGatewayTimeout) IsServerError() bool
- func (o *CreateNewVersionGatewayTimeout) IsSuccess() bool
- func (o *CreateNewVersionGatewayTimeout) String() string
- type CreateNewVersionInternalServerError
- func (o *CreateNewVersionInternalServerError) Code() int
- func (o *CreateNewVersionInternalServerError) Error() string
- func (o *CreateNewVersionInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *CreateNewVersionInternalServerError) IsClientError() bool
- func (o *CreateNewVersionInternalServerError) IsCode(code int) bool
- func (o *CreateNewVersionInternalServerError) IsRedirect() bool
- func (o *CreateNewVersionInternalServerError) IsServerError() bool
- func (o *CreateNewVersionInternalServerError) IsSuccess() bool
- func (o *CreateNewVersionInternalServerError) String() string
- type CreateNewVersionOK
- func (o *CreateNewVersionOK) Code() int
- func (o *CreateNewVersionOK) Error() string
- func (o *CreateNewVersionOK) GetPayload() *models.ZsrvResponse
- func (o *CreateNewVersionOK) IsClientError() bool
- func (o *CreateNewVersionOK) IsCode(code int) bool
- func (o *CreateNewVersionOK) IsRedirect() bool
- func (o *CreateNewVersionOK) IsServerError() bool
- func (o *CreateNewVersionOK) IsSuccess() bool
- func (o *CreateNewVersionOK) String() string
- type CreateNewVersionParams
- func NewCreateNewVersionParams() *CreateNewVersionParams
- func NewCreateNewVersionParamsWithContext(ctx context.Context) *CreateNewVersionParams
- func NewCreateNewVersionParamsWithHTTPClient(client *http.Client) *CreateNewVersionParams
- func NewCreateNewVersionParamsWithTimeout(timeout time.Duration) *CreateNewVersionParams
- func (o *CreateNewVersionParams) SetBody(body *models.Deployment)
- func (o *CreateNewVersionParams) SetContext(ctx context.Context)
- func (o *CreateNewVersionParams) SetDefaults()
- func (o *CreateNewVersionParams) SetHTTPClient(client *http.Client)
- func (o *CreateNewVersionParams) SetID(id string)
- func (o *CreateNewVersionParams) SetProjectID(projectID string)
- func (o *CreateNewVersionParams) SetTimeout(timeout time.Duration)
- func (o *CreateNewVersionParams) SetXRequestID(xRequestID *string)
- func (o *CreateNewVersionParams) WithBody(body *models.Deployment) *CreateNewVersionParams
- func (o *CreateNewVersionParams) WithContext(ctx context.Context) *CreateNewVersionParams
- func (o *CreateNewVersionParams) WithDefaults() *CreateNewVersionParams
- func (o *CreateNewVersionParams) WithHTTPClient(client *http.Client) *CreateNewVersionParams
- func (o *CreateNewVersionParams) WithID(id string) *CreateNewVersionParams
- func (o *CreateNewVersionParams) WithProjectID(projectID string) *CreateNewVersionParams
- func (o *CreateNewVersionParams) WithTimeout(timeout time.Duration) *CreateNewVersionParams
- func (o *CreateNewVersionParams) WithXRequestID(xRequestID *string) *CreateNewVersionParams
- func (o *CreateNewVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNewVersionReader
- type CreateNewVersionUnauthorized
- func (o *CreateNewVersionUnauthorized) Code() int
- func (o *CreateNewVersionUnauthorized) Error() string
- func (o *CreateNewVersionUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *CreateNewVersionUnauthorized) IsClientError() bool
- func (o *CreateNewVersionUnauthorized) IsCode(code int) bool
- func (o *CreateNewVersionUnauthorized) IsRedirect() bool
- func (o *CreateNewVersionUnauthorized) IsServerError() bool
- func (o *CreateNewVersionUnauthorized) IsSuccess() bool
- func (o *CreateNewVersionUnauthorized) String() string
- type CreateParams
- func (o *CreateParams) SetBody(body *models.Deployment)
- func (o *CreateParams) SetContext(ctx context.Context)
- func (o *CreateParams) SetDefaults()
- func (o *CreateParams) SetHTTPClient(client *http.Client)
- func (o *CreateParams) SetProjectID(projectID string)
- func (o *CreateParams) SetTimeout(timeout time.Duration)
- func (o *CreateParams) SetXRequestID(xRequestID *string)
- func (o *CreateParams) WithBody(body *models.Deployment) *CreateParams
- func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
- func (o *CreateParams) WithDefaults() *CreateParams
- func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
- func (o *CreateParams) WithProjectID(projectID string) *CreateParams
- func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
- func (o *CreateParams) WithXRequestID(xRequestID *string) *CreateParams
- func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReader
- type CreateUnauthorized
- func (o *CreateUnauthorized) Code() int
- func (o *CreateUnauthorized) Error() string
- func (o *CreateUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *CreateUnauthorized) IsClientError() bool
- func (o *CreateUnauthorized) IsCode(code int) bool
- func (o *CreateUnauthorized) IsRedirect() bool
- func (o *CreateUnauthorized) IsServerError() bool
- func (o *CreateUnauthorized) IsSuccess() bool
- func (o *CreateUnauthorized) String() string
- type DeleteAllDefault
- func (o *DeleteAllDefault) Code() int
- func (o *DeleteAllDefault) Error() string
- func (o *DeleteAllDefault) GetPayload() *models.GooglerpcStatus
- func (o *DeleteAllDefault) IsClientError() bool
- func (o *DeleteAllDefault) IsCode(code int) bool
- func (o *DeleteAllDefault) IsRedirect() bool
- func (o *DeleteAllDefault) IsServerError() bool
- func (o *DeleteAllDefault) IsSuccess() bool
- func (o *DeleteAllDefault) String() string
- type DeleteAllForbidden
- func (o *DeleteAllForbidden) Code() int
- func (o *DeleteAllForbidden) Error() string
- func (o *DeleteAllForbidden) GetPayload() *models.ZsrvResponse
- func (o *DeleteAllForbidden) IsClientError() bool
- func (o *DeleteAllForbidden) IsCode(code int) bool
- func (o *DeleteAllForbidden) IsRedirect() bool
- func (o *DeleteAllForbidden) IsServerError() bool
- func (o *DeleteAllForbidden) IsSuccess() bool
- func (o *DeleteAllForbidden) String() string
- type DeleteAllGatewayTimeout
- func (o *DeleteAllGatewayTimeout) Code() int
- func (o *DeleteAllGatewayTimeout) Error() string
- func (o *DeleteAllGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *DeleteAllGatewayTimeout) IsClientError() bool
- func (o *DeleteAllGatewayTimeout) IsCode(code int) bool
- func (o *DeleteAllGatewayTimeout) IsRedirect() bool
- func (o *DeleteAllGatewayTimeout) IsServerError() bool
- func (o *DeleteAllGatewayTimeout) IsSuccess() bool
- func (o *DeleteAllGatewayTimeout) String() string
- type DeleteAllInternalServerError
- func (o *DeleteAllInternalServerError) Code() int
- func (o *DeleteAllInternalServerError) Error() string
- func (o *DeleteAllInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *DeleteAllInternalServerError) IsClientError() bool
- func (o *DeleteAllInternalServerError) IsCode(code int) bool
- func (o *DeleteAllInternalServerError) IsRedirect() bool
- func (o *DeleteAllInternalServerError) IsServerError() bool
- func (o *DeleteAllInternalServerError) IsSuccess() bool
- func (o *DeleteAllInternalServerError) String() string
- type DeleteAllOK
- func (o *DeleteAllOK) Code() int
- func (o *DeleteAllOK) Error() string
- func (o *DeleteAllOK) GetPayload() *models.ZsrvResponse
- func (o *DeleteAllOK) IsClientError() bool
- func (o *DeleteAllOK) IsCode(code int) bool
- func (o *DeleteAllOK) IsRedirect() bool
- func (o *DeleteAllOK) IsServerError() bool
- func (o *DeleteAllOK) IsSuccess() bool
- func (o *DeleteAllOK) String() string
- type DeleteAllParams
- func (o *DeleteAllParams) SetContext(ctx context.Context)
- func (o *DeleteAllParams) SetDefaults()
- func (o *DeleteAllParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAllParams) SetProjectID(projectID string)
- func (o *DeleteAllParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAllParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAllParams) WithContext(ctx context.Context) *DeleteAllParams
- func (o *DeleteAllParams) WithDefaults() *DeleteAllParams
- func (o *DeleteAllParams) WithHTTPClient(client *http.Client) *DeleteAllParams
- func (o *DeleteAllParams) WithProjectID(projectID string) *DeleteAllParams
- func (o *DeleteAllParams) WithTimeout(timeout time.Duration) *DeleteAllParams
- func (o *DeleteAllParams) WithXRequestID(xRequestID *string) *DeleteAllParams
- func (o *DeleteAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAllReader
- type DeleteAllUnauthorized
- func (o *DeleteAllUnauthorized) Code() int
- func (o *DeleteAllUnauthorized) Error() string
- func (o *DeleteAllUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *DeleteAllUnauthorized) IsClientError() bool
- func (o *DeleteAllUnauthorized) IsCode(code int) bool
- func (o *DeleteAllUnauthorized) IsRedirect() bool
- func (o *DeleteAllUnauthorized) IsServerError() bool
- func (o *DeleteAllUnauthorized) IsSuccess() bool
- func (o *DeleteAllUnauthorized) String() string
- type DeleteDefault
- func (o *DeleteDefault) Code() int
- func (o *DeleteDefault) Error() string
- func (o *DeleteDefault) GetPayload() *models.GooglerpcStatus
- func (o *DeleteDefault) IsClientError() bool
- func (o *DeleteDefault) IsCode(code int) bool
- func (o *DeleteDefault) IsRedirect() bool
- func (o *DeleteDefault) IsServerError() bool
- func (o *DeleteDefault) IsSuccess() bool
- func (o *DeleteDefault) String() string
- type DeleteForbidden
- func (o *DeleteForbidden) Code() int
- func (o *DeleteForbidden) Error() string
- func (o *DeleteForbidden) GetPayload() *models.ZsrvResponse
- func (o *DeleteForbidden) IsClientError() bool
- func (o *DeleteForbidden) IsCode(code int) bool
- func (o *DeleteForbidden) IsRedirect() bool
- func (o *DeleteForbidden) IsServerError() bool
- func (o *DeleteForbidden) IsSuccess() bool
- func (o *DeleteForbidden) String() string
- type DeleteGatewayTimeout
- func (o *DeleteGatewayTimeout) Code() int
- func (o *DeleteGatewayTimeout) Error() string
- func (o *DeleteGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *DeleteGatewayTimeout) IsClientError() bool
- func (o *DeleteGatewayTimeout) IsCode(code int) bool
- func (o *DeleteGatewayTimeout) IsRedirect() bool
- func (o *DeleteGatewayTimeout) IsServerError() bool
- func (o *DeleteGatewayTimeout) IsSuccess() bool
- func (o *DeleteGatewayTimeout) String() string
- type DeleteInternalServerError
- func (o *DeleteInternalServerError) Code() int
- func (o *DeleteInternalServerError) Error() string
- func (o *DeleteInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *DeleteInternalServerError) IsClientError() bool
- func (o *DeleteInternalServerError) IsCode(code int) bool
- func (o *DeleteInternalServerError) IsRedirect() bool
- func (o *DeleteInternalServerError) IsServerError() bool
- func (o *DeleteInternalServerError) IsSuccess() bool
- func (o *DeleteInternalServerError) String() string
- type DeleteOK
- func (o *DeleteOK) Code() int
- func (o *DeleteOK) Error() string
- func (o *DeleteOK) GetPayload() *models.ZsrvResponse
- func (o *DeleteOK) IsClientError() bool
- func (o *DeleteOK) IsCode(code int) bool
- func (o *DeleteOK) IsRedirect() bool
- func (o *DeleteOK) IsServerError() bool
- func (o *DeleteOK) IsSuccess() bool
- func (o *DeleteOK) String() string
- type DeleteParams
- func (o *DeleteParams) SetContext(ctx context.Context)
- func (o *DeleteParams) SetDefaults()
- func (o *DeleteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteParams) SetID(id string)
- func (o *DeleteParams) SetProjectID(projectID string)
- func (o *DeleteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteParams) SetXRequestID(xRequestID *string)
- func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
- func (o *DeleteParams) WithDefaults() *DeleteParams
- func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
- func (o *DeleteParams) WithID(id string) *DeleteParams
- func (o *DeleteParams) WithProjectID(projectID string) *DeleteParams
- func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
- func (o *DeleteParams) WithXRequestID(xRequestID *string) *DeleteParams
- func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReader
- type DeleteUnauthorized
- func (o *DeleteUnauthorized) Code() int
- func (o *DeleteUnauthorized) Error() string
- func (o *DeleteUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *DeleteUnauthorized) IsClientError() bool
- func (o *DeleteUnauthorized) IsCode(code int) bool
- func (o *DeleteUnauthorized) IsRedirect() bool
- func (o *DeleteUnauthorized) IsServerError() bool
- func (o *DeleteUnauthorized) IsSuccess() bool
- func (o *DeleteUnauthorized) String() string
- type GetByIDDefault
- func (o *GetByIDDefault) Code() int
- func (o *GetByIDDefault) Error() string
- func (o *GetByIDDefault) GetPayload() *models.GooglerpcStatus
- func (o *GetByIDDefault) IsClientError() bool
- func (o *GetByIDDefault) IsCode(code int) bool
- func (o *GetByIDDefault) IsRedirect() bool
- func (o *GetByIDDefault) IsServerError() bool
- func (o *GetByIDDefault) IsSuccess() bool
- func (o *GetByIDDefault) String() string
- type GetByIDForbidden
- func (o *GetByIDForbidden) Code() int
- func (o *GetByIDForbidden) Error() string
- func (o *GetByIDForbidden) GetPayload() *models.ZsrvResponse
- func (o *GetByIDForbidden) IsClientError() bool
- func (o *GetByIDForbidden) IsCode(code int) bool
- func (o *GetByIDForbidden) IsRedirect() bool
- func (o *GetByIDForbidden) IsServerError() bool
- func (o *GetByIDForbidden) IsSuccess() bool
- func (o *GetByIDForbidden) String() string
- type GetByIDGatewayTimeout
- func (o *GetByIDGatewayTimeout) Code() int
- func (o *GetByIDGatewayTimeout) Error() string
- func (o *GetByIDGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *GetByIDGatewayTimeout) IsClientError() bool
- func (o *GetByIDGatewayTimeout) IsCode(code int) bool
- func (o *GetByIDGatewayTimeout) IsRedirect() bool
- func (o *GetByIDGatewayTimeout) IsServerError() bool
- func (o *GetByIDGatewayTimeout) IsSuccess() bool
- func (o *GetByIDGatewayTimeout) String() string
- type GetByIDInternalServerError
- func (o *GetByIDInternalServerError) Code() int
- func (o *GetByIDInternalServerError) Error() string
- func (o *GetByIDInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *GetByIDInternalServerError) IsClientError() bool
- func (o *GetByIDInternalServerError) IsCode(code int) bool
- func (o *GetByIDInternalServerError) IsRedirect() bool
- func (o *GetByIDInternalServerError) IsServerError() bool
- func (o *GetByIDInternalServerError) IsSuccess() bool
- func (o *GetByIDInternalServerError) String() string
- type GetByIDNotFound
- func (o *GetByIDNotFound) Code() int
- func (o *GetByIDNotFound) Error() string
- func (o *GetByIDNotFound) GetPayload() *models.ZsrvResponse
- func (o *GetByIDNotFound) IsClientError() bool
- func (o *GetByIDNotFound) IsCode(code int) bool
- func (o *GetByIDNotFound) IsRedirect() bool
- func (o *GetByIDNotFound) IsServerError() bool
- func (o *GetByIDNotFound) IsSuccess() bool
- func (o *GetByIDNotFound) String() string
- type GetByIDOK
- func (o *GetByIDOK) Code() int
- func (o *GetByIDOK) Error() string
- func (o *GetByIDOK) GetPayload() *models.Deployment
- func (o *GetByIDOK) IsClientError() bool
- func (o *GetByIDOK) IsCode(code int) bool
- func (o *GetByIDOK) IsRedirect() bool
- func (o *GetByIDOK) IsServerError() bool
- func (o *GetByIDOK) IsSuccess() bool
- func (o *GetByIDOK) String() string
- type GetByIDParams
- func (o *GetByIDParams) SetContext(ctx context.Context)
- func (o *GetByIDParams) SetDefaults()
- func (o *GetByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetByIDParams) SetID(id string)
- func (o *GetByIDParams) SetProjectID(projectID string)
- func (o *GetByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetByIDParams) SetXRequestID(xRequestID *string)
- func (o *GetByIDParams) WithContext(ctx context.Context) *GetByIDParams
- func (o *GetByIDParams) WithDefaults() *GetByIDParams
- func (o *GetByIDParams) WithHTTPClient(client *http.Client) *GetByIDParams
- func (o *GetByIDParams) WithID(id string) *GetByIDParams
- func (o *GetByIDParams) WithProjectID(projectID string) *GetByIDParams
- func (o *GetByIDParams) WithTimeout(timeout time.Duration) *GetByIDParams
- func (o *GetByIDParams) WithXRequestID(xRequestID *string) *GetByIDParams
- func (o *GetByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetByIDReader
- type GetByIDUnauthorized
- func (o *GetByIDUnauthorized) Code() int
- func (o *GetByIDUnauthorized) Error() string
- func (o *GetByIDUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *GetByIDUnauthorized) IsClientError() bool
- func (o *GetByIDUnauthorized) IsCode(code int) bool
- func (o *GetByIDUnauthorized) IsRedirect() bool
- func (o *GetByIDUnauthorized) IsServerError() bool
- func (o *GetByIDUnauthorized) IsSuccess() bool
- func (o *GetByIDUnauthorized) String() string
- type GetListbyIdDefault
- func (o *GetListbyIdDefault) Code() int
- func (o *GetListbyIdDefault) Error() string
- func (o *GetListbyIdDefault) GetPayload() *models.GooglerpcStatus
- func (o *GetListbyIdDefault) IsClientError() bool
- func (o *GetListbyIdDefault) IsCode(code int) bool
- func (o *GetListbyIdDefault) IsRedirect() bool
- func (o *GetListbyIdDefault) IsServerError() bool
- func (o *GetListbyIdDefault) IsSuccess() bool
- func (o *GetListbyIdDefault) String() string
- type GetListbyIdForbidden
- func (o *GetListbyIdForbidden) Code() int
- func (o *GetListbyIdForbidden) Error() string
- func (o *GetListbyIdForbidden) GetPayload() *models.ZsrvResponse
- func (o *GetListbyIdForbidden) IsClientError() bool
- func (o *GetListbyIdForbidden) IsCode(code int) bool
- func (o *GetListbyIdForbidden) IsRedirect() bool
- func (o *GetListbyIdForbidden) IsServerError() bool
- func (o *GetListbyIdForbidden) IsSuccess() bool
- func (o *GetListbyIdForbidden) String() string
- type GetListbyIdGatewayTimeout
- func (o *GetListbyIdGatewayTimeout) Code() int
- func (o *GetListbyIdGatewayTimeout) Error() string
- func (o *GetListbyIdGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *GetListbyIdGatewayTimeout) IsClientError() bool
- func (o *GetListbyIdGatewayTimeout) IsCode(code int) bool
- func (o *GetListbyIdGatewayTimeout) IsRedirect() bool
- func (o *GetListbyIdGatewayTimeout) IsServerError() bool
- func (o *GetListbyIdGatewayTimeout) IsSuccess() bool
- func (o *GetListbyIdGatewayTimeout) String() string
- type GetListbyIdInternalServerError
- func (o *GetListbyIdInternalServerError) Code() int
- func (o *GetListbyIdInternalServerError) Error() string
- func (o *GetListbyIdInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *GetListbyIdInternalServerError) IsClientError() bool
- func (o *GetListbyIdInternalServerError) IsCode(code int) bool
- func (o *GetListbyIdInternalServerError) IsRedirect() bool
- func (o *GetListbyIdInternalServerError) IsServerError() bool
- func (o *GetListbyIdInternalServerError) IsSuccess() bool
- func (o *GetListbyIdInternalServerError) String() string
- type GetListbyIdOK
- func (o *GetListbyIdOK) Code() int
- func (o *GetListbyIdOK) Error() string
- func (o *GetListbyIdOK) GetPayload() *models.Deployments
- func (o *GetListbyIdOK) IsClientError() bool
- func (o *GetListbyIdOK) IsCode(code int) bool
- func (o *GetListbyIdOK) IsRedirect() bool
- func (o *GetListbyIdOK) IsServerError() bool
- func (o *GetListbyIdOK) IsSuccess() bool
- func (o *GetListbyIdOK) String() string
- type GetListbyIdParams
- func (o *GetListbyIdParams) SetContext(ctx context.Context)
- func (o *GetListbyIdParams) SetDefaults()
- func (o *GetListbyIdParams) SetHTTPClient(client *http.Client)
- func (o *GetListbyIdParams) SetProjectID(projectID string)
- func (o *GetListbyIdParams) SetTimeout(timeout time.Duration)
- func (o *GetListbyIdParams) SetXRequestID(xRequestID *string)
- func (o *GetListbyIdParams) WithContext(ctx context.Context) *GetListbyIdParams
- func (o *GetListbyIdParams) WithDefaults() *GetListbyIdParams
- func (o *GetListbyIdParams) WithHTTPClient(client *http.Client) *GetListbyIdParams
- func (o *GetListbyIdParams) WithProjectID(projectID string) *GetListbyIdParams
- func (o *GetListbyIdParams) WithTimeout(timeout time.Duration) *GetListbyIdParams
- func (o *GetListbyIdParams) WithXRequestID(xRequestID *string) *GetListbyIdParams
- func (o *GetListbyIdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListbyIdReader
- type GetListbyIdUnauthorized
- func (o *GetListbyIdUnauthorized) Code() int
- func (o *GetListbyIdUnauthorized) Error() string
- func (o *GetListbyIdUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *GetListbyIdUnauthorized) IsClientError() bool
- func (o *GetListbyIdUnauthorized) IsCode(code int) bool
- func (o *GetListbyIdUnauthorized) IsRedirect() bool
- func (o *GetListbyIdUnauthorized) IsServerError() bool
- func (o *GetListbyIdUnauthorized) IsSuccess() bool
- func (o *GetListbyIdUnauthorized) 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 resource group API
func (*Client) Create ¶
func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccepted, error)
Create creates resource group
v2 API to create a resource group record.
func (*Client) CreateNewVersion ¶
func (a *Client) CreateNewVersion(params *CreateNewVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNewVersionAccepted, error)
CreateNewVersion creates a new version of deployment in a project
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error)
Delete deletes deployment in a project
v2 API to delete a specific deployment in a project by project ID and deployment ID.
func (*Client) DeleteAll ¶
func (a *Client) DeleteAll(params *DeleteAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAllOK, error)
DeleteAll deletes all deployments in a project
v2 API to delete all deployments in a project by project ID.
func (*Client) GetByID ¶
func (a *Client) GetByID(params *GetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByIDOK, error)
GetByID gets specific deployment status in a project by project ID and deployment ID
v2 API to get project status by project ID
func (*Client) GetListByProjectID ¶
func (a *Client) GetListByProjectID(params *GetListbyIdParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListbyIdOK, error)
GetListByProjectID gets deployment list in a project by ID
v2 API to get deployment list by project ID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccepted, error)
DeleteAll(params *DeleteAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAllOK, error)
Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error)
GetByID(params *GetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByIDOK, error)
GetListByProjectID(params *GetListbyIdParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListbyIdOK, error)
CreateNewVersion(params *CreateNewVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNewVersionAccepted, 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 resource group API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new resource group API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new resource group API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateAccepted ¶
type CreateAccepted struct {
Payload *models.ZsrvResponse
}
CreateAccepted describes a response with status code 202, with default header values.
Accepted. The API gateway accepted the request and will process it asynchronously.
func NewCreateAccepted ¶
func NewCreateAccepted() *CreateAccepted
NewCreateAccepted creates a CreateAccepted with default headers values
func (*CreateAccepted) Code ¶
func (o *CreateAccepted) Code() int
Code gets the status code for the resource group create deployment accepted response
func (*CreateAccepted) Error ¶
func (o *CreateAccepted) Error() string
func (*CreateAccepted) GetPayload ¶
func (o *CreateAccepted) GetPayload() *models.ZsrvResponse
func (*CreateAccepted) IsClientError ¶
func (o *CreateAccepted) IsClientError() bool
IsClientError returns true when this resource group create deployment accepted response has a 4xx status code
func (*CreateAccepted) IsCode ¶
func (o *CreateAccepted) IsCode(code int) bool
IsCode returns true when this resource group create deployment accepted response a status code equal to that given
func (*CreateAccepted) IsRedirect ¶
func (o *CreateAccepted) IsRedirect() bool
IsRedirect returns true when this resource group create deployment accepted response has a 3xx status code
func (*CreateAccepted) IsServerError ¶
func (o *CreateAccepted) IsServerError() bool
IsServerError returns true when this resource group create deployment accepted response has a 5xx status code
func (*CreateAccepted) IsSuccess ¶
func (o *CreateAccepted) IsSuccess() bool
IsSuccess returns true when this resource group create deployment accepted response has a 2xx status code
func (*CreateAccepted) String ¶
func (o *CreateAccepted) String() string
type CreateDefault ¶
type CreateDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
CreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateDefault ¶
func NewCreateDefault(code int) *CreateDefault
NewCreateDefault creates a CreateDefault with default headers values
func (*CreateDefault) Code ¶
func (o *CreateDefault) Code() int
Code gets the status code for the resource group create deployment default response
func (*CreateDefault) Error ¶
func (o *CreateDefault) Error() string
func (*CreateDefault) GetPayload ¶
func (o *CreateDefault) GetPayload() *models.GooglerpcStatus
func (*CreateDefault) IsClientError ¶
func (o *CreateDefault) IsClientError() bool
IsClientError returns true when this resource group create deployment default response has a 4xx status code
func (*CreateDefault) IsCode ¶
func (o *CreateDefault) IsCode(code int) bool
IsCode returns true when this resource group create deployment default response a status code equal to that given
func (*CreateDefault) IsRedirect ¶
func (o *CreateDefault) IsRedirect() bool
IsRedirect returns true when this resource group create deployment default response has a 3xx status code
func (*CreateDefault) IsServerError ¶
func (o *CreateDefault) IsServerError() bool
IsServerError returns true when this resource group create deployment default response has a 5xx status code
func (*CreateDefault) IsSuccess ¶
func (o *CreateDefault) IsSuccess() bool
IsSuccess returns true when this resource group create deployment default response has a 2xx status code
func (*CreateDefault) String ¶
func (o *CreateDefault) String() string
type CreateForbidden ¶
type CreateForbidden struct {
Payload *models.ZsrvResponse
}
CreateForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewCreateForbidden ¶
func NewCreateForbidden() *CreateForbidden
NewCreateForbidden creates a CreateForbidden with default headers values
func (*CreateForbidden) Code ¶
func (o *CreateForbidden) Code() int
Code gets the status code for the resource group create deployment forbidden response
func (*CreateForbidden) Error ¶
func (o *CreateForbidden) Error() string
func (*CreateForbidden) GetPayload ¶
func (o *CreateForbidden) GetPayload() *models.ZsrvResponse
func (*CreateForbidden) IsClientError ¶
func (o *CreateForbidden) IsClientError() bool
IsClientError returns true when this resource group create deployment forbidden response has a 4xx status code
func (*CreateForbidden) IsCode ¶
func (o *CreateForbidden) IsCode(code int) bool
IsCode returns true when this resource group create deployment forbidden response a status code equal to that given
func (*CreateForbidden) IsRedirect ¶
func (o *CreateForbidden) IsRedirect() bool
IsRedirect returns true when this resource group create deployment forbidden response has a 3xx status code
func (*CreateForbidden) IsServerError ¶
func (o *CreateForbidden) IsServerError() bool
IsServerError returns true when this resource group create deployment forbidden response has a 5xx status code
func (*CreateForbidden) IsSuccess ¶
func (o *CreateForbidden) IsSuccess() bool
IsSuccess returns true when this resource group create deployment forbidden response has a 2xx status code
func (*CreateForbidden) String ¶
func (o *CreateForbidden) String() string
type CreateGatewayTimeout ¶
type CreateGatewayTimeout struct {
Payload *models.ZsrvResponse
}
CreateGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewCreateGatewayTimeout ¶
func NewCreateGatewayTimeout() *CreateGatewayTimeout
NewCreateGatewayTimeout creates a CreateGatewayTimeout with default headers values
func (*CreateGatewayTimeout) Code ¶
func (o *CreateGatewayTimeout) Code() int
Code gets the status code for the resource group create deployment gateway timeout response
func (*CreateGatewayTimeout) Error ¶
func (o *CreateGatewayTimeout) Error() string
func (*CreateGatewayTimeout) GetPayload ¶
func (o *CreateGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*CreateGatewayTimeout) IsClientError ¶
func (o *CreateGatewayTimeout) IsClientError() bool
IsClientError returns true when this resource group create deployment gateway timeout response has a 4xx status code
func (*CreateGatewayTimeout) IsCode ¶
func (o *CreateGatewayTimeout) IsCode(code int) bool
IsCode returns true when this resource group create deployment gateway timeout response a status code equal to that given
func (*CreateGatewayTimeout) IsRedirect ¶
func (o *CreateGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this resource group create deployment gateway timeout response has a 3xx status code
func (*CreateGatewayTimeout) IsServerError ¶
func (o *CreateGatewayTimeout) IsServerError() bool
IsServerError returns true when this resource group create deployment gateway timeout response has a 5xx status code
func (*CreateGatewayTimeout) IsSuccess ¶
func (o *CreateGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this resource group create deployment gateway timeout response has a 2xx status code
func (*CreateGatewayTimeout) String ¶
func (o *CreateGatewayTimeout) String() string
type CreateInternalServerError ¶
type CreateInternalServerError struct {
Payload *models.ZsrvResponse
}
CreateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewCreateInternalServerError ¶
func NewCreateInternalServerError() *CreateInternalServerError
NewCreateInternalServerError creates a CreateInternalServerError with default headers values
func (*CreateInternalServerError) Code ¶
func (o *CreateInternalServerError) Code() int
Code gets the status code for the resource group create deployment internal server error response
func (*CreateInternalServerError) Error ¶
func (o *CreateInternalServerError) Error() string
func (*CreateInternalServerError) GetPayload ¶
func (o *CreateInternalServerError) GetPayload() *models.ZsrvResponse
func (*CreateInternalServerError) IsClientError ¶
func (o *CreateInternalServerError) IsClientError() bool
IsClientError returns true when this resource group create deployment internal server error response has a 4xx status code
func (*CreateInternalServerError) IsCode ¶
func (o *CreateInternalServerError) IsCode(code int) bool
IsCode returns true when this resource group create deployment internal server error response a status code equal to that given
func (*CreateInternalServerError) IsRedirect ¶
func (o *CreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this resource group create deployment internal server error response has a 3xx status code
func (*CreateInternalServerError) IsServerError ¶
func (o *CreateInternalServerError) IsServerError() bool
IsServerError returns true when this resource group create deployment internal server error response has a 5xx status code
func (*CreateInternalServerError) IsSuccess ¶
func (o *CreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this resource group create deployment internal server error response has a 2xx status code
func (*CreateInternalServerError) String ¶
func (o *CreateInternalServerError) String() string
type CreateNewVersionAccepted ¶
type CreateNewVersionAccepted struct {
Payload *models.ZsrvResponse
}
CreateNewVersionAccepted describes a response with status code 202, with default header values.
Accepted. The API gateway accepted the request and will process it asynchronously.
func NewCreateNewVersionAccepted ¶
func NewCreateNewVersionAccepted() *CreateNewVersionAccepted
NewCreateNewVersionAccepted creates a CreateNewVersionAccepted with default headers values
func (*CreateNewVersionAccepted) Code ¶
func (o *CreateNewVersionAccepted) Code() int
Code gets the status code for the resource group create deployment accepted response
func (*CreateNewVersionAccepted) Error ¶
func (o *CreateNewVersionAccepted) Error() string
func (*CreateNewVersionAccepted) GetPayload ¶
func (o *CreateNewVersionAccepted) GetPayload() *models.ZsrvResponse
func (*CreateNewVersionAccepted) IsClientError ¶
func (o *CreateNewVersionAccepted) IsClientError() bool
IsClientError returns true when this resource group create deployment accepted response has a 4xx status code
func (*CreateNewVersionAccepted) IsCode ¶
func (o *CreateNewVersionAccepted) IsCode(code int) bool
IsCode returns true when this resource group create deployment accepted response a status code equal to that given
func (*CreateNewVersionAccepted) IsRedirect ¶
func (o *CreateNewVersionAccepted) IsRedirect() bool
IsRedirect returns true when this resource group create deployment accepted response has a 3xx status code
func (*CreateNewVersionAccepted) IsServerError ¶
func (o *CreateNewVersionAccepted) IsServerError() bool
IsServerError returns true when this resource group create deployment accepted response has a 5xx status code
func (*CreateNewVersionAccepted) IsSuccess ¶
func (o *CreateNewVersionAccepted) IsSuccess() bool
IsSuccess returns true when this resource group create deployment accepted response has a 2xx status code
func (*CreateNewVersionAccepted) String ¶
func (o *CreateNewVersionAccepted) String() string
type CreateNewVersionBody ¶
type CreateNewVersionBody struct {
// list of app instance policies
AppInstPolicies []*models.AppInstPolicy `json:"appInstPolicies"`
// cluster policy details
ClusterPolicy *models.ClusterInstPolicy `json:"clusterPolicy,omitempty"`
// user defined tag for the deployment, which is used while targeting set of devices
DeploymentTag string `json:"deploymentTag,omitempty"`
// list of device policies
DevicePolicies []*models.DevicePolicy `json:"devicePolicies"`
// edge view policy details
EdgeviewPolicy *models.EdgeViewPolicy `json:"edgeviewPolicy,omitempty"`
// integration policy details
IntegrationPolicy *models.IntegrationPolicy `json:"integrationPolicy,omitempty"`
// user defined name for the deployment
Name string `json:"name,omitempty"`
// list of network instance policies
NetworkInstPolicies []*models.NetworkInstPolicy `json:"networkInstPolicies"`
// object revision
Revision *models.ObjectRevision `json:"revision,omitempty"`
// user defined title for the deployment
Title string `json:"title,omitempty"`
// list of volume instamce policies
VolumeInstPolicies []*models.VolumeInstPolicy `json:"volumeInstPolicies"`
}
CreateNewVersionBody resource group CreateNewVersion resource group v2 body swagger:model CreateNewVersionBody
func (*CreateNewVersionBody) ContextValidate ¶
ContextValidate validate this resource group CreateNewVersion resource group v2 body based on the context it is used
func (*CreateNewVersionBody) MarshalBinary ¶
func (o *CreateNewVersionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNewVersionBody) UnmarshalBinary ¶
func (o *CreateNewVersionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNewVersionDefault ¶
type CreateNewVersionDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
CreateNewVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateNewVersionDefault ¶
func NewCreateNewVersionDefault(code int) *CreateNewVersionDefault
NewCreateNewVersionDefault creates a CreateNewVersionDefault with default headers values
func (*CreateNewVersionDefault) Code ¶
func (o *CreateNewVersionDefault) Code() int
Code gets the status code for the resource group CreateNewVersion resource group v2 default response
func (*CreateNewVersionDefault) Error ¶
func (o *CreateNewVersionDefault) Error() string
func (*CreateNewVersionDefault) GetPayload ¶
func (o *CreateNewVersionDefault) GetPayload() *models.GooglerpcStatus
func (*CreateNewVersionDefault) IsClientError ¶
func (o *CreateNewVersionDefault) IsClientError() bool
IsClientError returns true when this resource group CreateNewVersion resource group v2 default response has a 4xx status code
func (*CreateNewVersionDefault) IsCode ¶
func (o *CreateNewVersionDefault) IsCode(code int) bool
IsCode returns true when this resource group CreateNewVersion resource group v2 default response a status code equal to that given
func (*CreateNewVersionDefault) IsRedirect ¶
func (o *CreateNewVersionDefault) IsRedirect() bool
IsRedirect returns true when this resource group CreateNewVersion resource group v2 default response has a 3xx status code
func (*CreateNewVersionDefault) IsServerError ¶
func (o *CreateNewVersionDefault) IsServerError() bool
IsServerError returns true when this resource group CreateNewVersion resource group v2 default response has a 5xx status code
func (*CreateNewVersionDefault) IsSuccess ¶
func (o *CreateNewVersionDefault) IsSuccess() bool
IsSuccess returns true when this resource group CreateNewVersion resource group v2 default response has a 2xx status code
func (*CreateNewVersionDefault) String ¶
func (o *CreateNewVersionDefault) String() string
type CreateNewVersionForbidden ¶
type CreateNewVersionForbidden struct {
Payload *models.ZsrvResponse
}
CreateNewVersionForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewCreateNewVersionForbidden ¶
func NewCreateNewVersionForbidden() *CreateNewVersionForbidden
NewCreateNewVersionForbidden creates a CreateNewVersionForbidden with default headers values
func (*CreateNewVersionForbidden) Code ¶
func (o *CreateNewVersionForbidden) Code() int
Code gets the status code for the resource group CreateNewVersion resource group v2 forbidden response
func (*CreateNewVersionForbidden) Error ¶
func (o *CreateNewVersionForbidden) Error() string
func (*CreateNewVersionForbidden) GetPayload ¶
func (o *CreateNewVersionForbidden) GetPayload() *models.ZsrvResponse
func (*CreateNewVersionForbidden) IsClientError ¶
func (o *CreateNewVersionForbidden) IsClientError() bool
IsClientError returns true when this resource group CreateNewVersion resource group v2 forbidden response has a 4xx status code
func (*CreateNewVersionForbidden) IsCode ¶
func (o *CreateNewVersionForbidden) IsCode(code int) bool
IsCode returns true when this resource group CreateNewVersion resource group v2 forbidden response a status code equal to that given
func (*CreateNewVersionForbidden) IsRedirect ¶
func (o *CreateNewVersionForbidden) IsRedirect() bool
IsRedirect returns true when this resource group CreateNewVersion resource group v2 forbidden response has a 3xx status code
func (*CreateNewVersionForbidden) IsServerError ¶
func (o *CreateNewVersionForbidden) IsServerError() bool
IsServerError returns true when this resource group CreateNewVersion resource group v2 forbidden response has a 5xx status code
func (*CreateNewVersionForbidden) IsSuccess ¶
func (o *CreateNewVersionForbidden) IsSuccess() bool
IsSuccess returns true when this resource group CreateNewVersion resource group v2 forbidden response has a 2xx status code
func (*CreateNewVersionForbidden) String ¶
func (o *CreateNewVersionForbidden) String() string
type CreateNewVersionGatewayTimeout ¶
type CreateNewVersionGatewayTimeout struct {
Payload *models.ZsrvResponse
}
CreateNewVersionGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewCreateNewVersionGatewayTimeout ¶
func NewCreateNewVersionGatewayTimeout() *CreateNewVersionGatewayTimeout
NewCreateNewVersionGatewayTimeout creates a CreateNewVersionGatewayTimeout with default headers values
func (*CreateNewVersionGatewayTimeout) Code ¶
func (o *CreateNewVersionGatewayTimeout) Code() int
Code gets the status code for the resource group CreateNewVersion resource group v2 gateway timeout response
func (*CreateNewVersionGatewayTimeout) Error ¶
func (o *CreateNewVersionGatewayTimeout) Error() string
func (*CreateNewVersionGatewayTimeout) GetPayload ¶
func (o *CreateNewVersionGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*CreateNewVersionGatewayTimeout) IsClientError ¶
func (o *CreateNewVersionGatewayTimeout) IsClientError() bool
IsClientError returns true when this resource group CreateNewVersion resource group v2 gateway timeout response has a 4xx status code
func (*CreateNewVersionGatewayTimeout) IsCode ¶
func (o *CreateNewVersionGatewayTimeout) IsCode(code int) bool
IsCode returns true when this resource group CreateNewVersion resource group v2 gateway timeout response a status code equal to that given
func (*CreateNewVersionGatewayTimeout) IsRedirect ¶
func (o *CreateNewVersionGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this resource group CreateNewVersion resource group v2 gateway timeout response has a 3xx status code
func (*CreateNewVersionGatewayTimeout) IsServerError ¶
func (o *CreateNewVersionGatewayTimeout) IsServerError() bool
IsServerError returns true when this resource group CreateNewVersion resource group v2 gateway timeout response has a 5xx status code
func (*CreateNewVersionGatewayTimeout) IsSuccess ¶
func (o *CreateNewVersionGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this resource group CreateNewVersion resource group v2 gateway timeout response has a 2xx status code
func (*CreateNewVersionGatewayTimeout) String ¶
func (o *CreateNewVersionGatewayTimeout) String() string
type CreateNewVersionInternalServerError ¶
type CreateNewVersionInternalServerError struct {
Payload *models.ZsrvResponse
}
CreateNewVersionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewCreateNewVersionInternalServerError ¶
func NewCreateNewVersionInternalServerError() *CreateNewVersionInternalServerError
NewCreateNewVersionInternalServerError creates a CreateNewVersionInternalServerError with default headers values
func (*CreateNewVersionInternalServerError) Code ¶
func (o *CreateNewVersionInternalServerError) Code() int
Code gets the status code for the resource group CreateNewVersion resource group v2 internal server error response
func (*CreateNewVersionInternalServerError) Error ¶
func (o *CreateNewVersionInternalServerError) Error() string
func (*CreateNewVersionInternalServerError) GetPayload ¶
func (o *CreateNewVersionInternalServerError) GetPayload() *models.ZsrvResponse
func (*CreateNewVersionInternalServerError) IsClientError ¶
func (o *CreateNewVersionInternalServerError) IsClientError() bool
IsClientError returns true when this resource group CreateNewVersion resource group v2 internal server error response has a 4xx status code
func (*CreateNewVersionInternalServerError) IsCode ¶
func (o *CreateNewVersionInternalServerError) IsCode(code int) bool
IsCode returns true when this resource group CreateNewVersion resource group v2 internal server error response a status code equal to that given
func (*CreateNewVersionInternalServerError) IsRedirect ¶
func (o *CreateNewVersionInternalServerError) IsRedirect() bool
IsRedirect returns true when this resource group CreateNewVersion resource group v2 internal server error response has a 3xx status code
func (*CreateNewVersionInternalServerError) IsServerError ¶
func (o *CreateNewVersionInternalServerError) IsServerError() bool
IsServerError returns true when this resource group CreateNewVersion resource group v2 internal server error response has a 5xx status code
func (*CreateNewVersionInternalServerError) IsSuccess ¶
func (o *CreateNewVersionInternalServerError) IsSuccess() bool
IsSuccess returns true when this resource group CreateNewVersion resource group v2 internal server error response has a 2xx status code
func (*CreateNewVersionInternalServerError) String ¶
func (o *CreateNewVersionInternalServerError) String() string
type CreateNewVersionOK ¶
type CreateNewVersionOK struct {
Payload *models.ZsrvResponse
}
CreateNewVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateNewVersionOK ¶
func NewCreateNewVersionOK() *CreateNewVersionOK
NewCreateNewVersionOK creates a CreateNewVersionOK with default headers values
func (*CreateNewVersionOK) Code ¶
func (o *CreateNewVersionOK) Code() int
Code gets the status code for the resource group CreateNewVersion resource group v2 o k response
func (*CreateNewVersionOK) Error ¶
func (o *CreateNewVersionOK) Error() string
func (*CreateNewVersionOK) GetPayload ¶
func (o *CreateNewVersionOK) GetPayload() *models.ZsrvResponse
func (*CreateNewVersionOK) IsClientError ¶
func (o *CreateNewVersionOK) IsClientError() bool
IsClientError returns true when this resource group CreateNewVersion resource group v2 o k response has a 4xx status code
func (*CreateNewVersionOK) IsCode ¶
func (o *CreateNewVersionOK) IsCode(code int) bool
IsCode returns true when this resource group CreateNewVersion resource group v2 o k response a status code equal to that given
func (*CreateNewVersionOK) IsRedirect ¶
func (o *CreateNewVersionOK) IsRedirect() bool
IsRedirect returns true when this resource group CreateNewVersion resource group v2 o k response has a 3xx status code
func (*CreateNewVersionOK) IsServerError ¶
func (o *CreateNewVersionOK) IsServerError() bool
IsServerError returns true when this resource group CreateNewVersion resource group v2 o k response has a 5xx status code
func (*CreateNewVersionOK) IsSuccess ¶
func (o *CreateNewVersionOK) IsSuccess() bool
IsSuccess returns true when this resource group CreateNewVersion resource group v2 o k response has a 2xx status code
func (*CreateNewVersionOK) String ¶
func (o *CreateNewVersionOK) String() string
type CreateNewVersionParams ¶
type CreateNewVersionParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body *models.Deployment
/* ID.
system generated unique id for an deployment
*/
ID string
/* ProjectID.
project id
*/
ProjectID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateNewVersionParams contains all the parameters to send to the API endpoint
for the resource group update resource group v2 operation. Typically these are written to a http.Request.
func NewCreateNewVersionParams ¶
func NewCreateNewVersionParams() *CreateNewVersionParams
NewCreateNewVersionParams creates a new CreateNewVersionParams 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 NewCreateNewVersionParamsWithContext ¶
func NewCreateNewVersionParamsWithContext(ctx context.Context) *CreateNewVersionParams
NewCreateNewVersionParamsWithContext creates a new CreateNewVersionParams object with the ability to set a context for a request.
func NewCreateNewVersionParamsWithHTTPClient ¶
func NewCreateNewVersionParamsWithHTTPClient(client *http.Client) *CreateNewVersionParams
NewCreateNewVersionParamsWithHTTPClient creates a new CreateNewVersionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNewVersionParamsWithTimeout ¶
func NewCreateNewVersionParamsWithTimeout(timeout time.Duration) *CreateNewVersionParams
NewCreateNewVersionParamsWithTimeout creates a new CreateNewVersionParams object with the ability to set a timeout on a request.
func (*CreateNewVersionParams) SetBody ¶
func (o *CreateNewVersionParams) SetBody(body *models.Deployment)
SetBody adds the body to the resource group update resource group v2 params
func (*CreateNewVersionParams) SetContext ¶
func (o *CreateNewVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the resource group update resource group v2 params
func (*CreateNewVersionParams) SetDefaults ¶
func (o *CreateNewVersionParams) SetDefaults()
SetDefaults hydrates default values in the resource group update resource group v2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNewVersionParams) SetHTTPClient ¶
func (o *CreateNewVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resource group update resource group v2 params
func (*CreateNewVersionParams) SetID ¶
func (o *CreateNewVersionParams) SetID(id string)
SetID adds the id to the resource group update resource group v2 params
func (*CreateNewVersionParams) SetProjectID ¶
func (o *CreateNewVersionParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the resource group update resource group v2 params
func (*CreateNewVersionParams) SetTimeout ¶
func (o *CreateNewVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resource group update resource group v2 params
func (*CreateNewVersionParams) SetXRequestID ¶
func (o *CreateNewVersionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the resource group update resource group v2 params
func (*CreateNewVersionParams) WithBody ¶
func (o *CreateNewVersionParams) WithBody(body *models.Deployment) *CreateNewVersionParams
WithBody adds the body to the resource group update resource group v2 params
func (*CreateNewVersionParams) WithContext ¶
func (o *CreateNewVersionParams) WithContext(ctx context.Context) *CreateNewVersionParams
WithContext adds the context to the resource group update resource group v2 params
func (*CreateNewVersionParams) WithDefaults ¶
func (o *CreateNewVersionParams) WithDefaults() *CreateNewVersionParams
WithDefaults hydrates default values in the resource group update resource group v2 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNewVersionParams) WithHTTPClient ¶
func (o *CreateNewVersionParams) WithHTTPClient(client *http.Client) *CreateNewVersionParams
WithHTTPClient adds the HTTPClient to the resource group update resource group v2 params
func (*CreateNewVersionParams) WithID ¶
func (o *CreateNewVersionParams) WithID(id string) *CreateNewVersionParams
WithID adds the id to the resource group update resource group v2 params
func (*CreateNewVersionParams) WithProjectID ¶
func (o *CreateNewVersionParams) WithProjectID(projectID string) *CreateNewVersionParams
WithProjectID adds the projectID to the resource group update resource group v2 params
func (*CreateNewVersionParams) WithTimeout ¶
func (o *CreateNewVersionParams) WithTimeout(timeout time.Duration) *CreateNewVersionParams
WithTimeout adds the timeout to the resource group update resource group v2 params
func (*CreateNewVersionParams) WithXRequestID ¶
func (o *CreateNewVersionParams) WithXRequestID(xRequestID *string) *CreateNewVersionParams
WithXRequestID adds the xRequestID to the resource group update resource group v2 params
func (*CreateNewVersionParams) WriteToRequest ¶
func (o *CreateNewVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNewVersionReader ¶
type CreateNewVersionReader struct {
// contains filtered or unexported fields
}
CreateNewVersionReader is a Reader for the CreateNewVersion structure.
func (*CreateNewVersionReader) ReadResponse ¶
func (o *CreateNewVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNewVersionUnauthorized ¶
type CreateNewVersionUnauthorized struct {
}
CreateNewVersionUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewCreateNewVersionUnauthorized ¶
func NewCreateNewVersionUnauthorized() *CreateNewVersionUnauthorized
NewCreateNewVersionUnauthorized creates a CreateNewVersionUnauthorized with default headers values
func (*CreateNewVersionUnauthorized) Code ¶
func (o *CreateNewVersionUnauthorized) Code() int
Code gets the status code for the resource group CreateNewVersion resource group v2 unauthorized response
func (*CreateNewVersionUnauthorized) Error ¶
func (o *CreateNewVersionUnauthorized) Error() string
func (*CreateNewVersionUnauthorized) GetPayload ¶
func (o *CreateNewVersionUnauthorized) GetPayload() *models.ZsrvResponse
func (*CreateNewVersionUnauthorized) IsClientError ¶
func (o *CreateNewVersionUnauthorized) IsClientError() bool
IsClientError returns true when this resource group CreateNewVersion resource group v2 unauthorized response has a 4xx status code
func (*CreateNewVersionUnauthorized) IsCode ¶
func (o *CreateNewVersionUnauthorized) IsCode(code int) bool
IsCode returns true when this resource group CreateNewVersion resource group v2 unauthorized response a status code equal to that given
func (*CreateNewVersionUnauthorized) IsRedirect ¶
func (o *CreateNewVersionUnauthorized) IsRedirect() bool
IsRedirect returns true when this resource group CreateNewVersion resource group v2 unauthorized response has a 3xx status code
func (*CreateNewVersionUnauthorized) IsServerError ¶
func (o *CreateNewVersionUnauthorized) IsServerError() bool
IsServerError returns true when this resource group CreateNewVersion resource group v2 unauthorized response has a 5xx status code
func (*CreateNewVersionUnauthorized) IsSuccess ¶
func (o *CreateNewVersionUnauthorized) IsSuccess() bool
IsSuccess returns true when this resource group CreateNewVersion resource group v2 unauthorized response has a 2xx status code
func (*CreateNewVersionUnauthorized) String ¶
func (o *CreateNewVersionUnauthorized) String() string
type CreateParams ¶
type CreateParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// Body.
Body *models.Deployment
/* ProjectID.
project id
*/
ProjectID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateParams contains all the parameters to send to the API endpoint
for the resource group create deployment operation. Typically these are written to a http.Request.
func NewCreateParams ¶
func NewCreateParams() *CreateParams
NewCreateParams creates a new CreateParams 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 NewCreateParamsWithContext ¶
func NewCreateParamsWithContext(ctx context.Context) *CreateParams
NewCreateParamsWithContext creates a new CreateParams object with the ability to set a context for a request.
func NewCreateParamsWithHTTPClient ¶
func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams
NewCreateParamsWithHTTPClient creates a new CreateParams object with the ability to set a custom HTTPClient for a request.
func NewCreateParamsWithTimeout ¶
func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams
NewCreateParamsWithTimeout creates a new CreateParams object with the ability to set a timeout on a request.
func (*CreateParams) SetBody ¶
func (o *CreateParams) SetBody(body *models.Deployment)
SetBody adds the body to the resource group create deployment params
func (*CreateParams) SetContext ¶
func (o *CreateParams) SetContext(ctx context.Context)
SetContext adds the context to the resource group create deployment params
func (*CreateParams) SetDefaults ¶
func (o *CreateParams) SetDefaults()
SetDefaults hydrates default values in the resource group create deployment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateParams) SetHTTPClient ¶
func (o *CreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resource group create deployment params
func (*CreateParams) SetProjectID ¶
func (o *CreateParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the resource group create deployment params
func (*CreateParams) SetTimeout ¶
func (o *CreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resource group create deployment params
func (*CreateParams) SetXRequestID ¶
func (o *CreateParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the resource group create deployment params
func (*CreateParams) WithBody ¶
func (o *CreateParams) WithBody(body *models.Deployment) *CreateParams
WithBody adds the body to the resource group create deployment params
func (*CreateParams) WithContext ¶
func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
WithContext adds the context to the resource group create deployment params
func (*CreateParams) WithDefaults ¶
func (o *CreateParams) WithDefaults() *CreateParams
WithDefaults hydrates default values in the resource group create deployment params (not the query body).
All values with no default are reset to their zero value.
func (*CreateParams) WithHTTPClient ¶
func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
WithHTTPClient adds the HTTPClient to the resource group create deployment params
func (*CreateParams) WithProjectID ¶
func (o *CreateParams) WithProjectID(projectID string) *CreateParams
WithProjectID adds the projectID to the resource group create deployment params
func (*CreateParams) WithTimeout ¶
func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
WithTimeout adds the timeout to the resource group create deployment params
func (*CreateParams) WithXRequestID ¶
func (o *CreateParams) WithXRequestID(xRequestID *string) *CreateParams
WithXRequestID adds the xRequestID to the resource group create deployment params
func (*CreateParams) WriteToRequest ¶
func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReader ¶
type CreateReader struct {
// contains filtered or unexported fields
}
CreateReader is a Reader for the ResourceGroupCreateDeployment structure.
func (*CreateReader) ReadResponse ¶
func (o *CreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUnauthorized ¶
type CreateUnauthorized struct {
}
CreateUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewCreateUnauthorized ¶
func NewCreateUnauthorized() *CreateUnauthorized
NewCreateUnauthorized creates a CreateUnauthorized with default headers values
func (*CreateUnauthorized) Code ¶
func (o *CreateUnauthorized) Code() int
Code gets the status code for the resource group create deployment unauthorized response
func (*CreateUnauthorized) Error ¶
func (o *CreateUnauthorized) Error() string
func (*CreateUnauthorized) GetPayload ¶
func (o *CreateUnauthorized) GetPayload() *models.ZsrvResponse
func (*CreateUnauthorized) IsClientError ¶
func (o *CreateUnauthorized) IsClientError() bool
IsClientError returns true when this resource group create deployment unauthorized response has a 4xx status code
func (*CreateUnauthorized) IsCode ¶
func (o *CreateUnauthorized) IsCode(code int) bool
IsCode returns true when this resource group create deployment unauthorized response a status code equal to that given
func (*CreateUnauthorized) IsRedirect ¶
func (o *CreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this resource group create deployment unauthorized response has a 3xx status code
func (*CreateUnauthorized) IsServerError ¶
func (o *CreateUnauthorized) IsServerError() bool
IsServerError returns true when this resource group create deployment unauthorized response has a 5xx status code
func (*CreateUnauthorized) IsSuccess ¶
func (o *CreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this resource group create deployment unauthorized response has a 2xx status code
func (*CreateUnauthorized) String ¶
func (o *CreateUnauthorized) String() string
type DeleteAllDefault ¶
type DeleteAllDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
DeleteAllDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteAllDefault ¶
func NewDeleteAllDefault(code int) *DeleteAllDefault
NewDeleteAllDefault creates a DeleteAllDefault with default headers values
func (*DeleteAllDefault) Code ¶
func (o *DeleteAllDefault) Code() int
Code gets the status code for the resource group delete resource group all v2 default response
func (*DeleteAllDefault) Error ¶
func (o *DeleteAllDefault) Error() string
func (*DeleteAllDefault) GetPayload ¶
func (o *DeleteAllDefault) GetPayload() *models.GooglerpcStatus
func (*DeleteAllDefault) IsClientError ¶
func (o *DeleteAllDefault) IsClientError() bool
IsClientError returns true when this resource group delete resource group all v2 default response has a 4xx status code
func (*DeleteAllDefault) IsCode ¶
func (o *DeleteAllDefault) IsCode(code int) bool
IsCode returns true when this resource group delete resource group all v2 default response a status code equal to that given
func (*DeleteAllDefault) IsRedirect ¶
func (o *DeleteAllDefault) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group all v2 default response has a 3xx status code
func (*DeleteAllDefault) IsServerError ¶
func (o *DeleteAllDefault) IsServerError() bool
IsServerError returns true when this resource group delete resource group all v2 default response has a 5xx status code
func (*DeleteAllDefault) IsSuccess ¶
func (o *DeleteAllDefault) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group all v2 default response has a 2xx status code
func (*DeleteAllDefault) String ¶
func (o *DeleteAllDefault) String() string
type DeleteAllForbidden ¶
type DeleteAllForbidden struct {
Payload *models.ZsrvResponse
}
DeleteAllForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewDeleteAllForbidden ¶
func NewDeleteAllForbidden() *DeleteAllForbidden
NewDeleteAllForbidden creates a DeleteAllForbidden with default headers values
func (*DeleteAllForbidden) Code ¶
func (o *DeleteAllForbidden) Code() int
Code gets the status code for the resource group delete resource group all v2 forbidden response
func (*DeleteAllForbidden) Error ¶
func (o *DeleteAllForbidden) Error() string
func (*DeleteAllForbidden) GetPayload ¶
func (o *DeleteAllForbidden) GetPayload() *models.ZsrvResponse
func (*DeleteAllForbidden) IsClientError ¶
func (o *DeleteAllForbidden) IsClientError() bool
IsClientError returns true when this resource group delete resource group all v2 forbidden response has a 4xx status code
func (*DeleteAllForbidden) IsCode ¶
func (o *DeleteAllForbidden) IsCode(code int) bool
IsCode returns true when this resource group delete resource group all v2 forbidden response a status code equal to that given
func (*DeleteAllForbidden) IsRedirect ¶
func (o *DeleteAllForbidden) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group all v2 forbidden response has a 3xx status code
func (*DeleteAllForbidden) IsServerError ¶
func (o *DeleteAllForbidden) IsServerError() bool
IsServerError returns true when this resource group delete resource group all v2 forbidden response has a 5xx status code
func (*DeleteAllForbidden) IsSuccess ¶
func (o *DeleteAllForbidden) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group all v2 forbidden response has a 2xx status code
func (*DeleteAllForbidden) String ¶
func (o *DeleteAllForbidden) String() string
type DeleteAllGatewayTimeout ¶
type DeleteAllGatewayTimeout struct {
Payload *models.ZsrvResponse
}
DeleteAllGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewDeleteAllGatewayTimeout ¶
func NewDeleteAllGatewayTimeout() *DeleteAllGatewayTimeout
NewDeleteAllGatewayTimeout creates a DeleteAllGatewayTimeout with default headers values
func (*DeleteAllGatewayTimeout) Code ¶
func (o *DeleteAllGatewayTimeout) Code() int
Code gets the status code for the resource group delete resource group all v2 gateway timeout response
func (*DeleteAllGatewayTimeout) Error ¶
func (o *DeleteAllGatewayTimeout) Error() string
func (*DeleteAllGatewayTimeout) GetPayload ¶
func (o *DeleteAllGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*DeleteAllGatewayTimeout) IsClientError ¶
func (o *DeleteAllGatewayTimeout) IsClientError() bool
IsClientError returns true when this resource group delete resource group all v2 gateway timeout response has a 4xx status code
func (*DeleteAllGatewayTimeout) IsCode ¶
func (o *DeleteAllGatewayTimeout) IsCode(code int) bool
IsCode returns true when this resource group delete resource group all v2 gateway timeout response a status code equal to that given
func (*DeleteAllGatewayTimeout) IsRedirect ¶
func (o *DeleteAllGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group all v2 gateway timeout response has a 3xx status code
func (*DeleteAllGatewayTimeout) IsServerError ¶
func (o *DeleteAllGatewayTimeout) IsServerError() bool
IsServerError returns true when this resource group delete resource group all v2 gateway timeout response has a 5xx status code
func (*DeleteAllGatewayTimeout) IsSuccess ¶
func (o *DeleteAllGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group all v2 gateway timeout response has a 2xx status code
func (*DeleteAllGatewayTimeout) String ¶
func (o *DeleteAllGatewayTimeout) String() string
type DeleteAllInternalServerError ¶
type DeleteAllInternalServerError struct {
Payload *models.ZsrvResponse
}
DeleteAllInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewDeleteAllInternalServerError ¶
func NewDeleteAllInternalServerError() *DeleteAllInternalServerError
NewDeleteAllInternalServerError creates a DeleteAllInternalServerError with default headers values
func (*DeleteAllInternalServerError) Code ¶
func (o *DeleteAllInternalServerError) Code() int
Code gets the status code for the resource group delete resource group all v2 internal server error response
func (*DeleteAllInternalServerError) Error ¶
func (o *DeleteAllInternalServerError) Error() string
func (*DeleteAllInternalServerError) GetPayload ¶
func (o *DeleteAllInternalServerError) GetPayload() *models.ZsrvResponse
func (*DeleteAllInternalServerError) IsClientError ¶
func (o *DeleteAllInternalServerError) IsClientError() bool
IsClientError returns true when this resource group delete resource group all v2 internal server error response has a 4xx status code
func (*DeleteAllInternalServerError) IsCode ¶
func (o *DeleteAllInternalServerError) IsCode(code int) bool
IsCode returns true when this resource group delete resource group all v2 internal server error response a status code equal to that given
func (*DeleteAllInternalServerError) IsRedirect ¶
func (o *DeleteAllInternalServerError) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group all v2 internal server error response has a 3xx status code
func (*DeleteAllInternalServerError) IsServerError ¶
func (o *DeleteAllInternalServerError) IsServerError() bool
IsServerError returns true when this resource group delete resource group all v2 internal server error response has a 5xx status code
func (*DeleteAllInternalServerError) IsSuccess ¶
func (o *DeleteAllInternalServerError) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group all v2 internal server error response has a 2xx status code
func (*DeleteAllInternalServerError) String ¶
func (o *DeleteAllInternalServerError) String() string
type DeleteAllOK ¶
type DeleteAllOK struct {
Payload *models.ZsrvResponse
}
DeleteAllOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteAllOK ¶
func NewDeleteAllOK() *DeleteAllOK
NewDeleteAllOK creates a DeleteAllOK with default headers values
func (*DeleteAllOK) Code ¶
func (o *DeleteAllOK) Code() int
Code gets the status code for the resource group delete resource group all v2 o k response
func (*DeleteAllOK) Error ¶
func (o *DeleteAllOK) Error() string
func (*DeleteAllOK) GetPayload ¶
func (o *DeleteAllOK) GetPayload() *models.ZsrvResponse
func (*DeleteAllOK) IsClientError ¶
func (o *DeleteAllOK) IsClientError() bool
IsClientError returns true when this resource group delete resource group all v2 o k response has a 4xx status code
func (*DeleteAllOK) IsCode ¶
func (o *DeleteAllOK) IsCode(code int) bool
IsCode returns true when this resource group delete resource group all v2 o k response a status code equal to that given
func (*DeleteAllOK) IsRedirect ¶
func (o *DeleteAllOK) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group all v2 o k response has a 3xx status code
func (*DeleteAllOK) IsServerError ¶
func (o *DeleteAllOK) IsServerError() bool
IsServerError returns true when this resource group delete resource group all v2 o k response has a 5xx status code
func (*DeleteAllOK) IsSuccess ¶
func (o *DeleteAllOK) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group all v2 o k response has a 2xx status code
func (*DeleteAllOK) String ¶
func (o *DeleteAllOK) String() string
type DeleteAllParams ¶
type DeleteAllParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// ProjectID.
ProjectID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAllParams contains all the parameters to send to the API endpoint
for the resource group delete resource group all v2 operation. Typically these are written to a http.Request.
func NewDeleteAllParams ¶
func NewDeleteAllParams() *DeleteAllParams
NewDeleteAllParams creates a new DeleteAllParams 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 NewDeleteAllParamsWithContext ¶
func NewDeleteAllParamsWithContext(ctx context.Context) *DeleteAllParams
NewDeleteAllParamsWithContext creates a new DeleteAllParams object with the ability to set a context for a request.
func NewDeleteAllParamsWithHTTPClient ¶
func NewDeleteAllParamsWithHTTPClient(client *http.Client) *DeleteAllParams
NewDeleteAllParamsWithHTTPClient creates a new DeleteAllParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAllParamsWithTimeout ¶
func NewDeleteAllParamsWithTimeout(timeout time.Duration) *DeleteAllParams
NewDeleteAllParamsWithTimeout creates a new DeleteAllParams object with the ability to set a timeout on a request.
func (*DeleteAllParams) SetContext ¶
func (o *DeleteAllParams) SetContext(ctx context.Context)
SetContext adds the context to the resource group delete resource group all v2 params
func (*DeleteAllParams) SetDefaults ¶
func (o *DeleteAllParams) SetDefaults()
SetDefaults hydrates default values in the resource group delete resource group all v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAllParams) SetHTTPClient ¶
func (o *DeleteAllParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resource group delete resource group all v2 params
func (*DeleteAllParams) SetProjectID ¶
func (o *DeleteAllParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the resource group delete resource group all v2 params
func (*DeleteAllParams) SetTimeout ¶
func (o *DeleteAllParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resource group delete resource group all v2 params
func (*DeleteAllParams) SetXRequestID ¶
func (o *DeleteAllParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the resource group delete resource group all v2 params
func (*DeleteAllParams) WithContext ¶
func (o *DeleteAllParams) WithContext(ctx context.Context) *DeleteAllParams
WithContext adds the context to the resource group delete resource group all v2 params
func (*DeleteAllParams) WithDefaults ¶
func (o *DeleteAllParams) WithDefaults() *DeleteAllParams
WithDefaults hydrates default values in the resource group delete resource group all v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAllParams) WithHTTPClient ¶
func (o *DeleteAllParams) WithHTTPClient(client *http.Client) *DeleteAllParams
WithHTTPClient adds the HTTPClient to the resource group delete resource group all v2 params
func (*DeleteAllParams) WithProjectID ¶
func (o *DeleteAllParams) WithProjectID(projectID string) *DeleteAllParams
WithProjectID adds the projectID to the resource group delete resource group all v2 params
func (*DeleteAllParams) WithTimeout ¶
func (o *DeleteAllParams) WithTimeout(timeout time.Duration) *DeleteAllParams
WithTimeout adds the timeout to the resource group delete resource group all v2 params
func (*DeleteAllParams) WithXRequestID ¶
func (o *DeleteAllParams) WithXRequestID(xRequestID *string) *DeleteAllParams
WithXRequestID adds the xRequestID to the resource group delete resource group all v2 params
func (*DeleteAllParams) WriteToRequest ¶
func (o *DeleteAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAllReader ¶
type DeleteAllReader struct {
// contains filtered or unexported fields
}
DeleteAllReader is a Reader for the DeleteAll structure.
func (*DeleteAllReader) ReadResponse ¶
func (o *DeleteAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAllUnauthorized ¶
type DeleteAllUnauthorized struct {
}
DeleteAllUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewDeleteAllUnauthorized ¶
func NewDeleteAllUnauthorized() *DeleteAllUnauthorized
NewDeleteAllUnauthorized creates a DeleteAllUnauthorized with default headers values
func (*DeleteAllUnauthorized) Code ¶
func (o *DeleteAllUnauthorized) Code() int
Code gets the status code for the resource group delete resource group all v2 unauthorized response
func (*DeleteAllUnauthorized) Error ¶
func (o *DeleteAllUnauthorized) Error() string
func (*DeleteAllUnauthorized) GetPayload ¶
func (o *DeleteAllUnauthorized) GetPayload() *models.ZsrvResponse
func (*DeleteAllUnauthorized) IsClientError ¶
func (o *DeleteAllUnauthorized) IsClientError() bool
IsClientError returns true when this resource group delete resource group all v2 unauthorized response has a 4xx status code
func (*DeleteAllUnauthorized) IsCode ¶
func (o *DeleteAllUnauthorized) IsCode(code int) bool
IsCode returns true when this resource group delete resource group all v2 unauthorized response a status code equal to that given
func (*DeleteAllUnauthorized) IsRedirect ¶
func (o *DeleteAllUnauthorized) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group all v2 unauthorized response has a 3xx status code
func (*DeleteAllUnauthorized) IsServerError ¶
func (o *DeleteAllUnauthorized) IsServerError() bool
IsServerError returns true when this resource group delete resource group all v2 unauthorized response has a 5xx status code
func (*DeleteAllUnauthorized) IsSuccess ¶
func (o *DeleteAllUnauthorized) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group all v2 unauthorized response has a 2xx status code
func (*DeleteAllUnauthorized) String ¶
func (o *DeleteAllUnauthorized) String() string
type DeleteDefault ¶
type DeleteDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
DeleteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteDefault ¶
func NewDeleteDefault(code int) *DeleteDefault
NewDeleteDefault creates a DeleteDefault with default headers values
func (*DeleteDefault) Code ¶
func (o *DeleteDefault) Code() int
Code gets the status code for the resource group delete resource group v2 default response
func (*DeleteDefault) Error ¶
func (o *DeleteDefault) Error() string
func (*DeleteDefault) GetPayload ¶
func (o *DeleteDefault) GetPayload() *models.GooglerpcStatus
func (*DeleteDefault) IsClientError ¶
func (o *DeleteDefault) IsClientError() bool
IsClientError returns true when this resource group delete resource group v2 default response has a 4xx status code
func (*DeleteDefault) IsCode ¶
func (o *DeleteDefault) IsCode(code int) bool
IsCode returns true when this resource group delete resource group v2 default response a status code equal to that given
func (*DeleteDefault) IsRedirect ¶
func (o *DeleteDefault) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group v2 default response has a 3xx status code
func (*DeleteDefault) IsServerError ¶
func (o *DeleteDefault) IsServerError() bool
IsServerError returns true when this resource group delete resource group v2 default response has a 5xx status code
func (*DeleteDefault) IsSuccess ¶
func (o *DeleteDefault) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group v2 default response has a 2xx status code
func (*DeleteDefault) String ¶
func (o *DeleteDefault) String() string
type DeleteForbidden ¶
type DeleteForbidden struct {
Payload *models.ZsrvResponse
}
DeleteForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewDeleteForbidden ¶
func NewDeleteForbidden() *DeleteForbidden
NewDeleteForbidden creates a DeleteForbidden with default headers values
func (*DeleteForbidden) Code ¶
func (o *DeleteForbidden) Code() int
Code gets the status code for the resource group delete resource group v2 forbidden response
func (*DeleteForbidden) Error ¶
func (o *DeleteForbidden) Error() string
func (*DeleteForbidden) GetPayload ¶
func (o *DeleteForbidden) GetPayload() *models.ZsrvResponse
func (*DeleteForbidden) IsClientError ¶
func (o *DeleteForbidden) IsClientError() bool
IsClientError returns true when this resource group delete resource group v2 forbidden response has a 4xx status code
func (*DeleteForbidden) IsCode ¶
func (o *DeleteForbidden) IsCode(code int) bool
IsCode returns true when this resource group delete resource group v2 forbidden response a status code equal to that given
func (*DeleteForbidden) IsRedirect ¶
func (o *DeleteForbidden) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group v2 forbidden response has a 3xx status code
func (*DeleteForbidden) IsServerError ¶
func (o *DeleteForbidden) IsServerError() bool
IsServerError returns true when this resource group delete resource group v2 forbidden response has a 5xx status code
func (*DeleteForbidden) IsSuccess ¶
func (o *DeleteForbidden) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group v2 forbidden response has a 2xx status code
func (*DeleteForbidden) String ¶
func (o *DeleteForbidden) String() string
type DeleteGatewayTimeout ¶
type DeleteGatewayTimeout struct {
Payload *models.ZsrvResponse
}
DeleteGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewDeleteGatewayTimeout ¶
func NewDeleteGatewayTimeout() *DeleteGatewayTimeout
NewDeleteGatewayTimeout creates a DeleteGatewayTimeout with default headers values
func (*DeleteGatewayTimeout) Code ¶
func (o *DeleteGatewayTimeout) Code() int
Code gets the status code for the resource group delete resource group v2 gateway timeout response
func (*DeleteGatewayTimeout) Error ¶
func (o *DeleteGatewayTimeout) Error() string
func (*DeleteGatewayTimeout) GetPayload ¶
func (o *DeleteGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*DeleteGatewayTimeout) IsClientError ¶
func (o *DeleteGatewayTimeout) IsClientError() bool
IsClientError returns true when this resource group delete resource group v2 gateway timeout response has a 4xx status code
func (*DeleteGatewayTimeout) IsCode ¶
func (o *DeleteGatewayTimeout) IsCode(code int) bool
IsCode returns true when this resource group delete resource group v2 gateway timeout response a status code equal to that given
func (*DeleteGatewayTimeout) IsRedirect ¶
func (o *DeleteGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group v2 gateway timeout response has a 3xx status code
func (*DeleteGatewayTimeout) IsServerError ¶
func (o *DeleteGatewayTimeout) IsServerError() bool
IsServerError returns true when this resource group delete resource group v2 gateway timeout response has a 5xx status code
func (*DeleteGatewayTimeout) IsSuccess ¶
func (o *DeleteGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group v2 gateway timeout response has a 2xx status code
func (*DeleteGatewayTimeout) String ¶
func (o *DeleteGatewayTimeout) String() string
type DeleteInternalServerError ¶
type DeleteInternalServerError struct {
Payload *models.ZsrvResponse
}
DeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewDeleteInternalServerError ¶
func NewDeleteInternalServerError() *DeleteInternalServerError
NewDeleteInternalServerError creates a DeleteInternalServerError with default headers values
func (*DeleteInternalServerError) Code ¶
func (o *DeleteInternalServerError) Code() int
Code gets the status code for the resource group delete resource group v2 internal server error response
func (*DeleteInternalServerError) Error ¶
func (o *DeleteInternalServerError) Error() string
func (*DeleteInternalServerError) GetPayload ¶
func (o *DeleteInternalServerError) GetPayload() *models.ZsrvResponse
func (*DeleteInternalServerError) IsClientError ¶
func (o *DeleteInternalServerError) IsClientError() bool
IsClientError returns true when this resource group delete resource group v2 internal server error response has a 4xx status code
func (*DeleteInternalServerError) IsCode ¶
func (o *DeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this resource group delete resource group v2 internal server error response a status code equal to that given
func (*DeleteInternalServerError) IsRedirect ¶
func (o *DeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group v2 internal server error response has a 3xx status code
func (*DeleteInternalServerError) IsServerError ¶
func (o *DeleteInternalServerError) IsServerError() bool
IsServerError returns true when this resource group delete resource group v2 internal server error response has a 5xx status code
func (*DeleteInternalServerError) IsSuccess ¶
func (o *DeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group v2 internal server error response has a 2xx status code
func (*DeleteInternalServerError) String ¶
func (o *DeleteInternalServerError) String() string
type DeleteOK ¶
type DeleteOK struct {
Payload *models.ZsrvResponse
}
DeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOK ¶
func NewDeleteOK() *DeleteOK
NewDeleteOK creates a ResourceGroupDeleteResourceGroupV2OK with default headers values
func (*DeleteOK) Code ¶
Code gets the status code for the resource group delete resource group v2 o k response
func (*DeleteOK) GetPayload ¶
func (o *DeleteOK) GetPayload() *models.ZsrvResponse
func (*DeleteOK) IsClientError ¶
IsClientError returns true when this resource group delete resource group v2 o k response has a 4xx status code
func (*DeleteOK) IsCode ¶
IsCode returns true when this resource group delete resource group v2 o k response a status code equal to that given
func (*DeleteOK) IsRedirect ¶
IsRedirect returns true when this resource group delete resource group v2 o k response has a 3xx status code
func (*DeleteOK) IsServerError ¶
IsServerError returns true when this resource group delete resource group v2 o k response has a 5xx status code
type DeleteParams ¶
type DeleteParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// ID.
ID string
// ProjectID.
ProjectID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteParams contains all the parameters to send to the API endpoint
for the resource group delete resource group v2 operation. Typically these are written to a http.Request.
func NewDeleteParams ¶
func NewDeleteParams() *DeleteParams
NewDeleteParams creates a new DeleteParams 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 NewDeleteParamsWithContext ¶
func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams
NewDeleteParamsWithContext creates a new DeleteParams object with the ability to set a context for a request.
func NewDeleteParamsWithHTTPClient ¶
func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams
NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteParamsWithTimeout ¶
func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams
NewDeleteParamsWithTimeout creates a new DeleteParams object with the ability to set a timeout on a request.
func (*DeleteParams) SetContext ¶
func (o *DeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the resource group delete resource group v2 params
func (*DeleteParams) SetDefaults ¶
func (o *DeleteParams) SetDefaults()
SetDefaults hydrates default values in the resource group delete resource group v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteParams) SetHTTPClient ¶
func (o *DeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resource group delete resource group v2 params
func (*DeleteParams) SetID ¶
func (o *DeleteParams) SetID(id string)
SetID adds the id to the resource group delete resource group v2 params
func (*DeleteParams) SetProjectID ¶
func (o *DeleteParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the resource group delete resource group v2 params
func (*DeleteParams) SetTimeout ¶
func (o *DeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resource group delete resource group v2 params
func (*DeleteParams) SetXRequestID ¶
func (o *DeleteParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the resource group delete resource group v2 params
func (*DeleteParams) WithContext ¶
func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
WithContext adds the context to the resource group delete resource group v2 params
func (*DeleteParams) WithDefaults ¶
func (o *DeleteParams) WithDefaults() *DeleteParams
WithDefaults hydrates default values in the resource group delete resource group v2 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteParams) WithHTTPClient ¶
func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
WithHTTPClient adds the HTTPClient to the resource group delete resource group v2 params
func (*DeleteParams) WithID ¶
func (o *DeleteParams) WithID(id string) *DeleteParams
WithID adds the id to the resource group delete resource group v2 params
func (*DeleteParams) WithProjectID ¶
func (o *DeleteParams) WithProjectID(projectID string) *DeleteParams
WithProjectID adds the projectID to the resource group delete resource group v2 params
func (*DeleteParams) WithTimeout ¶
func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
WithTimeout adds the timeout to the resource group delete resource group v2 params
func (*DeleteParams) WithXRequestID ¶
func (o *DeleteParams) WithXRequestID(xRequestID *string) *DeleteParams
WithXRequestID adds the xRequestID to the resource group delete resource group v2 params
func (*DeleteParams) WriteToRequest ¶
func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReader ¶
type DeleteReader struct {
// contains filtered or unexported fields
}
DeleteReader is a Reader for the Delete structure.
func (*DeleteReader) ReadResponse ¶
func (o *DeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUnauthorized ¶
type DeleteUnauthorized struct {
}
DeleteUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewDeleteUnauthorized ¶
func NewDeleteUnauthorized() *DeleteUnauthorized
NewDeleteUnauthorized creates a DeleteUnauthorized with default headers values
func (*DeleteUnauthorized) Code ¶
func (o *DeleteUnauthorized) Code() int
Code gets the status code for the resource group delete resource group v2 unauthorized response
func (*DeleteUnauthorized) Error ¶
func (o *DeleteUnauthorized) Error() string
func (*DeleteUnauthorized) GetPayload ¶
func (o *DeleteUnauthorized) GetPayload() *models.ZsrvResponse
func (*DeleteUnauthorized) IsClientError ¶
func (o *DeleteUnauthorized) IsClientError() bool
IsClientError returns true when this resource group delete resource group v2 unauthorized response has a 4xx status code
func (*DeleteUnauthorized) IsCode ¶
func (o *DeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this resource group delete resource group v2 unauthorized response a status code equal to that given
func (*DeleteUnauthorized) IsRedirect ¶
func (o *DeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this resource group delete resource group v2 unauthorized response has a 3xx status code
func (*DeleteUnauthorized) IsServerError ¶
func (o *DeleteUnauthorized) IsServerError() bool
IsServerError returns true when this resource group delete resource group v2 unauthorized response has a 5xx status code
func (*DeleteUnauthorized) IsSuccess ¶
func (o *DeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this resource group delete resource group v2 unauthorized response has a 2xx status code
func (*DeleteUnauthorized) String ¶
func (o *DeleteUnauthorized) String() string
type GetByIDDefault ¶
type GetByIDDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
GetByIDDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetByIDDefault ¶
func NewGetByIDDefault(code int) *GetByIDDefault
NewGetByIDDefault creates a GetByIDDefault with default headers values
func (*GetByIDDefault) Code ¶
func (o *GetByIDDefault) Code() int
Code gets the status code for the resource group get deployment by Id v2 default response
func (*GetByIDDefault) Error ¶
func (o *GetByIDDefault) Error() string
func (*GetByIDDefault) GetPayload ¶
func (o *GetByIDDefault) GetPayload() *models.GooglerpcStatus
func (*GetByIDDefault) IsClientError ¶
func (o *GetByIDDefault) IsClientError() bool
IsClientError returns true when this resource group get deployment by Id v2 default response has a 4xx status code
func (*GetByIDDefault) IsCode ¶
func (o *GetByIDDefault) IsCode(code int) bool
IsCode returns true when this resource group get deployment by Id v2 default response a status code equal to that given
func (*GetByIDDefault) IsRedirect ¶
func (o *GetByIDDefault) IsRedirect() bool
IsRedirect returns true when this resource group get deployment by Id v2 default response has a 3xx status code
func (*GetByIDDefault) IsServerError ¶
func (o *GetByIDDefault) IsServerError() bool
IsServerError returns true when this resource group get deployment by Id v2 default response has a 5xx status code
func (*GetByIDDefault) IsSuccess ¶
func (o *GetByIDDefault) IsSuccess() bool
IsSuccess returns true when this resource group get deployment by Id v2 default response has a 2xx status code
func (*GetByIDDefault) String ¶
func (o *GetByIDDefault) String() string
type GetByIDForbidden ¶
type GetByIDForbidden struct {
Payload *models.ZsrvResponse
}
GetByIDForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetByIDForbidden ¶
func NewGetByIDForbidden() *GetByIDForbidden
NewGetByIDForbidden creates a GetByIDForbidden with default headers values
func (*GetByIDForbidden) Code ¶
func (o *GetByIDForbidden) Code() int
Code gets the status code for the resource group get deployment by Id v2 forbidden response
func (*GetByIDForbidden) Error ¶
func (o *GetByIDForbidden) Error() string
func (*GetByIDForbidden) GetPayload ¶
func (o *GetByIDForbidden) GetPayload() *models.ZsrvResponse
func (*GetByIDForbidden) IsClientError ¶
func (o *GetByIDForbidden) IsClientError() bool
IsClientError returns true when this resource group get deployment by Id v2 forbidden response has a 4xx status code
func (*GetByIDForbidden) IsCode ¶
func (o *GetByIDForbidden) IsCode(code int) bool
IsCode returns true when this resource group get deployment by Id v2 forbidden response a status code equal to that given
func (*GetByIDForbidden) IsRedirect ¶
func (o *GetByIDForbidden) IsRedirect() bool
IsRedirect returns true when this resource group get deployment by Id v2 forbidden response has a 3xx status code
func (*GetByIDForbidden) IsServerError ¶
func (o *GetByIDForbidden) IsServerError() bool
IsServerError returns true when this resource group get deployment by Id v2 forbidden response has a 5xx status code
func (*GetByIDForbidden) IsSuccess ¶
func (o *GetByIDForbidden) IsSuccess() bool
IsSuccess returns true when this resource group get deployment by Id v2 forbidden response has a 2xx status code
func (*GetByIDForbidden) String ¶
func (o *GetByIDForbidden) String() string
type GetByIDGatewayTimeout ¶
type GetByIDGatewayTimeout struct {
Payload *models.ZsrvResponse
}
GetByIDGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetByIDGatewayTimeout ¶
func NewGetByIDGatewayTimeout() *GetByIDGatewayTimeout
NewGetByIDGatewayTimeout creates a GetByIDGatewayTimeout with default headers values
func (*GetByIDGatewayTimeout) Code ¶
func (o *GetByIDGatewayTimeout) Code() int
Code gets the status code for the resource group get deployment by Id v2 gateway timeout response
func (*GetByIDGatewayTimeout) Error ¶
func (o *GetByIDGatewayTimeout) Error() string
func (*GetByIDGatewayTimeout) GetPayload ¶
func (o *GetByIDGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*GetByIDGatewayTimeout) IsClientError ¶
func (o *GetByIDGatewayTimeout) IsClientError() bool
IsClientError returns true when this resource group get deployment by Id v2 gateway timeout response has a 4xx status code
func (*GetByIDGatewayTimeout) IsCode ¶
func (o *GetByIDGatewayTimeout) IsCode(code int) bool
IsCode returns true when this resource group get deployment by Id v2 gateway timeout response a status code equal to that given
func (*GetByIDGatewayTimeout) IsRedirect ¶
func (o *GetByIDGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this resource group get deployment by Id v2 gateway timeout response has a 3xx status code
func (*GetByIDGatewayTimeout) IsServerError ¶
func (o *GetByIDGatewayTimeout) IsServerError() bool
IsServerError returns true when this resource group get deployment by Id v2 gateway timeout response has a 5xx status code
func (*GetByIDGatewayTimeout) IsSuccess ¶
func (o *GetByIDGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this resource group get deployment by Id v2 gateway timeout response has a 2xx status code
func (*GetByIDGatewayTimeout) String ¶
func (o *GetByIDGatewayTimeout) String() string
type GetByIDInternalServerError ¶
type GetByIDInternalServerError struct {
Payload *models.ZsrvResponse
}
GetByIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetByIDInternalServerError ¶
func NewGetByIDInternalServerError() *GetByIDInternalServerError
NewGetByIDInternalServerError creates a GetByIDInternalServerError with default headers values
func (*GetByIDInternalServerError) Code ¶
func (o *GetByIDInternalServerError) Code() int
Code gets the status code for the resource group get deployment by Id v2 internal server error response
func (*GetByIDInternalServerError) Error ¶
func (o *GetByIDInternalServerError) Error() string
func (*GetByIDInternalServerError) GetPayload ¶
func (o *GetByIDInternalServerError) GetPayload() *models.ZsrvResponse
func (*GetByIDInternalServerError) IsClientError ¶
func (o *GetByIDInternalServerError) IsClientError() bool
IsClientError returns true when this resource group get deployment by Id v2 internal server error response has a 4xx status code
func (*GetByIDInternalServerError) IsCode ¶
func (o *GetByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this resource group get deployment by Id v2 internal server error response a status code equal to that given
func (*GetByIDInternalServerError) IsRedirect ¶
func (o *GetByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this resource group get deployment by Id v2 internal server error response has a 3xx status code
func (*GetByIDInternalServerError) IsServerError ¶
func (o *GetByIDInternalServerError) IsServerError() bool
IsServerError returns true when this resource group get deployment by Id v2 internal server error response has a 5xx status code
func (*GetByIDInternalServerError) IsSuccess ¶
func (o *GetByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this resource group get deployment by Id v2 internal server error response has a 2xx status code
func (*GetByIDInternalServerError) String ¶
func (o *GetByIDInternalServerError) String() string
type GetByIDNotFound ¶
type GetByIDNotFound struct {
Payload *models.ZsrvResponse
}
GetByIDForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetByIDNotFound ¶
func NewGetByIDNotFound() *GetByIDNotFound
NewGetByIDForbidden creates a GetByIDForbidden with default headers values
func (*GetByIDNotFound) Code ¶
func (o *GetByIDNotFound) Code() int
Code gets the status code for the resource group get deployment by Id v2 forbidden response
func (*GetByIDNotFound) Error ¶
func (o *GetByIDNotFound) Error() string
func (*GetByIDNotFound) GetPayload ¶
func (o *GetByIDNotFound) GetPayload() *models.ZsrvResponse
func (*GetByIDNotFound) IsClientError ¶
func (o *GetByIDNotFound) IsClientError() bool
IsClientError returns true when this resource group get deployment by Id v2 forbidden response has a 4xx status code
func (*GetByIDNotFound) IsCode ¶
func (o *GetByIDNotFound) IsCode(code int) bool
IsCode returns true when this resource group get deployment by Id v2 forbidden response a status code equal to that given
func (*GetByIDNotFound) IsRedirect ¶
func (o *GetByIDNotFound) IsRedirect() bool
IsRedirect returns true when this resource group get deployment by Id v2 forbidden response has a 3xx status code
func (*GetByIDNotFound) IsServerError ¶
func (o *GetByIDNotFound) IsServerError() bool
IsServerError returns true when this resource group get deployment by Id v2 forbidden response has a 5xx status code
func (*GetByIDNotFound) IsSuccess ¶
func (o *GetByIDNotFound) IsSuccess() bool
IsSuccess returns true when this resource group get deployment by Id v2 forbidden response has a 2xx status code
func (*GetByIDNotFound) String ¶
func (o *GetByIDNotFound) String() string
type GetByIDOK ¶
type GetByIDOK struct {
Payload *models.Deployment
}
GetByIDOK describes a response with status code 200, with default header values.
A successful response.
func NewGetByIDOK ¶
func NewGetByIDOK() *GetByIDOK
NewGetByIDOK creates a GetByIDOK with default headers values
func (*GetByIDOK) Code ¶
Code gets the status code for the resource group get deployment by Id v2 o k response
func (*GetByIDOK) GetPayload ¶
func (o *GetByIDOK) GetPayload() *models.Deployment
func (*GetByIDOK) IsClientError ¶
IsClientError returns true when this resource group get deployment by Id v2 o k response has a 4xx status code
func (*GetByIDOK) IsCode ¶
IsCode returns true when this resource group get deployment by Id v2 o k response a status code equal to that given
func (*GetByIDOK) IsRedirect ¶
IsRedirect returns true when this resource group get deployment by Id v2 o k response has a 3xx status code
func (*GetByIDOK) IsServerError ¶
IsServerError returns true when this resource group get deployment by Id v2 o k response has a 5xx status code
type GetByIDParams ¶
type GetByIDParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// ID.
ID string
// ProjectID.
ProjectID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetByIDParams contains all the parameters to send to the API endpoint
for the resource group get deployment by Id v2 operation. Typically these are written to a http.Request.
func NewGetByIDParams ¶
func NewGetByIDParams() *GetByIDParams
NewGetByIDParams creates a new GetByIDParams 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 NewGetByIDParamsWithContext ¶
func NewGetByIDParamsWithContext(ctx context.Context) *GetByIDParams
NewGetByIDParamsWithContext creates a new GetByIDParams object with the ability to set a context for a request.
func NewGetByIDParamsWithHTTPClient ¶
func NewGetByIDParamsWithHTTPClient(client *http.Client) *GetByIDParams
NewGetByIDParamsWithHTTPClient creates a new GetByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetByIDParamsWithTimeout ¶
func NewGetByIDParamsWithTimeout(timeout time.Duration) *GetByIDParams
NewGetByIDParamsWithTimeout creates a new GetByIDParams object with the ability to set a timeout on a request.
func (*GetByIDParams) SetContext ¶
func (o *GetByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the resource group get deployment by Id v2 params
func (*GetByIDParams) SetDefaults ¶
func (o *GetByIDParams) SetDefaults()
SetDefaults hydrates default values in the resource group get deployment by Id v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetByIDParams) SetHTTPClient ¶
func (o *GetByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resource group get deployment by Id v2 params
func (*GetByIDParams) SetID ¶
func (o *GetByIDParams) SetID(id string)
SetID adds the id to the resource group get deployment by Id v2 params
func (*GetByIDParams) SetProjectID ¶
func (o *GetByIDParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the resource group get deployment by Id v2 params
func (*GetByIDParams) SetTimeout ¶
func (o *GetByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resource group get deployment by Id v2 params
func (*GetByIDParams) SetXRequestID ¶
func (o *GetByIDParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the resource group get deployment by Id v2 params
func (*GetByIDParams) WithContext ¶
func (o *GetByIDParams) WithContext(ctx context.Context) *GetByIDParams
WithContext adds the context to the resource group get deployment by Id v2 params
func (*GetByIDParams) WithDefaults ¶
func (o *GetByIDParams) WithDefaults() *GetByIDParams
WithDefaults hydrates default values in the resource group get deployment by Id v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetByIDParams) WithHTTPClient ¶
func (o *GetByIDParams) WithHTTPClient(client *http.Client) *GetByIDParams
WithHTTPClient adds the HTTPClient to the resource group get deployment by Id v2 params
func (*GetByIDParams) WithID ¶
func (o *GetByIDParams) WithID(id string) *GetByIDParams
WithID adds the id to the resource group get deployment by Id v2 params
func (*GetByIDParams) WithProjectID ¶
func (o *GetByIDParams) WithProjectID(projectID string) *GetByIDParams
WithProjectID adds the projectID to the resource group get deployment by Id v2 params
func (*GetByIDParams) WithTimeout ¶
func (o *GetByIDParams) WithTimeout(timeout time.Duration) *GetByIDParams
WithTimeout adds the timeout to the resource group get deployment by Id v2 params
func (*GetByIDParams) WithXRequestID ¶
func (o *GetByIDParams) WithXRequestID(xRequestID *string) *GetByIDParams
WithXRequestID adds the xRequestID to the resource group get deployment by Id v2 params
func (*GetByIDParams) WriteToRequest ¶
func (o *GetByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetByIDReader ¶
type GetByIDReader struct {
// contains filtered or unexported fields
}
GetByIDReader is a Reader for the GetByID structure.
func (*GetByIDReader) ReadResponse ¶
func (o *GetByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetByIDUnauthorized ¶
type GetByIDUnauthorized struct {
}
GetByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetByIDUnauthorized ¶
func NewGetByIDUnauthorized() *GetByIDUnauthorized
NewGetByIDUnauthorized creates GetByIDUnauthorized with default headers values
func (*GetByIDUnauthorized) Code ¶
func (o *GetByIDUnauthorized) Code() int
Code gets the status code for the resource group get deployment by Id v2 unauthorized response
func (*GetByIDUnauthorized) Error ¶
func (o *GetByIDUnauthorized) Error() string
func (*GetByIDUnauthorized) GetPayload ¶
func (o *GetByIDUnauthorized) GetPayload() *models.ZsrvResponse
func (*GetByIDUnauthorized) IsClientError ¶
func (o *GetByIDUnauthorized) IsClientError() bool
IsClientError returns true when this resource group get deployment by Id v2 unauthorized response has a 4xx status code
func (*GetByIDUnauthorized) IsCode ¶
func (o *GetByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this resource group get deployment by Id v2 unauthorized response a status code equal to that given
func (*GetByIDUnauthorized) IsRedirect ¶
func (o *GetByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this resource group get deployment by Id v2 unauthorized response has a 3xx status code
func (*GetByIDUnauthorized) IsServerError ¶
func (o *GetByIDUnauthorized) IsServerError() bool
IsServerError returns true when this resource group get deployment by Id v2 unauthorized response has a 5xx status code
func (*GetByIDUnauthorized) IsSuccess ¶
func (o *GetByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this resource group get deployment by Id v2 unauthorized response has a 2xx status code
func (*GetByIDUnauthorized) String ¶
func (o *GetByIDUnauthorized) String() string
type GetListbyIdDefault ¶
type GetListbyIdDefault struct {
Payload *models.GooglerpcStatus
// contains filtered or unexported fields
}
GetListbyIdDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewResourceGroupGetDeploymentListbyIdv2Default ¶
func NewResourceGroupGetDeploymentListbyIdv2Default(code int) *GetListbyIdDefault
NewResourceGroupGetDeploymentListbyIdv2Default creates a ResourceGroupGetDeploymentListbyIdv2Default with default headers values
func (*GetListbyIdDefault) Code ¶
func (o *GetListbyIdDefault) Code() int
Code gets the status code for the resource group get deployment listby idv2 default response
func (*GetListbyIdDefault) Error ¶
func (o *GetListbyIdDefault) Error() string
func (*GetListbyIdDefault) GetPayload ¶
func (o *GetListbyIdDefault) GetPayload() *models.GooglerpcStatus
func (*GetListbyIdDefault) IsClientError ¶
func (o *GetListbyIdDefault) IsClientError() bool
IsClientError returns true when this resource group get deployment listby idv2 default response has a 4xx status code
func (*GetListbyIdDefault) IsCode ¶
func (o *GetListbyIdDefault) IsCode(code int) bool
IsCode returns true when this resource group get deployment listby idv2 default response a status code equal to that given
func (*GetListbyIdDefault) IsRedirect ¶
func (o *GetListbyIdDefault) IsRedirect() bool
IsRedirect returns true when this resource group get deployment listby idv2 default response has a 3xx status code
func (*GetListbyIdDefault) IsServerError ¶
func (o *GetListbyIdDefault) IsServerError() bool
IsServerError returns true when this resource group get deployment listby idv2 default response has a 5xx status code
func (*GetListbyIdDefault) IsSuccess ¶
func (o *GetListbyIdDefault) IsSuccess() bool
IsSuccess returns true when this resource group get deployment listby idv2 default response has a 2xx status code
func (*GetListbyIdDefault) String ¶
func (o *GetListbyIdDefault) String() string
type GetListbyIdForbidden ¶
type GetListbyIdForbidden struct {
Payload *models.ZsrvResponse
}
GetListbyIdForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetListbyIdForbidden ¶
func NewGetListbyIdForbidden() *GetListbyIdForbidden
NewGetListbyIdForbidden creates a GetListbyIdForbidden with default headers values
func (*GetListbyIdForbidden) Code ¶
func (o *GetListbyIdForbidden) Code() int
Code gets the status code for the resource group get deployment listby idv2 forbidden response
func (*GetListbyIdForbidden) Error ¶
func (o *GetListbyIdForbidden) Error() string
func (*GetListbyIdForbidden) GetPayload ¶
func (o *GetListbyIdForbidden) GetPayload() *models.ZsrvResponse
func (*GetListbyIdForbidden) IsClientError ¶
func (o *GetListbyIdForbidden) IsClientError() bool
IsClientError returns true when this resource group get deployment listby idv2 forbidden response has a 4xx status code
func (*GetListbyIdForbidden) IsCode ¶
func (o *GetListbyIdForbidden) IsCode(code int) bool
IsCode returns true when this resource group get deployment listby idv2 forbidden response a status code equal to that given
func (*GetListbyIdForbidden) IsRedirect ¶
func (o *GetListbyIdForbidden) IsRedirect() bool
IsRedirect returns true when this resource group get deployment listby idv2 forbidden response has a 3xx status code
func (*GetListbyIdForbidden) IsServerError ¶
func (o *GetListbyIdForbidden) IsServerError() bool
IsServerError returns true when this resource group get deployment listby idv2 forbidden response has a 5xx status code
func (*GetListbyIdForbidden) IsSuccess ¶
func (o *GetListbyIdForbidden) IsSuccess() bool
IsSuccess returns true when this resource group get deployment listby idv2 forbidden response has a 2xx status code
func (*GetListbyIdForbidden) String ¶
func (o *GetListbyIdForbidden) String() string
type GetListbyIdGatewayTimeout ¶
type GetListbyIdGatewayTimeout struct {
Payload *models.ZsrvResponse
}
GetListbyIdGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetListbyIdGatewayTimeout ¶
func NewGetListbyIdGatewayTimeout() *GetListbyIdGatewayTimeout
NewGetListbyIdGatewayTimeout creates a GetListbyIdGatewayTimeout with default headers values
func (*GetListbyIdGatewayTimeout) Code ¶
func (o *GetListbyIdGatewayTimeout) Code() int
Code gets the status code for the resource group get deployment listby idv2 gateway timeout response
func (*GetListbyIdGatewayTimeout) Error ¶
func (o *GetListbyIdGatewayTimeout) Error() string
func (*GetListbyIdGatewayTimeout) GetPayload ¶
func (o *GetListbyIdGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*GetListbyIdGatewayTimeout) IsClientError ¶
func (o *GetListbyIdGatewayTimeout) IsClientError() bool
IsClientError returns true when this resource group get deployment listby idv2 gateway timeout response has a 4xx status code
func (*GetListbyIdGatewayTimeout) IsCode ¶
func (o *GetListbyIdGatewayTimeout) IsCode(code int) bool
IsCode returns true when this resource group get deployment listby idv2 gateway timeout response a status code equal to that given
func (*GetListbyIdGatewayTimeout) IsRedirect ¶
func (o *GetListbyIdGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this resource group get deployment listby idv2 gateway timeout response has a 3xx status code
func (*GetListbyIdGatewayTimeout) IsServerError ¶
func (o *GetListbyIdGatewayTimeout) IsServerError() bool
IsServerError returns true when this resource group get deployment listby idv2 gateway timeout response has a 5xx status code
func (*GetListbyIdGatewayTimeout) IsSuccess ¶
func (o *GetListbyIdGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this resource group get deployment listby idv2 gateway timeout response has a 2xx status code
func (*GetListbyIdGatewayTimeout) String ¶
func (o *GetListbyIdGatewayTimeout) String() string
type GetListbyIdInternalServerError ¶
type GetListbyIdInternalServerError struct {
Payload *models.ZsrvResponse
}
GetListbyIdInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetListbyIdInternalServerError ¶
func NewGetListbyIdInternalServerError() *GetListbyIdInternalServerError
NewGetListbyIdInternalServerError creates a GetListbyIdInternalServerError with default headers values
func (*GetListbyIdInternalServerError) Code ¶
func (o *GetListbyIdInternalServerError) Code() int
Code gets the status code for the resource group get deployment listby idv2 internal server error response
func (*GetListbyIdInternalServerError) Error ¶
func (o *GetListbyIdInternalServerError) Error() string
func (*GetListbyIdInternalServerError) GetPayload ¶
func (o *GetListbyIdInternalServerError) GetPayload() *models.ZsrvResponse
func (*GetListbyIdInternalServerError) IsClientError ¶
func (o *GetListbyIdInternalServerError) IsClientError() bool
IsClientError returns true when this resource group get deployment listby idv2 internal server error response has a 4xx status code
func (*GetListbyIdInternalServerError) IsCode ¶
func (o *GetListbyIdInternalServerError) IsCode(code int) bool
IsCode returns true when this resource group get deployment listby idv2 internal server error response a status code equal to that given
func (*GetListbyIdInternalServerError) IsRedirect ¶
func (o *GetListbyIdInternalServerError) IsRedirect() bool
IsRedirect returns true when this resource group get deployment listby idv2 internal server error response has a 3xx status code
func (*GetListbyIdInternalServerError) IsServerError ¶
func (o *GetListbyIdInternalServerError) IsServerError() bool
IsServerError returns true when this resource group get deployment listby idv2 internal server error response has a 5xx status code
func (*GetListbyIdInternalServerError) IsSuccess ¶
func (o *GetListbyIdInternalServerError) IsSuccess() bool
IsSuccess returns true when this resource group get deployment listby idv2 internal server error response has a 2xx status code
func (*GetListbyIdInternalServerError) String ¶
func (o *GetListbyIdInternalServerError) String() string
type GetListbyIdOK ¶
type GetListbyIdOK struct {
Payload *models.Deployments
}
GetListbyIdOK describes a response with status code 200, with default header values.
A successful response.
func NewGetListbyIdOK ¶
func NewGetListbyIdOK() *GetListbyIdOK
NewGetListbyIdOK creates a GetListbyIdOK with default headers values
func (*GetListbyIdOK) Code ¶
func (o *GetListbyIdOK) Code() int
Code gets the status code for the resource group get deployment listby idv2 o k response
func (*GetListbyIdOK) Error ¶
func (o *GetListbyIdOK) Error() string
func (*GetListbyIdOK) GetPayload ¶
func (o *GetListbyIdOK) GetPayload() *models.Deployments
func (*GetListbyIdOK) IsClientError ¶
func (o *GetListbyIdOK) IsClientError() bool
IsClientError returns true when this resource group get deployment listby idv2 o k response has a 4xx status code
func (*GetListbyIdOK) IsCode ¶
func (o *GetListbyIdOK) IsCode(code int) bool
IsCode returns true when this resource group get deployment listby idv2 o k response a status code equal to that given
func (*GetListbyIdOK) IsRedirect ¶
func (o *GetListbyIdOK) IsRedirect() bool
IsRedirect returns true when this resource group get deployment listby idv2 o k response has a 3xx status code
func (*GetListbyIdOK) IsServerError ¶
func (o *GetListbyIdOK) IsServerError() bool
IsServerError returns true when this resource group get deployment listby idv2 o k response has a 5xx status code
func (*GetListbyIdOK) IsSuccess ¶
func (o *GetListbyIdOK) IsSuccess() bool
IsSuccess returns true when this resource group get deployment listby idv2 o k response has a 2xx status code
func (*GetListbyIdOK) String ¶
func (o *GetListbyIdOK) String() string
type GetListbyIdParams ¶
type GetListbyIdParams struct {
/* XRequestID.
User-Agent specified id to track a request
*/
XRequestID *string
// ProjectID.
ProjectID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetListbyIdParams contains all the parameters to send to the API endpoint
for the resource group get deployment listby idv2 operation. Typically these are written to a http.Request.
func NewGetListbyIdParams ¶
func NewGetListbyIdParams() *GetListbyIdParams
NewGetListbyIdParams creates a new GetListbyIdParams 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 NewGetListbyIdParamsWithContext ¶
func NewGetListbyIdParamsWithContext(ctx context.Context) *GetListbyIdParams
NewGetListbyIdParamsWithContext creates a new GetListbyIdParams object with the ability to set a context for a request.
func NewGetListbyIdParamsWithHTTPClient ¶
func NewGetListbyIdParamsWithHTTPClient(client *http.Client) *GetListbyIdParams
NewGetListbyIdParamsWithHTTPClient creates a new GetListbyIdParams object with the ability to set a custom HTTPClient for a request.
func NewGetListbyIdParamsWithTimeout ¶
func NewGetListbyIdParamsWithTimeout(timeout time.Duration) *GetListbyIdParams
NewGetListbyIdParamsWithTimeout creates a new GetListbyIdParams object with the ability to set a timeout on a request.
func (*GetListbyIdParams) SetContext ¶
func (o *GetListbyIdParams) SetContext(ctx context.Context)
SetContext adds the context to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) SetDefaults ¶
func (o *GetListbyIdParams) SetDefaults()
SetDefaults hydrates default values in the resource group get deployment listby idv2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetListbyIdParams) SetHTTPClient ¶
func (o *GetListbyIdParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) SetProjectID ¶
func (o *GetListbyIdParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) SetTimeout ¶
func (o *GetListbyIdParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) SetXRequestID ¶
func (o *GetListbyIdParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) WithContext ¶
func (o *GetListbyIdParams) WithContext(ctx context.Context) *GetListbyIdParams
WithContext adds the context to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) WithDefaults ¶
func (o *GetListbyIdParams) WithDefaults() *GetListbyIdParams
WithDefaults hydrates default values in the resource group get deployment listby idv2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetListbyIdParams) WithHTTPClient ¶
func (o *GetListbyIdParams) WithHTTPClient(client *http.Client) *GetListbyIdParams
WithHTTPClient adds the HTTPClient to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) WithProjectID ¶
func (o *GetListbyIdParams) WithProjectID(projectID string) *GetListbyIdParams
WithProjectID adds the projectID to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) WithTimeout ¶
func (o *GetListbyIdParams) WithTimeout(timeout time.Duration) *GetListbyIdParams
WithTimeout adds the timeout to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) WithXRequestID ¶
func (o *GetListbyIdParams) WithXRequestID(xRequestID *string) *GetListbyIdParams
WithXRequestID adds the xRequestID to the resource group get deployment listby idv2 params
func (*GetListbyIdParams) WriteToRequest ¶
func (o *GetListbyIdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetListbyIdReader ¶
type GetListbyIdReader struct {
// contains filtered or unexported fields
}
GetListbyIdReader is a Reader for the ResourceGroupGetDeploymentListbyIdv2 structure.
func (*GetListbyIdReader) ReadResponse ¶
func (o *GetListbyIdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetListbyIdUnauthorized ¶
type GetListbyIdUnauthorized struct {
}
GetListbyIdUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetListbyIdUnauthorized ¶
func NewGetListbyIdUnauthorized() *GetListbyIdUnauthorized
NewGetListbyIdUnauthorized creates a GetListbyIdUnauthorized with default headers values
func (*GetListbyIdUnauthorized) Code ¶
func (o *GetListbyIdUnauthorized) Code() int
Code gets the status code for the resource group get deployment listby idv2 unauthorized response
func (*GetListbyIdUnauthorized) Error ¶
func (o *GetListbyIdUnauthorized) Error() string
func (*GetListbyIdUnauthorized) GetPayload ¶
func (o *GetListbyIdUnauthorized) GetPayload() *models.ZsrvResponse
func (*GetListbyIdUnauthorized) IsClientError ¶
func (o *GetListbyIdUnauthorized) IsClientError() bool
IsClientError returns true when this resource group get deployment listby idv2 unauthorized response has a 4xx status code
func (*GetListbyIdUnauthorized) IsCode ¶
func (o *GetListbyIdUnauthorized) IsCode(code int) bool
IsCode returns true when this resource group get deployment listby idv2 unauthorized response a status code equal to that given
func (*GetListbyIdUnauthorized) IsRedirect ¶
func (o *GetListbyIdUnauthorized) IsRedirect() bool
IsRedirect returns true when this resource group get deployment listby idv2 unauthorized response has a 3xx status code
func (*GetListbyIdUnauthorized) IsServerError ¶
func (o *GetListbyIdUnauthorized) IsServerError() bool
IsServerError returns true when this resource group get deployment listby idv2 unauthorized response has a 5xx status code
func (*GetListbyIdUnauthorized) IsSuccess ¶
func (o *GetListbyIdUnauthorized) IsSuccess() bool
IsSuccess returns true when this resource group get deployment listby idv2 unauthorized response has a 2xx status code
func (*GetListbyIdUnauthorized) String ¶
func (o *GetListbyIdUnauthorized) String() string