Documentation
¶
Index ¶
- type Client
- func (a *Client) Create(params *ProjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectsCreateOK, error)
- func (a *Client) Delete(params *ProjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectsDeleteOK, error)
- func (a *Client) GetByID(params *ProjectsGetByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectsGetByIDOK, error)
- func (a *Client) GetByName(params *ProjectsGetByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectsGetByNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Update(params *ProjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectsUpdateOK, error)
- type ClientOption
- type ClientService
- type ProjectsCreateBadRequest
- func (o *ProjectsCreateBadRequest) Error() string
- func (o *ProjectsCreateBadRequest) GetPayload() *models.ZsrvResponse
- func (o *ProjectsCreateBadRequest) IsClientError() bool
- func (o *ProjectsCreateBadRequest) IsCode(code int) bool
- func (o *ProjectsCreateBadRequest) IsRedirect() bool
- func (o *ProjectsCreateBadRequest) IsServerError() bool
- func (o *ProjectsCreateBadRequest) IsSuccess() bool
- func (o *ProjectsCreateBadRequest) String() string
- type ProjectsCreateConflict
- func (o *ProjectsCreateConflict) Error() string
- func (o *ProjectsCreateConflict) GetPayload() *models.ZsrvResponse
- func (o *ProjectsCreateConflict) IsClientError() bool
- func (o *ProjectsCreateConflict) IsCode(code int) bool
- func (o *ProjectsCreateConflict) IsRedirect() bool
- func (o *ProjectsCreateConflict) IsServerError() bool
- func (o *ProjectsCreateConflict) IsSuccess() bool
- func (o *ProjectsCreateConflict) String() string
- type ProjectsCreateDefault
- func (o *ProjectsCreateDefault) Code() int
- func (o *ProjectsCreateDefault) Error() string
- func (o *ProjectsCreateDefault) GetPayload() *models.GooglerpcStatus
- func (o *ProjectsCreateDefault) IsClientError() bool
- func (o *ProjectsCreateDefault) IsCode(code int) bool
- func (o *ProjectsCreateDefault) IsRedirect() bool
- func (o *ProjectsCreateDefault) IsServerError() bool
- func (o *ProjectsCreateDefault) IsSuccess() bool
- func (o *ProjectsCreateDefault) String() string
- type ProjectsCreateForbidden
- func (o *ProjectsCreateForbidden) Error() string
- func (o *ProjectsCreateForbidden) GetPayload() *models.ZsrvResponse
- func (o *ProjectsCreateForbidden) IsClientError() bool
- func (o *ProjectsCreateForbidden) IsCode(code int) bool
- func (o *ProjectsCreateForbidden) IsRedirect() bool
- func (o *ProjectsCreateForbidden) IsServerError() bool
- func (o *ProjectsCreateForbidden) IsSuccess() bool
- func (o *ProjectsCreateForbidden) String() string
- type ProjectsCreateGatewayTimeout
- func (o *ProjectsCreateGatewayTimeout) Error() string
- func (o *ProjectsCreateGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *ProjectsCreateGatewayTimeout) IsClientError() bool
- func (o *ProjectsCreateGatewayTimeout) IsCode(code int) bool
- func (o *ProjectsCreateGatewayTimeout) IsRedirect() bool
- func (o *ProjectsCreateGatewayTimeout) IsServerError() bool
- func (o *ProjectsCreateGatewayTimeout) IsSuccess() bool
- func (o *ProjectsCreateGatewayTimeout) String() string
- type ProjectsCreateInternalServerError
- func (o *ProjectsCreateInternalServerError) Error() string
- func (o *ProjectsCreateInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *ProjectsCreateInternalServerError) IsClientError() bool
- func (o *ProjectsCreateInternalServerError) IsCode(code int) bool
- func (o *ProjectsCreateInternalServerError) IsRedirect() bool
- func (o *ProjectsCreateInternalServerError) IsServerError() bool
- func (o *ProjectsCreateInternalServerError) IsSuccess() bool
- func (o *ProjectsCreateInternalServerError) String() string
- type ProjectsCreateOK
- func (o *ProjectsCreateOK) Error() string
- func (o *ProjectsCreateOK) GetPayload() *models.ZsrvResponse
- func (o *ProjectsCreateOK) IsClientError() bool
- func (o *ProjectsCreateOK) IsCode(code int) bool
- func (o *ProjectsCreateOK) IsRedirect() bool
- func (o *ProjectsCreateOK) IsServerError() bool
- func (o *ProjectsCreateOK) IsSuccess() bool
- func (o *ProjectsCreateOK) String() string
- type ProjectsCreateParams
- func (o *ProjectsCreateParams) SetBody(body *models.Tag)
- func (o *ProjectsCreateParams) SetContext(ctx context.Context)
- func (o *ProjectsCreateParams) SetDefaults()
- func (o *ProjectsCreateParams) SetHTTPClient(client *http.Client)
- func (o *ProjectsCreateParams) SetTimeout(timeout time.Duration)
- func (o *ProjectsCreateParams) SetXRequestID(xRequestID *string)
- func (o *ProjectsCreateParams) WithBody(body *models.Tag) *ProjectsCreateParams
- func (o *ProjectsCreateParams) WithContext(ctx context.Context) *ProjectsCreateParams
- func (o *ProjectsCreateParams) WithDefaults() *ProjectsCreateParams
- func (o *ProjectsCreateParams) WithHTTPClient(client *http.Client) *ProjectsCreateParams
- func (o *ProjectsCreateParams) WithTimeout(timeout time.Duration) *ProjectsCreateParams
- func (o *ProjectsCreateParams) WithXRequestID(xRequestID *string) *ProjectsCreateParams
- func (o *ProjectsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectsCreateReader
- type ProjectsCreateUnauthorized
- func (o *ProjectsCreateUnauthorized) Error() string
- func (o *ProjectsCreateUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *ProjectsCreateUnauthorized) IsClientError() bool
- func (o *ProjectsCreateUnauthorized) IsCode(code int) bool
- func (o *ProjectsCreateUnauthorized) IsRedirect() bool
- func (o *ProjectsCreateUnauthorized) IsServerError() bool
- func (o *ProjectsCreateUnauthorized) IsSuccess() bool
- func (o *ProjectsCreateUnauthorized) String() string
- type ProjectsDeleteDefault
- func (o *ProjectsDeleteDefault) Code() int
- func (o *ProjectsDeleteDefault) Error() string
- func (o *ProjectsDeleteDefault) GetPayload() *models.GooglerpcStatus
- func (o *ProjectsDeleteDefault) IsClientError() bool
- func (o *ProjectsDeleteDefault) IsCode(code int) bool
- func (o *ProjectsDeleteDefault) IsRedirect() bool
- func (o *ProjectsDeleteDefault) IsServerError() bool
- func (o *ProjectsDeleteDefault) IsSuccess() bool
- func (o *ProjectsDeleteDefault) String() string
- type ProjectsDeleteForbidden
- func (o *ProjectsDeleteForbidden) Error() string
- func (o *ProjectsDeleteForbidden) GetPayload() *models.ZsrvResponse
- func (o *ProjectsDeleteForbidden) IsClientError() bool
- func (o *ProjectsDeleteForbidden) IsCode(code int) bool
- func (o *ProjectsDeleteForbidden) IsRedirect() bool
- func (o *ProjectsDeleteForbidden) IsServerError() bool
- func (o *ProjectsDeleteForbidden) IsSuccess() bool
- func (o *ProjectsDeleteForbidden) String() string
- type ProjectsDeleteGatewayTimeout
- func (o *ProjectsDeleteGatewayTimeout) Error() string
- func (o *ProjectsDeleteGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *ProjectsDeleteGatewayTimeout) IsClientError() bool
- func (o *ProjectsDeleteGatewayTimeout) IsCode(code int) bool
- func (o *ProjectsDeleteGatewayTimeout) IsRedirect() bool
- func (o *ProjectsDeleteGatewayTimeout) IsServerError() bool
- func (o *ProjectsDeleteGatewayTimeout) IsSuccess() bool
- func (o *ProjectsDeleteGatewayTimeout) String() string
- type ProjectsDeleteInternalServerError
- func (o *ProjectsDeleteInternalServerError) Error() string
- func (o *ProjectsDeleteInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *ProjectsDeleteInternalServerError) IsClientError() bool
- func (o *ProjectsDeleteInternalServerError) IsCode(code int) bool
- func (o *ProjectsDeleteInternalServerError) IsRedirect() bool
- func (o *ProjectsDeleteInternalServerError) IsServerError() bool
- func (o *ProjectsDeleteInternalServerError) IsSuccess() bool
- func (o *ProjectsDeleteInternalServerError) String() string
- type ProjectsDeleteNotFound
- func (o *ProjectsDeleteNotFound) Error() string
- func (o *ProjectsDeleteNotFound) GetPayload() *models.ZsrvResponse
- func (o *ProjectsDeleteNotFound) IsClientError() bool
- func (o *ProjectsDeleteNotFound) IsCode(code int) bool
- func (o *ProjectsDeleteNotFound) IsRedirect() bool
- func (o *ProjectsDeleteNotFound) IsServerError() bool
- func (o *ProjectsDeleteNotFound) IsSuccess() bool
- func (o *ProjectsDeleteNotFound) String() string
- type ProjectsDeleteOK
- func (o *ProjectsDeleteOK) Error() string
- func (o *ProjectsDeleteOK) GetPayload() *models.ZsrvResponse
- func (o *ProjectsDeleteOK) IsClientError() bool
- func (o *ProjectsDeleteOK) IsCode(code int) bool
- func (o *ProjectsDeleteOK) IsRedirect() bool
- func (o *ProjectsDeleteOK) IsServerError() bool
- func (o *ProjectsDeleteOK) IsSuccess() bool
- func (o *ProjectsDeleteOK) String() string
- type ProjectsDeleteParams
- func (o *ProjectsDeleteParams) SetContext(ctx context.Context)
- func (o *ProjectsDeleteParams) SetDefaults()
- func (o *ProjectsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ProjectsDeleteParams) SetID(id string)
- func (o *ProjectsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ProjectsDeleteParams) SetXRequestID(xRequestID *string)
- func (o *ProjectsDeleteParams) WithContext(ctx context.Context) *ProjectsDeleteParams
- func (o *ProjectsDeleteParams) WithDefaults() *ProjectsDeleteParams
- func (o *ProjectsDeleteParams) WithHTTPClient(client *http.Client) *ProjectsDeleteParams
- func (o *ProjectsDeleteParams) WithID(id string) *ProjectsDeleteParams
- func (o *ProjectsDeleteParams) WithTimeout(timeout time.Duration) *ProjectsDeleteParams
- func (o *ProjectsDeleteParams) WithXRequestID(xRequestID *string) *ProjectsDeleteParams
- func (o *ProjectsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectsDeleteReader
- type ProjectsDeleteUnauthorized
- func (o *ProjectsDeleteUnauthorized) Error() string
- func (o *ProjectsDeleteUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *ProjectsDeleteUnauthorized) IsClientError() bool
- func (o *ProjectsDeleteUnauthorized) IsCode(code int) bool
- func (o *ProjectsDeleteUnauthorized) IsRedirect() bool
- func (o *ProjectsDeleteUnauthorized) IsServerError() bool
- func (o *ProjectsDeleteUnauthorized) IsSuccess() bool
- func (o *ProjectsDeleteUnauthorized) String() string
- type ProjectsGetByIDDefault
- func (o *ProjectsGetByIDDefault) Code() int
- func (o *ProjectsGetByIDDefault) Error() string
- func (o *ProjectsGetByIDDefault) GetPayload() *models.GooglerpcStatus
- func (o *ProjectsGetByIDDefault) IsClientError() bool
- func (o *ProjectsGetByIDDefault) IsCode(code int) bool
- func (o *ProjectsGetByIDDefault) IsRedirect() bool
- func (o *ProjectsGetByIDDefault) IsServerError() bool
- func (o *ProjectsGetByIDDefault) IsSuccess() bool
- func (o *ProjectsGetByIDDefault) String() string
- type ProjectsGetByIDForbidden
- func (o *ProjectsGetByIDForbidden) Error() string
- func (o *ProjectsGetByIDForbidden) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByIDForbidden) IsClientError() bool
- func (o *ProjectsGetByIDForbidden) IsCode(code int) bool
- func (o *ProjectsGetByIDForbidden) IsRedirect() bool
- func (o *ProjectsGetByIDForbidden) IsServerError() bool
- func (o *ProjectsGetByIDForbidden) IsSuccess() bool
- func (o *ProjectsGetByIDForbidden) String() string
- type ProjectsGetByIDGatewayTimeout
- func (o *ProjectsGetByIDGatewayTimeout) Error() string
- func (o *ProjectsGetByIDGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByIDGatewayTimeout) IsClientError() bool
- func (o *ProjectsGetByIDGatewayTimeout) IsCode(code int) bool
- func (o *ProjectsGetByIDGatewayTimeout) IsRedirect() bool
- func (o *ProjectsGetByIDGatewayTimeout) IsServerError() bool
- func (o *ProjectsGetByIDGatewayTimeout) IsSuccess() bool
- func (o *ProjectsGetByIDGatewayTimeout) String() string
- type ProjectsGetByIDInternalServerError
- func (o *ProjectsGetByIDInternalServerError) Error() string
- func (o *ProjectsGetByIDInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByIDInternalServerError) IsClientError() bool
- func (o *ProjectsGetByIDInternalServerError) IsCode(code int) bool
- func (o *ProjectsGetByIDInternalServerError) IsRedirect() bool
- func (o *ProjectsGetByIDInternalServerError) IsServerError() bool
- func (o *ProjectsGetByIDInternalServerError) IsSuccess() bool
- func (o *ProjectsGetByIDInternalServerError) String() string
- type ProjectsGetByIDNotFound
- func (o *ProjectsGetByIDNotFound) Error() string
- func (o *ProjectsGetByIDNotFound) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByIDNotFound) IsClientError() bool
- func (o *ProjectsGetByIDNotFound) IsCode(code int) bool
- func (o *ProjectsGetByIDNotFound) IsRedirect() bool
- func (o *ProjectsGetByIDNotFound) IsServerError() bool
- func (o *ProjectsGetByIDNotFound) IsSuccess() bool
- func (o *ProjectsGetByIDNotFound) String() string
- type ProjectsGetByIDOK
- func (o *ProjectsGetByIDOK) Error() string
- func (o *ProjectsGetByIDOK) GetPayload() *models.Tag
- func (o *ProjectsGetByIDOK) IsClientError() bool
- func (o *ProjectsGetByIDOK) IsCode(code int) bool
- func (o *ProjectsGetByIDOK) IsRedirect() bool
- func (o *ProjectsGetByIDOK) IsServerError() bool
- func (o *ProjectsGetByIDOK) IsSuccess() bool
- func (o *ProjectsGetByIDOK) String() string
- type ProjectsGetByIDParams
- func GetByIDParams() *ProjectsGetByIDParams
- func NewProjectsGetByIDParamsWithContext(ctx context.Context) *ProjectsGetByIDParams
- func NewProjectsGetByIDParamsWithHTTPClient(client *http.Client) *ProjectsGetByIDParams
- func NewProjectsGetByIDParamsWithTimeout(timeout time.Duration) *ProjectsGetByIDParams
- func (o *ProjectsGetByIDParams) SetContext(ctx context.Context)
- func (o *ProjectsGetByIDParams) SetDefaults()
- func (o *ProjectsGetByIDParams) SetHTTPClient(client *http.Client)
- func (o *ProjectsGetByIDParams) SetID(id string)
- func (o *ProjectsGetByIDParams) SetTimeout(timeout time.Duration)
- func (o *ProjectsGetByIDParams) SetXRequestID(xRequestID *string)
- func (o *ProjectsGetByIDParams) WithContext(ctx context.Context) *ProjectsGetByIDParams
- func (o *ProjectsGetByIDParams) WithDefaults() *ProjectsGetByIDParams
- func (o *ProjectsGetByIDParams) WithHTTPClient(client *http.Client) *ProjectsGetByIDParams
- func (o *ProjectsGetByIDParams) WithID(id string) *ProjectsGetByIDParams
- func (o *ProjectsGetByIDParams) WithTimeout(timeout time.Duration) *ProjectsGetByIDParams
- func (o *ProjectsGetByIDParams) WithXRequestID(xRequestID *string) *ProjectsGetByIDParams
- func (o *ProjectsGetByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectsGetByIDReader
- type ProjectsGetByIDUnauthorized
- func (o *ProjectsGetByIDUnauthorized) Error() string
- func (o *ProjectsGetByIDUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByIDUnauthorized) IsClientError() bool
- func (o *ProjectsGetByIDUnauthorized) IsCode(code int) bool
- func (o *ProjectsGetByIDUnauthorized) IsRedirect() bool
- func (o *ProjectsGetByIDUnauthorized) IsServerError() bool
- func (o *ProjectsGetByIDUnauthorized) IsSuccess() bool
- func (o *ProjectsGetByIDUnauthorized) String() string
- type ProjectsGetByNameDefault
- func (o *ProjectsGetByNameDefault) Code() int
- func (o *ProjectsGetByNameDefault) Error() string
- func (o *ProjectsGetByNameDefault) GetPayload() *models.GooglerpcStatus
- func (o *ProjectsGetByNameDefault) IsClientError() bool
- func (o *ProjectsGetByNameDefault) IsCode(code int) bool
- func (o *ProjectsGetByNameDefault) IsRedirect() bool
- func (o *ProjectsGetByNameDefault) IsServerError() bool
- func (o *ProjectsGetByNameDefault) IsSuccess() bool
- func (o *ProjectsGetByNameDefault) String() string
- type ProjectsGetByNameForbidden
- func (o *ProjectsGetByNameForbidden) Error() string
- func (o *ProjectsGetByNameForbidden) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByNameForbidden) IsClientError() bool
- func (o *ProjectsGetByNameForbidden) IsCode(code int) bool
- func (o *ProjectsGetByNameForbidden) IsRedirect() bool
- func (o *ProjectsGetByNameForbidden) IsServerError() bool
- func (o *ProjectsGetByNameForbidden) IsSuccess() bool
- func (o *ProjectsGetByNameForbidden) String() string
- type ProjectsGetByNameGatewayTimeout
- func (o *ProjectsGetByNameGatewayTimeout) Error() string
- func (o *ProjectsGetByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByNameGatewayTimeout) IsClientError() bool
- func (o *ProjectsGetByNameGatewayTimeout) IsCode(code int) bool
- func (o *ProjectsGetByNameGatewayTimeout) IsRedirect() bool
- func (o *ProjectsGetByNameGatewayTimeout) IsServerError() bool
- func (o *ProjectsGetByNameGatewayTimeout) IsSuccess() bool
- func (o *ProjectsGetByNameGatewayTimeout) String() string
- type ProjectsGetByNameInternalServerError
- func (o *ProjectsGetByNameInternalServerError) Error() string
- func (o *ProjectsGetByNameInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByNameInternalServerError) IsClientError() bool
- func (o *ProjectsGetByNameInternalServerError) IsCode(code int) bool
- func (o *ProjectsGetByNameInternalServerError) IsRedirect() bool
- func (o *ProjectsGetByNameInternalServerError) IsServerError() bool
- func (o *ProjectsGetByNameInternalServerError) IsSuccess() bool
- func (o *ProjectsGetByNameInternalServerError) String() string
- type ProjectsGetByNameNotFound
- func (o *ProjectsGetByNameNotFound) Error() string
- func (o *ProjectsGetByNameNotFound) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByNameNotFound) IsClientError() bool
- func (o *ProjectsGetByNameNotFound) IsCode(code int) bool
- func (o *ProjectsGetByNameNotFound) IsRedirect() bool
- func (o *ProjectsGetByNameNotFound) IsServerError() bool
- func (o *ProjectsGetByNameNotFound) IsSuccess() bool
- func (o *ProjectsGetByNameNotFound) String() string
- type ProjectsGetByNameOK
- func (o *ProjectsGetByNameOK) Error() string
- func (o *ProjectsGetByNameOK) GetPayload() *models.Tag
- func (o *ProjectsGetByNameOK) IsClientError() bool
- func (o *ProjectsGetByNameOK) IsCode(code int) bool
- func (o *ProjectsGetByNameOK) IsRedirect() bool
- func (o *ProjectsGetByNameOK) IsServerError() bool
- func (o *ProjectsGetByNameOK) IsSuccess() bool
- func (o *ProjectsGetByNameOK) String() string
- type ProjectsGetByNameParams
- func GetByNameParams() *ProjectsGetByNameParams
- func NewProjectsGetByNameParamsWithContext(ctx context.Context) *ProjectsGetByNameParams
- func NewProjectsGetByNameParamsWithHTTPClient(client *http.Client) *ProjectsGetByNameParams
- func NewProjectsGetByNameParamsWithTimeout(timeout time.Duration) *ProjectsGetByNameParams
- func (o *ProjectsGetByNameParams) SetContext(ctx context.Context)
- func (o *ProjectsGetByNameParams) SetDefaults()
- func (o *ProjectsGetByNameParams) SetHTTPClient(client *http.Client)
- func (o *ProjectsGetByNameParams) SetName(name string)
- func (o *ProjectsGetByNameParams) SetTimeout(timeout time.Duration)
- func (o *ProjectsGetByNameParams) SetXRequestID(xRequestID *string)
- func (o *ProjectsGetByNameParams) WithContext(ctx context.Context) *ProjectsGetByNameParams
- func (o *ProjectsGetByNameParams) WithDefaults() *ProjectsGetByNameParams
- func (o *ProjectsGetByNameParams) WithHTTPClient(client *http.Client) *ProjectsGetByNameParams
- func (o *ProjectsGetByNameParams) WithName(name string) *ProjectsGetByNameParams
- func (o *ProjectsGetByNameParams) WithTimeout(timeout time.Duration) *ProjectsGetByNameParams
- func (o *ProjectsGetByNameParams) WithXRequestID(xRequestID *string) *ProjectsGetByNameParams
- func (o *ProjectsGetByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectsGetByNameReader
- type ProjectsGetByNameUnauthorized
- func (o *ProjectsGetByNameUnauthorized) Error() string
- func (o *ProjectsGetByNameUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *ProjectsGetByNameUnauthorized) IsClientError() bool
- func (o *ProjectsGetByNameUnauthorized) IsCode(code int) bool
- func (o *ProjectsGetByNameUnauthorized) IsRedirect() bool
- func (o *ProjectsGetByNameUnauthorized) IsServerError() bool
- func (o *ProjectsGetByNameUnauthorized) IsSuccess() bool
- func (o *ProjectsGetByNameUnauthorized) String() string
- type ProjectsUpdateBody
- type ProjectsUpdateConflict
- func (o *ProjectsUpdateConflict) Error() string
- func (o *ProjectsUpdateConflict) GetPayload() *models.ZsrvResponse
- func (o *ProjectsUpdateConflict) IsClientError() bool
- func (o *ProjectsUpdateConflict) IsCode(code int) bool
- func (o *ProjectsUpdateConflict) IsRedirect() bool
- func (o *ProjectsUpdateConflict) IsServerError() bool
- func (o *ProjectsUpdateConflict) IsSuccess() bool
- func (o *ProjectsUpdateConflict) String() string
- type ProjectsUpdateDefault
- func (o *ProjectsUpdateDefault) Code() int
- func (o *ProjectsUpdateDefault) Error() string
- func (o *ProjectsUpdateDefault) GetPayload() *models.GooglerpcStatus
- func (o *ProjectsUpdateDefault) IsClientError() bool
- func (o *ProjectsUpdateDefault) IsCode(code int) bool
- func (o *ProjectsUpdateDefault) IsRedirect() bool
- func (o *ProjectsUpdateDefault) IsServerError() bool
- func (o *ProjectsUpdateDefault) IsSuccess() bool
- func (o *ProjectsUpdateDefault) String() string
- type ProjectsUpdateForbidden
- func (o *ProjectsUpdateForbidden) Error() string
- func (o *ProjectsUpdateForbidden) GetPayload() *models.ZsrvResponse
- func (o *ProjectsUpdateForbidden) IsClientError() bool
- func (o *ProjectsUpdateForbidden) IsCode(code int) bool
- func (o *ProjectsUpdateForbidden) IsRedirect() bool
- func (o *ProjectsUpdateForbidden) IsServerError() bool
- func (o *ProjectsUpdateForbidden) IsSuccess() bool
- func (o *ProjectsUpdateForbidden) String() string
- type ProjectsUpdateGatewayTimeout
- func (o *ProjectsUpdateGatewayTimeout) Error() string
- func (o *ProjectsUpdateGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *ProjectsUpdateGatewayTimeout) IsClientError() bool
- func (o *ProjectsUpdateGatewayTimeout) IsCode(code int) bool
- func (o *ProjectsUpdateGatewayTimeout) IsRedirect() bool
- func (o *ProjectsUpdateGatewayTimeout) IsServerError() bool
- func (o *ProjectsUpdateGatewayTimeout) IsSuccess() bool
- func (o *ProjectsUpdateGatewayTimeout) String() string
- type ProjectsUpdateInternalServerError
- func (o *ProjectsUpdateInternalServerError) Error() string
- func (o *ProjectsUpdateInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *ProjectsUpdateInternalServerError) IsClientError() bool
- func (o *ProjectsUpdateInternalServerError) IsCode(code int) bool
- func (o *ProjectsUpdateInternalServerError) IsRedirect() bool
- func (o *ProjectsUpdateInternalServerError) IsServerError() bool
- func (o *ProjectsUpdateInternalServerError) IsSuccess() bool
- func (o *ProjectsUpdateInternalServerError) String() string
- type ProjectsUpdateNotFound
- func (o *ProjectsUpdateNotFound) Error() string
- func (o *ProjectsUpdateNotFound) GetPayload() *models.ZsrvResponse
- func (o *ProjectsUpdateNotFound) IsClientError() bool
- func (o *ProjectsUpdateNotFound) IsCode(code int) bool
- func (o *ProjectsUpdateNotFound) IsRedirect() bool
- func (o *ProjectsUpdateNotFound) IsServerError() bool
- func (o *ProjectsUpdateNotFound) IsSuccess() bool
- func (o *ProjectsUpdateNotFound) String() string
- type ProjectsUpdateOK
- func (o *ProjectsUpdateOK) Error() string
- func (o *ProjectsUpdateOK) GetPayload() *models.ZsrvResponse
- func (o *ProjectsUpdateOK) IsClientError() bool
- func (o *ProjectsUpdateOK) IsCode(code int) bool
- func (o *ProjectsUpdateOK) IsRedirect() bool
- func (o *ProjectsUpdateOK) IsServerError() bool
- func (o *ProjectsUpdateOK) IsSuccess() bool
- func (o *ProjectsUpdateOK) String() string
- type ProjectsUpdateParams
- func (o *ProjectsUpdateParams) SetBody(body *models.Tag)
- func (o *ProjectsUpdateParams) SetContext(ctx context.Context)
- func (o *ProjectsUpdateParams) SetDefaults()
- func (o *ProjectsUpdateParams) SetHTTPClient(client *http.Client)
- func (o *ProjectsUpdateParams) SetID(id string)
- func (o *ProjectsUpdateParams) SetTimeout(timeout time.Duration)
- func (o *ProjectsUpdateParams) SetXRequestID(xRequestID *string)
- func (o *ProjectsUpdateParams) WithBody(body *models.Tag) *ProjectsUpdateParams
- func (o *ProjectsUpdateParams) WithContext(ctx context.Context) *ProjectsUpdateParams
- func (o *ProjectsUpdateParams) WithDefaults() *ProjectsUpdateParams
- func (o *ProjectsUpdateParams) WithHTTPClient(client *http.Client) *ProjectsUpdateParams
- func (o *ProjectsUpdateParams) WithID(id string) *ProjectsUpdateParams
- func (o *ProjectsUpdateParams) WithTimeout(timeout time.Duration) *ProjectsUpdateParams
- func (o *ProjectsUpdateParams) WithXRequestID(xRequestID *string) *ProjectsUpdateParams
- func (o *ProjectsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectsUpdateReader
- type ProjectsUpdateUnauthorized
- func (o *ProjectsUpdateUnauthorized) Error() string
- func (o *ProjectsUpdateUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *ProjectsUpdateUnauthorized) IsClientError() bool
- func (o *ProjectsUpdateUnauthorized) IsCode(code int) bool
- func (o *ProjectsUpdateUnauthorized) IsRedirect() bool
- func (o *ProjectsUpdateUnauthorized) IsServerError() bool
- func (o *ProjectsUpdateUnauthorized) IsSuccess() bool
- func (o *ProjectsUpdateUnauthorized) 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 projects API
func (*Client) Create ¶
func (a *Client) Create(params *ProjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsCreateOK, error)
Create creates project
Create a project.
func (*Client) Delete ¶
func (a *Client) Delete(params *ProjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsDeleteOK, error)
Delete deletes project
Delete the project with the provided ID.
func (*Client) GetByID ¶
func (a *Client) GetByID(params *ProjectsGetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsGetByIDOK, error)
GetByID gets project by ID
Fetch a project via HTTP/GET request with project-ID as a parameter.
func (*Client) GetByName ¶
func (a *Client) GetByName(params *ProjectsGetByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsGetByNameOK, error)
GetByName gets project by name
Fetch a project via HTTP/GET request with project-name as a parameter.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Update ¶
func (a *Client) Update(params *ProjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsUpdateOK, error)
Update updates a project
Note, partial updates are not supported! The body must contain the complete project data including the fields that have not been changed. Therefore, it might be necessary to fetch the project, apply the changes to the retrieved data before eventually submitting the update request.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Create(params *ProjectsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsCreateOK, error) Delete(params *ProjectsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsDeleteOK, error) GetByID(params *ProjectsGetByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsGetByIDOK, error) GetByName(params *ProjectsGetByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsGetByNameOK, error) Update(params *ProjectsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectsUpdateOK, 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 projects API client.
type ProjectsCreateBadRequest ¶
type ProjectsCreateBadRequest struct {
Payload *models.ZsrvResponse
}
ProjectsCreateBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.
func NewProjectsCreateBadRequest ¶
func NewProjectsCreateBadRequest() *ProjectsCreateBadRequest
NewProjectsCreateBadRequest creates a ProjectsCreateBadRequest with default headers values
func (*ProjectsCreateBadRequest) Error ¶
func (o *ProjectsCreateBadRequest) Error() string
func (*ProjectsCreateBadRequest) GetPayload ¶
func (o *ProjectsCreateBadRequest) GetPayload() *models.ZsrvResponse
func (*ProjectsCreateBadRequest) IsClientError ¶
func (o *ProjectsCreateBadRequest) IsClientError() bool
IsClientError returns true when this projects create bad request response has a 4xx status code
func (*ProjectsCreateBadRequest) IsCode ¶
func (o *ProjectsCreateBadRequest) IsCode(code int) bool
IsCode returns true when this projects create bad request response a status code equal to that given
func (*ProjectsCreateBadRequest) IsRedirect ¶
func (o *ProjectsCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this projects create bad request response has a 3xx status code
func (*ProjectsCreateBadRequest) IsServerError ¶
func (o *ProjectsCreateBadRequest) IsServerError() bool
IsServerError returns true when this projects create bad request response has a 5xx status code
func (*ProjectsCreateBadRequest) IsSuccess ¶
func (o *ProjectsCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this projects create bad request response has a 2xx status code
func (*ProjectsCreateBadRequest) String ¶
func (o *ProjectsCreateBadRequest) String() string
type ProjectsCreateConflict ¶
type ProjectsCreateConflict struct {
Payload *models.ZsrvResponse
}
ProjectsCreateConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this edge network record will conflict with an already existing edge network record.
func NewProjectsCreateConflict ¶
func NewProjectsCreateConflict() *ProjectsCreateConflict
NewProjectsCreateConflict creates a ProjectsCreateConflict with default headers values
func (*ProjectsCreateConflict) Error ¶
func (o *ProjectsCreateConflict) Error() string
func (*ProjectsCreateConflict) GetPayload ¶
func (o *ProjectsCreateConflict) GetPayload() *models.ZsrvResponse
func (*ProjectsCreateConflict) IsClientError ¶
func (o *ProjectsCreateConflict) IsClientError() bool
IsClientError returns true when this projects create conflict response has a 4xx status code
func (*ProjectsCreateConflict) IsCode ¶
func (o *ProjectsCreateConflict) IsCode(code int) bool
IsCode returns true when this projects create conflict response a status code equal to that given
func (*ProjectsCreateConflict) IsRedirect ¶
func (o *ProjectsCreateConflict) IsRedirect() bool
IsRedirect returns true when this projects create conflict response has a 3xx status code
func (*ProjectsCreateConflict) IsServerError ¶
func (o *ProjectsCreateConflict) IsServerError() bool
IsServerError returns true when this projects create conflict response has a 5xx status code
func (*ProjectsCreateConflict) IsSuccess ¶
func (o *ProjectsCreateConflict) IsSuccess() bool
IsSuccess returns true when this projects create conflict response has a 2xx status code
func (*ProjectsCreateConflict) String ¶
func (o *ProjectsCreateConflict) String() string
type ProjectsCreateDefault ¶
type ProjectsCreateDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ProjectsCreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectsCreateDefault ¶
func NewProjectsCreateDefault(code int) *ProjectsCreateDefault
NewProjectsCreateDefault creates a ProjectsCreateDefault with default headers values
func (*ProjectsCreateDefault) Code ¶
func (o *ProjectsCreateDefault) Code() int
Code gets the status code for the projects create default response
func (*ProjectsCreateDefault) Error ¶
func (o *ProjectsCreateDefault) Error() string
func (*ProjectsCreateDefault) GetPayload ¶
func (o *ProjectsCreateDefault) GetPayload() *models.GooglerpcStatus
func (*ProjectsCreateDefault) IsClientError ¶
func (o *ProjectsCreateDefault) IsClientError() bool
IsClientError returns true when this projects create default response has a 4xx status code
func (*ProjectsCreateDefault) IsCode ¶
func (o *ProjectsCreateDefault) IsCode(code int) bool
IsCode returns true when this projects create default response a status code equal to that given
func (*ProjectsCreateDefault) IsRedirect ¶
func (o *ProjectsCreateDefault) IsRedirect() bool
IsRedirect returns true when this projects create default response has a 3xx status code
func (*ProjectsCreateDefault) IsServerError ¶
func (o *ProjectsCreateDefault) IsServerError() bool
IsServerError returns true when this projects create default response has a 5xx status code
func (*ProjectsCreateDefault) IsSuccess ¶
func (o *ProjectsCreateDefault) IsSuccess() bool
IsSuccess returns true when this projects create default response has a 2xx status code
func (*ProjectsCreateDefault) String ¶
func (o *ProjectsCreateDefault) String() string
type ProjectsCreateForbidden ¶
type ProjectsCreateForbidden struct {
Payload *models.ZsrvResponse
}
ProjectsCreateForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewProjectsCreateForbidden ¶
func NewProjectsCreateForbidden() *ProjectsCreateForbidden
NewProjectsCreateForbidden creates a ProjectsCreateForbidden with default headers values
func (*ProjectsCreateForbidden) Error ¶
func (o *ProjectsCreateForbidden) Error() string
func (*ProjectsCreateForbidden) GetPayload ¶
func (o *ProjectsCreateForbidden) GetPayload() *models.ZsrvResponse
func (*ProjectsCreateForbidden) IsClientError ¶
func (o *ProjectsCreateForbidden) IsClientError() bool
IsClientError returns true when this projects create forbidden response has a 4xx status code
func (*ProjectsCreateForbidden) IsCode ¶
func (o *ProjectsCreateForbidden) IsCode(code int) bool
IsCode returns true when this projects create forbidden response a status code equal to that given
func (*ProjectsCreateForbidden) IsRedirect ¶
func (o *ProjectsCreateForbidden) IsRedirect() bool
IsRedirect returns true when this projects create forbidden response has a 3xx status code
func (*ProjectsCreateForbidden) IsServerError ¶
func (o *ProjectsCreateForbidden) IsServerError() bool
IsServerError returns true when this projects create forbidden response has a 5xx status code
func (*ProjectsCreateForbidden) IsSuccess ¶
func (o *ProjectsCreateForbidden) IsSuccess() bool
IsSuccess returns true when this projects create forbidden response has a 2xx status code
func (*ProjectsCreateForbidden) String ¶
func (o *ProjectsCreateForbidden) String() string
type ProjectsCreateGatewayTimeout ¶
type ProjectsCreateGatewayTimeout struct {
Payload *models.ZsrvResponse
}
ProjectsCreateGatewayTimeout 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 NewProjectsCreateGatewayTimeout ¶
func NewProjectsCreateGatewayTimeout() *ProjectsCreateGatewayTimeout
NewProjectsCreateGatewayTimeout creates a ProjectsCreateGatewayTimeout with default headers values
func (*ProjectsCreateGatewayTimeout) Error ¶
func (o *ProjectsCreateGatewayTimeout) Error() string
func (*ProjectsCreateGatewayTimeout) GetPayload ¶
func (o *ProjectsCreateGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*ProjectsCreateGatewayTimeout) IsClientError ¶
func (o *ProjectsCreateGatewayTimeout) IsClientError() bool
IsClientError returns true when this projects create gateway timeout response has a 4xx status code
func (*ProjectsCreateGatewayTimeout) IsCode ¶
func (o *ProjectsCreateGatewayTimeout) IsCode(code int) bool
IsCode returns true when this projects create gateway timeout response a status code equal to that given
func (*ProjectsCreateGatewayTimeout) IsRedirect ¶
func (o *ProjectsCreateGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this projects create gateway timeout response has a 3xx status code
func (*ProjectsCreateGatewayTimeout) IsServerError ¶
func (o *ProjectsCreateGatewayTimeout) IsServerError() bool
IsServerError returns true when this projects create gateway timeout response has a 5xx status code
func (*ProjectsCreateGatewayTimeout) IsSuccess ¶
func (o *ProjectsCreateGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this projects create gateway timeout response has a 2xx status code
func (*ProjectsCreateGatewayTimeout) String ¶
func (o *ProjectsCreateGatewayTimeout) String() string
type ProjectsCreateInternalServerError ¶
type ProjectsCreateInternalServerError struct {
Payload *models.ZsrvResponse
}
ProjectsCreateInternalServerError 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 NewProjectsCreateInternalServerError ¶
func NewProjectsCreateInternalServerError() *ProjectsCreateInternalServerError
NewProjectsCreateInternalServerError creates a ProjectsCreateInternalServerError with default headers values
func (*ProjectsCreateInternalServerError) Error ¶
func (o *ProjectsCreateInternalServerError) Error() string
func (*ProjectsCreateInternalServerError) GetPayload ¶
func (o *ProjectsCreateInternalServerError) GetPayload() *models.ZsrvResponse
func (*ProjectsCreateInternalServerError) IsClientError ¶
func (o *ProjectsCreateInternalServerError) IsClientError() bool
IsClientError returns true when this projects create internal server error response has a 4xx status code
func (*ProjectsCreateInternalServerError) IsCode ¶
func (o *ProjectsCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this projects create internal server error response a status code equal to that given
func (*ProjectsCreateInternalServerError) IsRedirect ¶
func (o *ProjectsCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this projects create internal server error response has a 3xx status code
func (*ProjectsCreateInternalServerError) IsServerError ¶
func (o *ProjectsCreateInternalServerError) IsServerError() bool
IsServerError returns true when this projects create internal server error response has a 5xx status code
func (*ProjectsCreateInternalServerError) IsSuccess ¶
func (o *ProjectsCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this projects create internal server error response has a 2xx status code
func (*ProjectsCreateInternalServerError) String ¶
func (o *ProjectsCreateInternalServerError) String() string
type ProjectsCreateOK ¶
type ProjectsCreateOK struct {
Payload *models.ZsrvResponse
}
ProjectsCreateOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectsCreateOK ¶
func NewProjectsCreateOK() *ProjectsCreateOK
NewProjectsCreateOK creates a ProjectsCreateOK with default headers values
func (*ProjectsCreateOK) Error ¶
func (o *ProjectsCreateOK) Error() string
func (*ProjectsCreateOK) GetPayload ¶
func (o *ProjectsCreateOK) GetPayload() *models.ZsrvResponse
func (*ProjectsCreateOK) IsClientError ¶
func (o *ProjectsCreateOK) IsClientError() bool
IsClientError returns true when this projects create o k response has a 4xx status code
func (*ProjectsCreateOK) IsCode ¶
func (o *ProjectsCreateOK) IsCode(code int) bool
IsCode returns true when this projects create o k response a status code equal to that given
func (*ProjectsCreateOK) IsRedirect ¶
func (o *ProjectsCreateOK) IsRedirect() bool
IsRedirect returns true when this projects create o k response has a 3xx status code
func (*ProjectsCreateOK) IsServerError ¶
func (o *ProjectsCreateOK) IsServerError() bool
IsServerError returns true when this projects create o k response has a 5xx status code
func (*ProjectsCreateOK) IsSuccess ¶
func (o *ProjectsCreateOK) IsSuccess() bool
IsSuccess returns true when this projects create o k response has a 2xx status code
func (*ProjectsCreateOK) String ¶
func (o *ProjectsCreateOK) String() string
type ProjectsCreateParams ¶
type ProjectsCreateParams struct { /* XRequestID. correlation-id */ XRequestID *string // Body. Body *models.Tag Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectsCreateParams contains all the parameters to send to the API endpoint
for the projects create operation. Typically these are written to a http.Request.
func CreateParams ¶
func CreateParams() *ProjectsCreateParams
CreateParams creates a new ProjectsCreateParams 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 NewProjectsCreateParamsWithContext ¶
func NewProjectsCreateParamsWithContext(ctx context.Context) *ProjectsCreateParams
NewProjectsCreateParamsWithContext creates a new ProjectsCreateParams object with the ability to set a context for a request.
func NewProjectsCreateParamsWithHTTPClient ¶
func NewProjectsCreateParamsWithHTTPClient(client *http.Client) *ProjectsCreateParams
NewProjectsCreateParamsWithHTTPClient creates a new ProjectsCreateParams object with the ability to set a custom HTTPClient for a request.
func NewProjectsCreateParamsWithTimeout ¶
func NewProjectsCreateParamsWithTimeout(timeout time.Duration) *ProjectsCreateParams
NewProjectsCreateParamsWithTimeout creates a new ProjectsCreateParams object with the ability to set a timeout on a request.
func (*ProjectsCreateParams) SetBody ¶
func (o *ProjectsCreateParams) SetBody(body *models.Tag)
SetBody adds the body to the projects create params
func (*ProjectsCreateParams) SetContext ¶
func (o *ProjectsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the projects create params
func (*ProjectsCreateParams) SetDefaults ¶
func (o *ProjectsCreateParams) SetDefaults()
SetDefaults hydrates default values in the projects create params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsCreateParams) SetHTTPClient ¶
func (o *ProjectsCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the projects create params
func (*ProjectsCreateParams) SetTimeout ¶
func (o *ProjectsCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the projects create params
func (*ProjectsCreateParams) SetXRequestID ¶
func (o *ProjectsCreateParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the projects create params
func (*ProjectsCreateParams) WithBody ¶
func (o *ProjectsCreateParams) WithBody(body *models.Tag) *ProjectsCreateParams
WithBody adds the body to the projects create params
func (*ProjectsCreateParams) WithContext ¶
func (o *ProjectsCreateParams) WithContext(ctx context.Context) *ProjectsCreateParams
WithContext adds the context to the projects create params
func (*ProjectsCreateParams) WithDefaults ¶
func (o *ProjectsCreateParams) WithDefaults() *ProjectsCreateParams
WithDefaults hydrates default values in the projects create params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsCreateParams) WithHTTPClient ¶
func (o *ProjectsCreateParams) WithHTTPClient(client *http.Client) *ProjectsCreateParams
WithHTTPClient adds the HTTPClient to the projects create params
func (*ProjectsCreateParams) WithTimeout ¶
func (o *ProjectsCreateParams) WithTimeout(timeout time.Duration) *ProjectsCreateParams
WithTimeout adds the timeout to the projects create params
func (*ProjectsCreateParams) WithXRequestID ¶
func (o *ProjectsCreateParams) WithXRequestID(xRequestID *string) *ProjectsCreateParams
WithXRequestID adds the xRequestID to the projects create params
func (*ProjectsCreateParams) WriteToRequest ¶
func (o *ProjectsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectsCreateReader ¶
type ProjectsCreateReader struct {
// contains filtered or unexported fields
}
ProjectsCreateReader is a Reader for the ProjectsCreate structure.
func (*ProjectsCreateReader) ReadResponse ¶
func (o *ProjectsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectsCreateUnauthorized ¶
type ProjectsCreateUnauthorized struct {
}ProjectsCreateUnauthorized 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 NewProjectsCreateUnauthorized ¶
func NewProjectsCreateUnauthorized() *ProjectsCreateUnauthorized
NewProjectsCreateUnauthorized creates a ProjectsCreateUnauthorized with default headers values
func (*ProjectsCreateUnauthorized) Error ¶
func (o *ProjectsCreateUnauthorized) Error() string
func (*ProjectsCreateUnauthorized) GetPayload ¶
func (o *ProjectsCreateUnauthorized) GetPayload() *models.ZsrvResponse
func (*ProjectsCreateUnauthorized) IsClientError ¶
func (o *ProjectsCreateUnauthorized) IsClientError() bool
IsClientError returns true when this projects create unauthorized response has a 4xx status code
func (*ProjectsCreateUnauthorized) IsCode ¶
func (o *ProjectsCreateUnauthorized) IsCode(code int) bool
IsCode returns true when this projects create unauthorized response a status code equal to that given
func (*ProjectsCreateUnauthorized) IsRedirect ¶
func (o *ProjectsCreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this projects create unauthorized response has a 3xx status code
func (*ProjectsCreateUnauthorized) IsServerError ¶
func (o *ProjectsCreateUnauthorized) IsServerError() bool
IsServerError returns true when this projects create unauthorized response has a 5xx status code
func (*ProjectsCreateUnauthorized) IsSuccess ¶
func (o *ProjectsCreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this projects create unauthorized response has a 2xx status code
func (*ProjectsCreateUnauthorized) String ¶
func (o *ProjectsCreateUnauthorized) String() string
type ProjectsDeleteDefault ¶
type ProjectsDeleteDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ProjectsDeleteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectsDeleteDefault ¶
func NewProjectsDeleteDefault(code int) *ProjectsDeleteDefault
NewProjectsDeleteDefault creates a ProjectsDeleteDefault with default headers values
func (*ProjectsDeleteDefault) Code ¶
func (o *ProjectsDeleteDefault) Code() int
Code gets the status code for the projects delete default response
func (*ProjectsDeleteDefault) Error ¶
func (o *ProjectsDeleteDefault) Error() string
func (*ProjectsDeleteDefault) GetPayload ¶
func (o *ProjectsDeleteDefault) GetPayload() *models.GooglerpcStatus
func (*ProjectsDeleteDefault) IsClientError ¶
func (o *ProjectsDeleteDefault) IsClientError() bool
IsClientError returns true when this projects delete default response has a 4xx status code
func (*ProjectsDeleteDefault) IsCode ¶
func (o *ProjectsDeleteDefault) IsCode(code int) bool
IsCode returns true when this projects delete default response a status code equal to that given
func (*ProjectsDeleteDefault) IsRedirect ¶
func (o *ProjectsDeleteDefault) IsRedirect() bool
IsRedirect returns true when this projects delete default response has a 3xx status code
func (*ProjectsDeleteDefault) IsServerError ¶
func (o *ProjectsDeleteDefault) IsServerError() bool
IsServerError returns true when this projects delete default response has a 5xx status code
func (*ProjectsDeleteDefault) IsSuccess ¶
func (o *ProjectsDeleteDefault) IsSuccess() bool
IsSuccess returns true when this projects delete default response has a 2xx status code
func (*ProjectsDeleteDefault) String ¶
func (o *ProjectsDeleteDefault) String() string
type ProjectsDeleteForbidden ¶
type ProjectsDeleteForbidden struct {
Payload *models.ZsrvResponse
}
ProjectsDeleteForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewProjectsDeleteForbidden ¶
func NewProjectsDeleteForbidden() *ProjectsDeleteForbidden
NewProjectsDeleteForbidden creates a ProjectsDeleteForbidden with default headers values
func (*ProjectsDeleteForbidden) Error ¶
func (o *ProjectsDeleteForbidden) Error() string
func (*ProjectsDeleteForbidden) GetPayload ¶
func (o *ProjectsDeleteForbidden) GetPayload() *models.ZsrvResponse
func (*ProjectsDeleteForbidden) IsClientError ¶
func (o *ProjectsDeleteForbidden) IsClientError() bool
IsClientError returns true when this projects delete forbidden response has a 4xx status code
func (*ProjectsDeleteForbidden) IsCode ¶
func (o *ProjectsDeleteForbidden) IsCode(code int) bool
IsCode returns true when this projects delete forbidden response a status code equal to that given
func (*ProjectsDeleteForbidden) IsRedirect ¶
func (o *ProjectsDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this projects delete forbidden response has a 3xx status code
func (*ProjectsDeleteForbidden) IsServerError ¶
func (o *ProjectsDeleteForbidden) IsServerError() bool
IsServerError returns true when this projects delete forbidden response has a 5xx status code
func (*ProjectsDeleteForbidden) IsSuccess ¶
func (o *ProjectsDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this projects delete forbidden response has a 2xx status code
func (*ProjectsDeleteForbidden) String ¶
func (o *ProjectsDeleteForbidden) String() string
type ProjectsDeleteGatewayTimeout ¶
type ProjectsDeleteGatewayTimeout struct {
Payload *models.ZsrvResponse
}
ProjectsDeleteGatewayTimeout 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 NewProjectsDeleteGatewayTimeout ¶
func NewProjectsDeleteGatewayTimeout() *ProjectsDeleteGatewayTimeout
NewProjectsDeleteGatewayTimeout creates a ProjectsDeleteGatewayTimeout with default headers values
func (*ProjectsDeleteGatewayTimeout) Error ¶
func (o *ProjectsDeleteGatewayTimeout) Error() string
func (*ProjectsDeleteGatewayTimeout) GetPayload ¶
func (o *ProjectsDeleteGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*ProjectsDeleteGatewayTimeout) IsClientError ¶
func (o *ProjectsDeleteGatewayTimeout) IsClientError() bool
IsClientError returns true when this projects delete gateway timeout response has a 4xx status code
func (*ProjectsDeleteGatewayTimeout) IsCode ¶
func (o *ProjectsDeleteGatewayTimeout) IsCode(code int) bool
IsCode returns true when this projects delete gateway timeout response a status code equal to that given
func (*ProjectsDeleteGatewayTimeout) IsRedirect ¶
func (o *ProjectsDeleteGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this projects delete gateway timeout response has a 3xx status code
func (*ProjectsDeleteGatewayTimeout) IsServerError ¶
func (o *ProjectsDeleteGatewayTimeout) IsServerError() bool
IsServerError returns true when this projects delete gateway timeout response has a 5xx status code
func (*ProjectsDeleteGatewayTimeout) IsSuccess ¶
func (o *ProjectsDeleteGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this projects delete gateway timeout response has a 2xx status code
func (*ProjectsDeleteGatewayTimeout) String ¶
func (o *ProjectsDeleteGatewayTimeout) String() string
type ProjectsDeleteInternalServerError ¶
type ProjectsDeleteInternalServerError struct {
Payload *models.ZsrvResponse
}
ProjectsDeleteInternalServerError 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 NewProjectsDeleteInternalServerError ¶
func NewProjectsDeleteInternalServerError() *ProjectsDeleteInternalServerError
NewProjectsDeleteInternalServerError creates a ProjectsDeleteInternalServerError with default headers values
func (*ProjectsDeleteInternalServerError) Error ¶
func (o *ProjectsDeleteInternalServerError) Error() string
func (*ProjectsDeleteInternalServerError) GetPayload ¶
func (o *ProjectsDeleteInternalServerError) GetPayload() *models.ZsrvResponse
func (*ProjectsDeleteInternalServerError) IsClientError ¶
func (o *ProjectsDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this projects delete internal server error response has a 4xx status code
func (*ProjectsDeleteInternalServerError) IsCode ¶
func (o *ProjectsDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this projects delete internal server error response a status code equal to that given
func (*ProjectsDeleteInternalServerError) IsRedirect ¶
func (o *ProjectsDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this projects delete internal server error response has a 3xx status code
func (*ProjectsDeleteInternalServerError) IsServerError ¶
func (o *ProjectsDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this projects delete internal server error response has a 5xx status code
func (*ProjectsDeleteInternalServerError) IsSuccess ¶
func (o *ProjectsDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this projects delete internal server error response has a 2xx status code
func (*ProjectsDeleteInternalServerError) String ¶
func (o *ProjectsDeleteInternalServerError) String() string
type ProjectsDeleteNotFound ¶
type ProjectsDeleteNotFound struct {
Payload *models.ZsrvResponse
}
ProjectsDeleteNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewProjectsDeleteNotFound ¶
func NewProjectsDeleteNotFound() *ProjectsDeleteNotFound
NewProjectsDeleteNotFound creates a ProjectsDeleteNotFound with default headers values
func (*ProjectsDeleteNotFound) Error ¶
func (o *ProjectsDeleteNotFound) Error() string
func (*ProjectsDeleteNotFound) GetPayload ¶
func (o *ProjectsDeleteNotFound) GetPayload() *models.ZsrvResponse
func (*ProjectsDeleteNotFound) IsClientError ¶
func (o *ProjectsDeleteNotFound) IsClientError() bool
IsClientError returns true when this projects delete not found response has a 4xx status code
func (*ProjectsDeleteNotFound) IsCode ¶
func (o *ProjectsDeleteNotFound) IsCode(code int) bool
IsCode returns true when this projects delete not found response a status code equal to that given
func (*ProjectsDeleteNotFound) IsRedirect ¶
func (o *ProjectsDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this projects delete not found response has a 3xx status code
func (*ProjectsDeleteNotFound) IsServerError ¶
func (o *ProjectsDeleteNotFound) IsServerError() bool
IsServerError returns true when this projects delete not found response has a 5xx status code
func (*ProjectsDeleteNotFound) IsSuccess ¶
func (o *ProjectsDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this projects delete not found response has a 2xx status code
func (*ProjectsDeleteNotFound) String ¶
func (o *ProjectsDeleteNotFound) String() string
type ProjectsDeleteOK ¶
type ProjectsDeleteOK struct {
Payload *models.ZsrvResponse
}
ProjectsDeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectsDeleteOK ¶
func NewProjectsDeleteOK() *ProjectsDeleteOK
NewProjectsDeleteOK creates a ProjectsDeleteOK with default headers values
func (*ProjectsDeleteOK) Error ¶
func (o *ProjectsDeleteOK) Error() string
func (*ProjectsDeleteOK) GetPayload ¶
func (o *ProjectsDeleteOK) GetPayload() *models.ZsrvResponse
func (*ProjectsDeleteOK) IsClientError ¶
func (o *ProjectsDeleteOK) IsClientError() bool
IsClientError returns true when this projects delete o k response has a 4xx status code
func (*ProjectsDeleteOK) IsCode ¶
func (o *ProjectsDeleteOK) IsCode(code int) bool
IsCode returns true when this projects delete o k response a status code equal to that given
func (*ProjectsDeleteOK) IsRedirect ¶
func (o *ProjectsDeleteOK) IsRedirect() bool
IsRedirect returns true when this projects delete o k response has a 3xx status code
func (*ProjectsDeleteOK) IsServerError ¶
func (o *ProjectsDeleteOK) IsServerError() bool
IsServerError returns true when this projects delete o k response has a 5xx status code
func (*ProjectsDeleteOK) IsSuccess ¶
func (o *ProjectsDeleteOK) IsSuccess() bool
IsSuccess returns true when this projects delete o k response has a 2xx status code
func (*ProjectsDeleteOK) String ¶
func (o *ProjectsDeleteOK) String() string
type ProjectsDeleteParams ¶
type ProjectsDeleteParams struct { /* XRequestID. correlation-id */ XRequestID *string /* ID. System defined universally unique Id of the resource group */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectsDeleteParams contains all the parameters to send to the API endpoint
for the projects delete operation. Typically these are written to a http.Request.
func DeleteParams ¶
func DeleteParams() *ProjectsDeleteParams
DeleteParams creates a new ProjectsDeleteParams 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 NewProjectsDeleteParamsWithContext ¶
func NewProjectsDeleteParamsWithContext(ctx context.Context) *ProjectsDeleteParams
NewProjectsDeleteParamsWithContext creates a new ProjectsDeleteParams object with the ability to set a context for a request.
func NewProjectsDeleteParamsWithHTTPClient ¶
func NewProjectsDeleteParamsWithHTTPClient(client *http.Client) *ProjectsDeleteParams
NewProjectsDeleteParamsWithHTTPClient creates a new ProjectsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewProjectsDeleteParamsWithTimeout ¶
func NewProjectsDeleteParamsWithTimeout(timeout time.Duration) *ProjectsDeleteParams
NewProjectsDeleteParamsWithTimeout creates a new ProjectsDeleteParams object with the ability to set a timeout on a request.
func (*ProjectsDeleteParams) SetContext ¶
func (o *ProjectsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the projects delete params
func (*ProjectsDeleteParams) SetDefaults ¶
func (o *ProjectsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the projects delete params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsDeleteParams) SetHTTPClient ¶
func (o *ProjectsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the projects delete params
func (*ProjectsDeleteParams) SetID ¶
func (o *ProjectsDeleteParams) SetID(id string)
SetID adds the id to the projects delete params
func (*ProjectsDeleteParams) SetTimeout ¶
func (o *ProjectsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the projects delete params
func (*ProjectsDeleteParams) SetXRequestID ¶
func (o *ProjectsDeleteParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the projects delete params
func (*ProjectsDeleteParams) WithContext ¶
func (o *ProjectsDeleteParams) WithContext(ctx context.Context) *ProjectsDeleteParams
WithContext adds the context to the projects delete params
func (*ProjectsDeleteParams) WithDefaults ¶
func (o *ProjectsDeleteParams) WithDefaults() *ProjectsDeleteParams
WithDefaults hydrates default values in the projects delete params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsDeleteParams) WithHTTPClient ¶
func (o *ProjectsDeleteParams) WithHTTPClient(client *http.Client) *ProjectsDeleteParams
WithHTTPClient adds the HTTPClient to the projects delete params
func (*ProjectsDeleteParams) WithID ¶
func (o *ProjectsDeleteParams) WithID(id string) *ProjectsDeleteParams
WithID adds the id to the projects delete params
func (*ProjectsDeleteParams) WithTimeout ¶
func (o *ProjectsDeleteParams) WithTimeout(timeout time.Duration) *ProjectsDeleteParams
WithTimeout adds the timeout to the projects delete params
func (*ProjectsDeleteParams) WithXRequestID ¶
func (o *ProjectsDeleteParams) WithXRequestID(xRequestID *string) *ProjectsDeleteParams
WithXRequestID adds the xRequestID to the projects delete params
func (*ProjectsDeleteParams) WriteToRequest ¶
func (o *ProjectsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectsDeleteReader ¶
type ProjectsDeleteReader struct {
// contains filtered or unexported fields
}
ProjectsDeleteReader is a Reader for the ProjectsDelete structure.
func (*ProjectsDeleteReader) ReadResponse ¶
func (o *ProjectsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectsDeleteUnauthorized ¶
type ProjectsDeleteUnauthorized struct {
}ProjectsDeleteUnauthorized 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 NewProjectsDeleteUnauthorized ¶
func NewProjectsDeleteUnauthorized() *ProjectsDeleteUnauthorized
NewProjectsDeleteUnauthorized creates a ProjectsDeleteUnauthorized with default headers values
func (*ProjectsDeleteUnauthorized) Error ¶
func (o *ProjectsDeleteUnauthorized) Error() string
func (*ProjectsDeleteUnauthorized) GetPayload ¶
func (o *ProjectsDeleteUnauthorized) GetPayload() *models.ZsrvResponse
func (*ProjectsDeleteUnauthorized) IsClientError ¶
func (o *ProjectsDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this projects delete unauthorized response has a 4xx status code
func (*ProjectsDeleteUnauthorized) IsCode ¶
func (o *ProjectsDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this projects delete unauthorized response a status code equal to that given
func (*ProjectsDeleteUnauthorized) IsRedirect ¶
func (o *ProjectsDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this projects delete unauthorized response has a 3xx status code
func (*ProjectsDeleteUnauthorized) IsServerError ¶
func (o *ProjectsDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this projects delete unauthorized response has a 5xx status code
func (*ProjectsDeleteUnauthorized) IsSuccess ¶
func (o *ProjectsDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this projects delete unauthorized response has a 2xx status code
func (*ProjectsDeleteUnauthorized) String ¶
func (o *ProjectsDeleteUnauthorized) String() string
type ProjectsGetByIDDefault ¶
type ProjectsGetByIDDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ProjectsGetByIDDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectsGetByIDDefault ¶
func NewProjectsGetByIDDefault(code int) *ProjectsGetByIDDefault
NewProjectsGetByIDDefault creates a ProjectsGetByIDDefault with default headers values
func (*ProjectsGetByIDDefault) Code ¶
func (o *ProjectsGetByIDDefault) Code() int
Code gets the status code for the projects get by ID default response
func (*ProjectsGetByIDDefault) Error ¶
func (o *ProjectsGetByIDDefault) Error() string
func (*ProjectsGetByIDDefault) GetPayload ¶
func (o *ProjectsGetByIDDefault) GetPayload() *models.GooglerpcStatus
func (*ProjectsGetByIDDefault) IsClientError ¶
func (o *ProjectsGetByIDDefault) IsClientError() bool
IsClientError returns true when this projects get by ID default response has a 4xx status code
func (*ProjectsGetByIDDefault) IsCode ¶
func (o *ProjectsGetByIDDefault) IsCode(code int) bool
IsCode returns true when this projects get by ID default response a status code equal to that given
func (*ProjectsGetByIDDefault) IsRedirect ¶
func (o *ProjectsGetByIDDefault) IsRedirect() bool
IsRedirect returns true when this projects get by ID default response has a 3xx status code
func (*ProjectsGetByIDDefault) IsServerError ¶
func (o *ProjectsGetByIDDefault) IsServerError() bool
IsServerError returns true when this projects get by ID default response has a 5xx status code
func (*ProjectsGetByIDDefault) IsSuccess ¶
func (o *ProjectsGetByIDDefault) IsSuccess() bool
IsSuccess returns true when this projects get by ID default response has a 2xx status code
func (*ProjectsGetByIDDefault) String ¶
func (o *ProjectsGetByIDDefault) String() string
type ProjectsGetByIDForbidden ¶
type ProjectsGetByIDForbidden struct {
Payload *models.ZsrvResponse
}
ProjectsGetByIDForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewProjectsGetByIDForbidden ¶
func NewProjectsGetByIDForbidden() *ProjectsGetByIDForbidden
NewProjectsGetByIDForbidden creates a ProjectsGetByIDForbidden with default headers values
func (*ProjectsGetByIDForbidden) Error ¶
func (o *ProjectsGetByIDForbidden) Error() string
func (*ProjectsGetByIDForbidden) GetPayload ¶
func (o *ProjectsGetByIDForbidden) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByIDForbidden) IsClientError ¶
func (o *ProjectsGetByIDForbidden) IsClientError() bool
IsClientError returns true when this projects get by Id forbidden response has a 4xx status code
func (*ProjectsGetByIDForbidden) IsCode ¶
func (o *ProjectsGetByIDForbidden) IsCode(code int) bool
IsCode returns true when this projects get by Id forbidden response a status code equal to that given
func (*ProjectsGetByIDForbidden) IsRedirect ¶
func (o *ProjectsGetByIDForbidden) IsRedirect() bool
IsRedirect returns true when this projects get by Id forbidden response has a 3xx status code
func (*ProjectsGetByIDForbidden) IsServerError ¶
func (o *ProjectsGetByIDForbidden) IsServerError() bool
IsServerError returns true when this projects get by Id forbidden response has a 5xx status code
func (*ProjectsGetByIDForbidden) IsSuccess ¶
func (o *ProjectsGetByIDForbidden) IsSuccess() bool
IsSuccess returns true when this projects get by Id forbidden response has a 2xx status code
func (*ProjectsGetByIDForbidden) String ¶
func (o *ProjectsGetByIDForbidden) String() string
type ProjectsGetByIDGatewayTimeout ¶
type ProjectsGetByIDGatewayTimeout struct {
Payload *models.ZsrvResponse
}
ProjectsGetByIDGatewayTimeout 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 NewProjectsGetByIDGatewayTimeout ¶
func NewProjectsGetByIDGatewayTimeout() *ProjectsGetByIDGatewayTimeout
NewProjectsGetByIDGatewayTimeout creates a ProjectsGetByIDGatewayTimeout with default headers values
func (*ProjectsGetByIDGatewayTimeout) Error ¶
func (o *ProjectsGetByIDGatewayTimeout) Error() string
func (*ProjectsGetByIDGatewayTimeout) GetPayload ¶
func (o *ProjectsGetByIDGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByIDGatewayTimeout) IsClientError ¶
func (o *ProjectsGetByIDGatewayTimeout) IsClientError() bool
IsClientError returns true when this projects get by Id gateway timeout response has a 4xx status code
func (*ProjectsGetByIDGatewayTimeout) IsCode ¶
func (o *ProjectsGetByIDGatewayTimeout) IsCode(code int) bool
IsCode returns true when this projects get by Id gateway timeout response a status code equal to that given
func (*ProjectsGetByIDGatewayTimeout) IsRedirect ¶
func (o *ProjectsGetByIDGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this projects get by Id gateway timeout response has a 3xx status code
func (*ProjectsGetByIDGatewayTimeout) IsServerError ¶
func (o *ProjectsGetByIDGatewayTimeout) IsServerError() bool
IsServerError returns true when this projects get by Id gateway timeout response has a 5xx status code
func (*ProjectsGetByIDGatewayTimeout) IsSuccess ¶
func (o *ProjectsGetByIDGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this projects get by Id gateway timeout response has a 2xx status code
func (*ProjectsGetByIDGatewayTimeout) String ¶
func (o *ProjectsGetByIDGatewayTimeout) String() string
type ProjectsGetByIDInternalServerError ¶
type ProjectsGetByIDInternalServerError struct {
Payload *models.ZsrvResponse
}
ProjectsGetByIDInternalServerError 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 NewProjectsGetByIDInternalServerError ¶
func NewProjectsGetByIDInternalServerError() *ProjectsGetByIDInternalServerError
NewProjectsGetByIDInternalServerError creates a ProjectsGetByIDInternalServerError with default headers values
func (*ProjectsGetByIDInternalServerError) Error ¶
func (o *ProjectsGetByIDInternalServerError) Error() string
func (*ProjectsGetByIDInternalServerError) GetPayload ¶
func (o *ProjectsGetByIDInternalServerError) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByIDInternalServerError) IsClientError ¶
func (o *ProjectsGetByIDInternalServerError) IsClientError() bool
IsClientError returns true when this projects get by Id internal server error response has a 4xx status code
func (*ProjectsGetByIDInternalServerError) IsCode ¶
func (o *ProjectsGetByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this projects get by Id internal server error response a status code equal to that given
func (*ProjectsGetByIDInternalServerError) IsRedirect ¶
func (o *ProjectsGetByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this projects get by Id internal server error response has a 3xx status code
func (*ProjectsGetByIDInternalServerError) IsServerError ¶
func (o *ProjectsGetByIDInternalServerError) IsServerError() bool
IsServerError returns true when this projects get by Id internal server error response has a 5xx status code
func (*ProjectsGetByIDInternalServerError) IsSuccess ¶
func (o *ProjectsGetByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this projects get by Id internal server error response has a 2xx status code
func (*ProjectsGetByIDInternalServerError) String ¶
func (o *ProjectsGetByIDInternalServerError) String() string
type ProjectsGetByIDNotFound ¶
type ProjectsGetByIDNotFound struct {
Payload *models.ZsrvResponse
}
ProjectsGetByIDNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewProjectsGetByIDNotFound ¶
func NewProjectsGetByIDNotFound() *ProjectsGetByIDNotFound
NewProjectsGetByIDNotFound creates a ProjectsGetByIDNotFound with default headers values
func (*ProjectsGetByIDNotFound) Error ¶
func (o *ProjectsGetByIDNotFound) Error() string
func (*ProjectsGetByIDNotFound) GetPayload ¶
func (o *ProjectsGetByIDNotFound) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByIDNotFound) IsClientError ¶
func (o *ProjectsGetByIDNotFound) IsClientError() bool
IsClientError returns true when this projects get by Id not found response has a 4xx status code
func (*ProjectsGetByIDNotFound) IsCode ¶
func (o *ProjectsGetByIDNotFound) IsCode(code int) bool
IsCode returns true when this projects get by Id not found response a status code equal to that given
func (*ProjectsGetByIDNotFound) IsRedirect ¶
func (o *ProjectsGetByIDNotFound) IsRedirect() bool
IsRedirect returns true when this projects get by Id not found response has a 3xx status code
func (*ProjectsGetByIDNotFound) IsServerError ¶
func (o *ProjectsGetByIDNotFound) IsServerError() bool
IsServerError returns true when this projects get by Id not found response has a 5xx status code
func (*ProjectsGetByIDNotFound) IsSuccess ¶
func (o *ProjectsGetByIDNotFound) IsSuccess() bool
IsSuccess returns true when this projects get by Id not found response has a 2xx status code
func (*ProjectsGetByIDNotFound) String ¶
func (o *ProjectsGetByIDNotFound) String() string
type ProjectsGetByIDOK ¶
ProjectsGetByIDOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectsGetByIDOK ¶
func NewProjectsGetByIDOK() *ProjectsGetByIDOK
NewProjectsGetByIDOK creates a ProjectsGetByIDOK with default headers values
func (*ProjectsGetByIDOK) Error ¶
func (o *ProjectsGetByIDOK) Error() string
func (*ProjectsGetByIDOK) GetPayload ¶
func (o *ProjectsGetByIDOK) GetPayload() *models.Tag
func (*ProjectsGetByIDOK) IsClientError ¶
func (o *ProjectsGetByIDOK) IsClientError() bool
IsClientError returns true when this projects get by Id o k response has a 4xx status code
func (*ProjectsGetByIDOK) IsCode ¶
func (o *ProjectsGetByIDOK) IsCode(code int) bool
IsCode returns true when this projects get by Id o k response a status code equal to that given
func (*ProjectsGetByIDOK) IsRedirect ¶
func (o *ProjectsGetByIDOK) IsRedirect() bool
IsRedirect returns true when this projects get by Id o k response has a 3xx status code
func (*ProjectsGetByIDOK) IsServerError ¶
func (o *ProjectsGetByIDOK) IsServerError() bool
IsServerError returns true when this projects get by Id o k response has a 5xx status code
func (*ProjectsGetByIDOK) IsSuccess ¶
func (o *ProjectsGetByIDOK) IsSuccess() bool
IsSuccess returns true when this projects get by Id o k response has a 2xx status code
func (*ProjectsGetByIDOK) String ¶
func (o *ProjectsGetByIDOK) String() string
type ProjectsGetByIDParams ¶
type ProjectsGetByIDParams struct { /* XRequestID. correlation-id */ XRequestID *string /* ID. System defined universally unique Id of the resource group */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectsGetByIDParams contains all the parameters to send to the API endpoint
for the projects get by ID operation. Typically these are written to a http.Request.
func GetByIDParams ¶
func GetByIDParams() *ProjectsGetByIDParams
GetByIDParams creates a new ProjectsGetByIDParams 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 NewProjectsGetByIDParamsWithContext ¶
func NewProjectsGetByIDParamsWithContext(ctx context.Context) *ProjectsGetByIDParams
NewProjectsGetByIDParamsWithContext creates a new ProjectsGetByIDParams object with the ability to set a context for a request.
func NewProjectsGetByIDParamsWithHTTPClient ¶
func NewProjectsGetByIDParamsWithHTTPClient(client *http.Client) *ProjectsGetByIDParams
NewProjectsGetByIDParamsWithHTTPClient creates a new ProjectsGetByIDParams object with the ability to set a custom HTTPClient for a request.
func NewProjectsGetByIDParamsWithTimeout ¶
func NewProjectsGetByIDParamsWithTimeout(timeout time.Duration) *ProjectsGetByIDParams
NewProjectsGetByIDParamsWithTimeout creates a new ProjectsGetByIDParams object with the ability to set a timeout on a request.
func (*ProjectsGetByIDParams) SetContext ¶
func (o *ProjectsGetByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the projects get by ID params
func (*ProjectsGetByIDParams) SetDefaults ¶
func (o *ProjectsGetByIDParams) SetDefaults()
SetDefaults hydrates default values in the projects get by ID params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsGetByIDParams) SetHTTPClient ¶
func (o *ProjectsGetByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the projects get by ID params
func (*ProjectsGetByIDParams) SetID ¶
func (o *ProjectsGetByIDParams) SetID(id string)
SetID adds the id to the projects get by ID params
func (*ProjectsGetByIDParams) SetTimeout ¶
func (o *ProjectsGetByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the projects get by ID params
func (*ProjectsGetByIDParams) SetXRequestID ¶
func (o *ProjectsGetByIDParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the projects get by ID params
func (*ProjectsGetByIDParams) WithContext ¶
func (o *ProjectsGetByIDParams) WithContext(ctx context.Context) *ProjectsGetByIDParams
WithContext adds the context to the projects get by ID params
func (*ProjectsGetByIDParams) WithDefaults ¶
func (o *ProjectsGetByIDParams) WithDefaults() *ProjectsGetByIDParams
WithDefaults hydrates default values in the projects get by ID params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsGetByIDParams) WithHTTPClient ¶
func (o *ProjectsGetByIDParams) WithHTTPClient(client *http.Client) *ProjectsGetByIDParams
WithHTTPClient adds the HTTPClient to the projects get by ID params
func (*ProjectsGetByIDParams) WithID ¶
func (o *ProjectsGetByIDParams) WithID(id string) *ProjectsGetByIDParams
WithID adds the id to the projects get by ID params
func (*ProjectsGetByIDParams) WithTimeout ¶
func (o *ProjectsGetByIDParams) WithTimeout(timeout time.Duration) *ProjectsGetByIDParams
WithTimeout adds the timeout to the projects get by ID params
func (*ProjectsGetByIDParams) WithXRequestID ¶
func (o *ProjectsGetByIDParams) WithXRequestID(xRequestID *string) *ProjectsGetByIDParams
WithXRequestID adds the xRequestID to the projects get by ID params
func (*ProjectsGetByIDParams) WriteToRequest ¶
func (o *ProjectsGetByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectsGetByIDReader ¶
type ProjectsGetByIDReader struct {
// contains filtered or unexported fields
}
ProjectsGetByIDReader is a Reader for the ProjectsGetByID structure.
func (*ProjectsGetByIDReader) ReadResponse ¶
func (o *ProjectsGetByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectsGetByIDUnauthorized ¶
type ProjectsGetByIDUnauthorized struct {
}ProjectsGetByIDUnauthorized 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 NewProjectsGetByIDUnauthorized ¶
func NewProjectsGetByIDUnauthorized() *ProjectsGetByIDUnauthorized
NewProjectsGetByIDUnauthorized creates a ProjectsGetByIDUnauthorized with default headers values
func (*ProjectsGetByIDUnauthorized) Error ¶
func (o *ProjectsGetByIDUnauthorized) Error() string
func (*ProjectsGetByIDUnauthorized) GetPayload ¶
func (o *ProjectsGetByIDUnauthorized) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByIDUnauthorized) IsClientError ¶
func (o *ProjectsGetByIDUnauthorized) IsClientError() bool
IsClientError returns true when this projects get by Id unauthorized response has a 4xx status code
func (*ProjectsGetByIDUnauthorized) IsCode ¶
func (o *ProjectsGetByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this projects get by Id unauthorized response a status code equal to that given
func (*ProjectsGetByIDUnauthorized) IsRedirect ¶
func (o *ProjectsGetByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this projects get by Id unauthorized response has a 3xx status code
func (*ProjectsGetByIDUnauthorized) IsServerError ¶
func (o *ProjectsGetByIDUnauthorized) IsServerError() bool
IsServerError returns true when this projects get by Id unauthorized response has a 5xx status code
func (*ProjectsGetByIDUnauthorized) IsSuccess ¶
func (o *ProjectsGetByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this projects get by Id unauthorized response has a 2xx status code
func (*ProjectsGetByIDUnauthorized) String ¶
func (o *ProjectsGetByIDUnauthorized) String() string
type ProjectsGetByNameDefault ¶
type ProjectsGetByNameDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ProjectsGetByNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectsGetByNameDefault ¶
func NewProjectsGetByNameDefault(code int) *ProjectsGetByNameDefault
NewProjectsGetByNameDefault creates a ProjectsGetByNameDefault with default headers values
func (*ProjectsGetByNameDefault) Code ¶
func (o *ProjectsGetByNameDefault) Code() int
Code gets the status code for the projects get by name default response
func (*ProjectsGetByNameDefault) Error ¶
func (o *ProjectsGetByNameDefault) Error() string
func (*ProjectsGetByNameDefault) GetPayload ¶
func (o *ProjectsGetByNameDefault) GetPayload() *models.GooglerpcStatus
func (*ProjectsGetByNameDefault) IsClientError ¶
func (o *ProjectsGetByNameDefault) IsClientError() bool
IsClientError returns true when this projects get by name default response has a 4xx status code
func (*ProjectsGetByNameDefault) IsCode ¶
func (o *ProjectsGetByNameDefault) IsCode(code int) bool
IsCode returns true when this projects get by name default response a status code equal to that given
func (*ProjectsGetByNameDefault) IsRedirect ¶
func (o *ProjectsGetByNameDefault) IsRedirect() bool
IsRedirect returns true when this projects get by name default response has a 3xx status code
func (*ProjectsGetByNameDefault) IsServerError ¶
func (o *ProjectsGetByNameDefault) IsServerError() bool
IsServerError returns true when this projects get by name default response has a 5xx status code
func (*ProjectsGetByNameDefault) IsSuccess ¶
func (o *ProjectsGetByNameDefault) IsSuccess() bool
IsSuccess returns true when this projects get by name default response has a 2xx status code
func (*ProjectsGetByNameDefault) String ¶
func (o *ProjectsGetByNameDefault) String() string
type ProjectsGetByNameForbidden ¶
type ProjectsGetByNameForbidden struct {
Payload *models.ZsrvResponse
}
ProjectsGetByNameForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewProjectsGetByNameForbidden ¶
func NewProjectsGetByNameForbidden() *ProjectsGetByNameForbidden
NewProjectsGetByNameForbidden creates a ProjectsGetByNameForbidden with default headers values
func (*ProjectsGetByNameForbidden) Error ¶
func (o *ProjectsGetByNameForbidden) Error() string
func (*ProjectsGetByNameForbidden) GetPayload ¶
func (o *ProjectsGetByNameForbidden) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByNameForbidden) IsClientError ¶
func (o *ProjectsGetByNameForbidden) IsClientError() bool
IsClientError returns true when this projects get by name forbidden response has a 4xx status code
func (*ProjectsGetByNameForbidden) IsCode ¶
func (o *ProjectsGetByNameForbidden) IsCode(code int) bool
IsCode returns true when this projects get by name forbidden response a status code equal to that given
func (*ProjectsGetByNameForbidden) IsRedirect ¶
func (o *ProjectsGetByNameForbidden) IsRedirect() bool
IsRedirect returns true when this projects get by name forbidden response has a 3xx status code
func (*ProjectsGetByNameForbidden) IsServerError ¶
func (o *ProjectsGetByNameForbidden) IsServerError() bool
IsServerError returns true when this projects get by name forbidden response has a 5xx status code
func (*ProjectsGetByNameForbidden) IsSuccess ¶
func (o *ProjectsGetByNameForbidden) IsSuccess() bool
IsSuccess returns true when this projects get by name forbidden response has a 2xx status code
func (*ProjectsGetByNameForbidden) String ¶
func (o *ProjectsGetByNameForbidden) String() string
type ProjectsGetByNameGatewayTimeout ¶
type ProjectsGetByNameGatewayTimeout struct {
Payload *models.ZsrvResponse
}
ProjectsGetByNameGatewayTimeout 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 NewProjectsGetByNameGatewayTimeout ¶
func NewProjectsGetByNameGatewayTimeout() *ProjectsGetByNameGatewayTimeout
NewProjectsGetByNameGatewayTimeout creates a ProjectsGetByNameGatewayTimeout with default headers values
func (*ProjectsGetByNameGatewayTimeout) Error ¶
func (o *ProjectsGetByNameGatewayTimeout) Error() string
func (*ProjectsGetByNameGatewayTimeout) GetPayload ¶
func (o *ProjectsGetByNameGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByNameGatewayTimeout) IsClientError ¶
func (o *ProjectsGetByNameGatewayTimeout) IsClientError() bool
IsClientError returns true when this projects get by name gateway timeout response has a 4xx status code
func (*ProjectsGetByNameGatewayTimeout) IsCode ¶
func (o *ProjectsGetByNameGatewayTimeout) IsCode(code int) bool
IsCode returns true when this projects get by name gateway timeout response a status code equal to that given
func (*ProjectsGetByNameGatewayTimeout) IsRedirect ¶
func (o *ProjectsGetByNameGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this projects get by name gateway timeout response has a 3xx status code
func (*ProjectsGetByNameGatewayTimeout) IsServerError ¶
func (o *ProjectsGetByNameGatewayTimeout) IsServerError() bool
IsServerError returns true when this projects get by name gateway timeout response has a 5xx status code
func (*ProjectsGetByNameGatewayTimeout) IsSuccess ¶
func (o *ProjectsGetByNameGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this projects get by name gateway timeout response has a 2xx status code
func (*ProjectsGetByNameGatewayTimeout) String ¶
func (o *ProjectsGetByNameGatewayTimeout) String() string
type ProjectsGetByNameInternalServerError ¶
type ProjectsGetByNameInternalServerError struct {
Payload *models.ZsrvResponse
}
ProjectsGetByNameInternalServerError 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 NewProjectsGetByNameInternalServerError ¶
func NewProjectsGetByNameInternalServerError() *ProjectsGetByNameInternalServerError
NewProjectsGetByNameInternalServerError creates a ProjectsGetByNameInternalServerError with default headers values
func (*ProjectsGetByNameInternalServerError) Error ¶
func (o *ProjectsGetByNameInternalServerError) Error() string
func (*ProjectsGetByNameInternalServerError) GetPayload ¶
func (o *ProjectsGetByNameInternalServerError) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByNameInternalServerError) IsClientError ¶
func (o *ProjectsGetByNameInternalServerError) IsClientError() bool
IsClientError returns true when this projects get by name internal server error response has a 4xx status code
func (*ProjectsGetByNameInternalServerError) IsCode ¶
func (o *ProjectsGetByNameInternalServerError) IsCode(code int) bool
IsCode returns true when this projects get by name internal server error response a status code equal to that given
func (*ProjectsGetByNameInternalServerError) IsRedirect ¶
func (o *ProjectsGetByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this projects get by name internal server error response has a 3xx status code
func (*ProjectsGetByNameInternalServerError) IsServerError ¶
func (o *ProjectsGetByNameInternalServerError) IsServerError() bool
IsServerError returns true when this projects get by name internal server error response has a 5xx status code
func (*ProjectsGetByNameInternalServerError) IsSuccess ¶
func (o *ProjectsGetByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this projects get by name internal server error response has a 2xx status code
func (*ProjectsGetByNameInternalServerError) String ¶
func (o *ProjectsGetByNameInternalServerError) String() string
type ProjectsGetByNameNotFound ¶
type ProjectsGetByNameNotFound struct {
Payload *models.ZsrvResponse
}
ProjectsGetByNameNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewProjectsGetByNameNotFound ¶
func NewProjectsGetByNameNotFound() *ProjectsGetByNameNotFound
NewProjectsGetByNameNotFound creates a ProjectsGetByNameNotFound with default headers values
func (*ProjectsGetByNameNotFound) Error ¶
func (o *ProjectsGetByNameNotFound) Error() string
func (*ProjectsGetByNameNotFound) GetPayload ¶
func (o *ProjectsGetByNameNotFound) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByNameNotFound) IsClientError ¶
func (o *ProjectsGetByNameNotFound) IsClientError() bool
IsClientError returns true when this projects get by name not found response has a 4xx status code
func (*ProjectsGetByNameNotFound) IsCode ¶
func (o *ProjectsGetByNameNotFound) IsCode(code int) bool
IsCode returns true when this projects get by name not found response a status code equal to that given
func (*ProjectsGetByNameNotFound) IsRedirect ¶
func (o *ProjectsGetByNameNotFound) IsRedirect() bool
IsRedirect returns true when this projects get by name not found response has a 3xx status code
func (*ProjectsGetByNameNotFound) IsServerError ¶
func (o *ProjectsGetByNameNotFound) IsServerError() bool
IsServerError returns true when this projects get by name not found response has a 5xx status code
func (*ProjectsGetByNameNotFound) IsSuccess ¶
func (o *ProjectsGetByNameNotFound) IsSuccess() bool
IsSuccess returns true when this projects get by name not found response has a 2xx status code
func (*ProjectsGetByNameNotFound) String ¶
func (o *ProjectsGetByNameNotFound) String() string
type ProjectsGetByNameOK ¶
ProjectsGetByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectsGetByNameOK ¶
func NewProjectsGetByNameOK() *ProjectsGetByNameOK
NewProjectsGetByNameOK creates a ProjectsGetByNameOK with default headers values
func (*ProjectsGetByNameOK) Error ¶
func (o *ProjectsGetByNameOK) Error() string
func (*ProjectsGetByNameOK) GetPayload ¶
func (o *ProjectsGetByNameOK) GetPayload() *models.Tag
func (*ProjectsGetByNameOK) IsClientError ¶
func (o *ProjectsGetByNameOK) IsClientError() bool
IsClientError returns true when this projects get by name o k response has a 4xx status code
func (*ProjectsGetByNameOK) IsCode ¶
func (o *ProjectsGetByNameOK) IsCode(code int) bool
IsCode returns true when this projects get by name o k response a status code equal to that given
func (*ProjectsGetByNameOK) IsRedirect ¶
func (o *ProjectsGetByNameOK) IsRedirect() bool
IsRedirect returns true when this projects get by name o k response has a 3xx status code
func (*ProjectsGetByNameOK) IsServerError ¶
func (o *ProjectsGetByNameOK) IsServerError() bool
IsServerError returns true when this projects get by name o k response has a 5xx status code
func (*ProjectsGetByNameOK) IsSuccess ¶
func (o *ProjectsGetByNameOK) IsSuccess() bool
IsSuccess returns true when this projects get by name o k response has a 2xx status code
func (*ProjectsGetByNameOK) String ¶
func (o *ProjectsGetByNameOK) String() string
type ProjectsGetByNameParams ¶
type ProjectsGetByNameParams struct { /* XRequestID. correlation-id */ XRequestID *string /* Name. User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectsGetByNameParams contains all the parameters to send to the API endpoint
for the projects get by name operation. Typically these are written to a http.Request.
func GetByNameParams ¶
func GetByNameParams() *ProjectsGetByNameParams
GetByNameParams creates a new ProjectsGetByNameParams 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 NewProjectsGetByNameParamsWithContext ¶
func NewProjectsGetByNameParamsWithContext(ctx context.Context) *ProjectsGetByNameParams
NewProjectsGetByNameParamsWithContext creates a new ProjectsGetByNameParams object with the ability to set a context for a request.
func NewProjectsGetByNameParamsWithHTTPClient ¶
func NewProjectsGetByNameParamsWithHTTPClient(client *http.Client) *ProjectsGetByNameParams
NewProjectsGetByNameParamsWithHTTPClient creates a new ProjectsGetByNameParams object with the ability to set a custom HTTPClient for a request.
func NewProjectsGetByNameParamsWithTimeout ¶
func NewProjectsGetByNameParamsWithTimeout(timeout time.Duration) *ProjectsGetByNameParams
NewProjectsGetByNameParamsWithTimeout creates a new ProjectsGetByNameParams object with the ability to set a timeout on a request.
func (*ProjectsGetByNameParams) SetContext ¶
func (o *ProjectsGetByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the projects get by name params
func (*ProjectsGetByNameParams) SetDefaults ¶
func (o *ProjectsGetByNameParams) SetDefaults()
SetDefaults hydrates default values in the projects get by name params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsGetByNameParams) SetHTTPClient ¶
func (o *ProjectsGetByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the projects get by name params
func (*ProjectsGetByNameParams) SetName ¶
func (o *ProjectsGetByNameParams) SetName(name string)
SetName adds the name to the projects get by name params
func (*ProjectsGetByNameParams) SetTimeout ¶
func (o *ProjectsGetByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the projects get by name params
func (*ProjectsGetByNameParams) SetXRequestID ¶
func (o *ProjectsGetByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the projects get by name params
func (*ProjectsGetByNameParams) WithContext ¶
func (o *ProjectsGetByNameParams) WithContext(ctx context.Context) *ProjectsGetByNameParams
WithContext adds the context to the projects get by name params
func (*ProjectsGetByNameParams) WithDefaults ¶
func (o *ProjectsGetByNameParams) WithDefaults() *ProjectsGetByNameParams
WithDefaults hydrates default values in the projects get by name params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsGetByNameParams) WithHTTPClient ¶
func (o *ProjectsGetByNameParams) WithHTTPClient(client *http.Client) *ProjectsGetByNameParams
WithHTTPClient adds the HTTPClient to the projects get by name params
func (*ProjectsGetByNameParams) WithName ¶
func (o *ProjectsGetByNameParams) WithName(name string) *ProjectsGetByNameParams
WithName adds the name to the projects get by name params
func (*ProjectsGetByNameParams) WithTimeout ¶
func (o *ProjectsGetByNameParams) WithTimeout(timeout time.Duration) *ProjectsGetByNameParams
WithTimeout adds the timeout to the projects get by name params
func (*ProjectsGetByNameParams) WithXRequestID ¶
func (o *ProjectsGetByNameParams) WithXRequestID(xRequestID *string) *ProjectsGetByNameParams
WithXRequestID adds the xRequestID to the projects get by name params
func (*ProjectsGetByNameParams) WriteToRequest ¶
func (o *ProjectsGetByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectsGetByNameReader ¶
type ProjectsGetByNameReader struct {
// contains filtered or unexported fields
}
ProjectsGetByNameReader is a Reader for the ProjectsGetByName structure.
func (*ProjectsGetByNameReader) ReadResponse ¶
func (o *ProjectsGetByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectsGetByNameUnauthorized ¶
type ProjectsGetByNameUnauthorized struct {
}ProjectsGetByNameUnauthorized 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 NewProjectsGetByNameUnauthorized ¶
func NewProjectsGetByNameUnauthorized() *ProjectsGetByNameUnauthorized
NewProjectsGetByNameUnauthorized creates a ProjectsGetByNameUnauthorized with default headers values
func (*ProjectsGetByNameUnauthorized) Error ¶
func (o *ProjectsGetByNameUnauthorized) Error() string
func (*ProjectsGetByNameUnauthorized) GetPayload ¶
func (o *ProjectsGetByNameUnauthorized) GetPayload() *models.ZsrvResponse
func (*ProjectsGetByNameUnauthorized) IsClientError ¶
func (o *ProjectsGetByNameUnauthorized) IsClientError() bool
IsClientError returns true when this projects get by name unauthorized response has a 4xx status code
func (*ProjectsGetByNameUnauthorized) IsCode ¶
func (o *ProjectsGetByNameUnauthorized) IsCode(code int) bool
IsCode returns true when this projects get by name unauthorized response a status code equal to that given
func (*ProjectsGetByNameUnauthorized) IsRedirect ¶
func (o *ProjectsGetByNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this projects get by name unauthorized response has a 3xx status code
func (*ProjectsGetByNameUnauthorized) IsServerError ¶
func (o *ProjectsGetByNameUnauthorized) IsServerError() bool
IsServerError returns true when this projects get by name unauthorized response has a 5xx status code
func (*ProjectsGetByNameUnauthorized) IsSuccess ¶
func (o *ProjectsGetByNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this projects get by name unauthorized response has a 2xx status code
func (*ProjectsGetByNameUnauthorized) String ¶
func (o *ProjectsGetByNameUnauthorized) String() string
type ProjectsUpdateBody ¶
type ProjectsUpdateBody struct { // Resource group wide policy for edge applications to be deployed on all edge nodes on this resource group // Read Only: true AppPolicy *models.Policy `json:"appPolicy,omitempty"` // Attestation policy to enforce on all devices of this project AttestationPolicy *models.Policy `json:"attestationPolicy,omitempty"` // Resource group wide configuration for edge nodes // Read Only: true Attr map[string]string `json:"attr,omitempty"` // Resource group wide policy for Azure IoTEdge configuration to be applied to all edge applications // Read Only: true CloudPolicy *models.Policy `json:"cloudPolicy,omitempty"` // Deployment template containing different types of policies Deployment *models.Deployment `json:"deployment,omitempty"` // Detailed description of the resource group. // Max Length: 256 Description string `json:"description,omitempty"` // Edgeview policy on devices of this project EdgeviewPolicy *models.Policy `json:"edgeviewPolicy,omitempty"` // Local operator console policy on devices of this project LocalOperatorConsolePolicy *models.Policy `json:"localOperatorConsolePolicy,omitempty"` // Resource group wide policy for Azure module configuration to be applied to all edge applications // Read Only: true ModulePolicy []*models.Policy `json:"modulePolicy"` // User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+ Name *string `json:"name"` // Network policy to enforce on all devices of this project NetworkPolicy *models.Policy `json:"networkPolicy,omitempty"` // Number of edge nodes in this resource group // Read Only: true Numdevices int64 `json:"numdevices,omitempty"` // system defined info // Read Only: true Revision *models.ObjectRevision `json:"revision,omitempty"` // User defined title of the resource group. Title can be changed at any time. // Required: true // Max Length: 256 // Min Length: 3 // Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+ Title *string `json:"title"` // Resource group type // Required: true Type *models.TagType `json:"type"` }
ProjectsUpdateBody Resource group detail // // Resource group for edge gateway Base OS or for eedge applications. // Example: {"attr":{},"description":"My test resource group for Edge computing","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-project","numdevices":208,"revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"title":"My Test resource group","type":"TAG_TYPE_PROJECT"} swagger:model ProjectsUpdateBody
func (*ProjectsUpdateBody) ContextValidate ¶
ContextValidate validate this projects update body based on the context it is used
func (*ProjectsUpdateBody) MarshalBinary ¶
func (o *ProjectsUpdateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectsUpdateBody) UnmarshalBinary ¶
func (o *ProjectsUpdateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectsUpdateConflict ¶
type ProjectsUpdateConflict struct {
Payload *models.ZsrvResponse
}
ProjectsUpdateConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this operation will conflict with an already existing edge node record.
func NewProjectsUpdateConflict ¶
func NewProjectsUpdateConflict() *ProjectsUpdateConflict
NewProjectsUpdateConflict creates a ProjectsUpdateConflict with default headers values
func (*ProjectsUpdateConflict) Error ¶
func (o *ProjectsUpdateConflict) Error() string
func (*ProjectsUpdateConflict) GetPayload ¶
func (o *ProjectsUpdateConflict) GetPayload() *models.ZsrvResponse
func (*ProjectsUpdateConflict) IsClientError ¶
func (o *ProjectsUpdateConflict) IsClientError() bool
IsClientError returns true when this projects update conflict response has a 4xx status code
func (*ProjectsUpdateConflict) IsCode ¶
func (o *ProjectsUpdateConflict) IsCode(code int) bool
IsCode returns true when this projects update conflict response a status code equal to that given
func (*ProjectsUpdateConflict) IsRedirect ¶
func (o *ProjectsUpdateConflict) IsRedirect() bool
IsRedirect returns true when this projects update conflict response has a 3xx status code
func (*ProjectsUpdateConflict) IsServerError ¶
func (o *ProjectsUpdateConflict) IsServerError() bool
IsServerError returns true when this projects update conflict response has a 5xx status code
func (*ProjectsUpdateConflict) IsSuccess ¶
func (o *ProjectsUpdateConflict) IsSuccess() bool
IsSuccess returns true when this projects update conflict response has a 2xx status code
func (*ProjectsUpdateConflict) String ¶
func (o *ProjectsUpdateConflict) String() string
type ProjectsUpdateDefault ¶
type ProjectsUpdateDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ProjectsUpdateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectsUpdateDefault ¶
func NewProjectsUpdateDefault(code int) *ProjectsUpdateDefault
NewProjectsUpdateDefault creates a ProjectsUpdateDefault with default headers values
func (*ProjectsUpdateDefault) Code ¶
func (o *ProjectsUpdateDefault) Code() int
Code gets the status code for the projects update default response
func (*ProjectsUpdateDefault) Error ¶
func (o *ProjectsUpdateDefault) Error() string
func (*ProjectsUpdateDefault) GetPayload ¶
func (o *ProjectsUpdateDefault) GetPayload() *models.GooglerpcStatus
func (*ProjectsUpdateDefault) IsClientError ¶
func (o *ProjectsUpdateDefault) IsClientError() bool
IsClientError returns true when this projects update default response has a 4xx status code
func (*ProjectsUpdateDefault) IsCode ¶
func (o *ProjectsUpdateDefault) IsCode(code int) bool
IsCode returns true when this projects update default response a status code equal to that given
func (*ProjectsUpdateDefault) IsRedirect ¶
func (o *ProjectsUpdateDefault) IsRedirect() bool
IsRedirect returns true when this projects update default response has a 3xx status code
func (*ProjectsUpdateDefault) IsServerError ¶
func (o *ProjectsUpdateDefault) IsServerError() bool
IsServerError returns true when this projects update default response has a 5xx status code
func (*ProjectsUpdateDefault) IsSuccess ¶
func (o *ProjectsUpdateDefault) IsSuccess() bool
IsSuccess returns true when this projects update default response has a 2xx status code
func (*ProjectsUpdateDefault) String ¶
func (o *ProjectsUpdateDefault) String() string
type ProjectsUpdateForbidden ¶
type ProjectsUpdateForbidden struct {
Payload *models.ZsrvResponse
}
ProjectsUpdateForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the request or does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewProjectsUpdateForbidden ¶
func NewProjectsUpdateForbidden() *ProjectsUpdateForbidden
NewProjectsUpdateForbidden creates a ProjectsUpdateForbidden with default headers values
func (*ProjectsUpdateForbidden) Error ¶
func (o *ProjectsUpdateForbidden) Error() string
func (*ProjectsUpdateForbidden) GetPayload ¶
func (o *ProjectsUpdateForbidden) GetPayload() *models.ZsrvResponse
func (*ProjectsUpdateForbidden) IsClientError ¶
func (o *ProjectsUpdateForbidden) IsClientError() bool
IsClientError returns true when this projects update forbidden response has a 4xx status code
func (*ProjectsUpdateForbidden) IsCode ¶
func (o *ProjectsUpdateForbidden) IsCode(code int) bool
IsCode returns true when this projects update forbidden response a status code equal to that given
func (*ProjectsUpdateForbidden) IsRedirect ¶
func (o *ProjectsUpdateForbidden) IsRedirect() bool
IsRedirect returns true when this projects update forbidden response has a 3xx status code
func (*ProjectsUpdateForbidden) IsServerError ¶
func (o *ProjectsUpdateForbidden) IsServerError() bool
IsServerError returns true when this projects update forbidden response has a 5xx status code
func (*ProjectsUpdateForbidden) IsSuccess ¶
func (o *ProjectsUpdateForbidden) IsSuccess() bool
IsSuccess returns true when this projects update forbidden response has a 2xx status code
func (*ProjectsUpdateForbidden) String ¶
func (o *ProjectsUpdateForbidden) String() string
type ProjectsUpdateGatewayTimeout ¶
type ProjectsUpdateGatewayTimeout struct {
Payload *models.ZsrvResponse
}
ProjectsUpdateGatewayTimeout 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 NewProjectsUpdateGatewayTimeout ¶
func NewProjectsUpdateGatewayTimeout() *ProjectsUpdateGatewayTimeout
NewProjectsUpdateGatewayTimeout creates a ProjectsUpdateGatewayTimeout with default headers values
func (*ProjectsUpdateGatewayTimeout) Error ¶
func (o *ProjectsUpdateGatewayTimeout) Error() string
func (*ProjectsUpdateGatewayTimeout) GetPayload ¶
func (o *ProjectsUpdateGatewayTimeout) GetPayload() *models.ZsrvResponse
func (*ProjectsUpdateGatewayTimeout) IsClientError ¶
func (o *ProjectsUpdateGatewayTimeout) IsClientError() bool
IsClientError returns true when this projects update gateway timeout response has a 4xx status code
func (*ProjectsUpdateGatewayTimeout) IsCode ¶
func (o *ProjectsUpdateGatewayTimeout) IsCode(code int) bool
IsCode returns true when this projects update gateway timeout response a status code equal to that given
func (*ProjectsUpdateGatewayTimeout) IsRedirect ¶
func (o *ProjectsUpdateGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this projects update gateway timeout response has a 3xx status code
func (*ProjectsUpdateGatewayTimeout) IsServerError ¶
func (o *ProjectsUpdateGatewayTimeout) IsServerError() bool
IsServerError returns true when this projects update gateway timeout response has a 5xx status code
func (*ProjectsUpdateGatewayTimeout) IsSuccess ¶
func (o *ProjectsUpdateGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this projects update gateway timeout response has a 2xx status code
func (*ProjectsUpdateGatewayTimeout) String ¶
func (o *ProjectsUpdateGatewayTimeout) String() string
type ProjectsUpdateInternalServerError ¶
type ProjectsUpdateInternalServerError struct {
Payload *models.ZsrvResponse
}
ProjectsUpdateInternalServerError 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 NewProjectsUpdateInternalServerError ¶
func NewProjectsUpdateInternalServerError() *ProjectsUpdateInternalServerError
NewProjectsUpdateInternalServerError creates a ProjectsUpdateInternalServerError with default headers values
func (*ProjectsUpdateInternalServerError) Error ¶
func (o *ProjectsUpdateInternalServerError) Error() string
func (*ProjectsUpdateInternalServerError) GetPayload ¶
func (o *ProjectsUpdateInternalServerError) GetPayload() *models.ZsrvResponse
func (*ProjectsUpdateInternalServerError) IsClientError ¶
func (o *ProjectsUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this projects update internal server error response has a 4xx status code
func (*ProjectsUpdateInternalServerError) IsCode ¶
func (o *ProjectsUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this projects update internal server error response a status code equal to that given
func (*ProjectsUpdateInternalServerError) IsRedirect ¶
func (o *ProjectsUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this projects update internal server error response has a 3xx status code
func (*ProjectsUpdateInternalServerError) IsServerError ¶
func (o *ProjectsUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this projects update internal server error response has a 5xx status code
func (*ProjectsUpdateInternalServerError) IsSuccess ¶
func (o *ProjectsUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this projects update internal server error response has a 2xx status code
func (*ProjectsUpdateInternalServerError) String ¶
func (o *ProjectsUpdateInternalServerError) String() string
type ProjectsUpdateNotFound ¶
type ProjectsUpdateNotFound struct {
Payload *models.ZsrvResponse
}
ProjectsUpdateNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewProjectsUpdateNotFound ¶
func NewProjectsUpdateNotFound() *ProjectsUpdateNotFound
NewProjectsUpdateNotFound creates a ProjectsUpdateNotFound with default headers values
func (*ProjectsUpdateNotFound) Error ¶
func (o *ProjectsUpdateNotFound) Error() string
func (*ProjectsUpdateNotFound) GetPayload ¶
func (o *ProjectsUpdateNotFound) GetPayload() *models.ZsrvResponse
func (*ProjectsUpdateNotFound) IsClientError ¶
func (o *ProjectsUpdateNotFound) IsClientError() bool
IsClientError returns true when this projects update not found response has a 4xx status code
func (*ProjectsUpdateNotFound) IsCode ¶
func (o *ProjectsUpdateNotFound) IsCode(code int) bool
IsCode returns true when this projects update not found response a status code equal to that given
func (*ProjectsUpdateNotFound) IsRedirect ¶
func (o *ProjectsUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this projects update not found response has a 3xx status code
func (*ProjectsUpdateNotFound) IsServerError ¶
func (o *ProjectsUpdateNotFound) IsServerError() bool
IsServerError returns true when this projects update not found response has a 5xx status code
func (*ProjectsUpdateNotFound) IsSuccess ¶
func (o *ProjectsUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this projects update not found response has a 2xx status code
func (*ProjectsUpdateNotFound) String ¶
func (o *ProjectsUpdateNotFound) String() string
type ProjectsUpdateOK ¶
type ProjectsUpdateOK struct {
Payload *models.ZsrvResponse
}
ProjectsUpdateOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectsUpdateOK ¶
func NewProjectsUpdateOK() *ProjectsUpdateOK
NewProjectsUpdateOK creates a ProjectsUpdateOK with default headers values
func (*ProjectsUpdateOK) Error ¶
func (o *ProjectsUpdateOK) Error() string
func (*ProjectsUpdateOK) GetPayload ¶
func (o *ProjectsUpdateOK) GetPayload() *models.ZsrvResponse
func (*ProjectsUpdateOK) IsClientError ¶
func (o *ProjectsUpdateOK) IsClientError() bool
IsClientError returns true when this projects update o k response has a 4xx status code
func (*ProjectsUpdateOK) IsCode ¶
func (o *ProjectsUpdateOK) IsCode(code int) bool
IsCode returns true when this projects update o k response a status code equal to that given
func (*ProjectsUpdateOK) IsRedirect ¶
func (o *ProjectsUpdateOK) IsRedirect() bool
IsRedirect returns true when this projects update o k response has a 3xx status code
func (*ProjectsUpdateOK) IsServerError ¶
func (o *ProjectsUpdateOK) IsServerError() bool
IsServerError returns true when this projects update o k response has a 5xx status code
func (*ProjectsUpdateOK) IsSuccess ¶
func (o *ProjectsUpdateOK) IsSuccess() bool
IsSuccess returns true when this projects update o k response has a 2xx status code
func (*ProjectsUpdateOK) String ¶
func (o *ProjectsUpdateOK) String() string
type ProjectsUpdateParams ¶
type ProjectsUpdateParams struct { /* XRequestID. correlation-id */ XRequestID *string // Body. Body *models.Tag /* ID. System defined universally unique Id of the resource group. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectsUpdateParams contains all the parameters to send to the API endpoint
for the projects update operation. Typically these are written to a http.Request.
func NewProjectsUpdateParamsWithContext ¶
func NewProjectsUpdateParamsWithContext(ctx context.Context) *ProjectsUpdateParams
NewProjectsUpdateParamsWithContext creates a new ProjectsUpdateParams object with the ability to set a context for a request.
func NewProjectsUpdateParamsWithHTTPClient ¶
func NewProjectsUpdateParamsWithHTTPClient(client *http.Client) *ProjectsUpdateParams
NewProjectsUpdateParamsWithHTTPClient creates a new ProjectsUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewProjectsUpdateParamsWithTimeout ¶
func NewProjectsUpdateParamsWithTimeout(timeout time.Duration) *ProjectsUpdateParams
NewProjectsUpdateParamsWithTimeout creates a new ProjectsUpdateParams object with the ability to set a timeout on a request.
func UpdateParams ¶
func UpdateParams() *ProjectsUpdateParams
UpdateParams creates a new ProjectsUpdateParams 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 (*ProjectsUpdateParams) SetBody ¶
func (o *ProjectsUpdateParams) SetBody(body *models.Tag)
SetBody adds the body to the projects update params
func (*ProjectsUpdateParams) SetContext ¶
func (o *ProjectsUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the projects update params
func (*ProjectsUpdateParams) SetDefaults ¶
func (o *ProjectsUpdateParams) SetDefaults()
SetDefaults hydrates default values in the projects update params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsUpdateParams) SetHTTPClient ¶
func (o *ProjectsUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the projects update params
func (*ProjectsUpdateParams) SetID ¶
func (o *ProjectsUpdateParams) SetID(id string)
SetID adds the id to the projects update params
func (*ProjectsUpdateParams) SetTimeout ¶
func (o *ProjectsUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the projects update params
func (*ProjectsUpdateParams) SetXRequestID ¶
func (o *ProjectsUpdateParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the projects update params
func (*ProjectsUpdateParams) WithBody ¶
func (o *ProjectsUpdateParams) WithBody(body *models.Tag) *ProjectsUpdateParams
WithBody adds the body to the projects update params
func (*ProjectsUpdateParams) WithContext ¶
func (o *ProjectsUpdateParams) WithContext(ctx context.Context) *ProjectsUpdateParams
WithContext adds the context to the projects update params
func (*ProjectsUpdateParams) WithDefaults ¶
func (o *ProjectsUpdateParams) WithDefaults() *ProjectsUpdateParams
WithDefaults hydrates default values in the projects update params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectsUpdateParams) WithHTTPClient ¶
func (o *ProjectsUpdateParams) WithHTTPClient(client *http.Client) *ProjectsUpdateParams
WithHTTPClient adds the HTTPClient to the projects update params
func (*ProjectsUpdateParams) WithID ¶
func (o *ProjectsUpdateParams) WithID(id string) *ProjectsUpdateParams
WithID adds the id to the projects update params
func (*ProjectsUpdateParams) WithTimeout ¶
func (o *ProjectsUpdateParams) WithTimeout(timeout time.Duration) *ProjectsUpdateParams
WithTimeout adds the timeout to the projects update params
func (*ProjectsUpdateParams) WithXRequestID ¶
func (o *ProjectsUpdateParams) WithXRequestID(xRequestID *string) *ProjectsUpdateParams
WithXRequestID adds the xRequestID to the projects update params
func (*ProjectsUpdateParams) WriteToRequest ¶
func (o *ProjectsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectsUpdateReader ¶
type ProjectsUpdateReader struct {
// contains filtered or unexported fields
}
ProjectsUpdateReader is a Reader for the ProjectsUpdate structure.
func (*ProjectsUpdateReader) ReadResponse ¶
func (o *ProjectsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectsUpdateUnauthorized ¶
type ProjectsUpdateUnauthorized struct {
}ProjectsUpdateUnauthorized 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 NewProjectsUpdateUnauthorized ¶
func NewProjectsUpdateUnauthorized() *ProjectsUpdateUnauthorized
NewProjectsUpdateUnauthorized creates a ProjectsUpdateUnauthorized with default headers values
func (*ProjectsUpdateUnauthorized) Error ¶
func (o *ProjectsUpdateUnauthorized) Error() string
func (*ProjectsUpdateUnauthorized) GetPayload ¶
func (o *ProjectsUpdateUnauthorized) GetPayload() *models.ZsrvResponse
func (*ProjectsUpdateUnauthorized) IsClientError ¶
func (o *ProjectsUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this projects update unauthorized response has a 4xx status code
func (*ProjectsUpdateUnauthorized) IsCode ¶
func (o *ProjectsUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this projects update unauthorized response a status code equal to that given
func (*ProjectsUpdateUnauthorized) IsRedirect ¶
func (o *ProjectsUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this projects update unauthorized response has a 3xx status code
func (*ProjectsUpdateUnauthorized) IsServerError ¶
func (o *ProjectsUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this projects update unauthorized response has a 5xx status code
func (*ProjectsUpdateUnauthorized) IsSuccess ¶
func (o *ProjectsUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this projects update unauthorized response has a 2xx status code
func (*ProjectsUpdateUnauthorized) String ¶
func (o *ProjectsUpdateUnauthorized) String() string