Documentation
¶
Index ¶
- type API
- type AddProjectMetadatasBadRequest
- func (o *AddProjectMetadatasBadRequest) Code() int
- func (o *AddProjectMetadatasBadRequest) Error() string
- func (o *AddProjectMetadatasBadRequest) GetPayload() *models.Errors
- func (o *AddProjectMetadatasBadRequest) IsClientError() bool
- func (o *AddProjectMetadatasBadRequest) IsCode(code int) bool
- func (o *AddProjectMetadatasBadRequest) IsRedirect() bool
- func (o *AddProjectMetadatasBadRequest) IsServerError() bool
- func (o *AddProjectMetadatasBadRequest) IsSuccess() bool
- func (o *AddProjectMetadatasBadRequest) String() string
- type AddProjectMetadatasConflict
- func (o *AddProjectMetadatasConflict) Code() int
- func (o *AddProjectMetadatasConflict) Error() string
- func (o *AddProjectMetadatasConflict) GetPayload() *models.Errors
- func (o *AddProjectMetadatasConflict) IsClientError() bool
- func (o *AddProjectMetadatasConflict) IsCode(code int) bool
- func (o *AddProjectMetadatasConflict) IsRedirect() bool
- func (o *AddProjectMetadatasConflict) IsServerError() bool
- func (o *AddProjectMetadatasConflict) IsSuccess() bool
- func (o *AddProjectMetadatasConflict) String() string
- type AddProjectMetadatasForbidden
- func (o *AddProjectMetadatasForbidden) Code() int
- func (o *AddProjectMetadatasForbidden) Error() string
- func (o *AddProjectMetadatasForbidden) GetPayload() *models.Errors
- func (o *AddProjectMetadatasForbidden) IsClientError() bool
- func (o *AddProjectMetadatasForbidden) IsCode(code int) bool
- func (o *AddProjectMetadatasForbidden) IsRedirect() bool
- func (o *AddProjectMetadatasForbidden) IsServerError() bool
- func (o *AddProjectMetadatasForbidden) IsSuccess() bool
- func (o *AddProjectMetadatasForbidden) String() string
- type AddProjectMetadatasInternalServerError
- func (o *AddProjectMetadatasInternalServerError) Code() int
- func (o *AddProjectMetadatasInternalServerError) Error() string
- func (o *AddProjectMetadatasInternalServerError) GetPayload() *models.Errors
- func (o *AddProjectMetadatasInternalServerError) IsClientError() bool
- func (o *AddProjectMetadatasInternalServerError) IsCode(code int) bool
- func (o *AddProjectMetadatasInternalServerError) IsRedirect() bool
- func (o *AddProjectMetadatasInternalServerError) IsServerError() bool
- func (o *AddProjectMetadatasInternalServerError) IsSuccess() bool
- func (o *AddProjectMetadatasInternalServerError) String() string
- type AddProjectMetadatasNotFound
- func (o *AddProjectMetadatasNotFound) Code() int
- func (o *AddProjectMetadatasNotFound) Error() string
- func (o *AddProjectMetadatasNotFound) GetPayload() *models.Errors
- func (o *AddProjectMetadatasNotFound) IsClientError() bool
- func (o *AddProjectMetadatasNotFound) IsCode(code int) bool
- func (o *AddProjectMetadatasNotFound) IsRedirect() bool
- func (o *AddProjectMetadatasNotFound) IsServerError() bool
- func (o *AddProjectMetadatasNotFound) IsSuccess() bool
- func (o *AddProjectMetadatasNotFound) String() string
- type AddProjectMetadatasOK
- func (o *AddProjectMetadatasOK) Code() int
- func (o *AddProjectMetadatasOK) Error() string
- func (o *AddProjectMetadatasOK) IsClientError() bool
- func (o *AddProjectMetadatasOK) IsCode(code int) bool
- func (o *AddProjectMetadatasOK) IsRedirect() bool
- func (o *AddProjectMetadatasOK) IsServerError() bool
- func (o *AddProjectMetadatasOK) IsSuccess() bool
- func (o *AddProjectMetadatasOK) String() string
- type AddProjectMetadatasParams
- func NewAddProjectMetadatasParams() *AddProjectMetadatasParams
- func NewAddProjectMetadatasParamsWithContext(ctx context.Context) *AddProjectMetadatasParams
- func NewAddProjectMetadatasParamsWithHTTPClient(client *http.Client) *AddProjectMetadatasParams
- func NewAddProjectMetadatasParamsWithTimeout(timeout time.Duration) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) SetContext(ctx context.Context)
- func (o *AddProjectMetadatasParams) SetDefaults()
- func (o *AddProjectMetadatasParams) SetHTTPClient(client *http.Client)
- func (o *AddProjectMetadatasParams) SetMetadata(metadata map[string]string)
- func (o *AddProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
- func (o *AddProjectMetadatasParams) SetTimeout(timeout time.Duration)
- func (o *AddProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *AddProjectMetadatasParams) SetXRequestID(xRequestID *string)
- func (o *AddProjectMetadatasParams) WithContext(ctx context.Context) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithDefaults() *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithHTTPClient(client *http.Client) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithMetadata(metadata map[string]string) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithTimeout(timeout time.Duration) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithXRequestID(xRequestID *string) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProjectMetadatasReader
- type AddProjectMetadatasUnauthorized
- func (o *AddProjectMetadatasUnauthorized) Code() int
- func (o *AddProjectMetadatasUnauthorized) Error() string
- func (o *AddProjectMetadatasUnauthorized) GetPayload() *models.Errors
- func (o *AddProjectMetadatasUnauthorized) IsClientError() bool
- func (o *AddProjectMetadatasUnauthorized) IsCode(code int) bool
- func (o *AddProjectMetadatasUnauthorized) IsRedirect() bool
- func (o *AddProjectMetadatasUnauthorized) IsServerError() bool
- func (o *AddProjectMetadatasUnauthorized) IsSuccess() bool
- func (o *AddProjectMetadatasUnauthorized) String() string
- type Client
- func (a *Client) AddProjectMetadatas(ctx context.Context, params *AddProjectMetadatasParams) (*AddProjectMetadatasOK, error)
- func (a *Client) DeleteProjectMetadata(ctx context.Context, params *DeleteProjectMetadataParams) (*DeleteProjectMetadataOK, error)
- func (a *Client) GetProjectMetadata(ctx context.Context, params *GetProjectMetadataParams) (*GetProjectMetadataOK, error)
- func (a *Client) ListProjectMetadatas(ctx context.Context, params *ListProjectMetadatasParams) (*ListProjectMetadatasOK, error)
- func (a *Client) UpdateProjectMetadata(ctx context.Context, params *UpdateProjectMetadataParams) (*UpdateProjectMetadataOK, error)
- type DeleteProjectMetadataBadRequest
- func (o *DeleteProjectMetadataBadRequest) Code() int
- func (o *DeleteProjectMetadataBadRequest) Error() string
- func (o *DeleteProjectMetadataBadRequest) GetPayload() *models.Errors
- func (o *DeleteProjectMetadataBadRequest) IsClientError() bool
- func (o *DeleteProjectMetadataBadRequest) IsCode(code int) bool
- func (o *DeleteProjectMetadataBadRequest) IsRedirect() bool
- func (o *DeleteProjectMetadataBadRequest) IsServerError() bool
- func (o *DeleteProjectMetadataBadRequest) IsSuccess() bool
- func (o *DeleteProjectMetadataBadRequest) String() string
- type DeleteProjectMetadataConflict
- func (o *DeleteProjectMetadataConflict) Code() int
- func (o *DeleteProjectMetadataConflict) Error() string
- func (o *DeleteProjectMetadataConflict) GetPayload() *models.Errors
- func (o *DeleteProjectMetadataConflict) IsClientError() bool
- func (o *DeleteProjectMetadataConflict) IsCode(code int) bool
- func (o *DeleteProjectMetadataConflict) IsRedirect() bool
- func (o *DeleteProjectMetadataConflict) IsServerError() bool
- func (o *DeleteProjectMetadataConflict) IsSuccess() bool
- func (o *DeleteProjectMetadataConflict) String() string
- type DeleteProjectMetadataForbidden
- func (o *DeleteProjectMetadataForbidden) Code() int
- func (o *DeleteProjectMetadataForbidden) Error() string
- func (o *DeleteProjectMetadataForbidden) GetPayload() *models.Errors
- func (o *DeleteProjectMetadataForbidden) IsClientError() bool
- func (o *DeleteProjectMetadataForbidden) IsCode(code int) bool
- func (o *DeleteProjectMetadataForbidden) IsRedirect() bool
- func (o *DeleteProjectMetadataForbidden) IsServerError() bool
- func (o *DeleteProjectMetadataForbidden) IsSuccess() bool
- func (o *DeleteProjectMetadataForbidden) String() string
- type DeleteProjectMetadataInternalServerError
- func (o *DeleteProjectMetadataInternalServerError) Code() int
- func (o *DeleteProjectMetadataInternalServerError) Error() string
- func (o *DeleteProjectMetadataInternalServerError) GetPayload() *models.Errors
- func (o *DeleteProjectMetadataInternalServerError) IsClientError() bool
- func (o *DeleteProjectMetadataInternalServerError) IsCode(code int) bool
- func (o *DeleteProjectMetadataInternalServerError) IsRedirect() bool
- func (o *DeleteProjectMetadataInternalServerError) IsServerError() bool
- func (o *DeleteProjectMetadataInternalServerError) IsSuccess() bool
- func (o *DeleteProjectMetadataInternalServerError) String() string
- type DeleteProjectMetadataNotFound
- func (o *DeleteProjectMetadataNotFound) Code() int
- func (o *DeleteProjectMetadataNotFound) Error() string
- func (o *DeleteProjectMetadataNotFound) GetPayload() *models.Errors
- func (o *DeleteProjectMetadataNotFound) IsClientError() bool
- func (o *DeleteProjectMetadataNotFound) IsCode(code int) bool
- func (o *DeleteProjectMetadataNotFound) IsRedirect() bool
- func (o *DeleteProjectMetadataNotFound) IsServerError() bool
- func (o *DeleteProjectMetadataNotFound) IsSuccess() bool
- func (o *DeleteProjectMetadataNotFound) String() string
- type DeleteProjectMetadataOK
- func (o *DeleteProjectMetadataOK) Code() int
- func (o *DeleteProjectMetadataOK) Error() string
- func (o *DeleteProjectMetadataOK) IsClientError() bool
- func (o *DeleteProjectMetadataOK) IsCode(code int) bool
- func (o *DeleteProjectMetadataOK) IsRedirect() bool
- func (o *DeleteProjectMetadataOK) IsServerError() bool
- func (o *DeleteProjectMetadataOK) IsSuccess() bool
- func (o *DeleteProjectMetadataOK) String() string
- type DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParams() *DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParamsWithContext(ctx context.Context) *DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParamsWithHTTPClient(client *http.Client) *DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParamsWithTimeout(timeout time.Duration) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) SetContext(ctx context.Context)
- func (o *DeleteProjectMetadataParams) SetDefaults()
- func (o *DeleteProjectMetadataParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectMetadataParams) SetMetaName(metaName string)
- func (o *DeleteProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
- func (o *DeleteProjectMetadataParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *DeleteProjectMetadataParams) SetXRequestID(xRequestID *string)
- func (o *DeleteProjectMetadataParams) WithContext(ctx context.Context) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithDefaults() *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithHTTPClient(client *http.Client) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithMetaName(metaName string) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithTimeout(timeout time.Duration) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithXRequestID(xRequestID *string) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectMetadataReader
- type DeleteProjectMetadataUnauthorized
- func (o *DeleteProjectMetadataUnauthorized) Code() int
- func (o *DeleteProjectMetadataUnauthorized) Error() string
- func (o *DeleteProjectMetadataUnauthorized) GetPayload() *models.Errors
- func (o *DeleteProjectMetadataUnauthorized) IsClientError() bool
- func (o *DeleteProjectMetadataUnauthorized) IsCode(code int) bool
- func (o *DeleteProjectMetadataUnauthorized) IsRedirect() bool
- func (o *DeleteProjectMetadataUnauthorized) IsServerError() bool
- func (o *DeleteProjectMetadataUnauthorized) IsSuccess() bool
- func (o *DeleteProjectMetadataUnauthorized) String() string
- type GetProjectMetadataBadRequest
- func (o *GetProjectMetadataBadRequest) Code() int
- func (o *GetProjectMetadataBadRequest) Error() string
- func (o *GetProjectMetadataBadRequest) GetPayload() *models.Errors
- func (o *GetProjectMetadataBadRequest) IsClientError() bool
- func (o *GetProjectMetadataBadRequest) IsCode(code int) bool
- func (o *GetProjectMetadataBadRequest) IsRedirect() bool
- func (o *GetProjectMetadataBadRequest) IsServerError() bool
- func (o *GetProjectMetadataBadRequest) IsSuccess() bool
- func (o *GetProjectMetadataBadRequest) String() string
- type GetProjectMetadataForbidden
- func (o *GetProjectMetadataForbidden) Code() int
- func (o *GetProjectMetadataForbidden) Error() string
- func (o *GetProjectMetadataForbidden) GetPayload() *models.Errors
- func (o *GetProjectMetadataForbidden) IsClientError() bool
- func (o *GetProjectMetadataForbidden) IsCode(code int) bool
- func (o *GetProjectMetadataForbidden) IsRedirect() bool
- func (o *GetProjectMetadataForbidden) IsServerError() bool
- func (o *GetProjectMetadataForbidden) IsSuccess() bool
- func (o *GetProjectMetadataForbidden) String() string
- type GetProjectMetadataInternalServerError
- func (o *GetProjectMetadataInternalServerError) Code() int
- func (o *GetProjectMetadataInternalServerError) Error() string
- func (o *GetProjectMetadataInternalServerError) GetPayload() *models.Errors
- func (o *GetProjectMetadataInternalServerError) IsClientError() bool
- func (o *GetProjectMetadataInternalServerError) IsCode(code int) bool
- func (o *GetProjectMetadataInternalServerError) IsRedirect() bool
- func (o *GetProjectMetadataInternalServerError) IsServerError() bool
- func (o *GetProjectMetadataInternalServerError) IsSuccess() bool
- func (o *GetProjectMetadataInternalServerError) String() string
- type GetProjectMetadataNotFound
- func (o *GetProjectMetadataNotFound) Code() int
- func (o *GetProjectMetadataNotFound) Error() string
- func (o *GetProjectMetadataNotFound) GetPayload() *models.Errors
- func (o *GetProjectMetadataNotFound) IsClientError() bool
- func (o *GetProjectMetadataNotFound) IsCode(code int) bool
- func (o *GetProjectMetadataNotFound) IsRedirect() bool
- func (o *GetProjectMetadataNotFound) IsServerError() bool
- func (o *GetProjectMetadataNotFound) IsSuccess() bool
- func (o *GetProjectMetadataNotFound) String() string
- type GetProjectMetadataOK
- func (o *GetProjectMetadataOK) Code() int
- func (o *GetProjectMetadataOK) Error() string
- func (o *GetProjectMetadataOK) GetPayload() map[string]string
- func (o *GetProjectMetadataOK) IsClientError() bool
- func (o *GetProjectMetadataOK) IsCode(code int) bool
- func (o *GetProjectMetadataOK) IsRedirect() bool
- func (o *GetProjectMetadataOK) IsServerError() bool
- func (o *GetProjectMetadataOK) IsSuccess() bool
- func (o *GetProjectMetadataOK) String() string
- type GetProjectMetadataParams
- func NewGetProjectMetadataParams() *GetProjectMetadataParams
- func NewGetProjectMetadataParamsWithContext(ctx context.Context) *GetProjectMetadataParams
- func NewGetProjectMetadataParamsWithHTTPClient(client *http.Client) *GetProjectMetadataParams
- func NewGetProjectMetadataParamsWithTimeout(timeout time.Duration) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) SetContext(ctx context.Context)
- func (o *GetProjectMetadataParams) SetDefaults()
- func (o *GetProjectMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectMetadataParams) SetMetaName(metaName string)
- func (o *GetProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetProjectMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetProjectMetadataParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectMetadataParams) WithContext(ctx context.Context) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithDefaults() *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithHTTPClient(client *http.Client) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithMetaName(metaName string) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithTimeout(timeout time.Duration) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithXRequestID(xRequestID *string) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectMetadataReader
- type GetProjectMetadataUnauthorized
- func (o *GetProjectMetadataUnauthorized) Code() int
- func (o *GetProjectMetadataUnauthorized) Error() string
- func (o *GetProjectMetadataUnauthorized) GetPayload() *models.Errors
- func (o *GetProjectMetadataUnauthorized) IsClientError() bool
- func (o *GetProjectMetadataUnauthorized) IsCode(code int) bool
- func (o *GetProjectMetadataUnauthorized) IsRedirect() bool
- func (o *GetProjectMetadataUnauthorized) IsServerError() bool
- func (o *GetProjectMetadataUnauthorized) IsSuccess() bool
- func (o *GetProjectMetadataUnauthorized) String() string
- type ListProjectMetadatasBadRequest
- func (o *ListProjectMetadatasBadRequest) Code() int
- func (o *ListProjectMetadatasBadRequest) Error() string
- func (o *ListProjectMetadatasBadRequest) GetPayload() *models.Errors
- func (o *ListProjectMetadatasBadRequest) IsClientError() bool
- func (o *ListProjectMetadatasBadRequest) IsCode(code int) bool
- func (o *ListProjectMetadatasBadRequest) IsRedirect() bool
- func (o *ListProjectMetadatasBadRequest) IsServerError() bool
- func (o *ListProjectMetadatasBadRequest) IsSuccess() bool
- func (o *ListProjectMetadatasBadRequest) String() string
- type ListProjectMetadatasForbidden
- func (o *ListProjectMetadatasForbidden) Code() int
- func (o *ListProjectMetadatasForbidden) Error() string
- func (o *ListProjectMetadatasForbidden) GetPayload() *models.Errors
- func (o *ListProjectMetadatasForbidden) IsClientError() bool
- func (o *ListProjectMetadatasForbidden) IsCode(code int) bool
- func (o *ListProjectMetadatasForbidden) IsRedirect() bool
- func (o *ListProjectMetadatasForbidden) IsServerError() bool
- func (o *ListProjectMetadatasForbidden) IsSuccess() bool
- func (o *ListProjectMetadatasForbidden) String() string
- type ListProjectMetadatasInternalServerError
- func (o *ListProjectMetadatasInternalServerError) Code() int
- func (o *ListProjectMetadatasInternalServerError) Error() string
- func (o *ListProjectMetadatasInternalServerError) GetPayload() *models.Errors
- func (o *ListProjectMetadatasInternalServerError) IsClientError() bool
- func (o *ListProjectMetadatasInternalServerError) IsCode(code int) bool
- func (o *ListProjectMetadatasInternalServerError) IsRedirect() bool
- func (o *ListProjectMetadatasInternalServerError) IsServerError() bool
- func (o *ListProjectMetadatasInternalServerError) IsSuccess() bool
- func (o *ListProjectMetadatasInternalServerError) String() string
- type ListProjectMetadatasNotFound
- func (o *ListProjectMetadatasNotFound) Code() int
- func (o *ListProjectMetadatasNotFound) Error() string
- func (o *ListProjectMetadatasNotFound) GetPayload() *models.Errors
- func (o *ListProjectMetadatasNotFound) IsClientError() bool
- func (o *ListProjectMetadatasNotFound) IsCode(code int) bool
- func (o *ListProjectMetadatasNotFound) IsRedirect() bool
- func (o *ListProjectMetadatasNotFound) IsServerError() bool
- func (o *ListProjectMetadatasNotFound) IsSuccess() bool
- func (o *ListProjectMetadatasNotFound) String() string
- type ListProjectMetadatasOK
- func (o *ListProjectMetadatasOK) Code() int
- func (o *ListProjectMetadatasOK) Error() string
- func (o *ListProjectMetadatasOK) GetPayload() map[string]string
- func (o *ListProjectMetadatasOK) IsClientError() bool
- func (o *ListProjectMetadatasOK) IsCode(code int) bool
- func (o *ListProjectMetadatasOK) IsRedirect() bool
- func (o *ListProjectMetadatasOK) IsServerError() bool
- func (o *ListProjectMetadatasOK) IsSuccess() bool
- func (o *ListProjectMetadatasOK) String() string
- type ListProjectMetadatasParams
- func NewListProjectMetadatasParams() *ListProjectMetadatasParams
- func NewListProjectMetadatasParamsWithContext(ctx context.Context) *ListProjectMetadatasParams
- func NewListProjectMetadatasParamsWithHTTPClient(client *http.Client) *ListProjectMetadatasParams
- func NewListProjectMetadatasParamsWithTimeout(timeout time.Duration) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) SetContext(ctx context.Context)
- func (o *ListProjectMetadatasParams) SetDefaults()
- func (o *ListProjectMetadatasParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListProjectMetadatasParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListProjectMetadatasParams) SetXRequestID(xRequestID *string)
- func (o *ListProjectMetadatasParams) WithContext(ctx context.Context) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithDefaults() *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithHTTPClient(client *http.Client) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithTimeout(timeout time.Duration) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithXRequestID(xRequestID *string) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectMetadatasReader
- type ListProjectMetadatasUnauthorized
- func (o *ListProjectMetadatasUnauthorized) Code() int
- func (o *ListProjectMetadatasUnauthorized) Error() string
- func (o *ListProjectMetadatasUnauthorized) GetPayload() *models.Errors
- func (o *ListProjectMetadatasUnauthorized) IsClientError() bool
- func (o *ListProjectMetadatasUnauthorized) IsCode(code int) bool
- func (o *ListProjectMetadatasUnauthorized) IsRedirect() bool
- func (o *ListProjectMetadatasUnauthorized) IsServerError() bool
- func (o *ListProjectMetadatasUnauthorized) IsSuccess() bool
- func (o *ListProjectMetadatasUnauthorized) String() string
- type UpdateProjectMetadataBadRequest
- func (o *UpdateProjectMetadataBadRequest) Code() int
- func (o *UpdateProjectMetadataBadRequest) Error() string
- func (o *UpdateProjectMetadataBadRequest) GetPayload() *models.Errors
- func (o *UpdateProjectMetadataBadRequest) IsClientError() bool
- func (o *UpdateProjectMetadataBadRequest) IsCode(code int) bool
- func (o *UpdateProjectMetadataBadRequest) IsRedirect() bool
- func (o *UpdateProjectMetadataBadRequest) IsServerError() bool
- func (o *UpdateProjectMetadataBadRequest) IsSuccess() bool
- func (o *UpdateProjectMetadataBadRequest) String() string
- type UpdateProjectMetadataConflict
- func (o *UpdateProjectMetadataConflict) Code() int
- func (o *UpdateProjectMetadataConflict) Error() string
- func (o *UpdateProjectMetadataConflict) GetPayload() *models.Errors
- func (o *UpdateProjectMetadataConflict) IsClientError() bool
- func (o *UpdateProjectMetadataConflict) IsCode(code int) bool
- func (o *UpdateProjectMetadataConflict) IsRedirect() bool
- func (o *UpdateProjectMetadataConflict) IsServerError() bool
- func (o *UpdateProjectMetadataConflict) IsSuccess() bool
- func (o *UpdateProjectMetadataConflict) String() string
- type UpdateProjectMetadataForbidden
- func (o *UpdateProjectMetadataForbidden) Code() int
- func (o *UpdateProjectMetadataForbidden) Error() string
- func (o *UpdateProjectMetadataForbidden) GetPayload() *models.Errors
- func (o *UpdateProjectMetadataForbidden) IsClientError() bool
- func (o *UpdateProjectMetadataForbidden) IsCode(code int) bool
- func (o *UpdateProjectMetadataForbidden) IsRedirect() bool
- func (o *UpdateProjectMetadataForbidden) IsServerError() bool
- func (o *UpdateProjectMetadataForbidden) IsSuccess() bool
- func (o *UpdateProjectMetadataForbidden) String() string
- type UpdateProjectMetadataInternalServerError
- func (o *UpdateProjectMetadataInternalServerError) Code() int
- func (o *UpdateProjectMetadataInternalServerError) Error() string
- func (o *UpdateProjectMetadataInternalServerError) GetPayload() *models.Errors
- func (o *UpdateProjectMetadataInternalServerError) IsClientError() bool
- func (o *UpdateProjectMetadataInternalServerError) IsCode(code int) bool
- func (o *UpdateProjectMetadataInternalServerError) IsRedirect() bool
- func (o *UpdateProjectMetadataInternalServerError) IsServerError() bool
- func (o *UpdateProjectMetadataInternalServerError) IsSuccess() bool
- func (o *UpdateProjectMetadataInternalServerError) String() string
- type UpdateProjectMetadataNotFound
- func (o *UpdateProjectMetadataNotFound) Code() int
- func (o *UpdateProjectMetadataNotFound) Error() string
- func (o *UpdateProjectMetadataNotFound) GetPayload() *models.Errors
- func (o *UpdateProjectMetadataNotFound) IsClientError() bool
- func (o *UpdateProjectMetadataNotFound) IsCode(code int) bool
- func (o *UpdateProjectMetadataNotFound) IsRedirect() bool
- func (o *UpdateProjectMetadataNotFound) IsServerError() bool
- func (o *UpdateProjectMetadataNotFound) IsSuccess() bool
- func (o *UpdateProjectMetadataNotFound) String() string
- type UpdateProjectMetadataOK
- func (o *UpdateProjectMetadataOK) Code() int
- func (o *UpdateProjectMetadataOK) Error() string
- func (o *UpdateProjectMetadataOK) IsClientError() bool
- func (o *UpdateProjectMetadataOK) IsCode(code int) bool
- func (o *UpdateProjectMetadataOK) IsRedirect() bool
- func (o *UpdateProjectMetadataOK) IsServerError() bool
- func (o *UpdateProjectMetadataOK) IsSuccess() bool
- func (o *UpdateProjectMetadataOK) String() string
- type UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParams() *UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParamsWithContext(ctx context.Context) *UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParamsWithHTTPClient(client *http.Client) *UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParamsWithTimeout(timeout time.Duration) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) SetContext(ctx context.Context)
- func (o *UpdateProjectMetadataParams) SetDefaults()
- func (o *UpdateProjectMetadataParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectMetadataParams) SetMetaName(metaName string)
- func (o *UpdateProjectMetadataParams) SetMetadata(metadata map[string]string)
- func (o *UpdateProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
- func (o *UpdateProjectMetadataParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *UpdateProjectMetadataParams) SetXRequestID(xRequestID *string)
- func (o *UpdateProjectMetadataParams) WithContext(ctx context.Context) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithDefaults() *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithHTTPClient(client *http.Client) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithMetaName(metaName string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithMetadata(metadata map[string]string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithTimeout(timeout time.Duration) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithXRequestID(xRequestID *string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectMetadataReader
- type UpdateProjectMetadataUnauthorized
- func (o *UpdateProjectMetadataUnauthorized) Code() int
- func (o *UpdateProjectMetadataUnauthorized) Error() string
- func (o *UpdateProjectMetadataUnauthorized) GetPayload() *models.Errors
- func (o *UpdateProjectMetadataUnauthorized) IsClientError() bool
- func (o *UpdateProjectMetadataUnauthorized) IsCode(code int) bool
- func (o *UpdateProjectMetadataUnauthorized) IsRedirect() bool
- func (o *UpdateProjectMetadataUnauthorized) IsServerError() bool
- func (o *UpdateProjectMetadataUnauthorized) IsSuccess() bool
- func (o *UpdateProjectMetadataUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* AddProjectMetadatas adds metadata for the specific project Add metadata for the specific project*/ AddProjectMetadatas(ctx context.Context, params *AddProjectMetadatasParams) (*AddProjectMetadatasOK, error) /* DeleteProjectMetadata deletes the specific metadata for the specific project Delete the specific metadata for the specific project*/ DeleteProjectMetadata(ctx context.Context, params *DeleteProjectMetadataParams) (*DeleteProjectMetadataOK, error) /* GetProjectMetadata gets the specific metadata of the specific project Get the specific metadata of the specific project*/ GetProjectMetadata(ctx context.Context, params *GetProjectMetadataParams) (*GetProjectMetadataOK, error) /* ListProjectMetadatas gets the metadata of the specific project Get the metadata of the specific project*/ ListProjectMetadatas(ctx context.Context, params *ListProjectMetadatasParams) (*ListProjectMetadatasOK, error) /* UpdateProjectMetadata updates the specific metadata for the specific project Update the specific metadata for the specific project*/ UpdateProjectMetadata(ctx context.Context, params *UpdateProjectMetadataParams) (*UpdateProjectMetadataOK, error) }
API is the interface of the project metadata client
type AddProjectMetadatasBadRequest ¶
type AddProjectMetadatasBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddProjectMetadatasBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddProjectMetadatasBadRequest ¶
func NewAddProjectMetadatasBadRequest() *AddProjectMetadatasBadRequest
NewAddProjectMetadatasBadRequest creates a AddProjectMetadatasBadRequest with default headers values
func (*AddProjectMetadatasBadRequest) Code ¶
func (o *AddProjectMetadatasBadRequest) Code() int
Code gets the status code for the add project metadatas bad request response
func (*AddProjectMetadatasBadRequest) Error ¶
func (o *AddProjectMetadatasBadRequest) Error() string
func (*AddProjectMetadatasBadRequest) GetPayload ¶
func (o *AddProjectMetadatasBadRequest) GetPayload() *models.Errors
func (*AddProjectMetadatasBadRequest) IsClientError ¶
func (o *AddProjectMetadatasBadRequest) IsClientError() bool
IsClientError returns true when this add project metadatas bad request response has a 4xx status code
func (*AddProjectMetadatasBadRequest) IsCode ¶
func (o *AddProjectMetadatasBadRequest) IsCode(code int) bool
IsCode returns true when this add project metadatas bad request response a status code equal to that given
func (*AddProjectMetadatasBadRequest) IsRedirect ¶
func (o *AddProjectMetadatasBadRequest) IsRedirect() bool
IsRedirect returns true when this add project metadatas bad request response has a 3xx status code
func (*AddProjectMetadatasBadRequest) IsServerError ¶
func (o *AddProjectMetadatasBadRequest) IsServerError() bool
IsServerError returns true when this add project metadatas bad request response has a 5xx status code
func (*AddProjectMetadatasBadRequest) IsSuccess ¶
func (o *AddProjectMetadatasBadRequest) IsSuccess() bool
IsSuccess returns true when this add project metadatas bad request response has a 2xx status code
func (*AddProjectMetadatasBadRequest) String ¶
func (o *AddProjectMetadatasBadRequest) String() string
type AddProjectMetadatasConflict ¶
type AddProjectMetadatasConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddProjectMetadatasConflict describes a response with status code 409, with default header values.
Conflict
func NewAddProjectMetadatasConflict ¶
func NewAddProjectMetadatasConflict() *AddProjectMetadatasConflict
NewAddProjectMetadatasConflict creates a AddProjectMetadatasConflict with default headers values
func (*AddProjectMetadatasConflict) Code ¶
func (o *AddProjectMetadatasConflict) Code() int
Code gets the status code for the add project metadatas conflict response
func (*AddProjectMetadatasConflict) Error ¶
func (o *AddProjectMetadatasConflict) Error() string
func (*AddProjectMetadatasConflict) GetPayload ¶
func (o *AddProjectMetadatasConflict) GetPayload() *models.Errors
func (*AddProjectMetadatasConflict) IsClientError ¶
func (o *AddProjectMetadatasConflict) IsClientError() bool
IsClientError returns true when this add project metadatas conflict response has a 4xx status code
func (*AddProjectMetadatasConflict) IsCode ¶
func (o *AddProjectMetadatasConflict) IsCode(code int) bool
IsCode returns true when this add project metadatas conflict response a status code equal to that given
func (*AddProjectMetadatasConflict) IsRedirect ¶
func (o *AddProjectMetadatasConflict) IsRedirect() bool
IsRedirect returns true when this add project metadatas conflict response has a 3xx status code
func (*AddProjectMetadatasConflict) IsServerError ¶
func (o *AddProjectMetadatasConflict) IsServerError() bool
IsServerError returns true when this add project metadatas conflict response has a 5xx status code
func (*AddProjectMetadatasConflict) IsSuccess ¶
func (o *AddProjectMetadatasConflict) IsSuccess() bool
IsSuccess returns true when this add project metadatas conflict response has a 2xx status code
func (*AddProjectMetadatasConflict) String ¶
func (o *AddProjectMetadatasConflict) String() string
type AddProjectMetadatasForbidden ¶
type AddProjectMetadatasForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddProjectMetadatasForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAddProjectMetadatasForbidden ¶
func NewAddProjectMetadatasForbidden() *AddProjectMetadatasForbidden
NewAddProjectMetadatasForbidden creates a AddProjectMetadatasForbidden with default headers values
func (*AddProjectMetadatasForbidden) Code ¶
func (o *AddProjectMetadatasForbidden) Code() int
Code gets the status code for the add project metadatas forbidden response
func (*AddProjectMetadatasForbidden) Error ¶
func (o *AddProjectMetadatasForbidden) Error() string
func (*AddProjectMetadatasForbidden) GetPayload ¶
func (o *AddProjectMetadatasForbidden) GetPayload() *models.Errors
func (*AddProjectMetadatasForbidden) IsClientError ¶
func (o *AddProjectMetadatasForbidden) IsClientError() bool
IsClientError returns true when this add project metadatas forbidden response has a 4xx status code
func (*AddProjectMetadatasForbidden) IsCode ¶
func (o *AddProjectMetadatasForbidden) IsCode(code int) bool
IsCode returns true when this add project metadatas forbidden response a status code equal to that given
func (*AddProjectMetadatasForbidden) IsRedirect ¶
func (o *AddProjectMetadatasForbidden) IsRedirect() bool
IsRedirect returns true when this add project metadatas forbidden response has a 3xx status code
func (*AddProjectMetadatasForbidden) IsServerError ¶
func (o *AddProjectMetadatasForbidden) IsServerError() bool
IsServerError returns true when this add project metadatas forbidden response has a 5xx status code
func (*AddProjectMetadatasForbidden) IsSuccess ¶
func (o *AddProjectMetadatasForbidden) IsSuccess() bool
IsSuccess returns true when this add project metadatas forbidden response has a 2xx status code
func (*AddProjectMetadatasForbidden) String ¶
func (o *AddProjectMetadatasForbidden) String() string
type AddProjectMetadatasInternalServerError ¶
type AddProjectMetadatasInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddProjectMetadatasInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewAddProjectMetadatasInternalServerError ¶
func NewAddProjectMetadatasInternalServerError() *AddProjectMetadatasInternalServerError
NewAddProjectMetadatasInternalServerError creates a AddProjectMetadatasInternalServerError with default headers values
func (*AddProjectMetadatasInternalServerError) Code ¶
func (o *AddProjectMetadatasInternalServerError) Code() int
Code gets the status code for the add project metadatas internal server error response
func (*AddProjectMetadatasInternalServerError) Error ¶
func (o *AddProjectMetadatasInternalServerError) Error() string
func (*AddProjectMetadatasInternalServerError) GetPayload ¶
func (o *AddProjectMetadatasInternalServerError) GetPayload() *models.Errors
func (*AddProjectMetadatasInternalServerError) IsClientError ¶
func (o *AddProjectMetadatasInternalServerError) IsClientError() bool
IsClientError returns true when this add project metadatas internal server error response has a 4xx status code
func (*AddProjectMetadatasInternalServerError) IsCode ¶
func (o *AddProjectMetadatasInternalServerError) IsCode(code int) bool
IsCode returns true when this add project metadatas internal server error response a status code equal to that given
func (*AddProjectMetadatasInternalServerError) IsRedirect ¶
func (o *AddProjectMetadatasInternalServerError) IsRedirect() bool
IsRedirect returns true when this add project metadatas internal server error response has a 3xx status code
func (*AddProjectMetadatasInternalServerError) IsServerError ¶
func (o *AddProjectMetadatasInternalServerError) IsServerError() bool
IsServerError returns true when this add project metadatas internal server error response has a 5xx status code
func (*AddProjectMetadatasInternalServerError) IsSuccess ¶
func (o *AddProjectMetadatasInternalServerError) IsSuccess() bool
IsSuccess returns true when this add project metadatas internal server error response has a 2xx status code
func (*AddProjectMetadatasInternalServerError) String ¶
func (o *AddProjectMetadatasInternalServerError) String() string
type AddProjectMetadatasNotFound ¶
type AddProjectMetadatasNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
AddProjectMetadatasNotFound describes a response with status code 404, with default header values.
Not found
func NewAddProjectMetadatasNotFound ¶
func NewAddProjectMetadatasNotFound() *AddProjectMetadatasNotFound
NewAddProjectMetadatasNotFound creates a AddProjectMetadatasNotFound with default headers values
func (*AddProjectMetadatasNotFound) Code ¶
func (o *AddProjectMetadatasNotFound) Code() int
Code gets the status code for the add project metadatas not found response
func (*AddProjectMetadatasNotFound) Error ¶
func (o *AddProjectMetadatasNotFound) Error() string
func (*AddProjectMetadatasNotFound) GetPayload ¶
func (o *AddProjectMetadatasNotFound) GetPayload() *models.Errors
func (*AddProjectMetadatasNotFound) IsClientError ¶
func (o *AddProjectMetadatasNotFound) IsClientError() bool
IsClientError returns true when this add project metadatas not found response has a 4xx status code
func (*AddProjectMetadatasNotFound) IsCode ¶
func (o *AddProjectMetadatasNotFound) IsCode(code int) bool
IsCode returns true when this add project metadatas not found response a status code equal to that given
func (*AddProjectMetadatasNotFound) IsRedirect ¶
func (o *AddProjectMetadatasNotFound) IsRedirect() bool
IsRedirect returns true when this add project metadatas not found response has a 3xx status code
func (*AddProjectMetadatasNotFound) IsServerError ¶
func (o *AddProjectMetadatasNotFound) IsServerError() bool
IsServerError returns true when this add project metadatas not found response has a 5xx status code
func (*AddProjectMetadatasNotFound) IsSuccess ¶
func (o *AddProjectMetadatasNotFound) IsSuccess() bool
IsSuccess returns true when this add project metadatas not found response has a 2xx status code
func (*AddProjectMetadatasNotFound) String ¶
func (o *AddProjectMetadatasNotFound) String() string
type AddProjectMetadatasOK ¶
type AddProjectMetadatasOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
AddProjectMetadatasOK describes a response with status code 200, with default header values.
Success
func NewAddProjectMetadatasOK ¶
func NewAddProjectMetadatasOK() *AddProjectMetadatasOK
NewAddProjectMetadatasOK creates a AddProjectMetadatasOK with default headers values
func (*AddProjectMetadatasOK) Code ¶
func (o *AddProjectMetadatasOK) Code() int
Code gets the status code for the add project metadatas o k response
func (*AddProjectMetadatasOK) Error ¶
func (o *AddProjectMetadatasOK) Error() string
func (*AddProjectMetadatasOK) IsClientError ¶
func (o *AddProjectMetadatasOK) IsClientError() bool
IsClientError returns true when this add project metadatas o k response has a 4xx status code
func (*AddProjectMetadatasOK) IsCode ¶
func (o *AddProjectMetadatasOK) IsCode(code int) bool
IsCode returns true when this add project metadatas o k response a status code equal to that given
func (*AddProjectMetadatasOK) IsRedirect ¶
func (o *AddProjectMetadatasOK) IsRedirect() bool
IsRedirect returns true when this add project metadatas o k response has a 3xx status code
func (*AddProjectMetadatasOK) IsServerError ¶
func (o *AddProjectMetadatasOK) IsServerError() bool
IsServerError returns true when this add project metadatas o k response has a 5xx status code
func (*AddProjectMetadatasOK) IsSuccess ¶
func (o *AddProjectMetadatasOK) IsSuccess() bool
IsSuccess returns true when this add project metadatas o k response has a 2xx status code
func (*AddProjectMetadatasOK) String ¶
func (o *AddProjectMetadatasOK) String() string
type AddProjectMetadatasParams ¶
type AddProjectMetadatasParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool `js:"xIsResourceName"` /* XRequestID. An unique ID for the request */ XRequestID *string `js:"xRequestID"` // Metadata. Metadata map[string]string `js:"metadata"` /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string `js:"projectNameOrID"` Context context.Context `js:"context"` HTTPClient *http.Client `js:"httpClient"` // contains filtered or unexported fields }
AddProjectMetadatasParams contains all the parameters to send to the API endpoint
for the add project metadatas operation. Typically these are written to a http.Request.
func NewAddProjectMetadatasParams ¶
func NewAddProjectMetadatasParams() *AddProjectMetadatasParams
NewAddProjectMetadatasParams creates a new AddProjectMetadatasParams 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 NewAddProjectMetadatasParamsWithContext ¶
func NewAddProjectMetadatasParamsWithContext(ctx context.Context) *AddProjectMetadatasParams
NewAddProjectMetadatasParamsWithContext creates a new AddProjectMetadatasParams object with the ability to set a context for a request.
func NewAddProjectMetadatasParamsWithHTTPClient ¶
func NewAddProjectMetadatasParamsWithHTTPClient(client *http.Client) *AddProjectMetadatasParams
NewAddProjectMetadatasParamsWithHTTPClient creates a new AddProjectMetadatasParams object with the ability to set a custom HTTPClient for a request.
func NewAddProjectMetadatasParamsWithTimeout ¶
func NewAddProjectMetadatasParamsWithTimeout(timeout time.Duration) *AddProjectMetadatasParams
NewAddProjectMetadatasParamsWithTimeout creates a new AddProjectMetadatasParams object with the ability to set a timeout on a request.
func (*AddProjectMetadatasParams) SetContext ¶
func (o *AddProjectMetadatasParams) SetContext(ctx context.Context)
SetContext adds the context to the add project metadatas params
func (*AddProjectMetadatasParams) SetDefaults ¶
func (o *AddProjectMetadatasParams) SetDefaults()
SetDefaults hydrates default values in the add project metadatas params (not the query body).
All values with no default are reset to their zero value.
func (*AddProjectMetadatasParams) SetHTTPClient ¶
func (o *AddProjectMetadatasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add project metadatas params
func (*AddProjectMetadatasParams) SetMetadata ¶
func (o *AddProjectMetadatasParams) SetMetadata(metadata map[string]string)
SetMetadata adds the metadata to the add project metadatas params
func (*AddProjectMetadatasParams) SetProjectNameOrID ¶
func (o *AddProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the add project metadatas params
func (*AddProjectMetadatasParams) SetTimeout ¶
func (o *AddProjectMetadatasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add project metadatas params
func (*AddProjectMetadatasParams) SetXIsResourceName ¶
func (o *AddProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the add project metadatas params
func (*AddProjectMetadatasParams) SetXRequestID ¶
func (o *AddProjectMetadatasParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the add project metadatas params
func (*AddProjectMetadatasParams) WithContext ¶
func (o *AddProjectMetadatasParams) WithContext(ctx context.Context) *AddProjectMetadatasParams
WithContext adds the context to the add project metadatas params
func (*AddProjectMetadatasParams) WithDefaults ¶
func (o *AddProjectMetadatasParams) WithDefaults() *AddProjectMetadatasParams
WithDefaults hydrates default values in the add project metadatas params (not the query body).
All values with no default are reset to their zero value.
func (*AddProjectMetadatasParams) WithHTTPClient ¶
func (o *AddProjectMetadatasParams) WithHTTPClient(client *http.Client) *AddProjectMetadatasParams
WithHTTPClient adds the HTTPClient to the add project metadatas params
func (*AddProjectMetadatasParams) WithMetadata ¶
func (o *AddProjectMetadatasParams) WithMetadata(metadata map[string]string) *AddProjectMetadatasParams
WithMetadata adds the metadata to the add project metadatas params
func (*AddProjectMetadatasParams) WithProjectNameOrID ¶
func (o *AddProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *AddProjectMetadatasParams
WithProjectNameOrID adds the projectNameOrID to the add project metadatas params
func (*AddProjectMetadatasParams) WithTimeout ¶
func (o *AddProjectMetadatasParams) WithTimeout(timeout time.Duration) *AddProjectMetadatasParams
WithTimeout adds the timeout to the add project metadatas params
func (*AddProjectMetadatasParams) WithXIsResourceName ¶
func (o *AddProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *AddProjectMetadatasParams
WithXIsResourceName adds the xIsResourceName to the add project metadatas params
func (*AddProjectMetadatasParams) WithXRequestID ¶
func (o *AddProjectMetadatasParams) WithXRequestID(xRequestID *string) *AddProjectMetadatasParams
WithXRequestID adds the xRequestID to the add project metadatas params
func (*AddProjectMetadatasParams) WriteToRequest ¶
func (o *AddProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddProjectMetadatasReader ¶
type AddProjectMetadatasReader struct {
// contains filtered or unexported fields
}
AddProjectMetadatasReader is a Reader for the AddProjectMetadatas structure.
func (*AddProjectMetadatasReader) ReadResponse ¶
func (o *AddProjectMetadatasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddProjectMetadatasUnauthorized ¶
type AddProjectMetadatasUnauthorized struct { string }XRequestID
AddProjectMetadatasUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewAddProjectMetadatasUnauthorized ¶
func NewAddProjectMetadatasUnauthorized() *AddProjectMetadatasUnauthorized
NewAddProjectMetadatasUnauthorized creates a AddProjectMetadatasUnauthorized with default headers values
func (*AddProjectMetadatasUnauthorized) Code ¶
func (o *AddProjectMetadatasUnauthorized) Code() int
Code gets the status code for the add project metadatas unauthorized response
func (*AddProjectMetadatasUnauthorized) Error ¶
func (o *AddProjectMetadatasUnauthorized) Error() string
func (*AddProjectMetadatasUnauthorized) GetPayload ¶
func (o *AddProjectMetadatasUnauthorized) GetPayload() *models.Errors
func (*AddProjectMetadatasUnauthorized) IsClientError ¶
func (o *AddProjectMetadatasUnauthorized) IsClientError() bool
IsClientError returns true when this add project metadatas unauthorized response has a 4xx status code
func (*AddProjectMetadatasUnauthorized) IsCode ¶
func (o *AddProjectMetadatasUnauthorized) IsCode(code int) bool
IsCode returns true when this add project metadatas unauthorized response a status code equal to that given
func (*AddProjectMetadatasUnauthorized) IsRedirect ¶
func (o *AddProjectMetadatasUnauthorized) IsRedirect() bool
IsRedirect returns true when this add project metadatas unauthorized response has a 3xx status code
func (*AddProjectMetadatasUnauthorized) IsServerError ¶
func (o *AddProjectMetadatasUnauthorized) IsServerError() bool
IsServerError returns true when this add project metadatas unauthorized response has a 5xx status code
func (*AddProjectMetadatasUnauthorized) IsSuccess ¶
func (o *AddProjectMetadatasUnauthorized) IsSuccess() bool
IsSuccess returns true when this add project metadatas unauthorized response has a 2xx status code
func (*AddProjectMetadatasUnauthorized) String ¶
func (o *AddProjectMetadatasUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project metadata API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new project metadata API client.
func (*Client) AddProjectMetadatas ¶
func (a *Client) AddProjectMetadatas(ctx context.Context, params *AddProjectMetadatasParams) (*AddProjectMetadatasOK, error)
AddProjectMetadatas adds metadata for the specific project
Add metadata for the specific project
func (*Client) DeleteProjectMetadata ¶
func (a *Client) DeleteProjectMetadata(ctx context.Context, params *DeleteProjectMetadataParams) (*DeleteProjectMetadataOK, error)
DeleteProjectMetadata deletes the specific metadata for the specific project
Delete the specific metadata for the specific project
func (*Client) GetProjectMetadata ¶
func (a *Client) GetProjectMetadata(ctx context.Context, params *GetProjectMetadataParams) (*GetProjectMetadataOK, error)
GetProjectMetadata gets the specific metadata of the specific project
Get the specific metadata of the specific project
func (*Client) ListProjectMetadatas ¶
func (a *Client) ListProjectMetadatas(ctx context.Context, params *ListProjectMetadatasParams) (*ListProjectMetadatasOK, error)
ListProjectMetadatas gets the metadata of the specific project
Get the metadata of the specific project
func (*Client) UpdateProjectMetadata ¶
func (a *Client) UpdateProjectMetadata(ctx context.Context, params *UpdateProjectMetadataParams) (*UpdateProjectMetadataOK, error)
UpdateProjectMetadata updates the specific metadata for the specific project
Update the specific metadata for the specific project
type DeleteProjectMetadataBadRequest ¶
type DeleteProjectMetadataBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMetadataBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteProjectMetadataBadRequest ¶
func NewDeleteProjectMetadataBadRequest() *DeleteProjectMetadataBadRequest
NewDeleteProjectMetadataBadRequest creates a DeleteProjectMetadataBadRequest with default headers values
func (*DeleteProjectMetadataBadRequest) Code ¶
func (o *DeleteProjectMetadataBadRequest) Code() int
Code gets the status code for the delete project metadata bad request response
func (*DeleteProjectMetadataBadRequest) Error ¶
func (o *DeleteProjectMetadataBadRequest) Error() string
func (*DeleteProjectMetadataBadRequest) GetPayload ¶
func (o *DeleteProjectMetadataBadRequest) GetPayload() *models.Errors
func (*DeleteProjectMetadataBadRequest) IsClientError ¶
func (o *DeleteProjectMetadataBadRequest) IsClientError() bool
IsClientError returns true when this delete project metadata bad request response has a 4xx status code
func (*DeleteProjectMetadataBadRequest) IsCode ¶
func (o *DeleteProjectMetadataBadRequest) IsCode(code int) bool
IsCode returns true when this delete project metadata bad request response a status code equal to that given
func (*DeleteProjectMetadataBadRequest) IsRedirect ¶
func (o *DeleteProjectMetadataBadRequest) IsRedirect() bool
IsRedirect returns true when this delete project metadata bad request response has a 3xx status code
func (*DeleteProjectMetadataBadRequest) IsServerError ¶
func (o *DeleteProjectMetadataBadRequest) IsServerError() bool
IsServerError returns true when this delete project metadata bad request response has a 5xx status code
func (*DeleteProjectMetadataBadRequest) IsSuccess ¶
func (o *DeleteProjectMetadataBadRequest) IsSuccess() bool
IsSuccess returns true when this delete project metadata bad request response has a 2xx status code
func (*DeleteProjectMetadataBadRequest) String ¶
func (o *DeleteProjectMetadataBadRequest) String() string
type DeleteProjectMetadataConflict ¶
type DeleteProjectMetadataConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMetadataConflict describes a response with status code 409, with default header values.
Conflict
func NewDeleteProjectMetadataConflict ¶
func NewDeleteProjectMetadataConflict() *DeleteProjectMetadataConflict
NewDeleteProjectMetadataConflict creates a DeleteProjectMetadataConflict with default headers values
func (*DeleteProjectMetadataConflict) Code ¶
func (o *DeleteProjectMetadataConflict) Code() int
Code gets the status code for the delete project metadata conflict response
func (*DeleteProjectMetadataConflict) Error ¶
func (o *DeleteProjectMetadataConflict) Error() string
func (*DeleteProjectMetadataConflict) GetPayload ¶
func (o *DeleteProjectMetadataConflict) GetPayload() *models.Errors
func (*DeleteProjectMetadataConflict) IsClientError ¶
func (o *DeleteProjectMetadataConflict) IsClientError() bool
IsClientError returns true when this delete project metadata conflict response has a 4xx status code
func (*DeleteProjectMetadataConflict) IsCode ¶
func (o *DeleteProjectMetadataConflict) IsCode(code int) bool
IsCode returns true when this delete project metadata conflict response a status code equal to that given
func (*DeleteProjectMetadataConflict) IsRedirect ¶
func (o *DeleteProjectMetadataConflict) IsRedirect() bool
IsRedirect returns true when this delete project metadata conflict response has a 3xx status code
func (*DeleteProjectMetadataConflict) IsServerError ¶
func (o *DeleteProjectMetadataConflict) IsServerError() bool
IsServerError returns true when this delete project metadata conflict response has a 5xx status code
func (*DeleteProjectMetadataConflict) IsSuccess ¶
func (o *DeleteProjectMetadataConflict) IsSuccess() bool
IsSuccess returns true when this delete project metadata conflict response has a 2xx status code
func (*DeleteProjectMetadataConflict) String ¶
func (o *DeleteProjectMetadataConflict) String() string
type DeleteProjectMetadataForbidden ¶
type DeleteProjectMetadataForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMetadataForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteProjectMetadataForbidden ¶
func NewDeleteProjectMetadataForbidden() *DeleteProjectMetadataForbidden
NewDeleteProjectMetadataForbidden creates a DeleteProjectMetadataForbidden with default headers values
func (*DeleteProjectMetadataForbidden) Code ¶
func (o *DeleteProjectMetadataForbidden) Code() int
Code gets the status code for the delete project metadata forbidden response
func (*DeleteProjectMetadataForbidden) Error ¶
func (o *DeleteProjectMetadataForbidden) Error() string
func (*DeleteProjectMetadataForbidden) GetPayload ¶
func (o *DeleteProjectMetadataForbidden) GetPayload() *models.Errors
func (*DeleteProjectMetadataForbidden) IsClientError ¶
func (o *DeleteProjectMetadataForbidden) IsClientError() bool
IsClientError returns true when this delete project metadata forbidden response has a 4xx status code
func (*DeleteProjectMetadataForbidden) IsCode ¶
func (o *DeleteProjectMetadataForbidden) IsCode(code int) bool
IsCode returns true when this delete project metadata forbidden response a status code equal to that given
func (*DeleteProjectMetadataForbidden) IsRedirect ¶
func (o *DeleteProjectMetadataForbidden) IsRedirect() bool
IsRedirect returns true when this delete project metadata forbidden response has a 3xx status code
func (*DeleteProjectMetadataForbidden) IsServerError ¶
func (o *DeleteProjectMetadataForbidden) IsServerError() bool
IsServerError returns true when this delete project metadata forbidden response has a 5xx status code
func (*DeleteProjectMetadataForbidden) IsSuccess ¶
func (o *DeleteProjectMetadataForbidden) IsSuccess() bool
IsSuccess returns true when this delete project metadata forbidden response has a 2xx status code
func (*DeleteProjectMetadataForbidden) String ¶
func (o *DeleteProjectMetadataForbidden) String() string
type DeleteProjectMetadataInternalServerError ¶
type DeleteProjectMetadataInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMetadataInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteProjectMetadataInternalServerError ¶
func NewDeleteProjectMetadataInternalServerError() *DeleteProjectMetadataInternalServerError
NewDeleteProjectMetadataInternalServerError creates a DeleteProjectMetadataInternalServerError with default headers values
func (*DeleteProjectMetadataInternalServerError) Code ¶
func (o *DeleteProjectMetadataInternalServerError) Code() int
Code gets the status code for the delete project metadata internal server error response
func (*DeleteProjectMetadataInternalServerError) Error ¶
func (o *DeleteProjectMetadataInternalServerError) Error() string
func (*DeleteProjectMetadataInternalServerError) GetPayload ¶
func (o *DeleteProjectMetadataInternalServerError) GetPayload() *models.Errors
func (*DeleteProjectMetadataInternalServerError) IsClientError ¶
func (o *DeleteProjectMetadataInternalServerError) IsClientError() bool
IsClientError returns true when this delete project metadata internal server error response has a 4xx status code
func (*DeleteProjectMetadataInternalServerError) IsCode ¶
func (o *DeleteProjectMetadataInternalServerError) IsCode(code int) bool
IsCode returns true when this delete project metadata internal server error response a status code equal to that given
func (*DeleteProjectMetadataInternalServerError) IsRedirect ¶
func (o *DeleteProjectMetadataInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete project metadata internal server error response has a 3xx status code
func (*DeleteProjectMetadataInternalServerError) IsServerError ¶
func (o *DeleteProjectMetadataInternalServerError) IsServerError() bool
IsServerError returns true when this delete project metadata internal server error response has a 5xx status code
func (*DeleteProjectMetadataInternalServerError) IsSuccess ¶
func (o *DeleteProjectMetadataInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete project metadata internal server error response has a 2xx status code
func (*DeleteProjectMetadataInternalServerError) String ¶
func (o *DeleteProjectMetadataInternalServerError) String() string
type DeleteProjectMetadataNotFound ¶
type DeleteProjectMetadataNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMetadataNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteProjectMetadataNotFound ¶
func NewDeleteProjectMetadataNotFound() *DeleteProjectMetadataNotFound
NewDeleteProjectMetadataNotFound creates a DeleteProjectMetadataNotFound with default headers values
func (*DeleteProjectMetadataNotFound) Code ¶
func (o *DeleteProjectMetadataNotFound) Code() int
Code gets the status code for the delete project metadata not found response
func (*DeleteProjectMetadataNotFound) Error ¶
func (o *DeleteProjectMetadataNotFound) Error() string
func (*DeleteProjectMetadataNotFound) GetPayload ¶
func (o *DeleteProjectMetadataNotFound) GetPayload() *models.Errors
func (*DeleteProjectMetadataNotFound) IsClientError ¶
func (o *DeleteProjectMetadataNotFound) IsClientError() bool
IsClientError returns true when this delete project metadata not found response has a 4xx status code
func (*DeleteProjectMetadataNotFound) IsCode ¶
func (o *DeleteProjectMetadataNotFound) IsCode(code int) bool
IsCode returns true when this delete project metadata not found response a status code equal to that given
func (*DeleteProjectMetadataNotFound) IsRedirect ¶
func (o *DeleteProjectMetadataNotFound) IsRedirect() bool
IsRedirect returns true when this delete project metadata not found response has a 3xx status code
func (*DeleteProjectMetadataNotFound) IsServerError ¶
func (o *DeleteProjectMetadataNotFound) IsServerError() bool
IsServerError returns true when this delete project metadata not found response has a 5xx status code
func (*DeleteProjectMetadataNotFound) IsSuccess ¶
func (o *DeleteProjectMetadataNotFound) IsSuccess() bool
IsSuccess returns true when this delete project metadata not found response has a 2xx status code
func (*DeleteProjectMetadataNotFound) String ¶
func (o *DeleteProjectMetadataNotFound) String() string
type DeleteProjectMetadataOK ¶
type DeleteProjectMetadataOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
DeleteProjectMetadataOK describes a response with status code 200, with default header values.
Success
func NewDeleteProjectMetadataOK ¶
func NewDeleteProjectMetadataOK() *DeleteProjectMetadataOK
NewDeleteProjectMetadataOK creates a DeleteProjectMetadataOK with default headers values
func (*DeleteProjectMetadataOK) Code ¶
func (o *DeleteProjectMetadataOK) Code() int
Code gets the status code for the delete project metadata o k response
func (*DeleteProjectMetadataOK) Error ¶
func (o *DeleteProjectMetadataOK) Error() string
func (*DeleteProjectMetadataOK) IsClientError ¶
func (o *DeleteProjectMetadataOK) IsClientError() bool
IsClientError returns true when this delete project metadata o k response has a 4xx status code
func (*DeleteProjectMetadataOK) IsCode ¶
func (o *DeleteProjectMetadataOK) IsCode(code int) bool
IsCode returns true when this delete project metadata o k response a status code equal to that given
func (*DeleteProjectMetadataOK) IsRedirect ¶
func (o *DeleteProjectMetadataOK) IsRedirect() bool
IsRedirect returns true when this delete project metadata o k response has a 3xx status code
func (*DeleteProjectMetadataOK) IsServerError ¶
func (o *DeleteProjectMetadataOK) IsServerError() bool
IsServerError returns true when this delete project metadata o k response has a 5xx status code
func (*DeleteProjectMetadataOK) IsSuccess ¶
func (o *DeleteProjectMetadataOK) IsSuccess() bool
IsSuccess returns true when this delete project metadata o k response has a 2xx status code
func (*DeleteProjectMetadataOK) String ¶
func (o *DeleteProjectMetadataOK) String() string
type DeleteProjectMetadataParams ¶
type DeleteProjectMetadataParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool `js:"xIsResourceName"` /* XRequestID. An unique ID for the request */ XRequestID *string `js:"xRequestID"` /* MetaName. The name of metadata. */ MetaName string `js:"metaName"` /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string `js:"projectNameOrID"` Context context.Context `js:"context"` HTTPClient *http.Client `js:"httpClient"` // contains filtered or unexported fields }
DeleteProjectMetadataParams contains all the parameters to send to the API endpoint
for the delete project metadata operation. Typically these are written to a http.Request.
func NewDeleteProjectMetadataParams ¶
func NewDeleteProjectMetadataParams() *DeleteProjectMetadataParams
NewDeleteProjectMetadataParams creates a new DeleteProjectMetadataParams 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 NewDeleteProjectMetadataParamsWithContext ¶
func NewDeleteProjectMetadataParamsWithContext(ctx context.Context) *DeleteProjectMetadataParams
NewDeleteProjectMetadataParamsWithContext creates a new DeleteProjectMetadataParams object with the ability to set a context for a request.
func NewDeleteProjectMetadataParamsWithHTTPClient ¶
func NewDeleteProjectMetadataParamsWithHTTPClient(client *http.Client) *DeleteProjectMetadataParams
NewDeleteProjectMetadataParamsWithHTTPClient creates a new DeleteProjectMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProjectMetadataParamsWithTimeout ¶
func NewDeleteProjectMetadataParamsWithTimeout(timeout time.Duration) *DeleteProjectMetadataParams
NewDeleteProjectMetadataParamsWithTimeout creates a new DeleteProjectMetadataParams object with the ability to set a timeout on a request.
func (*DeleteProjectMetadataParams) SetContext ¶
func (o *DeleteProjectMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project metadata params
func (*DeleteProjectMetadataParams) SetDefaults ¶
func (o *DeleteProjectMetadataParams) SetDefaults()
SetDefaults hydrates default values in the delete project metadata params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectMetadataParams) SetHTTPClient ¶
func (o *DeleteProjectMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project metadata params
func (*DeleteProjectMetadataParams) SetMetaName ¶
func (o *DeleteProjectMetadataParams) SetMetaName(metaName string)
SetMetaName adds the metaName to the delete project metadata params
func (*DeleteProjectMetadataParams) SetProjectNameOrID ¶
func (o *DeleteProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the delete project metadata params
func (*DeleteProjectMetadataParams) SetTimeout ¶
func (o *DeleteProjectMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project metadata params
func (*DeleteProjectMetadataParams) SetXIsResourceName ¶
func (o *DeleteProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the delete project metadata params
func (*DeleteProjectMetadataParams) SetXRequestID ¶
func (o *DeleteProjectMetadataParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete project metadata params
func (*DeleteProjectMetadataParams) WithContext ¶
func (o *DeleteProjectMetadataParams) WithContext(ctx context.Context) *DeleteProjectMetadataParams
WithContext adds the context to the delete project metadata params
func (*DeleteProjectMetadataParams) WithDefaults ¶
func (o *DeleteProjectMetadataParams) WithDefaults() *DeleteProjectMetadataParams
WithDefaults hydrates default values in the delete project metadata params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectMetadataParams) WithHTTPClient ¶
func (o *DeleteProjectMetadataParams) WithHTTPClient(client *http.Client) *DeleteProjectMetadataParams
WithHTTPClient adds the HTTPClient to the delete project metadata params
func (*DeleteProjectMetadataParams) WithMetaName ¶
func (o *DeleteProjectMetadataParams) WithMetaName(metaName string) *DeleteProjectMetadataParams
WithMetaName adds the metaName to the delete project metadata params
func (*DeleteProjectMetadataParams) WithProjectNameOrID ¶
func (o *DeleteProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectMetadataParams
WithProjectNameOrID adds the projectNameOrID to the delete project metadata params
func (*DeleteProjectMetadataParams) WithTimeout ¶
func (o *DeleteProjectMetadataParams) WithTimeout(timeout time.Duration) *DeleteProjectMetadataParams
WithTimeout adds the timeout to the delete project metadata params
func (*DeleteProjectMetadataParams) WithXIsResourceName ¶
func (o *DeleteProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectMetadataParams
WithXIsResourceName adds the xIsResourceName to the delete project metadata params
func (*DeleteProjectMetadataParams) WithXRequestID ¶
func (o *DeleteProjectMetadataParams) WithXRequestID(xRequestID *string) *DeleteProjectMetadataParams
WithXRequestID adds the xRequestID to the delete project metadata params
func (*DeleteProjectMetadataParams) WriteToRequest ¶
func (o *DeleteProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectMetadataReader ¶
type DeleteProjectMetadataReader struct {
// contains filtered or unexported fields
}
DeleteProjectMetadataReader is a Reader for the DeleteProjectMetadata structure.
func (*DeleteProjectMetadataReader) ReadResponse ¶
func (o *DeleteProjectMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProjectMetadataUnauthorized ¶
type DeleteProjectMetadataUnauthorized struct { string }XRequestID
DeleteProjectMetadataUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteProjectMetadataUnauthorized ¶
func NewDeleteProjectMetadataUnauthorized() *DeleteProjectMetadataUnauthorized
NewDeleteProjectMetadataUnauthorized creates a DeleteProjectMetadataUnauthorized with default headers values
func (*DeleteProjectMetadataUnauthorized) Code ¶
func (o *DeleteProjectMetadataUnauthorized) Code() int
Code gets the status code for the delete project metadata unauthorized response
func (*DeleteProjectMetadataUnauthorized) Error ¶
func (o *DeleteProjectMetadataUnauthorized) Error() string
func (*DeleteProjectMetadataUnauthorized) GetPayload ¶
func (o *DeleteProjectMetadataUnauthorized) GetPayload() *models.Errors
func (*DeleteProjectMetadataUnauthorized) IsClientError ¶
func (o *DeleteProjectMetadataUnauthorized) IsClientError() bool
IsClientError returns true when this delete project metadata unauthorized response has a 4xx status code
func (*DeleteProjectMetadataUnauthorized) IsCode ¶
func (o *DeleteProjectMetadataUnauthorized) IsCode(code int) bool
IsCode returns true when this delete project metadata unauthorized response a status code equal to that given
func (*DeleteProjectMetadataUnauthorized) IsRedirect ¶
func (o *DeleteProjectMetadataUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete project metadata unauthorized response has a 3xx status code
func (*DeleteProjectMetadataUnauthorized) IsServerError ¶
func (o *DeleteProjectMetadataUnauthorized) IsServerError() bool
IsServerError returns true when this delete project metadata unauthorized response has a 5xx status code
func (*DeleteProjectMetadataUnauthorized) IsSuccess ¶
func (o *DeleteProjectMetadataUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete project metadata unauthorized response has a 2xx status code
func (*DeleteProjectMetadataUnauthorized) String ¶
func (o *DeleteProjectMetadataUnauthorized) String() string
type GetProjectMetadataBadRequest ¶
type GetProjectMetadataBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMetadataBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetProjectMetadataBadRequest ¶
func NewGetProjectMetadataBadRequest() *GetProjectMetadataBadRequest
NewGetProjectMetadataBadRequest creates a GetProjectMetadataBadRequest with default headers values
func (*GetProjectMetadataBadRequest) Code ¶
func (o *GetProjectMetadataBadRequest) Code() int
Code gets the status code for the get project metadata bad request response
func (*GetProjectMetadataBadRequest) Error ¶
func (o *GetProjectMetadataBadRequest) Error() string
func (*GetProjectMetadataBadRequest) GetPayload ¶
func (o *GetProjectMetadataBadRequest) GetPayload() *models.Errors
func (*GetProjectMetadataBadRequest) IsClientError ¶
func (o *GetProjectMetadataBadRequest) IsClientError() bool
IsClientError returns true when this get project metadata bad request response has a 4xx status code
func (*GetProjectMetadataBadRequest) IsCode ¶
func (o *GetProjectMetadataBadRequest) IsCode(code int) bool
IsCode returns true when this get project metadata bad request response a status code equal to that given
func (*GetProjectMetadataBadRequest) IsRedirect ¶
func (o *GetProjectMetadataBadRequest) IsRedirect() bool
IsRedirect returns true when this get project metadata bad request response has a 3xx status code
func (*GetProjectMetadataBadRequest) IsServerError ¶
func (o *GetProjectMetadataBadRequest) IsServerError() bool
IsServerError returns true when this get project metadata bad request response has a 5xx status code
func (*GetProjectMetadataBadRequest) IsSuccess ¶
func (o *GetProjectMetadataBadRequest) IsSuccess() bool
IsSuccess returns true when this get project metadata bad request response has a 2xx status code
func (*GetProjectMetadataBadRequest) String ¶
func (o *GetProjectMetadataBadRequest) String() string
type GetProjectMetadataForbidden ¶
type GetProjectMetadataForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMetadataForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetProjectMetadataForbidden ¶
func NewGetProjectMetadataForbidden() *GetProjectMetadataForbidden
NewGetProjectMetadataForbidden creates a GetProjectMetadataForbidden with default headers values
func (*GetProjectMetadataForbidden) Code ¶
func (o *GetProjectMetadataForbidden) Code() int
Code gets the status code for the get project metadata forbidden response
func (*GetProjectMetadataForbidden) Error ¶
func (o *GetProjectMetadataForbidden) Error() string
func (*GetProjectMetadataForbidden) GetPayload ¶
func (o *GetProjectMetadataForbidden) GetPayload() *models.Errors
func (*GetProjectMetadataForbidden) IsClientError ¶
func (o *GetProjectMetadataForbidden) IsClientError() bool
IsClientError returns true when this get project metadata forbidden response has a 4xx status code
func (*GetProjectMetadataForbidden) IsCode ¶
func (o *GetProjectMetadataForbidden) IsCode(code int) bool
IsCode returns true when this get project metadata forbidden response a status code equal to that given
func (*GetProjectMetadataForbidden) IsRedirect ¶
func (o *GetProjectMetadataForbidden) IsRedirect() bool
IsRedirect returns true when this get project metadata forbidden response has a 3xx status code
func (*GetProjectMetadataForbidden) IsServerError ¶
func (o *GetProjectMetadataForbidden) IsServerError() bool
IsServerError returns true when this get project metadata forbidden response has a 5xx status code
func (*GetProjectMetadataForbidden) IsSuccess ¶
func (o *GetProjectMetadataForbidden) IsSuccess() bool
IsSuccess returns true when this get project metadata forbidden response has a 2xx status code
func (*GetProjectMetadataForbidden) String ¶
func (o *GetProjectMetadataForbidden) String() string
type GetProjectMetadataInternalServerError ¶
type GetProjectMetadataInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMetadataInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetProjectMetadataInternalServerError ¶
func NewGetProjectMetadataInternalServerError() *GetProjectMetadataInternalServerError
NewGetProjectMetadataInternalServerError creates a GetProjectMetadataInternalServerError with default headers values
func (*GetProjectMetadataInternalServerError) Code ¶
func (o *GetProjectMetadataInternalServerError) Code() int
Code gets the status code for the get project metadata internal server error response
func (*GetProjectMetadataInternalServerError) Error ¶
func (o *GetProjectMetadataInternalServerError) Error() string
func (*GetProjectMetadataInternalServerError) GetPayload ¶
func (o *GetProjectMetadataInternalServerError) GetPayload() *models.Errors
func (*GetProjectMetadataInternalServerError) IsClientError ¶
func (o *GetProjectMetadataInternalServerError) IsClientError() bool
IsClientError returns true when this get project metadata internal server error response has a 4xx status code
func (*GetProjectMetadataInternalServerError) IsCode ¶
func (o *GetProjectMetadataInternalServerError) IsCode(code int) bool
IsCode returns true when this get project metadata internal server error response a status code equal to that given
func (*GetProjectMetadataInternalServerError) IsRedirect ¶
func (o *GetProjectMetadataInternalServerError) IsRedirect() bool
IsRedirect returns true when this get project metadata internal server error response has a 3xx status code
func (*GetProjectMetadataInternalServerError) IsServerError ¶
func (o *GetProjectMetadataInternalServerError) IsServerError() bool
IsServerError returns true when this get project metadata internal server error response has a 5xx status code
func (*GetProjectMetadataInternalServerError) IsSuccess ¶
func (o *GetProjectMetadataInternalServerError) IsSuccess() bool
IsSuccess returns true when this get project metadata internal server error response has a 2xx status code
func (*GetProjectMetadataInternalServerError) String ¶
func (o *GetProjectMetadataInternalServerError) String() string
type GetProjectMetadataNotFound ¶
type GetProjectMetadataNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMetadataNotFound describes a response with status code 404, with default header values.
Not found
func NewGetProjectMetadataNotFound ¶
func NewGetProjectMetadataNotFound() *GetProjectMetadataNotFound
NewGetProjectMetadataNotFound creates a GetProjectMetadataNotFound with default headers values
func (*GetProjectMetadataNotFound) Code ¶
func (o *GetProjectMetadataNotFound) Code() int
Code gets the status code for the get project metadata not found response
func (*GetProjectMetadataNotFound) Error ¶
func (o *GetProjectMetadataNotFound) Error() string
func (*GetProjectMetadataNotFound) GetPayload ¶
func (o *GetProjectMetadataNotFound) GetPayload() *models.Errors
func (*GetProjectMetadataNotFound) IsClientError ¶
func (o *GetProjectMetadataNotFound) IsClientError() bool
IsClientError returns true when this get project metadata not found response has a 4xx status code
func (*GetProjectMetadataNotFound) IsCode ¶
func (o *GetProjectMetadataNotFound) IsCode(code int) bool
IsCode returns true when this get project metadata not found response a status code equal to that given
func (*GetProjectMetadataNotFound) IsRedirect ¶
func (o *GetProjectMetadataNotFound) IsRedirect() bool
IsRedirect returns true when this get project metadata not found response has a 3xx status code
func (*GetProjectMetadataNotFound) IsServerError ¶
func (o *GetProjectMetadataNotFound) IsServerError() bool
IsServerError returns true when this get project metadata not found response has a 5xx status code
func (*GetProjectMetadataNotFound) IsSuccess ¶
func (o *GetProjectMetadataNotFound) IsSuccess() bool
IsSuccess returns true when this get project metadata not found response has a 2xx status code
func (*GetProjectMetadataNotFound) String ¶
func (o *GetProjectMetadataNotFound) String() string
type GetProjectMetadataOK ¶
GetProjectMetadataOK describes a response with status code 200, with default header values.
Success
func NewGetProjectMetadataOK ¶
func NewGetProjectMetadataOK() *GetProjectMetadataOK
NewGetProjectMetadataOK creates a GetProjectMetadataOK with default headers values
func (*GetProjectMetadataOK) Code ¶
func (o *GetProjectMetadataOK) Code() int
Code gets the status code for the get project metadata o k response
func (*GetProjectMetadataOK) Error ¶
func (o *GetProjectMetadataOK) Error() string
func (*GetProjectMetadataOK) GetPayload ¶
func (o *GetProjectMetadataOK) GetPayload() map[string]string
func (*GetProjectMetadataOK) IsClientError ¶
func (o *GetProjectMetadataOK) IsClientError() bool
IsClientError returns true when this get project metadata o k response has a 4xx status code
func (*GetProjectMetadataOK) IsCode ¶
func (o *GetProjectMetadataOK) IsCode(code int) bool
IsCode returns true when this get project metadata o k response a status code equal to that given
func (*GetProjectMetadataOK) IsRedirect ¶
func (o *GetProjectMetadataOK) IsRedirect() bool
IsRedirect returns true when this get project metadata o k response has a 3xx status code
func (*GetProjectMetadataOK) IsServerError ¶
func (o *GetProjectMetadataOK) IsServerError() bool
IsServerError returns true when this get project metadata o k response has a 5xx status code
func (*GetProjectMetadataOK) IsSuccess ¶
func (o *GetProjectMetadataOK) IsSuccess() bool
IsSuccess returns true when this get project metadata o k response has a 2xx status code
func (*GetProjectMetadataOK) String ¶
func (o *GetProjectMetadataOK) String() string
type GetProjectMetadataParams ¶
type GetProjectMetadataParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool `js:"xIsResourceName"` /* XRequestID. An unique ID for the request */ XRequestID *string `js:"xRequestID"` /* MetaName. The name of metadata. */ MetaName string `js:"metaName"` /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string `js:"projectNameOrID"` Context context.Context `js:"context"` HTTPClient *http.Client `js:"httpClient"` // contains filtered or unexported fields }
GetProjectMetadataParams contains all the parameters to send to the API endpoint
for the get project metadata operation. Typically these are written to a http.Request.
func NewGetProjectMetadataParams ¶
func NewGetProjectMetadataParams() *GetProjectMetadataParams
NewGetProjectMetadataParams creates a new GetProjectMetadataParams 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 NewGetProjectMetadataParamsWithContext ¶
func NewGetProjectMetadataParamsWithContext(ctx context.Context) *GetProjectMetadataParams
NewGetProjectMetadataParamsWithContext creates a new GetProjectMetadataParams object with the ability to set a context for a request.
func NewGetProjectMetadataParamsWithHTTPClient ¶
func NewGetProjectMetadataParamsWithHTTPClient(client *http.Client) *GetProjectMetadataParams
NewGetProjectMetadataParamsWithHTTPClient creates a new GetProjectMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectMetadataParamsWithTimeout ¶
func NewGetProjectMetadataParamsWithTimeout(timeout time.Duration) *GetProjectMetadataParams
NewGetProjectMetadataParamsWithTimeout creates a new GetProjectMetadataParams object with the ability to set a timeout on a request.
func (*GetProjectMetadataParams) SetContext ¶
func (o *GetProjectMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get project metadata params
func (*GetProjectMetadataParams) SetDefaults ¶
func (o *GetProjectMetadataParams) SetDefaults()
SetDefaults hydrates default values in the get project metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectMetadataParams) SetHTTPClient ¶
func (o *GetProjectMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project metadata params
func (*GetProjectMetadataParams) SetMetaName ¶
func (o *GetProjectMetadataParams) SetMetaName(metaName string)
SetMetaName adds the metaName to the get project metadata params
func (*GetProjectMetadataParams) SetProjectNameOrID ¶
func (o *GetProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get project metadata params
func (*GetProjectMetadataParams) SetTimeout ¶
func (o *GetProjectMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project metadata params
func (*GetProjectMetadataParams) SetXIsResourceName ¶
func (o *GetProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get project metadata params
func (*GetProjectMetadataParams) SetXRequestID ¶
func (o *GetProjectMetadataParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project metadata params
func (*GetProjectMetadataParams) WithContext ¶
func (o *GetProjectMetadataParams) WithContext(ctx context.Context) *GetProjectMetadataParams
WithContext adds the context to the get project metadata params
func (*GetProjectMetadataParams) WithDefaults ¶
func (o *GetProjectMetadataParams) WithDefaults() *GetProjectMetadataParams
WithDefaults hydrates default values in the get project metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectMetadataParams) WithHTTPClient ¶
func (o *GetProjectMetadataParams) WithHTTPClient(client *http.Client) *GetProjectMetadataParams
WithHTTPClient adds the HTTPClient to the get project metadata params
func (*GetProjectMetadataParams) WithMetaName ¶
func (o *GetProjectMetadataParams) WithMetaName(metaName string) *GetProjectMetadataParams
WithMetaName adds the metaName to the get project metadata params
func (*GetProjectMetadataParams) WithProjectNameOrID ¶
func (o *GetProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *GetProjectMetadataParams
WithProjectNameOrID adds the projectNameOrID to the get project metadata params
func (*GetProjectMetadataParams) WithTimeout ¶
func (o *GetProjectMetadataParams) WithTimeout(timeout time.Duration) *GetProjectMetadataParams
WithTimeout adds the timeout to the get project metadata params
func (*GetProjectMetadataParams) WithXIsResourceName ¶
func (o *GetProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectMetadataParams
WithXIsResourceName adds the xIsResourceName to the get project metadata params
func (*GetProjectMetadataParams) WithXRequestID ¶
func (o *GetProjectMetadataParams) WithXRequestID(xRequestID *string) *GetProjectMetadataParams
WithXRequestID adds the xRequestID to the get project metadata params
func (*GetProjectMetadataParams) WriteToRequest ¶
func (o *GetProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectMetadataReader ¶
type GetProjectMetadataReader struct {
// contains filtered or unexported fields
}
GetProjectMetadataReader is a Reader for the GetProjectMetadata structure.
func (*GetProjectMetadataReader) ReadResponse ¶
func (o *GetProjectMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectMetadataUnauthorized ¶
type GetProjectMetadataUnauthorized struct { string }XRequestID
GetProjectMetadataUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetProjectMetadataUnauthorized ¶
func NewGetProjectMetadataUnauthorized() *GetProjectMetadataUnauthorized
NewGetProjectMetadataUnauthorized creates a GetProjectMetadataUnauthorized with default headers values
func (*GetProjectMetadataUnauthorized) Code ¶
func (o *GetProjectMetadataUnauthorized) Code() int
Code gets the status code for the get project metadata unauthorized response
func (*GetProjectMetadataUnauthorized) Error ¶
func (o *GetProjectMetadataUnauthorized) Error() string
func (*GetProjectMetadataUnauthorized) GetPayload ¶
func (o *GetProjectMetadataUnauthorized) GetPayload() *models.Errors
func (*GetProjectMetadataUnauthorized) IsClientError ¶
func (o *GetProjectMetadataUnauthorized) IsClientError() bool
IsClientError returns true when this get project metadata unauthorized response has a 4xx status code
func (*GetProjectMetadataUnauthorized) IsCode ¶
func (o *GetProjectMetadataUnauthorized) IsCode(code int) bool
IsCode returns true when this get project metadata unauthorized response a status code equal to that given
func (*GetProjectMetadataUnauthorized) IsRedirect ¶
func (o *GetProjectMetadataUnauthorized) IsRedirect() bool
IsRedirect returns true when this get project metadata unauthorized response has a 3xx status code
func (*GetProjectMetadataUnauthorized) IsServerError ¶
func (o *GetProjectMetadataUnauthorized) IsServerError() bool
IsServerError returns true when this get project metadata unauthorized response has a 5xx status code
func (*GetProjectMetadataUnauthorized) IsSuccess ¶
func (o *GetProjectMetadataUnauthorized) IsSuccess() bool
IsSuccess returns true when this get project metadata unauthorized response has a 2xx status code
func (*GetProjectMetadataUnauthorized) String ¶
func (o *GetProjectMetadataUnauthorized) String() string
type ListProjectMetadatasBadRequest ¶
type ListProjectMetadatasBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMetadatasBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListProjectMetadatasBadRequest ¶
func NewListProjectMetadatasBadRequest() *ListProjectMetadatasBadRequest
NewListProjectMetadatasBadRequest creates a ListProjectMetadatasBadRequest with default headers values
func (*ListProjectMetadatasBadRequest) Code ¶
func (o *ListProjectMetadatasBadRequest) Code() int
Code gets the status code for the list project metadatas bad request response
func (*ListProjectMetadatasBadRequest) Error ¶
func (o *ListProjectMetadatasBadRequest) Error() string
func (*ListProjectMetadatasBadRequest) GetPayload ¶
func (o *ListProjectMetadatasBadRequest) GetPayload() *models.Errors
func (*ListProjectMetadatasBadRequest) IsClientError ¶
func (o *ListProjectMetadatasBadRequest) IsClientError() bool
IsClientError returns true when this list project metadatas bad request response has a 4xx status code
func (*ListProjectMetadatasBadRequest) IsCode ¶
func (o *ListProjectMetadatasBadRequest) IsCode(code int) bool
IsCode returns true when this list project metadatas bad request response a status code equal to that given
func (*ListProjectMetadatasBadRequest) IsRedirect ¶
func (o *ListProjectMetadatasBadRequest) IsRedirect() bool
IsRedirect returns true when this list project metadatas bad request response has a 3xx status code
func (*ListProjectMetadatasBadRequest) IsServerError ¶
func (o *ListProjectMetadatasBadRequest) IsServerError() bool
IsServerError returns true when this list project metadatas bad request response has a 5xx status code
func (*ListProjectMetadatasBadRequest) IsSuccess ¶
func (o *ListProjectMetadatasBadRequest) IsSuccess() bool
IsSuccess returns true when this list project metadatas bad request response has a 2xx status code
func (*ListProjectMetadatasBadRequest) String ¶
func (o *ListProjectMetadatasBadRequest) String() string
type ListProjectMetadatasForbidden ¶
type ListProjectMetadatasForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMetadatasForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListProjectMetadatasForbidden ¶
func NewListProjectMetadatasForbidden() *ListProjectMetadatasForbidden
NewListProjectMetadatasForbidden creates a ListProjectMetadatasForbidden with default headers values
func (*ListProjectMetadatasForbidden) Code ¶
func (o *ListProjectMetadatasForbidden) Code() int
Code gets the status code for the list project metadatas forbidden response
func (*ListProjectMetadatasForbidden) Error ¶
func (o *ListProjectMetadatasForbidden) Error() string
func (*ListProjectMetadatasForbidden) GetPayload ¶
func (o *ListProjectMetadatasForbidden) GetPayload() *models.Errors
func (*ListProjectMetadatasForbidden) IsClientError ¶
func (o *ListProjectMetadatasForbidden) IsClientError() bool
IsClientError returns true when this list project metadatas forbidden response has a 4xx status code
func (*ListProjectMetadatasForbidden) IsCode ¶
func (o *ListProjectMetadatasForbidden) IsCode(code int) bool
IsCode returns true when this list project metadatas forbidden response a status code equal to that given
func (*ListProjectMetadatasForbidden) IsRedirect ¶
func (o *ListProjectMetadatasForbidden) IsRedirect() bool
IsRedirect returns true when this list project metadatas forbidden response has a 3xx status code
func (*ListProjectMetadatasForbidden) IsServerError ¶
func (o *ListProjectMetadatasForbidden) IsServerError() bool
IsServerError returns true when this list project metadatas forbidden response has a 5xx status code
func (*ListProjectMetadatasForbidden) IsSuccess ¶
func (o *ListProjectMetadatasForbidden) IsSuccess() bool
IsSuccess returns true when this list project metadatas forbidden response has a 2xx status code
func (*ListProjectMetadatasForbidden) String ¶
func (o *ListProjectMetadatasForbidden) String() string
type ListProjectMetadatasInternalServerError ¶
type ListProjectMetadatasInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMetadatasInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListProjectMetadatasInternalServerError ¶
func NewListProjectMetadatasInternalServerError() *ListProjectMetadatasInternalServerError
NewListProjectMetadatasInternalServerError creates a ListProjectMetadatasInternalServerError with default headers values
func (*ListProjectMetadatasInternalServerError) Code ¶
func (o *ListProjectMetadatasInternalServerError) Code() int
Code gets the status code for the list project metadatas internal server error response
func (*ListProjectMetadatasInternalServerError) Error ¶
func (o *ListProjectMetadatasInternalServerError) Error() string
func (*ListProjectMetadatasInternalServerError) GetPayload ¶
func (o *ListProjectMetadatasInternalServerError) GetPayload() *models.Errors
func (*ListProjectMetadatasInternalServerError) IsClientError ¶
func (o *ListProjectMetadatasInternalServerError) IsClientError() bool
IsClientError returns true when this list project metadatas internal server error response has a 4xx status code
func (*ListProjectMetadatasInternalServerError) IsCode ¶
func (o *ListProjectMetadatasInternalServerError) IsCode(code int) bool
IsCode returns true when this list project metadatas internal server error response a status code equal to that given
func (*ListProjectMetadatasInternalServerError) IsRedirect ¶
func (o *ListProjectMetadatasInternalServerError) IsRedirect() bool
IsRedirect returns true when this list project metadatas internal server error response has a 3xx status code
func (*ListProjectMetadatasInternalServerError) IsServerError ¶
func (o *ListProjectMetadatasInternalServerError) IsServerError() bool
IsServerError returns true when this list project metadatas internal server error response has a 5xx status code
func (*ListProjectMetadatasInternalServerError) IsSuccess ¶
func (o *ListProjectMetadatasInternalServerError) IsSuccess() bool
IsSuccess returns true when this list project metadatas internal server error response has a 2xx status code
func (*ListProjectMetadatasInternalServerError) String ¶
func (o *ListProjectMetadatasInternalServerError) String() string
type ListProjectMetadatasNotFound ¶
type ListProjectMetadatasNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMetadatasNotFound describes a response with status code 404, with default header values.
Not found
func NewListProjectMetadatasNotFound ¶
func NewListProjectMetadatasNotFound() *ListProjectMetadatasNotFound
NewListProjectMetadatasNotFound creates a ListProjectMetadatasNotFound with default headers values
func (*ListProjectMetadatasNotFound) Code ¶
func (o *ListProjectMetadatasNotFound) Code() int
Code gets the status code for the list project metadatas not found response
func (*ListProjectMetadatasNotFound) Error ¶
func (o *ListProjectMetadatasNotFound) Error() string
func (*ListProjectMetadatasNotFound) GetPayload ¶
func (o *ListProjectMetadatasNotFound) GetPayload() *models.Errors
func (*ListProjectMetadatasNotFound) IsClientError ¶
func (o *ListProjectMetadatasNotFound) IsClientError() bool
IsClientError returns true when this list project metadatas not found response has a 4xx status code
func (*ListProjectMetadatasNotFound) IsCode ¶
func (o *ListProjectMetadatasNotFound) IsCode(code int) bool
IsCode returns true when this list project metadatas not found response a status code equal to that given
func (*ListProjectMetadatasNotFound) IsRedirect ¶
func (o *ListProjectMetadatasNotFound) IsRedirect() bool
IsRedirect returns true when this list project metadatas not found response has a 3xx status code
func (*ListProjectMetadatasNotFound) IsServerError ¶
func (o *ListProjectMetadatasNotFound) IsServerError() bool
IsServerError returns true when this list project metadatas not found response has a 5xx status code
func (*ListProjectMetadatasNotFound) IsSuccess ¶
func (o *ListProjectMetadatasNotFound) IsSuccess() bool
IsSuccess returns true when this list project metadatas not found response has a 2xx status code
func (*ListProjectMetadatasNotFound) String ¶
func (o *ListProjectMetadatasNotFound) String() string
type ListProjectMetadatasOK ¶
ListProjectMetadatasOK describes a response with status code 200, with default header values.
Success
func NewListProjectMetadatasOK ¶
func NewListProjectMetadatasOK() *ListProjectMetadatasOK
NewListProjectMetadatasOK creates a ListProjectMetadatasOK with default headers values
func (*ListProjectMetadatasOK) Code ¶
func (o *ListProjectMetadatasOK) Code() int
Code gets the status code for the list project metadatas o k response
func (*ListProjectMetadatasOK) Error ¶
func (o *ListProjectMetadatasOK) Error() string
func (*ListProjectMetadatasOK) GetPayload ¶
func (o *ListProjectMetadatasOK) GetPayload() map[string]string
func (*ListProjectMetadatasOK) IsClientError ¶
func (o *ListProjectMetadatasOK) IsClientError() bool
IsClientError returns true when this list project metadatas o k response has a 4xx status code
func (*ListProjectMetadatasOK) IsCode ¶
func (o *ListProjectMetadatasOK) IsCode(code int) bool
IsCode returns true when this list project metadatas o k response a status code equal to that given
func (*ListProjectMetadatasOK) IsRedirect ¶
func (o *ListProjectMetadatasOK) IsRedirect() bool
IsRedirect returns true when this list project metadatas o k response has a 3xx status code
func (*ListProjectMetadatasOK) IsServerError ¶
func (o *ListProjectMetadatasOK) IsServerError() bool
IsServerError returns true when this list project metadatas o k response has a 5xx status code
func (*ListProjectMetadatasOK) IsSuccess ¶
func (o *ListProjectMetadatasOK) IsSuccess() bool
IsSuccess returns true when this list project metadatas o k response has a 2xx status code
func (*ListProjectMetadatasOK) String ¶
func (o *ListProjectMetadatasOK) String() string
type ListProjectMetadatasParams ¶
type ListProjectMetadatasParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool `js:"xIsResourceName"` /* XRequestID. An unique ID for the request */ XRequestID *string `js:"xRequestID"` /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string `js:"projectNameOrID"` Context context.Context `js:"context"` HTTPClient *http.Client `js:"httpClient"` // contains filtered or unexported fields }
ListProjectMetadatasParams contains all the parameters to send to the API endpoint
for the list project metadatas operation. Typically these are written to a http.Request.
func NewListProjectMetadatasParams ¶
func NewListProjectMetadatasParams() *ListProjectMetadatasParams
NewListProjectMetadatasParams creates a new ListProjectMetadatasParams 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 NewListProjectMetadatasParamsWithContext ¶
func NewListProjectMetadatasParamsWithContext(ctx context.Context) *ListProjectMetadatasParams
NewListProjectMetadatasParamsWithContext creates a new ListProjectMetadatasParams object with the ability to set a context for a request.
func NewListProjectMetadatasParamsWithHTTPClient ¶
func NewListProjectMetadatasParamsWithHTTPClient(client *http.Client) *ListProjectMetadatasParams
NewListProjectMetadatasParamsWithHTTPClient creates a new ListProjectMetadatasParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectMetadatasParamsWithTimeout ¶
func NewListProjectMetadatasParamsWithTimeout(timeout time.Duration) *ListProjectMetadatasParams
NewListProjectMetadatasParamsWithTimeout creates a new ListProjectMetadatasParams object with the ability to set a timeout on a request.
func (*ListProjectMetadatasParams) SetContext ¶
func (o *ListProjectMetadatasParams) SetContext(ctx context.Context)
SetContext adds the context to the list project metadatas params
func (*ListProjectMetadatasParams) SetDefaults ¶
func (o *ListProjectMetadatasParams) SetDefaults()
SetDefaults hydrates default values in the list project metadatas params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectMetadatasParams) SetHTTPClient ¶
func (o *ListProjectMetadatasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list project metadatas params
func (*ListProjectMetadatasParams) SetProjectNameOrID ¶
func (o *ListProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list project metadatas params
func (*ListProjectMetadatasParams) SetTimeout ¶
func (o *ListProjectMetadatasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list project metadatas params
func (*ListProjectMetadatasParams) SetXIsResourceName ¶
func (o *ListProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list project metadatas params
func (*ListProjectMetadatasParams) SetXRequestID ¶
func (o *ListProjectMetadatasParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list project metadatas params
func (*ListProjectMetadatasParams) WithContext ¶
func (o *ListProjectMetadatasParams) WithContext(ctx context.Context) *ListProjectMetadatasParams
WithContext adds the context to the list project metadatas params
func (*ListProjectMetadatasParams) WithDefaults ¶
func (o *ListProjectMetadatasParams) WithDefaults() *ListProjectMetadatasParams
WithDefaults hydrates default values in the list project metadatas params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectMetadatasParams) WithHTTPClient ¶
func (o *ListProjectMetadatasParams) WithHTTPClient(client *http.Client) *ListProjectMetadatasParams
WithHTTPClient adds the HTTPClient to the list project metadatas params
func (*ListProjectMetadatasParams) WithProjectNameOrID ¶
func (o *ListProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *ListProjectMetadatasParams
WithProjectNameOrID adds the projectNameOrID to the list project metadatas params
func (*ListProjectMetadatasParams) WithTimeout ¶
func (o *ListProjectMetadatasParams) WithTimeout(timeout time.Duration) *ListProjectMetadatasParams
WithTimeout adds the timeout to the list project metadatas params
func (*ListProjectMetadatasParams) WithXIsResourceName ¶
func (o *ListProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *ListProjectMetadatasParams
WithXIsResourceName adds the xIsResourceName to the list project metadatas params
func (*ListProjectMetadatasParams) WithXRequestID ¶
func (o *ListProjectMetadatasParams) WithXRequestID(xRequestID *string) *ListProjectMetadatasParams
WithXRequestID adds the xRequestID to the list project metadatas params
func (*ListProjectMetadatasParams) WriteToRequest ¶
func (o *ListProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectMetadatasReader ¶
type ListProjectMetadatasReader struct {
// contains filtered or unexported fields
}
ListProjectMetadatasReader is a Reader for the ListProjectMetadatas structure.
func (*ListProjectMetadatasReader) ReadResponse ¶
func (o *ListProjectMetadatasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectMetadatasUnauthorized ¶
type ListProjectMetadatasUnauthorized struct { string }XRequestID
ListProjectMetadatasUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListProjectMetadatasUnauthorized ¶
func NewListProjectMetadatasUnauthorized() *ListProjectMetadatasUnauthorized
NewListProjectMetadatasUnauthorized creates a ListProjectMetadatasUnauthorized with default headers values
func (*ListProjectMetadatasUnauthorized) Code ¶
func (o *ListProjectMetadatasUnauthorized) Code() int
Code gets the status code for the list project metadatas unauthorized response
func (*ListProjectMetadatasUnauthorized) Error ¶
func (o *ListProjectMetadatasUnauthorized) Error() string
func (*ListProjectMetadatasUnauthorized) GetPayload ¶
func (o *ListProjectMetadatasUnauthorized) GetPayload() *models.Errors
func (*ListProjectMetadatasUnauthorized) IsClientError ¶
func (o *ListProjectMetadatasUnauthorized) IsClientError() bool
IsClientError returns true when this list project metadatas unauthorized response has a 4xx status code
func (*ListProjectMetadatasUnauthorized) IsCode ¶
func (o *ListProjectMetadatasUnauthorized) IsCode(code int) bool
IsCode returns true when this list project metadatas unauthorized response a status code equal to that given
func (*ListProjectMetadatasUnauthorized) IsRedirect ¶
func (o *ListProjectMetadatasUnauthorized) IsRedirect() bool
IsRedirect returns true when this list project metadatas unauthorized response has a 3xx status code
func (*ListProjectMetadatasUnauthorized) IsServerError ¶
func (o *ListProjectMetadatasUnauthorized) IsServerError() bool
IsServerError returns true when this list project metadatas unauthorized response has a 5xx status code
func (*ListProjectMetadatasUnauthorized) IsSuccess ¶
func (o *ListProjectMetadatasUnauthorized) IsSuccess() bool
IsSuccess returns true when this list project metadatas unauthorized response has a 2xx status code
func (*ListProjectMetadatasUnauthorized) String ¶
func (o *ListProjectMetadatasUnauthorized) String() string
type UpdateProjectMetadataBadRequest ¶
type UpdateProjectMetadataBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMetadataBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateProjectMetadataBadRequest ¶
func NewUpdateProjectMetadataBadRequest() *UpdateProjectMetadataBadRequest
NewUpdateProjectMetadataBadRequest creates a UpdateProjectMetadataBadRequest with default headers values
func (*UpdateProjectMetadataBadRequest) Code ¶
func (o *UpdateProjectMetadataBadRequest) Code() int
Code gets the status code for the update project metadata bad request response
func (*UpdateProjectMetadataBadRequest) Error ¶
func (o *UpdateProjectMetadataBadRequest) Error() string
func (*UpdateProjectMetadataBadRequest) GetPayload ¶
func (o *UpdateProjectMetadataBadRequest) GetPayload() *models.Errors
func (*UpdateProjectMetadataBadRequest) IsClientError ¶
func (o *UpdateProjectMetadataBadRequest) IsClientError() bool
IsClientError returns true when this update project metadata bad request response has a 4xx status code
func (*UpdateProjectMetadataBadRequest) IsCode ¶
func (o *UpdateProjectMetadataBadRequest) IsCode(code int) bool
IsCode returns true when this update project metadata bad request response a status code equal to that given
func (*UpdateProjectMetadataBadRequest) IsRedirect ¶
func (o *UpdateProjectMetadataBadRequest) IsRedirect() bool
IsRedirect returns true when this update project metadata bad request response has a 3xx status code
func (*UpdateProjectMetadataBadRequest) IsServerError ¶
func (o *UpdateProjectMetadataBadRequest) IsServerError() bool
IsServerError returns true when this update project metadata bad request response has a 5xx status code
func (*UpdateProjectMetadataBadRequest) IsSuccess ¶
func (o *UpdateProjectMetadataBadRequest) IsSuccess() bool
IsSuccess returns true when this update project metadata bad request response has a 2xx status code
func (*UpdateProjectMetadataBadRequest) String ¶
func (o *UpdateProjectMetadataBadRequest) String() string
type UpdateProjectMetadataConflict ¶
type UpdateProjectMetadataConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMetadataConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateProjectMetadataConflict ¶
func NewUpdateProjectMetadataConflict() *UpdateProjectMetadataConflict
NewUpdateProjectMetadataConflict creates a UpdateProjectMetadataConflict with default headers values
func (*UpdateProjectMetadataConflict) Code ¶
func (o *UpdateProjectMetadataConflict) Code() int
Code gets the status code for the update project metadata conflict response
func (*UpdateProjectMetadataConflict) Error ¶
func (o *UpdateProjectMetadataConflict) Error() string
func (*UpdateProjectMetadataConflict) GetPayload ¶
func (o *UpdateProjectMetadataConflict) GetPayload() *models.Errors
func (*UpdateProjectMetadataConflict) IsClientError ¶
func (o *UpdateProjectMetadataConflict) IsClientError() bool
IsClientError returns true when this update project metadata conflict response has a 4xx status code
func (*UpdateProjectMetadataConflict) IsCode ¶
func (o *UpdateProjectMetadataConflict) IsCode(code int) bool
IsCode returns true when this update project metadata conflict response a status code equal to that given
func (*UpdateProjectMetadataConflict) IsRedirect ¶
func (o *UpdateProjectMetadataConflict) IsRedirect() bool
IsRedirect returns true when this update project metadata conflict response has a 3xx status code
func (*UpdateProjectMetadataConflict) IsServerError ¶
func (o *UpdateProjectMetadataConflict) IsServerError() bool
IsServerError returns true when this update project metadata conflict response has a 5xx status code
func (*UpdateProjectMetadataConflict) IsSuccess ¶
func (o *UpdateProjectMetadataConflict) IsSuccess() bool
IsSuccess returns true when this update project metadata conflict response has a 2xx status code
func (*UpdateProjectMetadataConflict) String ¶
func (o *UpdateProjectMetadataConflict) String() string
type UpdateProjectMetadataForbidden ¶
type UpdateProjectMetadataForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMetadataForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateProjectMetadataForbidden ¶
func NewUpdateProjectMetadataForbidden() *UpdateProjectMetadataForbidden
NewUpdateProjectMetadataForbidden creates a UpdateProjectMetadataForbidden with default headers values
func (*UpdateProjectMetadataForbidden) Code ¶
func (o *UpdateProjectMetadataForbidden) Code() int
Code gets the status code for the update project metadata forbidden response
func (*UpdateProjectMetadataForbidden) Error ¶
func (o *UpdateProjectMetadataForbidden) Error() string
func (*UpdateProjectMetadataForbidden) GetPayload ¶
func (o *UpdateProjectMetadataForbidden) GetPayload() *models.Errors
func (*UpdateProjectMetadataForbidden) IsClientError ¶
func (o *UpdateProjectMetadataForbidden) IsClientError() bool
IsClientError returns true when this update project metadata forbidden response has a 4xx status code
func (*UpdateProjectMetadataForbidden) IsCode ¶
func (o *UpdateProjectMetadataForbidden) IsCode(code int) bool
IsCode returns true when this update project metadata forbidden response a status code equal to that given
func (*UpdateProjectMetadataForbidden) IsRedirect ¶
func (o *UpdateProjectMetadataForbidden) IsRedirect() bool
IsRedirect returns true when this update project metadata forbidden response has a 3xx status code
func (*UpdateProjectMetadataForbidden) IsServerError ¶
func (o *UpdateProjectMetadataForbidden) IsServerError() bool
IsServerError returns true when this update project metadata forbidden response has a 5xx status code
func (*UpdateProjectMetadataForbidden) IsSuccess ¶
func (o *UpdateProjectMetadataForbidden) IsSuccess() bool
IsSuccess returns true when this update project metadata forbidden response has a 2xx status code
func (*UpdateProjectMetadataForbidden) String ¶
func (o *UpdateProjectMetadataForbidden) String() string
type UpdateProjectMetadataInternalServerError ¶
type UpdateProjectMetadataInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMetadataInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateProjectMetadataInternalServerError ¶
func NewUpdateProjectMetadataInternalServerError() *UpdateProjectMetadataInternalServerError
NewUpdateProjectMetadataInternalServerError creates a UpdateProjectMetadataInternalServerError with default headers values
func (*UpdateProjectMetadataInternalServerError) Code ¶
func (o *UpdateProjectMetadataInternalServerError) Code() int
Code gets the status code for the update project metadata internal server error response
func (*UpdateProjectMetadataInternalServerError) Error ¶
func (o *UpdateProjectMetadataInternalServerError) Error() string
func (*UpdateProjectMetadataInternalServerError) GetPayload ¶
func (o *UpdateProjectMetadataInternalServerError) GetPayload() *models.Errors
func (*UpdateProjectMetadataInternalServerError) IsClientError ¶
func (o *UpdateProjectMetadataInternalServerError) IsClientError() bool
IsClientError returns true when this update project metadata internal server error response has a 4xx status code
func (*UpdateProjectMetadataInternalServerError) IsCode ¶
func (o *UpdateProjectMetadataInternalServerError) IsCode(code int) bool
IsCode returns true when this update project metadata internal server error response a status code equal to that given
func (*UpdateProjectMetadataInternalServerError) IsRedirect ¶
func (o *UpdateProjectMetadataInternalServerError) IsRedirect() bool
IsRedirect returns true when this update project metadata internal server error response has a 3xx status code
func (*UpdateProjectMetadataInternalServerError) IsServerError ¶
func (o *UpdateProjectMetadataInternalServerError) IsServerError() bool
IsServerError returns true when this update project metadata internal server error response has a 5xx status code
func (*UpdateProjectMetadataInternalServerError) IsSuccess ¶
func (o *UpdateProjectMetadataInternalServerError) IsSuccess() bool
IsSuccess returns true when this update project metadata internal server error response has a 2xx status code
func (*UpdateProjectMetadataInternalServerError) String ¶
func (o *UpdateProjectMetadataInternalServerError) String() string
type UpdateProjectMetadataNotFound ¶
type UpdateProjectMetadataNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMetadataNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateProjectMetadataNotFound ¶
func NewUpdateProjectMetadataNotFound() *UpdateProjectMetadataNotFound
NewUpdateProjectMetadataNotFound creates a UpdateProjectMetadataNotFound with default headers values
func (*UpdateProjectMetadataNotFound) Code ¶
func (o *UpdateProjectMetadataNotFound) Code() int
Code gets the status code for the update project metadata not found response
func (*UpdateProjectMetadataNotFound) Error ¶
func (o *UpdateProjectMetadataNotFound) Error() string
func (*UpdateProjectMetadataNotFound) GetPayload ¶
func (o *UpdateProjectMetadataNotFound) GetPayload() *models.Errors
func (*UpdateProjectMetadataNotFound) IsClientError ¶
func (o *UpdateProjectMetadataNotFound) IsClientError() bool
IsClientError returns true when this update project metadata not found response has a 4xx status code
func (*UpdateProjectMetadataNotFound) IsCode ¶
func (o *UpdateProjectMetadataNotFound) IsCode(code int) bool
IsCode returns true when this update project metadata not found response a status code equal to that given
func (*UpdateProjectMetadataNotFound) IsRedirect ¶
func (o *UpdateProjectMetadataNotFound) IsRedirect() bool
IsRedirect returns true when this update project metadata not found response has a 3xx status code
func (*UpdateProjectMetadataNotFound) IsServerError ¶
func (o *UpdateProjectMetadataNotFound) IsServerError() bool
IsServerError returns true when this update project metadata not found response has a 5xx status code
func (*UpdateProjectMetadataNotFound) IsSuccess ¶
func (o *UpdateProjectMetadataNotFound) IsSuccess() bool
IsSuccess returns true when this update project metadata not found response has a 2xx status code
func (*UpdateProjectMetadataNotFound) String ¶
func (o *UpdateProjectMetadataNotFound) String() string
type UpdateProjectMetadataOK ¶
type UpdateProjectMetadataOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
UpdateProjectMetadataOK describes a response with status code 200, with default header values.
Success
func NewUpdateProjectMetadataOK ¶
func NewUpdateProjectMetadataOK() *UpdateProjectMetadataOK
NewUpdateProjectMetadataOK creates a UpdateProjectMetadataOK with default headers values
func (*UpdateProjectMetadataOK) Code ¶
func (o *UpdateProjectMetadataOK) Code() int
Code gets the status code for the update project metadata o k response
func (*UpdateProjectMetadataOK) Error ¶
func (o *UpdateProjectMetadataOK) Error() string
func (*UpdateProjectMetadataOK) IsClientError ¶
func (o *UpdateProjectMetadataOK) IsClientError() bool
IsClientError returns true when this update project metadata o k response has a 4xx status code
func (*UpdateProjectMetadataOK) IsCode ¶
func (o *UpdateProjectMetadataOK) IsCode(code int) bool
IsCode returns true when this update project metadata o k response a status code equal to that given
func (*UpdateProjectMetadataOK) IsRedirect ¶
func (o *UpdateProjectMetadataOK) IsRedirect() bool
IsRedirect returns true when this update project metadata o k response has a 3xx status code
func (*UpdateProjectMetadataOK) IsServerError ¶
func (o *UpdateProjectMetadataOK) IsServerError() bool
IsServerError returns true when this update project metadata o k response has a 5xx status code
func (*UpdateProjectMetadataOK) IsSuccess ¶
func (o *UpdateProjectMetadataOK) IsSuccess() bool
IsSuccess returns true when this update project metadata o k response has a 2xx status code
func (*UpdateProjectMetadataOK) String ¶
func (o *UpdateProjectMetadataOK) String() string
type UpdateProjectMetadataParams ¶
type UpdateProjectMetadataParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool `js:"xIsResourceName"` /* XRequestID. An unique ID for the request */ XRequestID *string `js:"xRequestID"` /* MetaName. The name of metadata. */ MetaName string `js:"metaName"` // Metadata. Metadata map[string]string `js:"metadata"` /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string `js:"projectNameOrID"` Context context.Context `js:"context"` HTTPClient *http.Client `js:"httpClient"` // contains filtered or unexported fields }
UpdateProjectMetadataParams contains all the parameters to send to the API endpoint
for the update project metadata operation. Typically these are written to a http.Request.
func NewUpdateProjectMetadataParams ¶
func NewUpdateProjectMetadataParams() *UpdateProjectMetadataParams
NewUpdateProjectMetadataParams creates a new UpdateProjectMetadataParams 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 NewUpdateProjectMetadataParamsWithContext ¶
func NewUpdateProjectMetadataParamsWithContext(ctx context.Context) *UpdateProjectMetadataParams
NewUpdateProjectMetadataParamsWithContext creates a new UpdateProjectMetadataParams object with the ability to set a context for a request.
func NewUpdateProjectMetadataParamsWithHTTPClient ¶
func NewUpdateProjectMetadataParamsWithHTTPClient(client *http.Client) *UpdateProjectMetadataParams
NewUpdateProjectMetadataParamsWithHTTPClient creates a new UpdateProjectMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProjectMetadataParamsWithTimeout ¶
func NewUpdateProjectMetadataParamsWithTimeout(timeout time.Duration) *UpdateProjectMetadataParams
NewUpdateProjectMetadataParamsWithTimeout creates a new UpdateProjectMetadataParams object with the ability to set a timeout on a request.
func (*UpdateProjectMetadataParams) SetContext ¶
func (o *UpdateProjectMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the update project metadata params
func (*UpdateProjectMetadataParams) SetDefaults ¶
func (o *UpdateProjectMetadataParams) SetDefaults()
SetDefaults hydrates default values in the update project metadata params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectMetadataParams) SetHTTPClient ¶
func (o *UpdateProjectMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project metadata params
func (*UpdateProjectMetadataParams) SetMetaName ¶
func (o *UpdateProjectMetadataParams) SetMetaName(metaName string)
SetMetaName adds the metaName to the update project metadata params
func (*UpdateProjectMetadataParams) SetMetadata ¶
func (o *UpdateProjectMetadataParams) SetMetadata(metadata map[string]string)
SetMetadata adds the metadata to the update project metadata params
func (*UpdateProjectMetadataParams) SetProjectNameOrID ¶
func (o *UpdateProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the update project metadata params
func (*UpdateProjectMetadataParams) SetTimeout ¶
func (o *UpdateProjectMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project metadata params
func (*UpdateProjectMetadataParams) SetXIsResourceName ¶
func (o *UpdateProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the update project metadata params
func (*UpdateProjectMetadataParams) SetXRequestID ¶
func (o *UpdateProjectMetadataParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update project metadata params
func (*UpdateProjectMetadataParams) WithContext ¶
func (o *UpdateProjectMetadataParams) WithContext(ctx context.Context) *UpdateProjectMetadataParams
WithContext adds the context to the update project metadata params
func (*UpdateProjectMetadataParams) WithDefaults ¶
func (o *UpdateProjectMetadataParams) WithDefaults() *UpdateProjectMetadataParams
WithDefaults hydrates default values in the update project metadata params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectMetadataParams) WithHTTPClient ¶
func (o *UpdateProjectMetadataParams) WithHTTPClient(client *http.Client) *UpdateProjectMetadataParams
WithHTTPClient adds the HTTPClient to the update project metadata params
func (*UpdateProjectMetadataParams) WithMetaName ¶
func (o *UpdateProjectMetadataParams) WithMetaName(metaName string) *UpdateProjectMetadataParams
WithMetaName adds the metaName to the update project metadata params
func (*UpdateProjectMetadataParams) WithMetadata ¶
func (o *UpdateProjectMetadataParams) WithMetadata(metadata map[string]string) *UpdateProjectMetadataParams
WithMetadata adds the metadata to the update project metadata params
func (*UpdateProjectMetadataParams) WithProjectNameOrID ¶
func (o *UpdateProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectMetadataParams
WithProjectNameOrID adds the projectNameOrID to the update project metadata params
func (*UpdateProjectMetadataParams) WithTimeout ¶
func (o *UpdateProjectMetadataParams) WithTimeout(timeout time.Duration) *UpdateProjectMetadataParams
WithTimeout adds the timeout to the update project metadata params
func (*UpdateProjectMetadataParams) WithXIsResourceName ¶
func (o *UpdateProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectMetadataParams
WithXIsResourceName adds the xIsResourceName to the update project metadata params
func (*UpdateProjectMetadataParams) WithXRequestID ¶
func (o *UpdateProjectMetadataParams) WithXRequestID(xRequestID *string) *UpdateProjectMetadataParams
WithXRequestID adds the xRequestID to the update project metadata params
func (*UpdateProjectMetadataParams) WriteToRequest ¶
func (o *UpdateProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectMetadataReader ¶
type UpdateProjectMetadataReader struct {
// contains filtered or unexported fields
}
UpdateProjectMetadataReader is a Reader for the UpdateProjectMetadata structure.
func (*UpdateProjectMetadataReader) ReadResponse ¶
func (o *UpdateProjectMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectMetadataUnauthorized ¶
type UpdateProjectMetadataUnauthorized struct { string }XRequestID
UpdateProjectMetadataUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateProjectMetadataUnauthorized ¶
func NewUpdateProjectMetadataUnauthorized() *UpdateProjectMetadataUnauthorized
NewUpdateProjectMetadataUnauthorized creates a UpdateProjectMetadataUnauthorized with default headers values
func (*UpdateProjectMetadataUnauthorized) Code ¶
func (o *UpdateProjectMetadataUnauthorized) Code() int
Code gets the status code for the update project metadata unauthorized response
func (*UpdateProjectMetadataUnauthorized) Error ¶
func (o *UpdateProjectMetadataUnauthorized) Error() string
func (*UpdateProjectMetadataUnauthorized) GetPayload ¶
func (o *UpdateProjectMetadataUnauthorized) GetPayload() *models.Errors
func (*UpdateProjectMetadataUnauthorized) IsClientError ¶
func (o *UpdateProjectMetadataUnauthorized) IsClientError() bool
IsClientError returns true when this update project metadata unauthorized response has a 4xx status code
func (*UpdateProjectMetadataUnauthorized) IsCode ¶
func (o *UpdateProjectMetadataUnauthorized) IsCode(code int) bool
IsCode returns true when this update project metadata unauthorized response a status code equal to that given
func (*UpdateProjectMetadataUnauthorized) IsRedirect ¶
func (o *UpdateProjectMetadataUnauthorized) IsRedirect() bool
IsRedirect returns true when this update project metadata unauthorized response has a 3xx status code
func (*UpdateProjectMetadataUnauthorized) IsServerError ¶
func (o *UpdateProjectMetadataUnauthorized) IsServerError() bool
IsServerError returns true when this update project metadata unauthorized response has a 5xx status code
func (*UpdateProjectMetadataUnauthorized) IsSuccess ¶
func (o *UpdateProjectMetadataUnauthorized) IsSuccess() bool
IsSuccess returns true when this update project metadata unauthorized response has a 2xx status code
func (*UpdateProjectMetadataUnauthorized) String ¶
func (o *UpdateProjectMetadataUnauthorized) String() string
Source Files
¶
- add_project_metadatas_parameters.go
- add_project_metadatas_responses.go
- delete_project_metadata_parameters.go
- delete_project_metadata_responses.go
- get_project_metadata_parameters.go
- get_project_metadata_responses.go
- list_project_metadatas_parameters.go
- list_project_metadatas_responses.go
- project_metadata_client.go
- update_project_metadata_parameters.go
- update_project_metadata_responses.go