project_metadata

package
v0.210.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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) Error

func (*AddProjectMetadatasBadRequest) GetPayload

func (o *AddProjectMetadatasBadRequest) GetPayload() *models.Errors

func (*AddProjectMetadatasBadRequest) IsClientError added in v0.26.2

func (o *AddProjectMetadatasBadRequest) IsClientError() bool

IsClientError returns true when this add project metadatas bad request response has a 4xx status code

func (*AddProjectMetadatasBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *AddProjectMetadatasBadRequest) IsRedirect() bool

IsRedirect returns true when this add project metadatas bad request response has a 3xx status code

func (*AddProjectMetadatasBadRequest) IsServerError added in v0.26.2

func (o *AddProjectMetadatasBadRequest) IsServerError() bool

IsServerError returns true when this add project metadatas bad request response has a 5xx status code

func (*AddProjectMetadatasBadRequest) IsSuccess added in v0.26.2

func (o *AddProjectMetadatasBadRequest) IsSuccess() bool

IsSuccess returns true when this add project metadatas bad request response has a 2xx status code

func (*AddProjectMetadatasBadRequest) String added in v0.26.2

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) Error

func (*AddProjectMetadatasConflict) GetPayload

func (o *AddProjectMetadatasConflict) GetPayload() *models.Errors

func (*AddProjectMetadatasConflict) IsClientError added in v0.26.2

func (o *AddProjectMetadatasConflict) IsClientError() bool

IsClientError returns true when this add project metadatas conflict response has a 4xx status code

func (*AddProjectMetadatasConflict) IsCode added in v0.26.2

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 added in v0.26.2

func (o *AddProjectMetadatasConflict) IsRedirect() bool

IsRedirect returns true when this add project metadatas conflict response has a 3xx status code

func (*AddProjectMetadatasConflict) IsServerError added in v0.26.2

func (o *AddProjectMetadatasConflict) IsServerError() bool

IsServerError returns true when this add project metadatas conflict response has a 5xx status code

func (*AddProjectMetadatasConflict) IsSuccess added in v0.26.2

func (o *AddProjectMetadatasConflict) IsSuccess() bool

IsSuccess returns true when this add project metadatas conflict response has a 2xx status code

func (*AddProjectMetadatasConflict) String added in v0.26.2

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) Error

func (*AddProjectMetadatasForbidden) GetPayload

func (o *AddProjectMetadatasForbidden) GetPayload() *models.Errors

func (*AddProjectMetadatasForbidden) IsClientError added in v0.26.2

func (o *AddProjectMetadatasForbidden) IsClientError() bool

IsClientError returns true when this add project metadatas forbidden response has a 4xx status code

func (*AddProjectMetadatasForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *AddProjectMetadatasForbidden) IsRedirect() bool

IsRedirect returns true when this add project metadatas forbidden response has a 3xx status code

func (*AddProjectMetadatasForbidden) IsServerError added in v0.26.2

func (o *AddProjectMetadatasForbidden) IsServerError() bool

IsServerError returns true when this add project metadatas forbidden response has a 5xx status code

func (*AddProjectMetadatasForbidden) IsSuccess added in v0.26.2

func (o *AddProjectMetadatasForbidden) IsSuccess() bool

IsSuccess returns true when this add project metadatas forbidden response has a 2xx status code

func (*AddProjectMetadatasForbidden) String added in v0.26.2

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) Error

func (*AddProjectMetadatasInternalServerError) GetPayload

