Documentation ¶
Index ¶
- type AddProjectMetadatasBadRequest
- type AddProjectMetadatasConflict
- type AddProjectMetadatasForbidden
- type AddProjectMetadatasInternalServerError
- type AddProjectMetadatasNotFound
- type AddProjectMetadatasOK
- type AddProjectMetadatasParams
- func NewAddProjectMetadatasParams() *AddProjectMetadatasParams
- func NewAddProjectMetadatasParamsWithContext(ctx context.Context) *AddProjectMetadatasParams
- func NewAddProjectMetadatasParamsWithHTTPClient(client *http.Client) *AddProjectMetadatasParams
- func NewAddProjectMetadatasParamsWithTimeout(timeout time.Duration) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) SetContext(ctx context.Context)
- func (o *AddProjectMetadatasParams) SetHTTPClient(client *http.Client)
- func (o *AddProjectMetadatasParams) SetMetadata(metadata map[string]string)
- func (o *AddProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
- func (o *AddProjectMetadatasParams) SetTimeout(timeout time.Duration)
- func (o *AddProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *AddProjectMetadatasParams) SetXRequestID(xRequestID *string)
- func (o *AddProjectMetadatasParams) WithContext(ctx context.Context) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithHTTPClient(client *http.Client) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithMetadata(metadata map[string]string) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithTimeout(timeout time.Duration) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WithXRequestID(xRequestID *string) *AddProjectMetadatasParams
- func (o *AddProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProjectMetadatasReader
- type AddProjectMetadatasUnauthorized
- type Client
- func (a *Client) AddProjectMetadatas(params *AddProjectMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*AddProjectMetadatasOK, error)
- func (a *Client) DeleteProjectMetadata(params *DeleteProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectMetadataOK, error)
- func (a *Client) GetProjectMetadata(params *GetProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectMetadataOK, error)
- func (a *Client) ListProjectMetadatas(params *ListProjectMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectMetadatasOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateProjectMetadata(params *UpdateProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectMetadataOK, error)
- type ClientService
- type DeleteProjectMetadataBadRequest
- type DeleteProjectMetadataConflict
- type DeleteProjectMetadataForbidden
- type DeleteProjectMetadataInternalServerError
- type DeleteProjectMetadataNotFound
- type DeleteProjectMetadataOK
- type DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParams() *DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParamsWithContext(ctx context.Context) *DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParamsWithHTTPClient(client *http.Client) *DeleteProjectMetadataParams
- func NewDeleteProjectMetadataParamsWithTimeout(timeout time.Duration) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) SetContext(ctx context.Context)
- func (o *DeleteProjectMetadataParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectMetadataParams) SetMetaName(metaName string)
- func (o *DeleteProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
- func (o *DeleteProjectMetadataParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *DeleteProjectMetadataParams) SetXRequestID(xRequestID *string)
- func (o *DeleteProjectMetadataParams) WithContext(ctx context.Context) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithHTTPClient(client *http.Client) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithMetaName(metaName string) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithTimeout(timeout time.Duration) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WithXRequestID(xRequestID *string) *DeleteProjectMetadataParams
- func (o *DeleteProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectMetadataReader
- type DeleteProjectMetadataUnauthorized
- type GetProjectMetadataBadRequest
- type GetProjectMetadataForbidden
- type GetProjectMetadataInternalServerError
- type GetProjectMetadataNotFound
- type GetProjectMetadataOK
- type GetProjectMetadataParams
- func NewGetProjectMetadataParams() *GetProjectMetadataParams
- func NewGetProjectMetadataParamsWithContext(ctx context.Context) *GetProjectMetadataParams
- func NewGetProjectMetadataParamsWithHTTPClient(client *http.Client) *GetProjectMetadataParams
- func NewGetProjectMetadataParamsWithTimeout(timeout time.Duration) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) SetContext(ctx context.Context)
- func (o *GetProjectMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectMetadataParams) SetMetaName(metaName string)
- func (o *GetProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetProjectMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetProjectMetadataParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectMetadataParams) WithContext(ctx context.Context) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithHTTPClient(client *http.Client) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithMetaName(metaName string) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithTimeout(timeout time.Duration) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WithXRequestID(xRequestID *string) *GetProjectMetadataParams
- func (o *GetProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectMetadataReader
- type GetProjectMetadataUnauthorized
- type ListProjectMetadatasBadRequest
- type ListProjectMetadatasForbidden
- type ListProjectMetadatasInternalServerError
- type ListProjectMetadatasNotFound
- type ListProjectMetadatasOK
- type ListProjectMetadatasParams
- func NewListProjectMetadatasParams() *ListProjectMetadatasParams
- func NewListProjectMetadatasParamsWithContext(ctx context.Context) *ListProjectMetadatasParams
- func NewListProjectMetadatasParamsWithHTTPClient(client *http.Client) *ListProjectMetadatasParams
- func NewListProjectMetadatasParamsWithTimeout(timeout time.Duration) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) SetContext(ctx context.Context)
- func (o *ListProjectMetadatasParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListProjectMetadatasParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListProjectMetadatasParams) SetXRequestID(xRequestID *string)
- func (o *ListProjectMetadatasParams) WithContext(ctx context.Context) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithHTTPClient(client *http.Client) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithTimeout(timeout time.Duration) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WithXRequestID(xRequestID *string) *ListProjectMetadatasParams
- func (o *ListProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectMetadatasReader
- type ListProjectMetadatasUnauthorized
- type UpdateProjectMetadataBadRequest
- type UpdateProjectMetadataConflict
- type UpdateProjectMetadataForbidden
- type UpdateProjectMetadataInternalServerError
- type UpdateProjectMetadataNotFound
- type UpdateProjectMetadataOK
- type UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParams() *UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParamsWithContext(ctx context.Context) *UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParamsWithHTTPClient(client *http.Client) *UpdateProjectMetadataParams
- func NewUpdateProjectMetadataParamsWithTimeout(timeout time.Duration) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) SetContext(ctx context.Context)
- func (o *UpdateProjectMetadataParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectMetadataParams) SetMetaName(metaName string)
- func (o *UpdateProjectMetadataParams) SetMetadata(metadata map[string]string)
- func (o *UpdateProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
- func (o *UpdateProjectMetadataParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *UpdateProjectMetadataParams) SetXRequestID(xRequestID *string)
- func (o *UpdateProjectMetadataParams) WithContext(ctx context.Context) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithHTTPClient(client *http.Client) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithMetaName(metaName string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithMetadata(metadata map[string]string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithTimeout(timeout time.Duration) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WithXRequestID(xRequestID *string) *UpdateProjectMetadataParams
- func (o *UpdateProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectMetadataReader
- type UpdateProjectMetadataUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddProjectMetadatasBadRequest ¶
type AddProjectMetadatasBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
AddProjectMetadatasBadRequest handles this case with default header values.
Bad request
func NewAddProjectMetadatasBadRequest ¶
func NewAddProjectMetadatasBadRequest() *AddProjectMetadatasBadRequest
NewAddProjectMetadatasBadRequest creates a AddProjectMetadatasBadRequest with default headers values
func (*AddProjectMetadatasBadRequest) Error ¶
func (o *AddProjectMetadatasBadRequest) Error() string
func (*AddProjectMetadatasBadRequest) GetPayload ¶
func (o *AddProjectMetadatasBadRequest) GetPayload() *model.Errors
type AddProjectMetadatasConflict ¶
type AddProjectMetadatasConflict struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
AddProjectMetadatasConflict handles this case with default header values.
Conflict
func NewAddProjectMetadatasConflict ¶
func NewAddProjectMetadatasConflict() *AddProjectMetadatasConflict
NewAddProjectMetadatasConflict creates a AddProjectMetadatasConflict with default headers values
func (*AddProjectMetadatasConflict) Error ¶
func (o *AddProjectMetadatasConflict) Error() string
func (*AddProjectMetadatasConflict) GetPayload ¶
func (o *AddProjectMetadatasConflict) GetPayload() *model.Errors
type AddProjectMetadatasForbidden ¶
type AddProjectMetadatasForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
AddProjectMetadatasForbidden handles this case with default header values.
Forbidden
func NewAddProjectMetadatasForbidden ¶
func NewAddProjectMetadatasForbidden() *AddProjectMetadatasForbidden
NewAddProjectMetadatasForbidden creates a AddProjectMetadatasForbidden with default headers values
func (*AddProjectMetadatasForbidden) Error ¶
func (o *AddProjectMetadatasForbidden) Error() string
func (*AddProjectMetadatasForbidden) GetPayload ¶
func (o *AddProjectMetadatasForbidden) GetPayload() *model.Errors
type AddProjectMetadatasInternalServerError ¶
type AddProjectMetadatasInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
AddProjectMetadatasInternalServerError handles this case with default header values.
Internal server error
func NewAddProjectMetadatasInternalServerError ¶
func NewAddProjectMetadatasInternalServerError() *AddProjectMetadatasInternalServerError
NewAddProjectMetadatasInternalServerError creates a AddProjectMetadatasInternalServerError with default headers values
func (*AddProjectMetadatasInternalServerError) Error ¶
func (o *AddProjectMetadatasInternalServerError) Error() string
func (*AddProjectMetadatasInternalServerError) GetPayload ¶
func (o *AddProjectMetadatasInternalServerError) GetPayload() *model.Errors
type AddProjectMetadatasNotFound ¶
type AddProjectMetadatasNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
AddProjectMetadatasNotFound handles this case with default header values.
Not found
func NewAddProjectMetadatasNotFound ¶
func NewAddProjectMetadatasNotFound() *AddProjectMetadatasNotFound
NewAddProjectMetadatasNotFound creates a AddProjectMetadatasNotFound with default headers values
func (*AddProjectMetadatasNotFound) Error ¶
func (o *AddProjectMetadatasNotFound) Error() string
func (*AddProjectMetadatasNotFound) GetPayload ¶
func (o *AddProjectMetadatasNotFound) GetPayload() *model.Errors
type AddProjectMetadatasOK ¶
type AddProjectMetadatasOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
AddProjectMetadatasOK handles this case 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
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 values initialized.
func NewAddProjectMetadatasParamsWithContext ¶
func NewAddProjectMetadatasParamsWithContext(ctx context.Context) *AddProjectMetadatasParams
NewAddProjectMetadatasParamsWithContext creates a new AddProjectMetadatasParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *AddProjectMetadatasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add project metadatas params
func (*AddProjectMetadatasParams) SetMetadata ¶
func (o *AddProjectMetadatasParams) SetMetadata(metadata map[string]string)
SetMetadata adds the metadata to the add project metadatas params
func (*AddProjectMetadatasParams) SetProjectNameOrID ¶
func (o *AddProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the add project metadatas params
func (*AddProjectMetadatasParams) SetTimeout ¶
func (o *AddProjectMetadatasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add project metadatas params
func (*AddProjectMetadatasParams) SetXIsResourceName ¶
func (o *AddProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the add project metadatas params
func (*AddProjectMetadatasParams) SetXRequestID ¶
func (o *AddProjectMetadatasParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the add project metadatas params
func (*AddProjectMetadatasParams) WithContext ¶
func (o *AddProjectMetadatasParams) WithContext(ctx context.Context) *AddProjectMetadatasParams
WithContext adds the context to the add project metadatas params
func (*AddProjectMetadatasParams) WithHTTPClient ¶
func (o *AddProjectMetadatasParams) WithHTTPClient(client *http.Client) *AddProjectMetadatasParams
WithHTTPClient adds the HTTPClient to the add project metadatas params
func (*AddProjectMetadatasParams) WithMetadata ¶
func (o *AddProjectMetadatasParams) WithMetadata(metadata map[string]string) *AddProjectMetadatasParams
WithMetadata adds the metadata to the add project metadatas params
func (*AddProjectMetadatasParams) WithProjectNameOrID ¶
func (o *AddProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *AddProjectMetadatasParams
WithProjectNameOrID adds the projectNameOrID to the add project metadatas params
func (*AddProjectMetadatasParams) WithTimeout ¶
func (o *AddProjectMetadatasParams) WithTimeout(timeout time.Duration) *AddProjectMetadatasParams
WithTimeout adds the timeout to the add project metadatas params
func (*AddProjectMetadatasParams) WithXIsResourceName ¶
func (o *AddProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *AddProjectMetadatasParams
WithXIsResourceName adds the xIsResourceName to the add project metadatas params
func (*AddProjectMetadatasParams) WithXRequestID ¶
func (o *AddProjectMetadatasParams) WithXRequestID(xRequestID *string) *AddProjectMetadatasParams
WithXRequestID adds the xRequestID to the add project metadatas params
func (*AddProjectMetadatasParams) WriteToRequest ¶
func (o *AddProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddProjectMetadatasReader ¶
type AddProjectMetadatasReader struct {
// contains filtered or unexported fields
}
AddProjectMetadatasReader is a Reader for the AddProjectMetadatas structure.
func (*AddProjectMetadatasReader) ReadResponse ¶
func (o *AddProjectMetadatasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddProjectMetadatasUnauthorized ¶
type AddProjectMetadatasUnauthorized struct { string }XRequestID
AddProjectMetadatasUnauthorized handles this case with default header values.
Unauthorized
func NewAddProjectMetadatasUnauthorized ¶
func NewAddProjectMetadatasUnauthorized() *AddProjectMetadatasUnauthorized
NewAddProjectMetadatasUnauthorized creates a AddProjectMetadatasUnauthorized with default headers values
func (*AddProjectMetadatasUnauthorized) Error ¶
func (o *AddProjectMetadatasUnauthorized) Error() string
func (*AddProjectMetadatasUnauthorized) GetPayload ¶
func (o *AddProjectMetadatasUnauthorized) GetPayload() *model.Errors
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project metadata API
func (*Client) AddProjectMetadatas ¶
func (a *Client) AddProjectMetadatas(params *AddProjectMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*AddProjectMetadatasOK, error)
AddProjectMetadatas adds metadata for the specific project
Add metadata for the specific project
func (*Client) DeleteProjectMetadata ¶
func (a *Client) DeleteProjectMetadata(params *DeleteProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*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(params *GetProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*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(params *ListProjectMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectMetadatasOK, error)
ListProjectMetadatas gets the metadata of the specific project
Get the metadata of the specific project
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateProjectMetadata ¶
func (a *Client) UpdateProjectMetadata(params *UpdateProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectMetadataOK, error)
UpdateProjectMetadata updates the specific metadata for the specific project
Update the specific metadata for the specific project
type ClientService ¶
type ClientService interface { AddProjectMetadatas(params *AddProjectMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*AddProjectMetadatasOK, error) DeleteProjectMetadata(params *DeleteProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectMetadataOK, error) GetProjectMetadata(params *GetProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectMetadataOK, error) ListProjectMetadatas(params *ListProjectMetadatasParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectMetadatasOK, error) UpdateProjectMetadata(params *UpdateProjectMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectMetadataOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new project metadata API client.
type DeleteProjectMetadataBadRequest ¶
type DeleteProjectMetadataBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMetadataBadRequest handles this case with default header values.
Bad request
func NewDeleteProjectMetadataBadRequest ¶
func NewDeleteProjectMetadataBadRequest() *DeleteProjectMetadataBadRequest
NewDeleteProjectMetadataBadRequest creates a DeleteProjectMetadataBadRequest with default headers values
func (*DeleteProjectMetadataBadRequest) Error ¶
func (o *DeleteProjectMetadataBadRequest) Error() string
func (*DeleteProjectMetadataBadRequest) GetPayload ¶
func (o *DeleteProjectMetadataBadRequest) GetPayload() *model.Errors
type DeleteProjectMetadataConflict ¶
type DeleteProjectMetadataConflict struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMetadataConflict handles this case with default header values.
Conflict
func NewDeleteProjectMetadataConflict ¶
func NewDeleteProjectMetadataConflict() *DeleteProjectMetadataConflict
NewDeleteProjectMetadataConflict creates a DeleteProjectMetadataConflict with default headers values
func (*DeleteProjectMetadataConflict) Error ¶
func (o *DeleteProjectMetadataConflict) Error() string
func (*DeleteProjectMetadataConflict) GetPayload ¶
func (o *DeleteProjectMetadataConflict) GetPayload() *model.Errors
type DeleteProjectMetadataForbidden ¶
type DeleteProjectMetadataForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMetadataForbidden handles this case with default header values.
Forbidden
func NewDeleteProjectMetadataForbidden ¶
func NewDeleteProjectMetadataForbidden() *DeleteProjectMetadataForbidden
NewDeleteProjectMetadataForbidden creates a DeleteProjectMetadataForbidden with default headers values
func (*DeleteProjectMetadataForbidden) Error ¶
func (o *DeleteProjectMetadataForbidden) Error() string
func (*DeleteProjectMetadataForbidden) GetPayload ¶
func (o *DeleteProjectMetadataForbidden) GetPayload() *model.Errors
type DeleteProjectMetadataInternalServerError ¶
type DeleteProjectMetadataInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMetadataInternalServerError handles this case with default header values.
Internal server error
func NewDeleteProjectMetadataInternalServerError ¶
func NewDeleteProjectMetadataInternalServerError() *DeleteProjectMetadataInternalServerError
NewDeleteProjectMetadataInternalServerError creates a DeleteProjectMetadataInternalServerError with default headers values
func (*DeleteProjectMetadataInternalServerError) Error ¶
func (o *DeleteProjectMetadataInternalServerError) Error() string
func (*DeleteProjectMetadataInternalServerError) GetPayload ¶
func (o *DeleteProjectMetadataInternalServerError) GetPayload() *model.Errors
type DeleteProjectMetadataNotFound ¶
type DeleteProjectMetadataNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMetadataNotFound handles this case with default header values.
Not found
func NewDeleteProjectMetadataNotFound ¶
func NewDeleteProjectMetadataNotFound() *DeleteProjectMetadataNotFound
NewDeleteProjectMetadataNotFound creates a DeleteProjectMetadataNotFound with default headers values
func (*DeleteProjectMetadataNotFound) Error ¶
func (o *DeleteProjectMetadataNotFound) Error() string
func (*DeleteProjectMetadataNotFound) GetPayload ¶
func (o *DeleteProjectMetadataNotFound) GetPayload() *model.Errors
type DeleteProjectMetadataOK ¶
type DeleteProjectMetadataOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
DeleteProjectMetadataOK handles this case 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
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 values initialized.
func NewDeleteProjectMetadataParamsWithContext ¶
func NewDeleteProjectMetadataParamsWithContext(ctx context.Context) *DeleteProjectMetadataParams
NewDeleteProjectMetadataParamsWithContext creates a new DeleteProjectMetadataParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *DeleteProjectMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project metadata params
func (*DeleteProjectMetadataParams) SetMetaName ¶
func (o *DeleteProjectMetadataParams) SetMetaName(metaName string)
SetMetaName adds the metaName to the delete project metadata params
func (*DeleteProjectMetadataParams) SetProjectNameOrID ¶
func (o *DeleteProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the delete project metadata params
func (*DeleteProjectMetadataParams) SetTimeout ¶
func (o *DeleteProjectMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project metadata params
func (*DeleteProjectMetadataParams) SetXIsResourceName ¶
func (o *DeleteProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the delete project metadata params
func (*DeleteProjectMetadataParams) SetXRequestID ¶
func (o *DeleteProjectMetadataParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete project metadata params
func (*DeleteProjectMetadataParams) WithContext ¶
func (o *DeleteProjectMetadataParams) WithContext(ctx context.Context) *DeleteProjectMetadataParams
WithContext adds the context to the delete project metadata params
func (*DeleteProjectMetadataParams) WithHTTPClient ¶
func (o *DeleteProjectMetadataParams) WithHTTPClient(client *http.Client) *DeleteProjectMetadataParams
WithHTTPClient adds the HTTPClient to the delete project metadata params
func (*DeleteProjectMetadataParams) WithMetaName ¶
func (o *DeleteProjectMetadataParams) WithMetaName(metaName string) *DeleteProjectMetadataParams
WithMetaName adds the metaName to the delete project metadata params
func (*DeleteProjectMetadataParams) WithProjectNameOrID ¶
func (o *DeleteProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectMetadataParams
WithProjectNameOrID adds the projectNameOrID to the delete project metadata params
func (*DeleteProjectMetadataParams) WithTimeout ¶
func (o *DeleteProjectMetadataParams) WithTimeout(timeout time.Duration) *DeleteProjectMetadataParams
WithTimeout adds the timeout to the delete project metadata params
func (*DeleteProjectMetadataParams) WithXIsResourceName ¶
func (o *DeleteProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectMetadataParams
WithXIsResourceName adds the xIsResourceName to the delete project metadata params
func (*DeleteProjectMetadataParams) WithXRequestID ¶
func (o *DeleteProjectMetadataParams) WithXRequestID(xRequestID *string) *DeleteProjectMetadataParams
WithXRequestID adds the xRequestID to the delete project metadata params
func (*DeleteProjectMetadataParams) WriteToRequest ¶
func (o *DeleteProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectMetadataReader ¶
type DeleteProjectMetadataReader struct {
// contains filtered or unexported fields
}
DeleteProjectMetadataReader is a Reader for the DeleteProjectMetadata structure.
func (*DeleteProjectMetadataReader) ReadResponse ¶
func (o *DeleteProjectMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProjectMetadataUnauthorized ¶
type DeleteProjectMetadataUnauthorized struct { string }XRequestID
DeleteProjectMetadataUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteProjectMetadataUnauthorized ¶
func NewDeleteProjectMetadataUnauthorized() *DeleteProjectMetadataUnauthorized
NewDeleteProjectMetadataUnauthorized creates a DeleteProjectMetadataUnauthorized with default headers values
func (*DeleteProjectMetadataUnauthorized) Error ¶
func (o *DeleteProjectMetadataUnauthorized) Error() string
func (*DeleteProjectMetadataUnauthorized) GetPayload ¶
func (o *DeleteProjectMetadataUnauthorized) GetPayload() *model.Errors
type GetProjectMetadataBadRequest ¶
type GetProjectMetadataBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMetadataBadRequest handles this case with default header values.
Bad request
func NewGetProjectMetadataBadRequest ¶
func NewGetProjectMetadataBadRequest() *GetProjectMetadataBadRequest
NewGetProjectMetadataBadRequest creates a GetProjectMetadataBadRequest with default headers values
func (*GetProjectMetadataBadRequest) Error ¶
func (o *GetProjectMetadataBadRequest) Error() string
func (*GetProjectMetadataBadRequest) GetPayload ¶
func (o *GetProjectMetadataBadRequest) GetPayload() *model.Errors
type GetProjectMetadataForbidden ¶
type GetProjectMetadataForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMetadataForbidden handles this case with default header values.
Forbidden
func NewGetProjectMetadataForbidden ¶
func NewGetProjectMetadataForbidden() *GetProjectMetadataForbidden
NewGetProjectMetadataForbidden creates a GetProjectMetadataForbidden with default headers values
func (*GetProjectMetadataForbidden) Error ¶
func (o *GetProjectMetadataForbidden) Error() string
func (*GetProjectMetadataForbidden) GetPayload ¶
func (o *GetProjectMetadataForbidden) GetPayload() *model.Errors
type GetProjectMetadataInternalServerError ¶
type GetProjectMetadataInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMetadataInternalServerError handles this case with default header values.
Internal server error
func NewGetProjectMetadataInternalServerError ¶
func NewGetProjectMetadataInternalServerError() *GetProjectMetadataInternalServerError
NewGetProjectMetadataInternalServerError creates a GetProjectMetadataInternalServerError with default headers values
func (*GetProjectMetadataInternalServerError) Error ¶
func (o *GetProjectMetadataInternalServerError) Error() string
func (*GetProjectMetadataInternalServerError) GetPayload ¶
func (o *GetProjectMetadataInternalServerError) GetPayload() *model.Errors
type GetProjectMetadataNotFound ¶
type GetProjectMetadataNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMetadataNotFound handles this case with default header values.
Not found
func NewGetProjectMetadataNotFound ¶
func NewGetProjectMetadataNotFound() *GetProjectMetadataNotFound
NewGetProjectMetadataNotFound creates a GetProjectMetadataNotFound with default headers values
func (*GetProjectMetadataNotFound) Error ¶
func (o *GetProjectMetadataNotFound) Error() string
func (*GetProjectMetadataNotFound) GetPayload ¶
func (o *GetProjectMetadataNotFound) GetPayload() *model.Errors
type GetProjectMetadataOK ¶
GetProjectMetadataOK handles this case 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
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 values initialized.
func NewGetProjectMetadataParamsWithContext ¶
func NewGetProjectMetadataParamsWithContext(ctx context.Context) *GetProjectMetadataParams
NewGetProjectMetadataParamsWithContext creates a new GetProjectMetadataParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *GetProjectMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project metadata params
func (*GetProjectMetadataParams) SetMetaName ¶
func (o *GetProjectMetadataParams) SetMetaName(metaName string)
SetMetaName adds the metaName to the get project metadata params
func (*GetProjectMetadataParams) SetProjectNameOrID ¶
func (o *GetProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get project metadata params
func (*GetProjectMetadataParams) SetTimeout ¶
func (o *GetProjectMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project metadata params
func (*GetProjectMetadataParams) SetXIsResourceName ¶
func (o *GetProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get project metadata params
func (*GetProjectMetadataParams) SetXRequestID ¶
func (o *GetProjectMetadataParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project metadata params
func (*GetProjectMetadataParams) WithContext ¶
func (o *GetProjectMetadataParams) WithContext(ctx context.Context) *GetProjectMetadataParams
WithContext adds the context to the get project metadata params
func (*GetProjectMetadataParams) WithHTTPClient ¶
func (o *GetProjectMetadataParams) WithHTTPClient(client *http.Client) *GetProjectMetadataParams
WithHTTPClient adds the HTTPClient to the get project metadata params
func (*GetProjectMetadataParams) WithMetaName ¶
func (o *GetProjectMetadataParams) WithMetaName(metaName string) *GetProjectMetadataParams
WithMetaName adds the metaName to the get project metadata params
func (*GetProjectMetadataParams) WithProjectNameOrID ¶
func (o *GetProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *GetProjectMetadataParams
WithProjectNameOrID adds the projectNameOrID to the get project metadata params
func (*GetProjectMetadataParams) WithTimeout ¶
func (o *GetProjectMetadataParams) WithTimeout(timeout time.Duration) *GetProjectMetadataParams
WithTimeout adds the timeout to the get project metadata params
func (*GetProjectMetadataParams) WithXIsResourceName ¶
func (o *GetProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectMetadataParams
WithXIsResourceName adds the xIsResourceName to the get project metadata params
func (*GetProjectMetadataParams) WithXRequestID ¶
func (o *GetProjectMetadataParams) WithXRequestID(xRequestID *string) *GetProjectMetadataParams
WithXRequestID adds the xRequestID to the get project metadata params
func (*GetProjectMetadataParams) WriteToRequest ¶
func (o *GetProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectMetadataReader ¶
type GetProjectMetadataReader struct {
// contains filtered or unexported fields
}
GetProjectMetadataReader is a Reader for the GetProjectMetadata structure.
func (*GetProjectMetadataReader) ReadResponse ¶
func (o *GetProjectMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectMetadataUnauthorized ¶
type GetProjectMetadataUnauthorized struct { string }XRequestID
GetProjectMetadataUnauthorized handles this case with default header values.
Unauthorized
func NewGetProjectMetadataUnauthorized ¶
func NewGetProjectMetadataUnauthorized() *GetProjectMetadataUnauthorized
NewGetProjectMetadataUnauthorized creates a GetProjectMetadataUnauthorized with default headers values
func (*GetProjectMetadataUnauthorized) Error ¶
func (o *GetProjectMetadataUnauthorized) Error() string
func (*GetProjectMetadataUnauthorized) GetPayload ¶
func (o *GetProjectMetadataUnauthorized) GetPayload() *model.Errors
type ListProjectMetadatasBadRequest ¶
type ListProjectMetadatasBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMetadatasBadRequest handles this case with default header values.
Bad request
func NewListProjectMetadatasBadRequest ¶
func NewListProjectMetadatasBadRequest() *ListProjectMetadatasBadRequest
NewListProjectMetadatasBadRequest creates a ListProjectMetadatasBadRequest with default headers values
func (*ListProjectMetadatasBadRequest) Error ¶
func (o *ListProjectMetadatasBadRequest) Error() string
func (*ListProjectMetadatasBadRequest) GetPayload ¶
func (o *ListProjectMetadatasBadRequest) GetPayload() *model.Errors
type ListProjectMetadatasForbidden ¶
type ListProjectMetadatasForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMetadatasForbidden handles this case with default header values.
Forbidden
func NewListProjectMetadatasForbidden ¶
func NewListProjectMetadatasForbidden() *ListProjectMetadatasForbidden
NewListProjectMetadatasForbidden creates a ListProjectMetadatasForbidden with default headers values
func (*ListProjectMetadatasForbidden) Error ¶
func (o *ListProjectMetadatasForbidden) Error() string
func (*ListProjectMetadatasForbidden) GetPayload ¶
func (o *ListProjectMetadatasForbidden) GetPayload() *model.Errors
type ListProjectMetadatasInternalServerError ¶
type ListProjectMetadatasInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMetadatasInternalServerError handles this case with default header values.
Internal server error
func NewListProjectMetadatasInternalServerError ¶
func NewListProjectMetadatasInternalServerError() *ListProjectMetadatasInternalServerError
NewListProjectMetadatasInternalServerError creates a ListProjectMetadatasInternalServerError with default headers values
func (*ListProjectMetadatasInternalServerError) Error ¶
func (o *ListProjectMetadatasInternalServerError) Error() string
func (*ListProjectMetadatasInternalServerError) GetPayload ¶
func (o *ListProjectMetadatasInternalServerError) GetPayload() *model.Errors
type ListProjectMetadatasNotFound ¶
type ListProjectMetadatasNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMetadatasNotFound handles this case with default header values.
Not found
func NewListProjectMetadatasNotFound ¶
func NewListProjectMetadatasNotFound() *ListProjectMetadatasNotFound
NewListProjectMetadatasNotFound creates a ListProjectMetadatasNotFound with default headers values
func (*ListProjectMetadatasNotFound) Error ¶
func (o *ListProjectMetadatasNotFound) Error() string
func (*ListProjectMetadatasNotFound) GetPayload ¶
func (o *ListProjectMetadatasNotFound) GetPayload() *model.Errors
type ListProjectMetadatasOK ¶
ListProjectMetadatasOK handles this case 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
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 values initialized.
func NewListProjectMetadatasParamsWithContext ¶
func NewListProjectMetadatasParamsWithContext(ctx context.Context) *ListProjectMetadatasParams
NewListProjectMetadatasParamsWithContext creates a new ListProjectMetadatasParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *ListProjectMetadatasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list project metadatas params
func (*ListProjectMetadatasParams) SetProjectNameOrID ¶
func (o *ListProjectMetadatasParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list project metadatas params
func (*ListProjectMetadatasParams) SetTimeout ¶
func (o *ListProjectMetadatasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list project metadatas params
func (*ListProjectMetadatasParams) SetXIsResourceName ¶
func (o *ListProjectMetadatasParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list project metadatas params
func (*ListProjectMetadatasParams) SetXRequestID ¶
func (o *ListProjectMetadatasParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list project metadatas params
func (*ListProjectMetadatasParams) WithContext ¶
func (o *ListProjectMetadatasParams) WithContext(ctx context.Context) *ListProjectMetadatasParams
WithContext adds the context to the list project metadatas params
func (*ListProjectMetadatasParams) WithHTTPClient ¶
func (o *ListProjectMetadatasParams) WithHTTPClient(client *http.Client) *ListProjectMetadatasParams
WithHTTPClient adds the HTTPClient to the list project metadatas params
func (*ListProjectMetadatasParams) WithProjectNameOrID ¶
func (o *ListProjectMetadatasParams) WithProjectNameOrID(projectNameOrID string) *ListProjectMetadatasParams
WithProjectNameOrID adds the projectNameOrID to the list project metadatas params
func (*ListProjectMetadatasParams) WithTimeout ¶
func (o *ListProjectMetadatasParams) WithTimeout(timeout time.Duration) *ListProjectMetadatasParams
WithTimeout adds the timeout to the list project metadatas params
func (*ListProjectMetadatasParams) WithXIsResourceName ¶
func (o *ListProjectMetadatasParams) WithXIsResourceName(xIsResourceName *bool) *ListProjectMetadatasParams
WithXIsResourceName adds the xIsResourceName to the list project metadatas params
func (*ListProjectMetadatasParams) WithXRequestID ¶
func (o *ListProjectMetadatasParams) WithXRequestID(xRequestID *string) *ListProjectMetadatasParams
WithXRequestID adds the xRequestID to the list project metadatas params
func (*ListProjectMetadatasParams) WriteToRequest ¶
func (o *ListProjectMetadatasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectMetadatasReader ¶
type ListProjectMetadatasReader struct {
// contains filtered or unexported fields
}
ListProjectMetadatasReader is a Reader for the ListProjectMetadatas structure.
func (*ListProjectMetadatasReader) ReadResponse ¶
func (o *ListProjectMetadatasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectMetadatasUnauthorized ¶
type ListProjectMetadatasUnauthorized struct { string }XRequestID
ListProjectMetadatasUnauthorized handles this case with default header values.
Unauthorized
func NewListProjectMetadatasUnauthorized ¶
func NewListProjectMetadatasUnauthorized() *ListProjectMetadatasUnauthorized
NewListProjectMetadatasUnauthorized creates a ListProjectMetadatasUnauthorized with default headers values
func (*ListProjectMetadatasUnauthorized) Error ¶
func (o *ListProjectMetadatasUnauthorized) Error() string
func (*ListProjectMetadatasUnauthorized) GetPayload ¶
func (o *ListProjectMetadatasUnauthorized) GetPayload() *model.Errors
type UpdateProjectMetadataBadRequest ¶
type UpdateProjectMetadataBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMetadataBadRequest handles this case with default header values.
Bad request
func NewUpdateProjectMetadataBadRequest ¶
func NewUpdateProjectMetadataBadRequest() *UpdateProjectMetadataBadRequest
NewUpdateProjectMetadataBadRequest creates a UpdateProjectMetadataBadRequest with default headers values
func (*UpdateProjectMetadataBadRequest) Error ¶
func (o *UpdateProjectMetadataBadRequest) Error() string
func (*UpdateProjectMetadataBadRequest) GetPayload ¶
func (o *UpdateProjectMetadataBadRequest) GetPayload() *model.Errors
type UpdateProjectMetadataConflict ¶
type UpdateProjectMetadataConflict struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMetadataConflict handles this case with default header values.
Conflict
func NewUpdateProjectMetadataConflict ¶
func NewUpdateProjectMetadataConflict() *UpdateProjectMetadataConflict
NewUpdateProjectMetadataConflict creates a UpdateProjectMetadataConflict with default headers values
func (*UpdateProjectMetadataConflict) Error ¶
func (o *UpdateProjectMetadataConflict) Error() string
func (*UpdateProjectMetadataConflict) GetPayload ¶
func (o *UpdateProjectMetadataConflict) GetPayload() *model.Errors
type UpdateProjectMetadataForbidden ¶
type UpdateProjectMetadataForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMetadataForbidden handles this case with default header values.
Forbidden
func NewUpdateProjectMetadataForbidden ¶
func NewUpdateProjectMetadataForbidden() *UpdateProjectMetadataForbidden
NewUpdateProjectMetadataForbidden creates a UpdateProjectMetadataForbidden with default headers values
func (*UpdateProjectMetadataForbidden) Error ¶
func (o *UpdateProjectMetadataForbidden) Error() string
func (*UpdateProjectMetadataForbidden) GetPayload ¶
func (o *UpdateProjectMetadataForbidden) GetPayload() *model.Errors
type UpdateProjectMetadataInternalServerError ¶
type UpdateProjectMetadataInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMetadataInternalServerError handles this case with default header values.
Internal server error
func NewUpdateProjectMetadataInternalServerError ¶
func NewUpdateProjectMetadataInternalServerError() *UpdateProjectMetadataInternalServerError
NewUpdateProjectMetadataInternalServerError creates a UpdateProjectMetadataInternalServerError with default headers values
func (*UpdateProjectMetadataInternalServerError) Error ¶
func (o *UpdateProjectMetadataInternalServerError) Error() string
func (*UpdateProjectMetadataInternalServerError) GetPayload ¶
func (o *UpdateProjectMetadataInternalServerError) GetPayload() *model.Errors
type UpdateProjectMetadataNotFound ¶
type UpdateProjectMetadataNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMetadataNotFound handles this case with default header values.
Not found
func NewUpdateProjectMetadataNotFound ¶
func NewUpdateProjectMetadataNotFound() *UpdateProjectMetadataNotFound
NewUpdateProjectMetadataNotFound creates a UpdateProjectMetadataNotFound with default headers values
func (*UpdateProjectMetadataNotFound) Error ¶
func (o *UpdateProjectMetadataNotFound) Error() string
func (*UpdateProjectMetadataNotFound) GetPayload ¶
func (o *UpdateProjectMetadataNotFound) GetPayload() *model.Errors
type UpdateProjectMetadataOK ¶
type UpdateProjectMetadataOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
UpdateProjectMetadataOK handles this case 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
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 values initialized.
func NewUpdateProjectMetadataParamsWithContext ¶
func NewUpdateProjectMetadataParamsWithContext(ctx context.Context) *UpdateProjectMetadataParams
NewUpdateProjectMetadataParamsWithContext creates a new UpdateProjectMetadataParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *UpdateProjectMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project metadata params
func (*UpdateProjectMetadataParams) SetMetaName ¶
func (o *UpdateProjectMetadataParams) SetMetaName(metaName string)
SetMetaName adds the metaName to the update project metadata params
func (*UpdateProjectMetadataParams) SetMetadata ¶
func (o *UpdateProjectMetadataParams) SetMetadata(metadata map[string]string)
SetMetadata adds the metadata to the update project metadata params
func (*UpdateProjectMetadataParams) SetProjectNameOrID ¶
func (o *UpdateProjectMetadataParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the update project metadata params
func (*UpdateProjectMetadataParams) SetTimeout ¶
func (o *UpdateProjectMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project metadata params
func (*UpdateProjectMetadataParams) SetXIsResourceName ¶
func (o *UpdateProjectMetadataParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the update project metadata params
func (*UpdateProjectMetadataParams) SetXRequestID ¶
func (o *UpdateProjectMetadataParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update project metadata params
func (*UpdateProjectMetadataParams) WithContext ¶
func (o *UpdateProjectMetadataParams) WithContext(ctx context.Context) *UpdateProjectMetadataParams
WithContext adds the context to the update project metadata params
func (*UpdateProjectMetadataParams) WithHTTPClient ¶
func (o *UpdateProjectMetadataParams) WithHTTPClient(client *http.Client) *UpdateProjectMetadataParams
WithHTTPClient adds the HTTPClient to the update project metadata params
func (*UpdateProjectMetadataParams) WithMetaName ¶
func (o *UpdateProjectMetadataParams) WithMetaName(metaName string) *UpdateProjectMetadataParams
WithMetaName adds the metaName to the update project metadata params
func (*UpdateProjectMetadataParams) WithMetadata ¶
func (o *UpdateProjectMetadataParams) WithMetadata(metadata map[string]string) *UpdateProjectMetadataParams
WithMetadata adds the metadata to the update project metadata params
func (*UpdateProjectMetadataParams) WithProjectNameOrID ¶
func (o *UpdateProjectMetadataParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectMetadataParams
WithProjectNameOrID adds the projectNameOrID to the update project metadata params
func (*UpdateProjectMetadataParams) WithTimeout ¶
func (o *UpdateProjectMetadataParams) WithTimeout(timeout time.Duration) *UpdateProjectMetadataParams
WithTimeout adds the timeout to the update project metadata params
func (*UpdateProjectMetadataParams) WithXIsResourceName ¶
func (o *UpdateProjectMetadataParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectMetadataParams
WithXIsResourceName adds the xIsResourceName to the update project metadata params
func (*UpdateProjectMetadataParams) WithXRequestID ¶
func (o *UpdateProjectMetadataParams) WithXRequestID(xRequestID *string) *UpdateProjectMetadataParams
WithXRequestID adds the xRequestID to the update project metadata params
func (*UpdateProjectMetadataParams) WriteToRequest ¶
func (o *UpdateProjectMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectMetadataReader ¶
type UpdateProjectMetadataReader struct {
// contains filtered or unexported fields
}
UpdateProjectMetadataReader is a Reader for the UpdateProjectMetadata structure.
func (*UpdateProjectMetadataReader) ReadResponse ¶
func (o *UpdateProjectMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectMetadataUnauthorized ¶
type UpdateProjectMetadataUnauthorized struct { string }XRequestID
UpdateProjectMetadataUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateProjectMetadataUnauthorized ¶
func NewUpdateProjectMetadataUnauthorized() *UpdateProjectMetadataUnauthorized
NewUpdateProjectMetadataUnauthorized creates a UpdateProjectMetadataUnauthorized with default headers values
func (*UpdateProjectMetadataUnauthorized) Error ¶
func (o *UpdateProjectMetadataUnauthorized) Error() string
func (*UpdateProjectMetadataUnauthorized) GetPayload ¶
func (o *UpdateProjectMetadataUnauthorized) GetPayload() *model.Errors
Source Files ¶
- add_project_metadatas_parameters.go
- add_project_metadatas_responses.go
- delete_project_metadata_parameters.go
- delete_project_metadata_responses.go
- get_project_metadata_parameters.go
- get_project_metadata_responses.go
- list_project_metadatas_parameters.go
- list_project_metadatas_responses.go
- project_metadata_client.go
- update_project_metadata_parameters.go
- update_project_metadata_responses.go