Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateProject(params *CreateProjectParams) (*CreateProjectCreated, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams) (*DeleteProjectNoContent, error)
- func (a *Client) GetProject(params *GetProjectParams) (*GetProjectOK, error)
- func (a *Client) GetProjectResourceMetadata(params *GetProjectResourceMetadataParams) (*GetProjectResourceMetadataOK, error)
- func (a *Client) GetProjects(params *GetProjectsParams) (*GetProjectsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateProject(params *UpdateProjectParams) (*UpdateProjectOK, error)
- func (a *Client) UpdateProjectResourceMetadata(params *UpdateProjectResourceMetadataParams) (*UpdateProjectResourceMetadataOK, error)
- type CreateProjectBadRequest
- type CreateProjectCreated
- type CreateProjectForbidden
- type CreateProjectParams
- func (o *CreateProjectParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateProjectParams) SetBody(body *models.ProjectSpecification)
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) WithAPIVersion(aPIVersion *string) *CreateProjectParams
- func (o *CreateProjectParams) WithBody(body *models.ProjectSpecification) *CreateProjectParams
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type DeleteProjectConflict
- type DeleteProjectForbidden
- type DeleteProjectNoContent
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetID(id string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) WithAPIVersion(aPIVersion *string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithID(id string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectReader
- type GetProjectForbidden
- type GetProjectNotFound
- type GetProjectOK
- type GetProjectParams
- func (o *GetProjectParams) SetAPIVersion(aPIVersion *string)
- func (o *GetProjectParams) SetContext(ctx context.Context)
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetID(id string)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) WithAPIVersion(aPIVersion *string) *GetProjectParams
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithID(id string) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type GetProjectResourceMetadataForbidden
- type GetProjectResourceMetadataNotFound
- type GetProjectResourceMetadataOK
- type GetProjectResourceMetadataParams
- func NewGetProjectResourceMetadataParams() *GetProjectResourceMetadataParams
- func NewGetProjectResourceMetadataParamsWithContext(ctx context.Context) *GetProjectResourceMetadataParams
- func NewGetProjectResourceMetadataParamsWithHTTPClient(client *http.Client) *GetProjectResourceMetadataParams
- func NewGetProjectResourceMetadataParamsWithTimeout(timeout time.Duration) *GetProjectResourceMetadataParams
- func (o *GetProjectResourceMetadataParams) SetAPIVersion(aPIVersion *string)
- func (o *GetProjectResourceMetadataParams) SetContext(ctx context.Context)
- func (o *GetProjectResourceMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectResourceMetadataParams) SetID(id string)
- func (o *GetProjectResourceMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectResourceMetadataParams) WithAPIVersion(aPIVersion *string) *GetProjectResourceMetadataParams
- func (o *GetProjectResourceMetadataParams) WithContext(ctx context.Context) *GetProjectResourceMetadataParams
- func (o *GetProjectResourceMetadataParams) WithHTTPClient(client *http.Client) *GetProjectResourceMetadataParams
- func (o *GetProjectResourceMetadataParams) WithID(id string) *GetProjectResourceMetadataParams
- func (o *GetProjectResourceMetadataParams) WithTimeout(timeout time.Duration) *GetProjectResourceMetadataParams
- func (o *GetProjectResourceMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectResourceMetadataReader
- type GetProjectsForbidden
- type GetProjectsOK
- type GetProjectsParams
- func (o *GetProjectsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetProjectsParams) SetContext(ctx context.Context)
- func (o *GetProjectsParams) SetDollarFilter(dollarFilter *string)
- func (o *GetProjectsParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectsParams) WithAPIVersion(aPIVersion *string) *GetProjectsParams
- func (o *GetProjectsParams) WithContext(ctx context.Context) *GetProjectsParams
- func (o *GetProjectsParams) WithDollarFilter(dollarFilter *string) *GetProjectsParams
- func (o *GetProjectsParams) WithHTTPClient(client *http.Client) *GetProjectsParams
- func (o *GetProjectsParams) WithTimeout(timeout time.Duration) *GetProjectsParams
- func (o *GetProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectsReader
- type UpdateProjectBadRequest
- type UpdateProjectForbidden
- type UpdateProjectOK
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateProjectParams) SetBody(body *models.ProjectSpecification)
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetID(id string)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) WithAPIVersion(aPIVersion *string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithBody(body *models.ProjectSpecification) *UpdateProjectParams
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithID(id string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
- type UpdateProjectResourceMetadataBadRequest
- type UpdateProjectResourceMetadataForbidden
- type UpdateProjectResourceMetadataOK
- type UpdateProjectResourceMetadataParams
- func NewUpdateProjectResourceMetadataParams() *UpdateProjectResourceMetadataParams
- func NewUpdateProjectResourceMetadataParamsWithContext(ctx context.Context) *UpdateProjectResourceMetadataParams
- func NewUpdateProjectResourceMetadataParamsWithHTTPClient(client *http.Client) *UpdateProjectResourceMetadataParams
- func NewUpdateProjectResourceMetadataParamsWithTimeout(timeout time.Duration) *UpdateProjectResourceMetadataParams
- func (o *UpdateProjectResourceMetadataParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateProjectResourceMetadataParams) SetBody(body *models.ProjectResourceMetadataSpecification)
- func (o *UpdateProjectResourceMetadataParams) SetContext(ctx context.Context)
- func (o *UpdateProjectResourceMetadataParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectResourceMetadataParams) SetID(id string)
- func (o *UpdateProjectResourceMetadataParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectResourceMetadataParams) WithAPIVersion(aPIVersion *string) *UpdateProjectResourceMetadataParams
- func (o *UpdateProjectResourceMetadataParams) WithBody(body *models.ProjectResourceMetadataSpecification) *UpdateProjectResourceMetadataParams
- func (o *UpdateProjectResourceMetadataParams) WithContext(ctx context.Context) *UpdateProjectResourceMetadataParams
- func (o *UpdateProjectResourceMetadataParams) WithHTTPClient(client *http.Client) *UpdateProjectResourceMetadataParams
- func (o *UpdateProjectResourceMetadataParams) WithID(id string) *UpdateProjectResourceMetadataParams
- func (o *UpdateProjectResourceMetadataParams) WithTimeout(timeout time.Duration) *UpdateProjectResourceMetadataParams
- func (o *UpdateProjectResourceMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectResourceMetadataReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for project API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new project API client.
func (*Client) CreateProject ¶
func (a *Client) CreateProject(params *CreateProjectParams) (*CreateProjectCreated, error)
CreateProject creates project
Create project
func (*Client) DeleteProject ¶
func (a *Client) DeleteProject(params *DeleteProjectParams) (*DeleteProjectNoContent, error)
DeleteProject deletes project
Delete project with a given id
func (*Client) GetProject ¶
func (a *Client) GetProject(params *GetProjectParams) (*GetProjectOK, error)
GetProject gets project
Get project with a given id
func (*Client) GetProjectResourceMetadata ¶
func (a *Client) GetProjectResourceMetadata(params *GetProjectResourceMetadataParams) (*GetProjectResourceMetadataOK, error)
GetProjectResourceMetadata gets project resource metadata
Get project resource metadata by a given project id
func (*Client) GetProjects ¶
func (a *Client) GetProjects(params *GetProjectsParams) (*GetProjectsOK, error)
GetProjects gets projects
Get all projects
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateProject ¶
func (a *Client) UpdateProject(params *UpdateProjectParams) (*UpdateProjectOK, error)
UpdateProject updates project
Update project
func (*Client) UpdateProjectResourceMetadata ¶
func (a *Client) UpdateProjectResourceMetadata(params *UpdateProjectResourceMetadataParams) (*UpdateProjectResourceMetadataOK, error)
UpdateProjectResourceMetadata updates project resource metadata
Update project resource metadata by a given project id
type CreateProjectBadRequest ¶
type CreateProjectBadRequest struct { }
CreateProjectBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateProjectBadRequest ¶
func NewCreateProjectBadRequest() *CreateProjectBadRequest
NewCreateProjectBadRequest creates a CreateProjectBadRequest with default headers values
func (*CreateProjectBadRequest) Error ¶
func (o *CreateProjectBadRequest) Error() string
type CreateProjectCreated ¶
CreateProjectCreated handles this case with default header values.
successful operation
func NewCreateProjectCreated ¶
func NewCreateProjectCreated() *CreateProjectCreated
NewCreateProjectCreated creates a CreateProjectCreated with default headers values
func (*CreateProjectCreated) Error ¶
func (o *CreateProjectCreated) Error() string
func (*CreateProjectCreated) GetPayload ¶
func (o *CreateProjectCreated) GetPayload() *models.Project
type CreateProjectForbidden ¶
type CreateProjectForbidden struct { }
CreateProjectForbidden handles this case with default header values.
Forbidden
func NewCreateProjectForbidden ¶
func NewCreateProjectForbidden() *CreateProjectForbidden
NewCreateProjectForbidden creates a CreateProjectForbidden with default headers values
func (*CreateProjectForbidden) Error ¶
func (o *CreateProjectForbidden) Error() string
type CreateProjectParams ¶
type CreateProjectParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Project Specification instance */ Body *models.ProjectSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProjectParams contains all the parameters to send to the API endpoint for the create project operation typically these are written to a http.Request
func NewCreateProjectParams ¶
func NewCreateProjectParams() *CreateProjectParams
NewCreateProjectParams creates a new CreateProjectParams object with the default values initialized.
func NewCreateProjectParamsWithContext ¶
func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams
NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the default values initialized, and the ability to set a context for a request
func NewCreateProjectParamsWithHTTPClient ¶
func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams
NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateProjectParamsWithTimeout ¶
func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams
NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateProjectParams) SetAPIVersion ¶
func (o *CreateProjectParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create project params
func (*CreateProjectParams) SetBody ¶
func (o *CreateProjectParams) SetBody(body *models.ProjectSpecification)
SetBody adds the body to the create project params
func (*CreateProjectParams) SetContext ¶
func (o *CreateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the create project params
func (*CreateProjectParams) SetHTTPClient ¶
func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) SetTimeout ¶
func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project params
func (*CreateProjectParams) WithAPIVersion ¶
func (o *CreateProjectParams) WithAPIVersion(aPIVersion *string) *CreateProjectParams
WithAPIVersion adds the aPIVersion to the create project params
func (*CreateProjectParams) WithBody ¶
func (o *CreateProjectParams) WithBody(body *models.ProjectSpecification) *CreateProjectParams
WithBody adds the body to the create project params
func (*CreateProjectParams) WithContext ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
WithContext adds the context to the create project params
func (*CreateProjectParams) WithHTTPClient ¶
func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
WithHTTPClient adds the HTTPClient to the create project params
func (*CreateProjectParams) WithTimeout ¶
func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
WithTimeout adds the timeout to the create project params
func (*CreateProjectParams) WriteToRequest ¶
func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProjectReader ¶
type CreateProjectReader struct {
// contains filtered or unexported fields
}
CreateProjectReader is a Reader for the CreateProject structure.
func (*CreateProjectReader) ReadResponse ¶
func (o *CreateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProjectConflict ¶
type DeleteProjectConflict struct { }
DeleteProjectConflict handles this case with default header values.
Conflict, when the project is in use
func NewDeleteProjectConflict ¶
func NewDeleteProjectConflict() *DeleteProjectConflict
NewDeleteProjectConflict creates a DeleteProjectConflict with default headers values
func (*DeleteProjectConflict) Error ¶
func (o *DeleteProjectConflict) Error() string
type DeleteProjectForbidden ¶
type DeleteProjectForbidden struct { }
DeleteProjectForbidden handles this case with default header values.
Forbidden
func NewDeleteProjectForbidden ¶
func NewDeleteProjectForbidden() *DeleteProjectForbidden
NewDeleteProjectForbidden creates a DeleteProjectForbidden with default headers values
func (*DeleteProjectForbidden) Error ¶
func (o *DeleteProjectForbidden) Error() string
type DeleteProjectNoContent ¶
type DeleteProjectNoContent struct { }
DeleteProjectNoContent handles this case with default header values.
No Content
func NewDeleteProjectNoContent ¶
func NewDeleteProjectNoContent() *DeleteProjectNoContent
NewDeleteProjectNoContent creates a DeleteProjectNoContent with default headers values
func (*DeleteProjectNoContent) Error ¶
func (o *DeleteProjectNoContent) Error() string
type DeleteProjectParams ¶
type DeleteProjectParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectParams contains all the parameters to send to the API endpoint for the delete project operation typically these are written to a http.Request
func NewDeleteProjectParams ¶
func NewDeleteProjectParams() *DeleteProjectParams
NewDeleteProjectParams creates a new DeleteProjectParams object with the default values initialized.
func NewDeleteProjectParamsWithContext ¶
func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams
NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteProjectParamsWithHTTPClient ¶
func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams
NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteProjectParamsWithTimeout ¶
func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams
NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteProjectParams) SetAPIVersion ¶
func (o *DeleteProjectParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete project params
func (*DeleteProjectParams) SetContext ¶
func (o *DeleteProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project params
func (*DeleteProjectParams) SetHTTPClient ¶
func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) SetID ¶
func (o *DeleteProjectParams) SetID(id string)
SetID adds the id to the delete project params
func (*DeleteProjectParams) SetTimeout ¶
func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WithAPIVersion ¶
func (o *DeleteProjectParams) WithAPIVersion(aPIVersion *string) *DeleteProjectParams
WithAPIVersion adds the aPIVersion to the delete project params
func (*DeleteProjectParams) WithContext ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
WithContext adds the context to the delete project params
func (*DeleteProjectParams) WithHTTPClient ¶
func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
WithHTTPClient adds the HTTPClient to the delete project params
func (*DeleteProjectParams) WithID ¶
func (o *DeleteProjectParams) WithID(id string) *DeleteProjectParams
WithID adds the id to the delete project params
func (*DeleteProjectParams) WithTimeout ¶
func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
WithTimeout adds the timeout to the delete project params
func (*DeleteProjectParams) WriteToRequest ¶
func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectReader ¶
type DeleteProjectReader struct {
// contains filtered or unexported fields
}
DeleteProjectReader is a Reader for the DeleteProject structure.
func (*DeleteProjectReader) ReadResponse ¶
func (o *DeleteProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectForbidden ¶
type GetProjectForbidden struct { }
GetProjectForbidden handles this case with default header values.
Forbidden
func NewGetProjectForbidden ¶
func NewGetProjectForbidden() *GetProjectForbidden
NewGetProjectForbidden creates a GetProjectForbidden with default headers values
func (*GetProjectForbidden) Error ¶
func (o *GetProjectForbidden) Error() string
type GetProjectNotFound ¶
type GetProjectNotFound struct { }
GetProjectNotFound handles this case with default header values.
Not Found
func NewGetProjectNotFound ¶
func NewGetProjectNotFound() *GetProjectNotFound
NewGetProjectNotFound creates a GetProjectNotFound with default headers values
func (*GetProjectNotFound) Error ¶
func (o *GetProjectNotFound) Error() string
type GetProjectOK ¶
GetProjectOK handles this case with default header values.
successful operation
func NewGetProjectOK ¶
func NewGetProjectOK() *GetProjectOK
NewGetProjectOK creates a GetProjectOK with default headers values
func (*GetProjectOK) Error ¶
func (o *GetProjectOK) Error() string
func (*GetProjectOK) GetPayload ¶
func (o *GetProjectOK) GetPayload() *models.Project
type GetProjectParams ¶
type GetProjectParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectParams contains all the parameters to send to the API endpoint for the get project operation typically these are written to a http.Request
func NewGetProjectParams ¶
func NewGetProjectParams() *GetProjectParams
NewGetProjectParams creates a new GetProjectParams object with the default values initialized.
func NewGetProjectParamsWithContext ¶
func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams
NewGetProjectParamsWithContext creates a new GetProjectParams object with the default values initialized, and the ability to set a context for a request
func NewGetProjectParamsWithHTTPClient ¶
func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams
NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProjectParamsWithTimeout ¶
func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams
NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProjectParams) SetAPIVersion ¶
func (o *GetProjectParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get project params
func (*GetProjectParams) SetContext ¶
func (o *GetProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get project params
func (*GetProjectParams) SetHTTPClient ¶
func (o *GetProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) SetID ¶
func (o *GetProjectParams) SetID(id string)
SetID adds the id to the get project params
func (*GetProjectParams) SetTimeout ¶
func (o *GetProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project params
func (*GetProjectParams) WithAPIVersion ¶
func (o *GetProjectParams) WithAPIVersion(aPIVersion *string) *GetProjectParams
WithAPIVersion adds the aPIVersion to the get project params
func (*GetProjectParams) WithContext ¶
func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
WithContext adds the context to the get project params
func (*GetProjectParams) WithHTTPClient ¶
func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
WithHTTPClient adds the HTTPClient to the get project params
func (*GetProjectParams) WithID ¶
func (o *GetProjectParams) WithID(id string) *GetProjectParams
WithID adds the id to the get project params
func (*GetProjectParams) WithTimeout ¶
func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
WithTimeout adds the timeout to the get project params
func (*GetProjectParams) WriteToRequest ¶
func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectReader ¶
type GetProjectReader struct {
// contains filtered or unexported fields
}
GetProjectReader is a Reader for the GetProject structure.
func (*GetProjectReader) ReadResponse ¶
func (o *GetProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectResourceMetadataForbidden ¶
type GetProjectResourceMetadataForbidden struct { }
GetProjectResourceMetadataForbidden handles this case with default header values.
Forbidden
func NewGetProjectResourceMetadataForbidden ¶
func NewGetProjectResourceMetadataForbidden() *GetProjectResourceMetadataForbidden
NewGetProjectResourceMetadataForbidden creates a GetProjectResourceMetadataForbidden with default headers values
func (*GetProjectResourceMetadataForbidden) Error ¶
func (o *GetProjectResourceMetadataForbidden) Error() string
type GetProjectResourceMetadataNotFound ¶
type GetProjectResourceMetadataNotFound struct { }
GetProjectResourceMetadataNotFound handles this case with default header values.
Not Found
func NewGetProjectResourceMetadataNotFound ¶
func NewGetProjectResourceMetadataNotFound() *GetProjectResourceMetadataNotFound
NewGetProjectResourceMetadataNotFound creates a GetProjectResourceMetadataNotFound with default headers values
func (*GetProjectResourceMetadataNotFound) Error ¶
func (o *GetProjectResourceMetadataNotFound) Error() string
type GetProjectResourceMetadataOK ¶
type GetProjectResourceMetadataOK struct {
Payload *models.ProjectResourceMetadata
}
GetProjectResourceMetadataOK handles this case with default header values.
successful operation
func NewGetProjectResourceMetadataOK ¶
func NewGetProjectResourceMetadataOK() *GetProjectResourceMetadataOK
NewGetProjectResourceMetadataOK creates a GetProjectResourceMetadataOK with default headers values
func (*GetProjectResourceMetadataOK) Error ¶
func (o *GetProjectResourceMetadataOK) Error() string
func (*GetProjectResourceMetadataOK) GetPayload ¶
func (o *GetProjectResourceMetadataOK) GetPayload() *models.ProjectResourceMetadata
type GetProjectResourceMetadataParams ¶
type GetProjectResourceMetadataParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The ID of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectResourceMetadataParams contains all the parameters to send to the API endpoint for the get project resource metadata operation typically these are written to a http.Request
func NewGetProjectResourceMetadataParams ¶
func NewGetProjectResourceMetadataParams() *GetProjectResourceMetadataParams
NewGetProjectResourceMetadataParams creates a new GetProjectResourceMetadataParams object with the default values initialized.
func NewGetProjectResourceMetadataParamsWithContext ¶
func NewGetProjectResourceMetadataParamsWithContext(ctx context.Context) *GetProjectResourceMetadataParams
NewGetProjectResourceMetadataParamsWithContext creates a new GetProjectResourceMetadataParams object with the default values initialized, and the ability to set a context for a request
func NewGetProjectResourceMetadataParamsWithHTTPClient ¶
func NewGetProjectResourceMetadataParamsWithHTTPClient(client *http.Client) *GetProjectResourceMetadataParams
NewGetProjectResourceMetadataParamsWithHTTPClient creates a new GetProjectResourceMetadataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProjectResourceMetadataParamsWithTimeout ¶
func NewGetProjectResourceMetadataParamsWithTimeout(timeout time.Duration) *GetProjectResourceMetadataParams
NewGetProjectResourceMetadataParamsWithTimeout creates a new GetProjectResourceMetadataParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProjectResourceMetadataParams) SetAPIVersion ¶
func (o *GetProjectResourceMetadataParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get project resource metadata params
func (*GetProjectResourceMetadataParams) SetContext ¶
func (o *GetProjectResourceMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get project resource metadata params
func (*GetProjectResourceMetadataParams) SetHTTPClient ¶
func (o *GetProjectResourceMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project resource metadata params
func (*GetProjectResourceMetadataParams) SetID ¶
func (o *GetProjectResourceMetadataParams) SetID(id string)
SetID adds the id to the get project resource metadata params
func (*GetProjectResourceMetadataParams) SetTimeout ¶
func (o *GetProjectResourceMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project resource metadata params
func (*GetProjectResourceMetadataParams) WithAPIVersion ¶
func (o *GetProjectResourceMetadataParams) WithAPIVersion(aPIVersion *string) *GetProjectResourceMetadataParams
WithAPIVersion adds the aPIVersion to the get project resource metadata params
func (*GetProjectResourceMetadataParams) WithContext ¶
func (o *GetProjectResourceMetadataParams) WithContext(ctx context.Context) *GetProjectResourceMetadataParams
WithContext adds the context to the get project resource metadata params
func (*GetProjectResourceMetadataParams) WithHTTPClient ¶
func (o *GetProjectResourceMetadataParams) WithHTTPClient(client *http.Client) *GetProjectResourceMetadataParams
WithHTTPClient adds the HTTPClient to the get project resource metadata params
func (*GetProjectResourceMetadataParams) WithID ¶
func (o *GetProjectResourceMetadataParams) WithID(id string) *GetProjectResourceMetadataParams
WithID adds the id to the get project resource metadata params
func (*GetProjectResourceMetadataParams) WithTimeout ¶
func (o *GetProjectResourceMetadataParams) WithTimeout(timeout time.Duration) *GetProjectResourceMetadataParams
WithTimeout adds the timeout to the get project resource metadata params
func (*GetProjectResourceMetadataParams) WriteToRequest ¶
func (o *GetProjectResourceMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectResourceMetadataReader ¶
type GetProjectResourceMetadataReader struct {
// contains filtered or unexported fields
}
GetProjectResourceMetadataReader is a Reader for the GetProjectResourceMetadata structure.
func (*GetProjectResourceMetadataReader) ReadResponse ¶
func (o *GetProjectResourceMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectsForbidden ¶
type GetProjectsForbidden struct { }
GetProjectsForbidden handles this case with default header values.
Forbidden
func NewGetProjectsForbidden ¶
func NewGetProjectsForbidden() *GetProjectsForbidden
NewGetProjectsForbidden creates a GetProjectsForbidden with default headers values
func (*GetProjectsForbidden) Error ¶
func (o *GetProjectsForbidden) Error() string
type GetProjectsOK ¶
type GetProjectsOK struct {
Payload *models.ProjectResult
}
GetProjectsOK handles this case with default header values.
successful operation
func NewGetProjectsOK ¶
func NewGetProjectsOK() *GetProjectsOK
NewGetProjectsOK creates a GetProjectsOK with default headers values
func (*GetProjectsOK) Error ¶
func (o *GetProjectsOK) Error() string
func (*GetProjectsOK) GetPayload ¶
func (o *GetProjectsOK) GetPayload() *models.ProjectResult
type GetProjectsParams ¶
type GetProjectsParams struct { /*DollarFilter Add a filter to return limited results */ DollarFilter *string /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectsParams contains all the parameters to send to the API endpoint for the get projects operation typically these are written to a http.Request
func NewGetProjectsParams ¶
func NewGetProjectsParams() *GetProjectsParams
NewGetProjectsParams creates a new GetProjectsParams object with the default values initialized.
func NewGetProjectsParamsWithContext ¶
func NewGetProjectsParamsWithContext(ctx context.Context) *GetProjectsParams
NewGetProjectsParamsWithContext creates a new GetProjectsParams object with the default values initialized, and the ability to set a context for a request
func NewGetProjectsParamsWithHTTPClient ¶
func NewGetProjectsParamsWithHTTPClient(client *http.Client) *GetProjectsParams
NewGetProjectsParamsWithHTTPClient creates a new GetProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProjectsParamsWithTimeout ¶
func NewGetProjectsParamsWithTimeout(timeout time.Duration) *GetProjectsParams
NewGetProjectsParamsWithTimeout creates a new GetProjectsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProjectsParams) SetAPIVersion ¶
func (o *GetProjectsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get projects params
func (*GetProjectsParams) SetContext ¶
func (o *GetProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the get projects params
func (*GetProjectsParams) SetDollarFilter ¶
func (o *GetProjectsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get projects params
func (*GetProjectsParams) SetHTTPClient ¶
func (o *GetProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get projects params
func (*GetProjectsParams) SetTimeout ¶
func (o *GetProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get projects params
func (*GetProjectsParams) WithAPIVersion ¶
func (o *GetProjectsParams) WithAPIVersion(aPIVersion *string) *GetProjectsParams
WithAPIVersion adds the aPIVersion to the get projects params
func (*GetProjectsParams) WithContext ¶
func (o *GetProjectsParams) WithContext(ctx context.Context) *GetProjectsParams
WithContext adds the context to the get projects params
func (*GetProjectsParams) WithDollarFilter ¶
func (o *GetProjectsParams) WithDollarFilter(dollarFilter *string) *GetProjectsParams
WithDollarFilter adds the dollarFilter to the get projects params
func (*GetProjectsParams) WithHTTPClient ¶
func (o *GetProjectsParams) WithHTTPClient(client *http.Client) *GetProjectsParams
WithHTTPClient adds the HTTPClient to the get projects params
func (*GetProjectsParams) WithTimeout ¶
func (o *GetProjectsParams) WithTimeout(timeout time.Duration) *GetProjectsParams
WithTimeout adds the timeout to the get projects params
func (*GetProjectsParams) WriteToRequest ¶
func (o *GetProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectsReader ¶
type GetProjectsReader struct {
// contains filtered or unexported fields
}
GetProjectsReader is a Reader for the GetProjects structure.
func (*GetProjectsReader) ReadResponse ¶
func (o *GetProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectBadRequest ¶
type UpdateProjectBadRequest struct { }
UpdateProjectBadRequest handles this case with default header values.
Invalid Request - bad data
func NewUpdateProjectBadRequest ¶
func NewUpdateProjectBadRequest() *UpdateProjectBadRequest
NewUpdateProjectBadRequest creates a UpdateProjectBadRequest with default headers values
func (*UpdateProjectBadRequest) Error ¶
func (o *UpdateProjectBadRequest) Error() string
type UpdateProjectForbidden ¶
type UpdateProjectForbidden struct { }
UpdateProjectForbidden handles this case with default header values.
Forbidden
func NewUpdateProjectForbidden ¶
func NewUpdateProjectForbidden() *UpdateProjectForbidden
NewUpdateProjectForbidden creates a UpdateProjectForbidden with default headers values
func (*UpdateProjectForbidden) Error ¶
func (o *UpdateProjectForbidden) Error() string
type UpdateProjectOK ¶
UpdateProjectOK handles this case with default header values.
successful operation
func NewUpdateProjectOK ¶
func NewUpdateProjectOK() *UpdateProjectOK
NewUpdateProjectOK creates a UpdateProjectOK with default headers values
func (*UpdateProjectOK) Error ¶
func (o *UpdateProjectOK) Error() string
func (*UpdateProjectOK) GetPayload ¶
func (o *UpdateProjectOK) GetPayload() *models.Project
type UpdateProjectParams ¶
type UpdateProjectParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Project specification */ Body *models.ProjectSpecification /*ID The ID of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectParams contains all the parameters to send to the API endpoint for the update project operation typically these are written to a http.Request
func NewUpdateProjectParams ¶
func NewUpdateProjectParams() *UpdateProjectParams
NewUpdateProjectParams creates a new UpdateProjectParams object with the default values initialized.
func NewUpdateProjectParamsWithContext ¶
func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams
NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateProjectParamsWithHTTPClient ¶
func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams
NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateProjectParamsWithTimeout ¶
func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams
NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateProjectParams) SetAPIVersion ¶
func (o *UpdateProjectParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update project params
func (*UpdateProjectParams) SetBody ¶
func (o *UpdateProjectParams) SetBody(body *models.ProjectSpecification)
SetBody adds the body to the update project params
func (*UpdateProjectParams) SetContext ¶
func (o *UpdateProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update project params
func (*UpdateProjectParams) SetHTTPClient ¶
func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) SetID ¶
func (o *UpdateProjectParams) SetID(id string)
SetID adds the id to the update project params
func (*UpdateProjectParams) SetTimeout ¶
func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WithAPIVersion ¶
func (o *UpdateProjectParams) WithAPIVersion(aPIVersion *string) *UpdateProjectParams
WithAPIVersion adds the aPIVersion to the update project params
func (*UpdateProjectParams) WithBody ¶
func (o *UpdateProjectParams) WithBody(body *models.ProjectSpecification) *UpdateProjectParams
WithBody adds the body to the update project params
func (*UpdateProjectParams) WithContext ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
WithContext adds the context to the update project params
func (*UpdateProjectParams) WithHTTPClient ¶
func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
WithHTTPClient adds the HTTPClient to the update project params
func (*UpdateProjectParams) WithID ¶
func (o *UpdateProjectParams) WithID(id string) *UpdateProjectParams
WithID adds the id to the update project params
func (*UpdateProjectParams) WithTimeout ¶
func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
WithTimeout adds the timeout to the update project params
func (*UpdateProjectParams) WriteToRequest ¶
func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectReader ¶
type UpdateProjectReader struct {
// contains filtered or unexported fields
}
UpdateProjectReader is a Reader for the UpdateProject structure.
func (*UpdateProjectReader) ReadResponse ¶
func (o *UpdateProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectResourceMetadataBadRequest ¶
type UpdateProjectResourceMetadataBadRequest struct { }
UpdateProjectResourceMetadataBadRequest handles this case with default header values.
Invalid Request - bad data
func NewUpdateProjectResourceMetadataBadRequest ¶
func NewUpdateProjectResourceMetadataBadRequest() *UpdateProjectResourceMetadataBadRequest
NewUpdateProjectResourceMetadataBadRequest creates a UpdateProjectResourceMetadataBadRequest with default headers values
func (*UpdateProjectResourceMetadataBadRequest) Error ¶
func (o *UpdateProjectResourceMetadataBadRequest) Error() string
type UpdateProjectResourceMetadataForbidden ¶
type UpdateProjectResourceMetadataForbidden struct { }
UpdateProjectResourceMetadataForbidden handles this case with default header values.
Forbidden
func NewUpdateProjectResourceMetadataForbidden ¶
func NewUpdateProjectResourceMetadataForbidden() *UpdateProjectResourceMetadataForbidden
NewUpdateProjectResourceMetadataForbidden creates a UpdateProjectResourceMetadataForbidden with default headers values
func (*UpdateProjectResourceMetadataForbidden) Error ¶
func (o *UpdateProjectResourceMetadataForbidden) Error() string
type UpdateProjectResourceMetadataOK ¶
UpdateProjectResourceMetadataOK handles this case with default header values.
successful operation
func NewUpdateProjectResourceMetadataOK ¶
func NewUpdateProjectResourceMetadataOK() *UpdateProjectResourceMetadataOK
NewUpdateProjectResourceMetadataOK creates a UpdateProjectResourceMetadataOK with default headers values
func (*UpdateProjectResourceMetadataOK) Error ¶
func (o *UpdateProjectResourceMetadataOK) Error() string
func (*UpdateProjectResourceMetadataOK) GetPayload ¶
func (o *UpdateProjectResourceMetadataOK) GetPayload() *models.Project
type UpdateProjectResourceMetadataParams ¶
type UpdateProjectResourceMetadataParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Project specification */ Body *models.ProjectResourceMetadataSpecification /*ID The ID of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectResourceMetadataParams contains all the parameters to send to the API endpoint for the update project resource metadata operation typically these are written to a http.Request
func NewUpdateProjectResourceMetadataParams ¶
func NewUpdateProjectResourceMetadataParams() *UpdateProjectResourceMetadataParams
NewUpdateProjectResourceMetadataParams creates a new UpdateProjectResourceMetadataParams object with the default values initialized.
func NewUpdateProjectResourceMetadataParamsWithContext ¶
func NewUpdateProjectResourceMetadataParamsWithContext(ctx context.Context) *UpdateProjectResourceMetadataParams
NewUpdateProjectResourceMetadataParamsWithContext creates a new UpdateProjectResourceMetadataParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateProjectResourceMetadataParamsWithHTTPClient ¶
func NewUpdateProjectResourceMetadataParamsWithHTTPClient(client *http.Client) *UpdateProjectResourceMetadataParams
NewUpdateProjectResourceMetadataParamsWithHTTPClient creates a new UpdateProjectResourceMetadataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateProjectResourceMetadataParamsWithTimeout ¶
func NewUpdateProjectResourceMetadataParamsWithTimeout(timeout time.Duration) *UpdateProjectResourceMetadataParams
NewUpdateProjectResourceMetadataParamsWithTimeout creates a new UpdateProjectResourceMetadataParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateProjectResourceMetadataParams) SetAPIVersion ¶
func (o *UpdateProjectResourceMetadataParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) SetBody ¶
func (o *UpdateProjectResourceMetadataParams) SetBody(body *models.ProjectResourceMetadataSpecification)
SetBody adds the body to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) SetContext ¶
func (o *UpdateProjectResourceMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) SetHTTPClient ¶
func (o *UpdateProjectResourceMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) SetID ¶
func (o *UpdateProjectResourceMetadataParams) SetID(id string)
SetID adds the id to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) SetTimeout ¶
func (o *UpdateProjectResourceMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) WithAPIVersion ¶
func (o *UpdateProjectResourceMetadataParams) WithAPIVersion(aPIVersion *string) *UpdateProjectResourceMetadataParams
WithAPIVersion adds the aPIVersion to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) WithBody ¶
func (o *UpdateProjectResourceMetadataParams) WithBody(body *models.ProjectResourceMetadataSpecification) *UpdateProjectResourceMetadataParams
WithBody adds the body to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) WithContext ¶
func (o *UpdateProjectResourceMetadataParams) WithContext(ctx context.Context) *UpdateProjectResourceMetadataParams
WithContext adds the context to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) WithHTTPClient ¶
func (o *UpdateProjectResourceMetadataParams) WithHTTPClient(client *http.Client) *UpdateProjectResourceMetadataParams
WithHTTPClient adds the HTTPClient to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) WithID ¶
func (o *UpdateProjectResourceMetadataParams) WithID(id string) *UpdateProjectResourceMetadataParams
WithID adds the id to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) WithTimeout ¶
func (o *UpdateProjectResourceMetadataParams) WithTimeout(timeout time.Duration) *UpdateProjectResourceMetadataParams
WithTimeout adds the timeout to the update project resource metadata params
func (*UpdateProjectResourceMetadataParams) WriteToRequest ¶
func (o *UpdateProjectResourceMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectResourceMetadataReader ¶
type UpdateProjectResourceMetadataReader struct {
// contains filtered or unexported fields
}
UpdateProjectResourceMetadataReader is a Reader for the UpdateProjectResourceMetadata structure.
func (*UpdateProjectResourceMetadataReader) ReadResponse ¶
func (o *UpdateProjectResourceMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_project_parameters.go
- create_project_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- get_project_parameters.go
- get_project_resource_metadata_parameters.go
- get_project_resource_metadata_responses.go
- get_project_responses.go
- get_projects_parameters.go
- get_projects_responses.go
- project_client.go
- update_project_parameters.go
- update_project_resource_metadata_parameters.go
- update_project_resource_metadata_responses.go
- update_project_responses.go