func (*AddProjectMetadatasInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this add project metadatas internal server error response a status code equal to that given

func (*AddProjectMetadatasInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this add project metadatas internal server error response has a 3xx status code

func (*AddProjectMetadatasInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this add project metadatas internal server error response has a 2xx status code

func (*AddProjectMetadatasInternalServerError) String added in v0.26.2

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) Error

func (*AddProjectMetadatasNotFound) GetPayload

func (o *AddProjectMetadatasNotFound) GetPayload() *models.Errors

func (*AddProjectMetadatasNotFound) IsClientError added in v0.26.2

func (o *AddProjectMetadatasNotFound) IsClientError() bool

IsClientError returns true when this add project metadatas not found response has a 4xx status code

func (*AddProjectMetadatasNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *AddProjectMetadatasNotFound) IsRedirect() bool

IsRedirect returns true when this add project metadatas not found response has a 3xx status code

func (*AddProjectMetadatasNotFound) IsServerError added in v0.26.2

func (o *AddProjectMetadatasNotFound) IsServerError() bool

IsServerError returns true when this add project metadatas not found response has a 5xx status code

func (*AddProjectMetadatasNotFound) IsSuccess added in v0.26.2

func (o *AddProjectMetadatasNotFound) IsSuccess() bool

IsSuccess returns true when this add project metadatas not found response has a 2xx status code

func (*AddProjectMetadatasNotFound) String added in v0.26.2

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) Error

func (o *AddProjectMetadatasOK) Error() string

func (*AddProjectMetadatasOK) IsClientError added in v0.26.2

func (o *AddProjectMetadatasOK) IsClientError() bool

IsClientError returns true when this add project metadatas o k response has a 4xx status code

func (*AddProjectMetadatasOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *AddProjectMetadatasOK) IsRedirect() bool

IsRedirect returns true when this add project metadatas o k response has a 3xx status code

func (*AddProjectMetadatasOK) IsServerError added in v0.26.2

func (o *AddProjectMetadatasOK) IsServerError() bool

IsServerError returns true when this add project metadatas o k response has a 5xx status code

func (*AddProjectMetadatasOK) IsSuccess added in v0.26.2

func (o *AddProjectMetadatasOK) IsSuccess() bool

IsSuccess returns true when this add project metadatas o k response has a 2xx status code

func (*AddProjectMetadatasOK) String added in v0.26.2

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

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	// Metadata.
	Metadata map[string]string

	/* ProjectNameOrID.

	   The name or id of the project
	*/
	ProjectNameOrID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

WithContext adds the context to the add project metadatas params

func (*AddProjectMetadatasParams) WithDefaults

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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) Error

func (*AddProjectMetadatasUnauthorized) GetPayload

func (*AddProjectMetadatasUnauthorized) IsClientError added in v0.26.2

func (o *AddProjectMetadatasUnauthorized) IsClientError() bool

IsClientError returns true when this add project metadatas unauthorized response has a 4xx status code

func (*AddProjectMetadatasUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *AddProjectMetadatasUnauthorized) IsRedirect() bool

IsRedirect returns true when this add project metadatas unauthorized response has a 3xx status code

func (*AddProjectMetadatasUnauthorized) IsServerError added in v0.26.2

func (o *AddProjectMetadatasUnauthorized) IsServerError() bool

IsServerError returns true when this add project metadatas unauthorized response has a 5xx status code

func (*AddProjectMetadatasUnauthorized) IsSuccess added in v0.26.2

func (o *AddProjectMetadatasUnauthorized) IsSuccess() bool

IsSuccess returns true when this add project metadatas unauthorized response has a 2xx status code

func (*AddProjectMetadatasUnauthorized) String added in v0.26.2

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) Error

func (*DeleteProjectMetadataBadRequest) GetPayload

func (*DeleteProjectMetadataBadRequest) IsClientError added in v0.26.2

func (o *DeleteProjectMetadataBadRequest) IsClientError() bool

IsClientError returns true when this delete project metadata bad request response has a 4xx status code

func (*DeleteProjectMetadataBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMetadataBadRequest) IsRedirect() bool

IsRedirect returns true when this delete project metadata bad request response has a 3xx status code

func (*DeleteProjectMetadataBadRequest) IsServerError added in v0.26.2

func (o *DeleteProjectMetadataBadRequest) IsServerError() bool

IsServerError returns true when this delete project metadata bad request response has a 5xx status code

func (*DeleteProjectMetadataBadRequest) IsSuccess added in v0.26.2

func (o *DeleteProjectMetadataBadRequest) IsSuccess() bool

IsSuccess returns true when this delete project metadata bad request response has a 2xx status code

func (*DeleteProjectMetadataBadRequest) String added in v0.26.2

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) Error

func (*DeleteProjectMetadataConflict) GetPayload

func (o *DeleteProjectMetadataConflict) GetPayload() *models.Errors

func (*DeleteProjectMetadataConflict) IsClientError added in v0.26.2

func (o *DeleteProjectMetadataConflict) IsClientError() bool

IsClientError returns true when this delete project metadata conflict response has a 4xx status code

func (*DeleteProjectMetadataConflict) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMetadataConflict) IsRedirect() bool

IsRedirect returns true when this delete project metadata conflict response has a 3xx status code

func (*DeleteProjectMetadataConflict) IsServerError added in v0.26.2

func (o *DeleteProjectMetadataConflict) IsServerError() bool

IsServerError returns true when this delete project metadata conflict response has a 5xx status code

func (*DeleteProjectMetadataConflict) IsSuccess added in v0.26.2

func (o *DeleteProjectMetadataConflict) IsSuccess() bool

IsSuccess returns true when this delete project metadata conflict response has a 2xx status code

func (*DeleteProjectMetadataConflict) String added in v0.26.2

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) Error

func (*DeleteProjectMetadataForbidden) GetPayload

func (o *DeleteProjectMetadataForbidden) GetPayload() *models.Errors

func (*DeleteProjectMetadataForbidden) IsClientError added in v0.26.2

func (o *DeleteProjectMetadataForbidden) IsClientError() bool

IsClientError returns true when this delete project metadata forbidden response has a 4xx status code

func (*DeleteProjectMetadataForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMetadataForbidden) IsRedirect() bool

IsRedirect returns true when this delete project metadata forbidden response has a 3xx status code

func (*DeleteProjectMetadataForbidden) IsServerError added in v0.26.2

func (o *DeleteProjectMetadataForbidden) IsServerError() bool

IsServerError returns true when this delete project metadata forbidden response has a 5xx status code

func (*DeleteProjectMetadataForbidden) IsSuccess added in v0.26.2

func (o *DeleteProjectMetadataForbidden) IsSuccess() bool

IsSuccess returns true when this delete project metadata forbidden response has a 2xx status code

func (*DeleteProjectMetadataForbidden) String added in v0.26.2

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) Error

func (*DeleteProjectMetadataInternalServerError) GetPayload

func (*DeleteProjectMetadataInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this delete project metadata internal server error response has a 4xx status code

func (*DeleteProjectMetadataInternalServerError) IsCode added in v0.26.2

IsCode returns true when this delete project metadata internal server error response a status code equal to that given

func (*DeleteProjectMetadataInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this delete project metadata internal server error response has a 3xx status code

func (*DeleteProjectMetadataInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this delete project metadata internal server error response has a 5xx status code

func (*DeleteProjectMetadataInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this delete project metadata internal server error response has a 2xx status code

func (*DeleteProjectMetadataInternalServerError) String added in v0.26.2

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) Error

func (*DeleteProjectMetadataNotFound) GetPayload

func (o *DeleteProjectMetadataNotFound) GetPayload() *models.Errors

func (*DeleteProjectMetadataNotFound) IsClientError added in v0.26.2

func (o *DeleteProjectMetadataNotFound) IsClientError() bool

IsClientError returns true when this delete project metadata not found response has a 4xx status code

func (*DeleteProjectMetadataNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMetadataNotFound) IsRedirect() bool

IsRedirect returns true when this delete project metadata not found response has a 3xx status code

func (*DeleteProjectMetadataNotFound) IsServerError added in v0.26.2

func (o *DeleteProjectMetadataNotFound) IsServerError() bool

IsServerError returns true when this delete project metadata not found response has a 5xx status code

func (*DeleteProjectMetadataNotFound) IsSuccess added in v0.26.2

func (o *DeleteProjectMetadataNotFound) IsSuccess() bool

IsSuccess returns true when this delete project metadata not found response has a 2xx status code

func (*DeleteProjectMetadataNotFound) String added in v0.26.2

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) Error

func (o *DeleteProjectMetadataOK) Error() string

func (*DeleteProjectMetadataOK) IsClientError added in v0.26.2

func (o *DeleteProjectMetadataOK) IsClientError() bool

IsClientError returns true when this delete project metadata o k response has a 4xx status code

func (*DeleteProjectMetadataOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMetadataOK) IsRedirect() bool

IsRedirect returns true when this delete project metadata o k response has a 3xx status code

func (*DeleteProjectMetadataOK) IsServerError added in v0.26.2

func (o *DeleteProjectMetadataOK) IsServerError() bool

IsServerError returns true when this delete project metadata o k response has a 5xx status code

func (*DeleteProjectMetadataOK) IsSuccess added in v0.26.2

func (o *DeleteProjectMetadataOK) IsSuccess() bool

IsSuccess returns true when this delete project metadata o k response has a 2xx status code

func (*DeleteProjectMetadataOK) String added in v0.26.2

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

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* MetaName.

	   The name of metadata.
	*/
	MetaName string

	/* ProjectNameOrID.

	   The name or id of the project
	*/
	ProjectNameOrID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

WithContext adds the context to the delete project metadata params

func (*DeleteProjectMetadataParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete project metadata params

func (*DeleteProjectMetadataParams) WithMetaName

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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) Error

func (*DeleteProjectMetadataUnauthorized) GetPayload

func (*DeleteProjectMetadataUnauthorized) IsClientError added in v0.26.2

func (o *DeleteProjectMetadataUnauthorized) IsClientError() bool

IsClientError returns true when this delete project metadata unauthorized response has a 4xx status code

func (*DeleteProjectMetadataUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMetadataUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete project metadata unauthorized response has a 3xx status code

func (*DeleteProjectMetadataUnauthorized) IsServerError added in v0.26.2

func (o *DeleteProjectMetadataUnauthorized) IsServerError() bool

IsServerError returns true when this delete project metadata unauthorized response has a 5xx status code

func (*DeleteProjectMetadataUnauthorized) IsSuccess added in v0.26.2

func (o *DeleteProjectMetadataUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete project metadata unauthorized response has a 2xx status code

func (*DeleteProjectMetadataUnauthorized) String added in v0.26.2

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) Error

func (*GetProjectMetadataBadRequest) GetPayload

func (o *GetProjectMetadataBadRequest) GetPayload() *models.Errors

func (*GetProjectMetadataBadRequest) IsClientError added in v0.26.2

func (o *GetProjectMetadataBadRequest) IsClientError() bool

IsClientError returns true when this get project metadata bad request response has a 4xx status code

func (*GetProjectMetadataBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMetadataBadRequest) IsRedirect() bool

IsRedirect returns true when this get project metadata bad request response has a 3xx status code

func (*GetProjectMetadataBadRequest) IsServerError added in v0.26.2

func (o *GetProjectMetadataBadRequest) IsServerError() bool

IsServerError returns true when this get project metadata bad request response has a 5xx status code

func (*GetProjectMetadataBadRequest) IsSuccess added in v0.26.2

func (o *GetProjectMetadataBadRequest) IsSuccess() bool

IsSuccess returns true when this get project metadata bad request response has a 2xx status code

func (*GetProjectMetadataBadRequest) String added in v0.26.2

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) Error

func (*GetProjectMetadataForbidden) GetPayload

func (o *GetProjectMetadataForbidden) GetPayload() *models.Errors

func (*GetProjectMetadataForbidden) IsClientError added in v0.26.2

func (o *GetProjectMetadataForbidden) IsClientError() bool

IsClientError returns true when this get project metadata forbidden response has a 4xx status code

func (*GetProjectMetadataForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMetadataForbidden) IsRedirect() bool

IsRedirect returns true when this get project metadata forbidden response has a 3xx status code

func (*GetProjectMetadataForbidden) IsServerError added in v0.26.2

func (o *GetProjectMetadataForbidden) IsServerError() bool

IsServerError returns true when this get project metadata forbidden response has a 5xx status code

func (*GetProjectMetadataForbidden) IsSuccess added in v0.26.2

func (o *GetProjectMetadataForbidden) IsSuccess() bool

IsSuccess returns true when this get project metadata forbidden response has a 2xx status code

func (*GetProjectMetadataForbidden) String added in v0.26.2

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) Error

func (*GetProjectMetadataInternalServerError) GetPayload

func (*GetProjectMetadataInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this get project metadata internal server error response a status code equal to that given

func (*GetProjectMetadataInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this get project metadata internal server error response has a 3xx status code

func (*GetProjectMetadataInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this get project metadata internal server error response has a 2xx status code

func (*GetProjectMetadataInternalServerError) String added in v0.26.2

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) Error

func (*GetProjectMetadataNotFound) GetPayload

func (o *GetProjectMetadataNotFound) GetPayload() *models.Errors

func (*GetProjectMetadataNotFound) IsClientError added in v0.26.2

func (o *GetProjectMetadataNotFound) IsClientError() bool

IsClientError returns true when this get project metadata not found response has a 4xx status code

func (*GetProjectMetadataNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMetadataNotFound) IsRedirect() bool

IsRedirect returns true when this get project metadata not found response has a 3xx status code

func (*GetProjectMetadataNotFound) IsServerError added in v0.26.2

func (o *GetProjectMetadataNotFound) IsServerError() bool

IsServerError returns true when this get project metadata not found response has a 5xx status code

func (*GetProjectMetadataNotFound) IsSuccess added in v0.26.2

func (o *GetProjectMetadataNotFound) IsSuccess() bool

IsSuccess returns true when this get project metadata not found response has a 2xx status code

func (*GetProjectMetadataNotFound) String added in v0.26.2

func (o *GetProjectMetadataNotFound) String() string

type GetProjectMetadataOK

type GetProjectMetadataOK struct {
	Payload map[string]string
}

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) Error

func (o *GetProjectMetadataOK) Error() string

func (*GetProjectMetadataOK) GetPayload

func (o *GetProjectMetadataOK) GetPayload() map[string]string

func (*GetProjectMetadataOK) IsClientError added in v0.26.2

func (o *GetProjectMetadataOK) IsClientError() bool

IsClientError returns true when this get project metadata o k response has a 4xx status code

func (*GetProjectMetadataOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMetadataOK) IsRedirect() bool

IsRedirect returns true when this get project metadata o k response has a 3xx status code

func (*GetProjectMetadataOK) IsServerError added in v0.26.2

func (o *GetProjectMetadataOK) IsServerError() bool

IsServerError returns true when this get project metadata o k response has a 5xx status code

func (*GetProjectMetadataOK) IsSuccess added in v0.26.2

func (o *GetProjectMetadataOK) IsSuccess() bool

IsSuccess returns true when this get project metadata o k response has a 2xx status code

func (*GetProjectMetadataOK) String added in v0.26.2

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

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* MetaName.

	   The name of metadata.
	*/
	MetaName string

	/* ProjectNameOrID.

	   The name or id of the project
	*/
	ProjectNameOrID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

WithContext adds the context to the get project metadata params

func (*GetProjectMetadataParams) WithDefaults

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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) Error

func (*GetProjectMetadataUnauthorized) GetPayload

func (o *GetProjectMetadataUnauthorized) GetPayload() *models.Errors

func (*GetProjectMetadataUnauthorized) IsClientError added in v0.26.2

func (o *GetProjectMetadataUnauthorized) IsClientError() bool

IsClientError returns true when this get project metadata unauthorized response has a 4xx status code

func (*GetProjectMetadataUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMetadataUnauthorized) IsRedirect() bool

IsRedirect returns true when this get project metadata unauthorized response has a 3xx status code

func (*GetProjectMetadataUnauthorized) IsServerError added in v0.26.2

func (o *GetProjectMetadataUnauthorized) IsServerError() bool

IsServerError returns true when this get project metadata unauthorized response has a 5xx status code

func (*GetProjectMetadataUnauthorized) IsSuccess added in v0.26.2

func (o *GetProjectMetadataUnauthorized) IsSuccess() bool

IsSuccess returns true when this get project metadata unauthorized response has a 2xx status code

func (*GetProjectMetadataUnauthorized) String added in v0.26.2

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) Error

func (*ListProjectMetadatasBadRequest) GetPayload

func (o *ListProjectMetadatasBadRequest) GetPayload() *models.Errors

func (*ListProjectMetadatasBadRequest) IsClientError added in v0.26.2

func (o *ListProjectMetadatasBadRequest) IsClientError() bool

IsClientError returns true when this list project metadatas bad request response has a 4xx status code

func (*ListProjectMetadatasBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMetadatasBadRequest) IsRedirect() bool

IsRedirect returns true when this list project metadatas bad request response has a 3xx status code

func (*ListProjectMetadatasBadRequest) IsServerError added in v0.26.2

func (o *ListProjectMetadatasBadRequest) IsServerError() bool

IsServerError returns true when this list project metadatas bad request response has a 5xx status code

func (*ListProjectMetadatasBadRequest) IsSuccess added in v0.26.2

func (o *ListProjectMetadatasBadRequest) IsSuccess() bool

IsSuccess returns true when this list project metadatas bad request response has a 2xx status code

func (*ListProjectMetadatasBadRequest) String added in v0.26.2

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) Error

func (*ListProjectMetadatasForbidden) GetPayload

func (o *ListProjectMetadatasForbidden) GetPayload() *models.Errors

func (*ListProjectMetadatasForbidden) IsClientError added in v0.26.2

func (o *ListProjectMetadatasForbidden) IsClientError() bool

IsClientError returns true when this list project metadatas forbidden response has a 4xx status code

func (*ListProjectMetadatasForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMetadatasForbidden) IsRedirect() bool

IsRedirect returns true when this list project metadatas forbidden response has a 3xx status code

func (*ListProjectMetadatasForbidden) IsServerError added in v0.26.2

func (o *ListProjectMetadatasForbidden) IsServerError() bool

IsServerError returns true when this list project metadatas forbidden response has a 5xx status code

func (*ListProjectMetadatasForbidden) IsSuccess added in v0.26.2

func (o *ListProjectMetadatasForbidden) IsSuccess() bool

IsSuccess returns true when this list project metadatas forbidden response has a 2xx status code

func (*ListProjectMetadatasForbidden) String added in v0.26.2

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) Error

func (*ListProjectMetadatasInternalServerError) GetPayload

func (*ListProjectMetadatasInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this list project metadatas internal server error response a status code equal to that given

func (*ListProjectMetadatasInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this list project metadatas internal server error response has a 3xx status code

func (*ListProjectMetadatasInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this list project metadatas internal server error response has a 2xx status code

func (*ListProjectMetadatasInternalServerError) String added in v0.26.2

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) Error

func (*ListProjectMetadatasNotFound) GetPayload

func (o *ListProjectMetadatasNotFound) GetPayload() *models.Errors

func (*ListProjectMetadatasNotFound) IsClientError added in v0.26.2

func (o *ListProjectMetadatasNotFound) IsClientError() bool

IsClientError returns true when this list project metadatas not found response has a 4xx status code

func (*ListProjectMetadatasNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMetadatasNotFound) IsRedirect() bool

IsRedirect returns true when this list project metadatas not found response has a 3xx status code

func (*ListProjectMetadatasNotFound) IsServerError added in v0.26.2

func (o *ListProjectMetadatasNotFound) IsServerError() bool

IsServerError returns true when this list project metadatas not found response has a 5xx status code

func (*ListProjectMetadatasNotFound) IsSuccess added in v0.26.2

func (o *ListProjectMetadatasNotFound) IsSuccess() bool

IsSuccess returns true when this list project metadatas not found response has a 2xx status code

func (*ListProjectMetadatasNotFound) String added in v0.26.2

type ListProjectMetadatasOK

type ListProjectMetadatasOK struct {
	Payload map[string]string
}

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) Error

func (o *ListProjectMetadatasOK) Error() string

func (*ListProjectMetadatasOK) GetPayload

func (o *ListProjectMetadatasOK) GetPayload() map[string]string

func (*ListProjectMetadatasOK) IsClientError added in v0.26.2

func (o *ListProjectMetadatasOK) IsClientError() bool

IsClientError returns true when this list project metadatas o k response has a 4xx status code

func (*ListProjectMetadatasOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMetadatasOK) IsRedirect() bool

IsRedirect returns true when this list project metadatas o k response has a 3xx status code

func (*ListProjectMetadatasOK) IsServerError added in v0.26.2

func (o *ListProjectMetadatasOK) IsServerError() bool

IsServerError returns true when this list project metadatas o k response has a 5xx status code

func (*ListProjectMetadatasOK) IsSuccess added in v0.26.2

func (o *ListProjectMetadatasOK) IsSuccess() bool

IsSuccess returns true when this list project metadatas o k response has a 2xx status code

func (*ListProjectMetadatasOK) String added in v0.26.2

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

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ProjectNameOrID.

	   The name or id of the project
	*/
	ProjectNameOrID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

WithContext adds the context to the list project metadatas params

func (*ListProjectMetadatasParams) WithDefaults

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

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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) Error

func (*ListProjectMetadatasUnauthorized) GetPayload

func (*ListProjectMetadatasUnauthorized) IsClientError added in v0.26.2

func (o *ListProjectMetadatasUnauthorized) IsClientError() bool

IsClientError returns true when this list project metadatas unauthorized response has a 4xx status code

func (*ListProjectMetadatasUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMetadatasUnauthorized) IsRedirect() bool

IsRedirect returns true when this list project metadatas unauthorized response has a 3xx status code

func (*ListProjectMetadatasUnauthorized) IsServerError added in v0.26.2

func (o *ListProjectMetadatasUnauthorized) IsServerError() bool

IsServerError returns true when this list project metadatas unauthorized response has a 5xx status code

func (*ListProjectMetadatasUnauthorized) IsSuccess added in v0.26.2

func (o *ListProjectMetadatasUnauthorized) IsSuccess() bool

IsSuccess returns true when this list project metadatas unauthorized response has a 2xx status code

func (*ListProjectMetadatasUnauthorized) String added in v0.26.2

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) Error

func (*UpdateProjectMetadataBadRequest) GetPayload

func (*UpdateProjectMetadataBadRequest) IsClientError added in v0.26.2

func (o *UpdateProjectMetadataBadRequest) IsClientError() bool

IsClientError returns true when this update project metadata bad request response has a 4xx status code

func (*UpdateProjectMetadataBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMetadataBadRequest) IsRedirect() bool

IsRedirect returns true when this update project metadata bad request response has a 3xx status code

func (*UpdateProjectMetadataBadRequest) IsServerError added in v0.26.2

func (o *UpdateProjectMetadataBadRequest) IsServerError() bool

IsServerError returns true when this update project metadata bad request response has a 5xx status code

func (*UpdateProjectMetadataBadRequest) IsSuccess added in v0.26.2

func (o *UpdateProjectMetadataBadRequest) IsSuccess() bool

IsSuccess returns true when this update project metadata bad request response has a 2xx status code

func (*UpdateProjectMetadataBadRequest) String added in v0.26.2

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) Error

func (*UpdateProjectMetadataConflict) GetPayload

func (o *UpdateProjectMetadataConflict) GetPayload() *models.Errors

func (*UpdateProjectMetadataConflict) IsClientError added in v0.26.2

func (o *UpdateProjectMetadataConflict) IsClientError() bool

IsClientError returns true when this update project metadata conflict response has a 4xx status code

func (*UpdateProjectMetadataConflict) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMetadataConflict) IsRedirect() bool

IsRedirect returns true when this update project metadata conflict response has a 3xx status code

func (*UpdateProjectMetadataConflict) IsServerError added in v0.26.2

func (o *UpdateProjectMetadataConflict) IsServerError() bool

IsServerError returns true when this update project metadata conflict response has a 5xx status code

func (*UpdateProjectMetadataConflict) IsSuccess added in v0.26.2

func (o *UpdateProjectMetadataConflict) IsSuccess() bool

IsSuccess returns true when this update project metadata conflict response has a 2xx status code

func (*UpdateProjectMetadataConflict) String added in v0.26.2

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) Error

func (*UpdateProjectMetadataForbidden) GetPayload

func (o *UpdateProjectMetadataForbidden) GetPayload() *models.Errors

func (*UpdateProjectMetadataForbidden) IsClientError added in v0.26.2

func (o *UpdateProjectMetadataForbidden) IsClientError() bool

IsClientError returns true when this update project metadata forbidden response has a 4xx status code

func (*UpdateProjectMetadataForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMetadataForbidden) IsRedirect() bool

IsRedirect returns true when this update project metadata forbidden response has a 3xx status code

func (*UpdateProjectMetadataForbidden) IsServerError added in v0.26.2

func (o *UpdateProjectMetadataForbidden) IsServerError() bool

IsServerError returns true when this update project metadata forbidden response has a 5xx status code

func (*UpdateProjectMetadataForbidden) IsSuccess added in v0.26.2

func (o *UpdateProjectMetadataForbidden) IsSuccess() bool

IsSuccess returns true when this update project metadata forbidden response has a 2xx status code

func (*UpdateProjectMetadataForbidden) String added in v0.26.2

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) Error

func (*UpdateProjectMetadataInternalServerError) GetPayload

func (*UpdateProjectMetadataInternalServerError) IsClientError added in v0.26.2

IsClientError returns true when this update project metadata internal server error response has a 4xx status code

func (*UpdateProjectMetadataInternalServerError) IsCode added in v0.26.2

IsCode returns true when this update project metadata internal server error response a status code equal to that given

func (*UpdateProjectMetadataInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this update project metadata internal server error response has a 3xx status code

func (*UpdateProjectMetadataInternalServerError) IsServerError added in v0.26.2

IsServerError returns true when this update project metadata internal server error response has a 5xx status code

func (*UpdateProjectMetadataInternalServerError) IsSuccess added in v0.26.2

IsSuccess returns true when this update project metadata internal server error response has a 2xx status code

func (*UpdateProjectMetadataInternalServerError) String added in v0.26.2

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) Error

func (*UpdateProjectMetadataNotFound) GetPayload

func (o *UpdateProjectMetadataNotFound) GetPayload() *models.Errors

func (*UpdateProjectMetadataNotFound) IsClientError added in v0.26.2

func (o *UpdateProjectMetadataNotFound) IsClientError() bool

IsClientError returns true when this update project metadata not found response has a 4xx status code

func (*UpdateProjectMetadataNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMetadataNotFound) IsRedirect() bool

IsRedirect returns true when this update project metadata not found response has a 3xx status code

func (*UpdateProjectMetadataNotFound) IsServerError added in v0.26.2

func (o *UpdateProjectMetadataNotFound) IsServerError() bool

IsServerError returns true when this update project metadata not found response has a 5xx status code

func (*UpdateProjectMetadataNotFound) IsSuccess added in v0.26.2

func (o *UpdateProjectMetadataNotFound) IsSuccess() bool

IsSuccess returns true when this update project metadata not found response has a 2xx status code

func (*UpdateProjectMetadataNotFound) String added in v0.26.2

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) Error

func (o *UpdateProjectMetadataOK) Error() string

func (*UpdateProjectMetadataOK) IsClientError added in v0.26.2

func (o *UpdateProjectMetadataOK) IsClientError() bool

IsClientError returns true when this update project metadata o k response has a 4xx status code

func (*UpdateProjectMetadataOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMetadataOK) IsRedirect() bool

IsRedirect returns true when this update project metadata o k response has a 3xx status code

func (*UpdateProjectMetadataOK) IsServerError added in v0.26.2

func (o *UpdateProjectMetadataOK) IsServerError() bool

IsServerError returns true when this update project metadata o k response has a 5xx status code

func (*UpdateProjectMetadataOK) IsSuccess added in v0.26.2

func (o *UpdateProjectMetadataOK) IsSuccess() bool

IsSuccess returns true when this update project metadata o k response has a 2xx status code

func (*UpdateProjectMetadataOK) String added in v0.26.2

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

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* MetaName.

	   The name of metadata.
	*/
	MetaName string

	// Metadata.
	Metadata map[string]string

	/* ProjectNameOrID.

	   The name or id of the project
	*/
	ProjectNameOrID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

WithContext adds the context to the update project metadata params

func (*UpdateProjectMetadataParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update project metadata params

func (*UpdateProjectMetadataParams) WithMetaName

WithMetaName adds the metaName to the update project metadata params

func (*UpdateProjectMetadataParams) WithMetadata

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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) Error

func (*UpdateProjectMetadataUnauthorized) GetPayload

func (*UpdateProjectMetadataUnauthorized) IsClientError added in v0.26.2

func (o *UpdateProjectMetadataUnauthorized) IsClientError() bool

IsClientError returns true when this update project metadata unauthorized response has a 4xx status code

func (*UpdateProjectMetadataUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMetadataUnauthorized) IsRedirect() bool

IsRedirect returns true when this update project metadata unauthorized response has a 3xx status code

func (*UpdateProjectMetadataUnauthorized) IsServerError added in v0.26.2

func (o *UpdateProjectMetadataUnauthorized) IsServerError() bool

IsServerError returns true when this update project metadata unauthorized response has a 5xx status code

func (*UpdateProjectMetadataUnauthorized) IsSuccess added in v0.26.2

func (o *UpdateProjectMetadataUnauthorized) IsSuccess() bool

IsSuccess returns true when this update project metadata unauthorized response has a 2xx status code

func (*UpdateProjectMetadataUnauthorized) String added in v0.26.2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL