project

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

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 (*Client) CreateProject

func (a *Client) CreateProject(params *CreateProjectParams, opts ...ClientOption) (*CreateProjectCreated, error)

CreateProject creates project

Create project

func (*Client) CreateUsingPOSTMixin4 added in v0.2.22

func (a *Client) CreateUsingPOSTMixin4(params *CreateUsingPOSTMixin4Params, opts ...ClientOption) (*CreateUsingPOSTMixin4Created, error)

CreateUsingPOSTMixin4 creates a project

func (*Client) DeleteProject

func (a *Client) DeleteProject(params *DeleteProjectParams, opts ...ClientOption) (*DeleteProjectNoContent, error)

DeleteProject deletes project

Delete project with a given id

func (*Client) DeleteProjectUsingDELETE added in v0.2.22

func (a *Client) DeleteProjectUsingDELETE(params *DeleteProjectUsingDELETEParams, opts ...ClientOption) (*DeleteProjectUsingDELETEOK, error)

DeleteProjectUsingDELETE deletes a project

Deletes a project by id.

func (*Client) GetAllProjectsUsingGET added in v0.2.22

func (a *Client) GetAllProjectsUsingGET(params *GetAllProjectsUsingGETParams, opts ...ClientOption) (*GetAllProjectsUsingGETOK, error)

GetAllProjectsUsingGET gets all projects

Get all projects with specified paging parameters.

func (*Client) GetProject

func (a *Client) GetProject(params *GetProjectParams, opts ...ClientOption) (*GetProjectOK, error)

GetProject gets project

Get project with a given id

func (*Client) GetProjectResourceMetadata

func (a *Client) GetProjectResourceMetadata(params *GetProjectResourceMetadataParams, opts ...ClientOption) (*GetProjectResourceMetadataOK, error)

GetProjectResourceMetadata gets project resource metadata

Get project resource metadata by a given project id

func (*Client) GetProjectUsingGET added in v0.2.22

func (a *Client) GetProjectUsingGET(params *GetProjectUsingGETParams, opts ...ClientOption) (*GetProjectUsingGETOK, error)

GetProjectUsingGET retrieves a project

Retrieves a project by id.

func (*Client) GetProjects

func (a *Client) GetProjects(params *GetProjectsParams, opts ...ClientOption) (*GetProjectsOK, error)

GetProjects gets projects

Get all projects

func (*Client) GetUsingGETMixin4 added in v0.2.22

func (a *Client) GetUsingGETMixin4(params *GetUsingGETMixin4Params, opts ...ClientOption) (*GetUsingGETMixin4OK, error)

GetUsingGETMixin4 retrieves a resource metadata for a project

Retrieves a resource metadata for a project by id.

func (*Client) ModifyProjectCostsUsingPATCH added in v0.2.22

func (a *Client) ModifyProjectCostsUsingPATCH(params *ModifyProjectCostsUsingPATCHParams, opts ...ClientOption) (*ModifyProjectCostsUsingPATCHOK, error)

ModifyProjectCostsUsingPATCH modifies a project cost

Modifies the cost of a project specified by id.

func (*Client) ModifyProjectPrincipalsUsingPATCH added in v0.2.22

func (a *Client) ModifyProjectPrincipalsUsingPATCH(params *ModifyProjectPrincipalsUsingPATCHParams, opts ...ClientOption) (*ModifyProjectPrincipalsUsingPATCHOK, error)

ModifyProjectPrincipalsUsingPATCH modifies principals assigned to a project

Modifies principals assigned to a project by id.

func (*Client) ModifyProjectUsingPATCH added in v0.2.22

func (a *Client) ModifyProjectUsingPATCH(params *ModifyProjectUsingPATCHParams, opts ...ClientOption) (*ModifyProjectUsingPATCHOK, error)

ModifyProjectUsingPATCH modifies a project

Modifies a project by id. Fields that can be modified: name, description, constraints, properties, cost, operation timeout, shared resources.

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, opts ...ClientOption) (*UpdateProjectOK, error)

UpdateProject updates project

Update project

func (*Client) UpdateProjectResourceMetadata

func (a *Client) UpdateProjectResourceMetadata(params *UpdateProjectResourceMetadataParams, opts ...ClientOption) (*UpdateProjectResourceMetadataOK, error)

UpdateProjectResourceMetadata updates project resource metadata

Update project resource metadata by a given project id

func (*Client) UpdateUsingPATCH added in v0.2.22

func (a *Client) UpdateUsingPATCH(params *UpdateUsingPATCHParams, opts ...ClientOption) (*UpdateUsingPATCHOK, error)

UpdateUsingPATCH modifies a project resource metadata

Modifies the resources metadata of a project specified by id.

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	CreateProject(params *CreateProjectParams, opts ...ClientOption) (*CreateProjectCreated, error)

	CreateUsingPOSTMixin4(params *CreateUsingPOSTMixin4Params, opts ...ClientOption) (*CreateUsingPOSTMixin4Created, error)

	DeleteProject(params *DeleteProjectParams, opts ...ClientOption) (*DeleteProjectNoContent, error)

	DeleteProjectUsingDELETE(params *DeleteProjectUsingDELETEParams, opts ...ClientOption) (*DeleteProjectUsingDELETEOK, error)

	GetAllProjectsUsingGET(params *GetAllProjectsUsingGETParams, opts ...ClientOption) (*GetAllProjectsUsingGETOK, error)

	GetProject(params *GetProjectParams, opts ...ClientOption) (*GetProjectOK, error)

	GetProjectResourceMetadata(params *GetProjectResourceMetadataParams, opts ...ClientOption) (*GetProjectResourceMetadataOK, error)

	GetProjectUsingGET(params *GetProjectUsingGETParams, opts ...ClientOption) (*GetProjectUsingGETOK, error)

	GetProjects(params *GetProjectsParams, opts ...ClientOption) (*GetProjectsOK, error)

	GetUsingGETMixin4(params *GetUsingGETMixin4Params, opts ...ClientOption) (*GetUsingGETMixin4OK, error)

	ModifyProjectCostsUsingPATCH(params *ModifyProjectCostsUsingPATCHParams, opts ...ClientOption) (*ModifyProjectCostsUsingPATCHOK, error)

	ModifyProjectPrincipalsUsingPATCH(params *ModifyProjectPrincipalsUsingPATCHParams, opts ...ClientOption) (*ModifyProjectPrincipalsUsingPATCHOK, error)

	ModifyProjectUsingPATCH(params *ModifyProjectUsingPATCHParams, opts ...ClientOption) (*ModifyProjectUsingPATCHOK, error)

	UpdateProject(params *UpdateProjectParams, opts ...ClientOption) (*UpdateProjectOK, error)

	UpdateProjectResourceMetadata(params *UpdateProjectResourceMetadataParams, opts ...ClientOption) (*UpdateProjectResourceMetadataOK, error)

	UpdateUsingPATCH(params *UpdateUsingPATCHParams, opts ...ClientOption) (*UpdateUsingPATCHOK, 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 API client.

type CreateProjectBadRequest

type CreateProjectBadRequest struct {
	Payload *models.Error
}
CreateProjectBadRequest describes a response with status code 400, 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

func (*CreateProjectBadRequest) GetPayload added in v0.2.9

func (o *CreateProjectBadRequest) GetPayload() *models.Error

type CreateProjectCreated

type CreateProjectCreated struct {
	Payload *models.IaaSProject
}
CreateProjectCreated describes a response with status code 201, 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.IaaSProject

type CreateProjectForbidden

type CreateProjectForbidden struct {
	Payload *models.ServiceErrorResponse
}
CreateProjectForbidden describes a response with status code 403, 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

func (*CreateProjectForbidden) GetPayload added in v0.2.20

type CreateProjectParams

type CreateProjectParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Project Specification instance
	*/
	Body *models.IaaSProjectSpecification

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateProjectParamsWithContext

func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams

NewCreateProjectParamsWithContext creates a new CreateProjectParams object with 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 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 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

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) SetDefaults added in v0.2.20

func (o *CreateProjectParams) SetDefaults()

SetDefaults hydrates default values in the create project params (not the query body).

All values with no default are reset to their zero value.

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

WithBody adds the body to the create project params

func (*CreateProjectParams) WithContext

WithContext adds the context to the create project params

func (*CreateProjectParams) WithDefaults added in v0.2.20

func (o *CreateProjectParams) WithDefaults() *CreateProjectParams

WithDefaults hydrates default values in the create project params (not the query body).

All values with no default are reset to their zero value.

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

type CreateUsingPOSTMixin4BadRequest struct {
	Payload *models.Error
}
CreateUsingPOSTMixin4BadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewCreateUsingPOSTMixin4BadRequest added in v0.2.22

func NewCreateUsingPOSTMixin4BadRequest() *CreateUsingPOSTMixin4BadRequest

NewCreateUsingPOSTMixin4BadRequest creates a CreateUsingPOSTMixin4BadRequest with default headers values

func (*CreateUsingPOSTMixin4BadRequest) Error added in v0.2.22

func (*CreateUsingPOSTMixin4BadRequest) GetPayload added in v0.2.22

func (o *CreateUsingPOSTMixin4BadRequest) GetPayload() *models.Error

type CreateUsingPOSTMixin4Conflict added in v0.2.22

type CreateUsingPOSTMixin4Conflict struct {
}
CreateUsingPOSTMixin4Conflict describes a response with status code 409, with default header values.

Conflict, project with this name already exists

func NewCreateUsingPOSTMixin4Conflict added in v0.2.22

func NewCreateUsingPOSTMixin4Conflict() *CreateUsingPOSTMixin4Conflict

NewCreateUsingPOSTMixin4Conflict creates a CreateUsingPOSTMixin4Conflict with default headers values

func (*CreateUsingPOSTMixin4Conflict) Error added in v0.2.22

type CreateUsingPOSTMixin4Created added in v0.2.22

type CreateUsingPOSTMixin4Created struct {
	Payload models.Project
}
CreateUsingPOSTMixin4Created describes a response with status code 201, with default header values.

'Created' with the newly created project

func NewCreateUsingPOSTMixin4Created added in v0.2.22

func NewCreateUsingPOSTMixin4Created() *CreateUsingPOSTMixin4Created

NewCreateUsingPOSTMixin4Created creates a CreateUsingPOSTMixin4Created with default headers values

func (*CreateUsingPOSTMixin4Created) Error added in v0.2.22

func (*CreateUsingPOSTMixin4Created) GetPayload added in v0.2.22

type CreateUsingPOSTMixin4Forbidden added in v0.2.22

type CreateUsingPOSTMixin4Forbidden struct {
}
CreateUsingPOSTMixin4Forbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewCreateUsingPOSTMixin4Forbidden added in v0.2.22

func NewCreateUsingPOSTMixin4Forbidden() *CreateUsingPOSTMixin4Forbidden

NewCreateUsingPOSTMixin4Forbidden creates a CreateUsingPOSTMixin4Forbidden with default headers values

func (*CreateUsingPOSTMixin4Forbidden) Error added in v0.2.22

type CreateUsingPOSTMixin4Params added in v0.2.22

type CreateUsingPOSTMixin4Params struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* Request.

	   The project to create.
	*/
	Request models.ProjectSpecification

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateUsingPOSTMixin4Params contains all the parameters to send to the API endpoint

for the create using p o s t mixin4 operation.

Typically these are written to a http.Request.

func NewCreateUsingPOSTMixin4Params added in v0.2.22

func NewCreateUsingPOSTMixin4Params() *CreateUsingPOSTMixin4Params

NewCreateUsingPOSTMixin4Params creates a new CreateUsingPOSTMixin4Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateUsingPOSTMixin4ParamsWithContext added in v0.2.22

func NewCreateUsingPOSTMixin4ParamsWithContext(ctx context.Context) *CreateUsingPOSTMixin4Params

NewCreateUsingPOSTMixin4ParamsWithContext creates a new CreateUsingPOSTMixin4Params object with the ability to set a context for a request.

func NewCreateUsingPOSTMixin4ParamsWithHTTPClient added in v0.2.22

func NewCreateUsingPOSTMixin4ParamsWithHTTPClient(client *http.Client) *CreateUsingPOSTMixin4Params

NewCreateUsingPOSTMixin4ParamsWithHTTPClient creates a new CreateUsingPOSTMixin4Params object with the ability to set a custom HTTPClient for a request.

func NewCreateUsingPOSTMixin4ParamsWithTimeout added in v0.2.22

func NewCreateUsingPOSTMixin4ParamsWithTimeout(timeout time.Duration) *CreateUsingPOSTMixin4Params

NewCreateUsingPOSTMixin4ParamsWithTimeout creates a new CreateUsingPOSTMixin4Params object with the ability to set a timeout on a request.

func (*CreateUsingPOSTMixin4Params) SetAPIVersion added in v0.2.22

func (o *CreateUsingPOSTMixin4Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) SetContext added in v0.2.22

func (o *CreateUsingPOSTMixin4Params) SetContext(ctx context.Context)

SetContext adds the context to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) SetDefaults added in v0.2.22

func (o *CreateUsingPOSTMixin4Params) SetDefaults()

SetDefaults hydrates default values in the create using p o s t mixin4 params (not the query body).

All values with no default are reset to their zero value.

func (*CreateUsingPOSTMixin4Params) SetHTTPClient added in v0.2.22

func (o *CreateUsingPOSTMixin4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) SetRequest added in v0.2.22

SetRequest adds the request to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) SetTimeout added in v0.2.22

func (o *CreateUsingPOSTMixin4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) WithAPIVersion added in v0.2.22

func (o *CreateUsingPOSTMixin4Params) WithAPIVersion(aPIVersion *string) *CreateUsingPOSTMixin4Params

WithAPIVersion adds the aPIVersion to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) WithContext added in v0.2.22

WithContext adds the context to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the create using p o s t mixin4 params (not the query body).

All values with no default are reset to their zero value.

func (*CreateUsingPOSTMixin4Params) WithHTTPClient added in v0.2.22

WithHTTPClient adds the HTTPClient to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) WithRequest added in v0.2.22

WithRequest adds the request to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the create using p o s t mixin4 params

func (*CreateUsingPOSTMixin4Params) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type CreateUsingPOSTMixin4Reader added in v0.2.22

type CreateUsingPOSTMixin4Reader struct {
	// contains filtered or unexported fields
}

CreateUsingPOSTMixin4Reader is a Reader for the CreateUsingPOSTMixin4 structure.

func (*CreateUsingPOSTMixin4Reader) ReadResponse added in v0.2.22

func (o *CreateUsingPOSTMixin4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteProjectConflict

type DeleteProjectConflict struct {
	Payload *models.ServiceErrorResponse
}
DeleteProjectConflict describes a response with status code 409, 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

func (*DeleteProjectConflict) GetPayload added in v0.2.20

type DeleteProjectForbidden

type DeleteProjectForbidden struct {
	Payload *models.ServiceErrorResponse
}
DeleteProjectForbidden describes a response with status code 403, 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

func (*DeleteProjectForbidden) GetPayload added in v0.2.20

type DeleteProjectNoContent

type DeleteProjectNoContent struct {
}
DeleteProjectNoContent describes a response with status code 204, 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 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectParamsWithContext

func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams

NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *DeleteProjectParams) SetDefaults()

SetDefaults hydrates default values in the delete project params (not the query body).

All values with no default are reset to their zero value.

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

WithContext adds the context to the delete project params

func (*DeleteProjectParams) WithDefaults added in v0.2.20

func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams

WithDefaults hydrates default values in the delete project params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectParams) WithHTTPClient

func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams

WithHTTPClient adds the HTTPClient to the delete project params

func (*DeleteProjectParams) WithID

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

type DeleteProjectUsingDELETEConflict struct {
}
DeleteProjectUsingDELETEConflict describes a response with status code 409, with default header values.

Conflict, when the project is in use

func NewDeleteProjectUsingDELETEConflict added in v0.2.22

func NewDeleteProjectUsingDELETEConflict() *DeleteProjectUsingDELETEConflict

NewDeleteProjectUsingDELETEConflict creates a DeleteProjectUsingDELETEConflict with default headers values

func (*DeleteProjectUsingDELETEConflict) Error added in v0.2.22

type DeleteProjectUsingDELETEForbidden added in v0.2.22

type DeleteProjectUsingDELETEForbidden struct {
}
DeleteProjectUsingDELETEForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewDeleteProjectUsingDELETEForbidden added in v0.2.22

func NewDeleteProjectUsingDELETEForbidden() *DeleteProjectUsingDELETEForbidden

NewDeleteProjectUsingDELETEForbidden creates a DeleteProjectUsingDELETEForbidden with default headers values

func (*DeleteProjectUsingDELETEForbidden) Error added in v0.2.22

type DeleteProjectUsingDELETEOK added in v0.2.22

type DeleteProjectUsingDELETEOK struct {
	Payload interface{}
}
DeleteProjectUsingDELETEOK describes a response with status code 200, with default header values.

'Success'

func NewDeleteProjectUsingDELETEOK added in v0.2.22

func NewDeleteProjectUsingDELETEOK() *DeleteProjectUsingDELETEOK

NewDeleteProjectUsingDELETEOK creates a DeleteProjectUsingDELETEOK with default headers values

func (*DeleteProjectUsingDELETEOK) Error added in v0.2.22

func (*DeleteProjectUsingDELETEOK) GetPayload added in v0.2.22

func (o *DeleteProjectUsingDELETEOK) GetPayload() interface{}

type DeleteProjectUsingDELETEParams added in v0.2.22

type DeleteProjectUsingDELETEParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ID.

	   The id of the project.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteProjectUsingDELETEParams contains all the parameters to send to the API endpoint

for the delete project using d e l e t e operation.

Typically these are written to a http.Request.

func NewDeleteProjectUsingDELETEParams added in v0.2.22

func NewDeleteProjectUsingDELETEParams() *DeleteProjectUsingDELETEParams

NewDeleteProjectUsingDELETEParams creates a new DeleteProjectUsingDELETEParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectUsingDELETEParamsWithContext added in v0.2.22

func NewDeleteProjectUsingDELETEParamsWithContext(ctx context.Context) *DeleteProjectUsingDELETEParams

NewDeleteProjectUsingDELETEParamsWithContext creates a new DeleteProjectUsingDELETEParams object with the ability to set a context for a request.

func NewDeleteProjectUsingDELETEParamsWithHTTPClient added in v0.2.22

func NewDeleteProjectUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteProjectUsingDELETEParams

NewDeleteProjectUsingDELETEParamsWithHTTPClient creates a new DeleteProjectUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectUsingDELETEParamsWithTimeout added in v0.2.22

func NewDeleteProjectUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteProjectUsingDELETEParams

NewDeleteProjectUsingDELETEParamsWithTimeout creates a new DeleteProjectUsingDELETEParams object with the ability to set a timeout on a request.

func (*DeleteProjectUsingDELETEParams) SetAPIVersion added in v0.2.22

func (o *DeleteProjectUsingDELETEParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) SetContext added in v0.2.22

func (o *DeleteProjectUsingDELETEParams) SetContext(ctx context.Context)

SetContext adds the context to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) SetDefaults added in v0.2.22

func (o *DeleteProjectUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the delete project using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectUsingDELETEParams) SetHTTPClient added in v0.2.22

func (o *DeleteProjectUsingDELETEParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) SetID added in v0.2.22

SetID adds the id to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) SetTimeout added in v0.2.22

func (o *DeleteProjectUsingDELETEParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) WithAPIVersion added in v0.2.22

WithAPIVersion adds the aPIVersion to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) WithContext added in v0.2.22

WithContext adds the context to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the delete project using d e l e t e params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectUsingDELETEParams) WithHTTPClient added in v0.2.22

WithHTTPClient adds the HTTPClient to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) WithID added in v0.2.22

WithID adds the id to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the delete project using d e l e t e params

func (*DeleteProjectUsingDELETEParams) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type DeleteProjectUsingDELETEReader added in v0.2.22

type DeleteProjectUsingDELETEReader struct {
	// contains filtered or unexported fields
}

DeleteProjectUsingDELETEReader is a Reader for the DeleteProjectUsingDELETE structure.

func (*DeleteProjectUsingDELETEReader) ReadResponse added in v0.2.22

func (o *DeleteProjectUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAllProjectsUsingGETOK added in v0.2.22

type GetAllProjectsUsingGETOK struct {
	Payload *models.PageOfProjects
}
GetAllProjectsUsingGETOK describes a response with status code 200, with default header values.

'Success' with projects on pages

func NewGetAllProjectsUsingGETOK added in v0.2.22

func NewGetAllProjectsUsingGETOK() *GetAllProjectsUsingGETOK

NewGetAllProjectsUsingGETOK creates a GetAllProjectsUsingGETOK with default headers values

func (*GetAllProjectsUsingGETOK) Error added in v0.2.22

func (o *GetAllProjectsUsingGETOK) Error() string

func (*GetAllProjectsUsingGETOK) GetPayload added in v0.2.22

type GetAllProjectsUsingGETParams added in v0.2.22

type GetAllProjectsUsingGETParams struct {

	/* DollarSelect.

	   Select a subset of properties to include in the response. Possible values for this parameter are id, name, operationTimeout, constraints.
	*/
	DollarSelect *string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ExcludeNotSharedProjectsForMember.

	   Filters projects based on the member role and the access to the resources of the project. When the value is true it will not return the projects in which the current user is only member and the project is not with shared resources.
	*/
	ExcludeNotSharedProjectsForMember *bool

	/* ExcludeViewer.

	   Filters projects based on the viewer role. When the value is true it will not return the projects in which the current user is only viewer and will ignore privileged roles: CodeStream:Developer and CodeStream:Executor, if the user has them. Else it will return all projects that the user can read. The default value is false.
	*/
	ExcludeViewer *bool

	/* WithAnyPermission.

	   Optional permissions that, if granted to the user, allow him access to the proper set of projects. If the user actually has any of those permissions, the 'excludeViewer' parameter has no effect.
	*/
	WithAnyPermission []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAllProjectsUsingGETParams contains all the parameters to send to the API endpoint

for the get all projects using g e t operation.

Typically these are written to a http.Request.

func NewGetAllProjectsUsingGETParams added in v0.2.22

func NewGetAllProjectsUsingGETParams() *GetAllProjectsUsingGETParams

NewGetAllProjectsUsingGETParams creates a new GetAllProjectsUsingGETParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAllProjectsUsingGETParamsWithContext added in v0.2.22

func NewGetAllProjectsUsingGETParamsWithContext(ctx context.Context) *GetAllProjectsUsingGETParams

NewGetAllProjectsUsingGETParamsWithContext creates a new GetAllProjectsUsingGETParams object with the ability to set a context for a request.

func NewGetAllProjectsUsingGETParamsWithHTTPClient added in v0.2.22

func NewGetAllProjectsUsingGETParamsWithHTTPClient(client *http.Client) *GetAllProjectsUsingGETParams

NewGetAllProjectsUsingGETParamsWithHTTPClient creates a new GetAllProjectsUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetAllProjectsUsingGETParamsWithTimeout added in v0.2.22

func NewGetAllProjectsUsingGETParamsWithTimeout(timeout time.Duration) *GetAllProjectsUsingGETParams

NewGetAllProjectsUsingGETParamsWithTimeout creates a new GetAllProjectsUsingGETParams object with the ability to set a timeout on a request.

func (*GetAllProjectsUsingGETParams) SetAPIVersion added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get all projects using get params

func (*GetAllProjectsUsingGETParams) SetContext added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get all projects using get params

func (*GetAllProjectsUsingGETParams) SetDefaults added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get all projects using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetAllProjectsUsingGETParams) SetDollarSelect added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get all projects using get params

func (*GetAllProjectsUsingGETParams) SetExcludeNotSharedProjectsForMember added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetExcludeNotSharedProjectsForMember(excludeNotSharedProjectsForMember *bool)

SetExcludeNotSharedProjectsForMember adds the excludeNotSharedProjectsForMember to the get all projects using get params

func (*GetAllProjectsUsingGETParams) SetExcludeViewer added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetExcludeViewer(excludeViewer *bool)

SetExcludeViewer adds the excludeViewer to the get all projects using get params

func (*GetAllProjectsUsingGETParams) SetHTTPClient added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get all projects using get params

func (*GetAllProjectsUsingGETParams) SetTimeout added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get all projects using get params

func (*GetAllProjectsUsingGETParams) SetWithAnyPermission added in v0.2.22

func (o *GetAllProjectsUsingGETParams) SetWithAnyPermission(withAnyPermission []string)

SetWithAnyPermission adds the withAnyPermission to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithAPIVersion added in v0.2.22

func (o *GetAllProjectsUsingGETParams) WithAPIVersion(aPIVersion *string) *GetAllProjectsUsingGETParams

WithAPIVersion adds the aPIVersion to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithContext added in v0.2.22

WithContext adds the context to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the get all projects using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetAllProjectsUsingGETParams) WithDollarSelect added in v0.2.22

func (o *GetAllProjectsUsingGETParams) WithDollarSelect(dollarSelect *string) *GetAllProjectsUsingGETParams

WithDollarSelect adds the dollarSelect to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithExcludeNotSharedProjectsForMember added in v0.2.22

func (o *GetAllProjectsUsingGETParams) WithExcludeNotSharedProjectsForMember(excludeNotSharedProjectsForMember *bool) *GetAllProjectsUsingGETParams

WithExcludeNotSharedProjectsForMember adds the excludeNotSharedProjectsForMember to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithExcludeViewer added in v0.2.22

func (o *GetAllProjectsUsingGETParams) WithExcludeViewer(excludeViewer *bool) *GetAllProjectsUsingGETParams

WithExcludeViewer adds the excludeViewer to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithHTTPClient added in v0.2.22

WithHTTPClient adds the HTTPClient to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WithWithAnyPermission added in v0.2.22

func (o *GetAllProjectsUsingGETParams) WithWithAnyPermission(withAnyPermission []string) *GetAllProjectsUsingGETParams

WithWithAnyPermission adds the withAnyPermission to the get all projects using get params

func (*GetAllProjectsUsingGETParams) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type GetAllProjectsUsingGETReader added in v0.2.22

type GetAllProjectsUsingGETReader struct {
	// contains filtered or unexported fields
}

GetAllProjectsUsingGETReader is a Reader for the GetAllProjectsUsingGET structure.

func (*GetAllProjectsUsingGETReader) ReadResponse added in v0.2.22

func (o *GetAllProjectsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProjectForbidden

type GetProjectForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetProjectForbidden describes a response with status code 403, 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

func (*GetProjectForbidden) GetPayload added in v0.2.20

type GetProjectNotFound

type GetProjectNotFound struct {
	Payload *models.Error
}
GetProjectNotFound describes a response with status code 404, 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

func (*GetProjectNotFound) GetPayload added in v0.2.9

func (o *GetProjectNotFound) GetPayload() *models.Error

type GetProjectOK

type GetProjectOK struct {
	Payload *models.IaaSProject
}
GetProjectOK describes a response with status code 200, 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.IaaSProject

type GetProjectParams

type GetProjectParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectParamsWithContext

func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams

NewGetProjectParamsWithContext creates a new GetProjectParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *GetProjectParams) SetDefaults()

SetDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults added in v0.2.20

func (o *GetProjectParams) WithDefaults() *GetProjectParams

WithDefaults hydrates default values in the get project params (not the query body).

All values with no default are reset to their zero value.

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 {
	Payload *models.ServiceErrorResponse
}
GetProjectResourceMetadataForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetProjectResourceMetadataForbidden

func NewGetProjectResourceMetadataForbidden() *GetProjectResourceMetadataForbidden

NewGetProjectResourceMetadataForbidden creates a GetProjectResourceMetadataForbidden with default headers values

func (*GetProjectResourceMetadataForbidden) Error

func (*GetProjectResourceMetadataForbidden) GetPayload added in v0.2.20

type GetProjectResourceMetadataNotFound

type GetProjectResourceMetadataNotFound struct {
	Payload *models.Error
}
GetProjectResourceMetadataNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetProjectResourceMetadataNotFound

func NewGetProjectResourceMetadataNotFound() *GetProjectResourceMetadataNotFound

NewGetProjectResourceMetadataNotFound creates a GetProjectResourceMetadataNotFound with default headers values

func (*GetProjectResourceMetadataNotFound) Error

func (*GetProjectResourceMetadataNotFound) GetPayload added in v0.2.9

type GetProjectResourceMetadataOK

type GetProjectResourceMetadataOK struct {
	Payload *models.IaaSProjectResourceMetadata
}
GetProjectResourceMetadataOK describes a response with status code 200, with default header values.

successful operation

func NewGetProjectResourceMetadataOK

func NewGetProjectResourceMetadataOK() *GetProjectResourceMetadataOK

NewGetProjectResourceMetadataOK creates a GetProjectResourceMetadataOK with default headers values

func (*GetProjectResourceMetadataOK) Error

func (*GetProjectResourceMetadataOK) GetPayload

type GetProjectResourceMetadataParams

type GetProjectResourceMetadataParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectResourceMetadataParamsWithContext

func NewGetProjectResourceMetadataParamsWithContext(ctx context.Context) *GetProjectResourceMetadataParams

NewGetProjectResourceMetadataParamsWithContext creates a new GetProjectResourceMetadataParams object with 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 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 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

SetContext adds the context to the get project resource metadata params

func (*GetProjectResourceMetadataParams) SetDefaults added in v0.2.20

func (o *GetProjectResourceMetadataParams) SetDefaults()

SetDefaults hydrates default values in the get project resource metadata params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectResourceMetadataParams) SetHTTPClient

func (o *GetProjectResourceMetadataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project resource metadata params

func (*GetProjectResourceMetadataParams) SetID

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

WithAPIVersion adds the aPIVersion to the get project resource metadata params

func (*GetProjectResourceMetadataParams) WithContext

WithContext adds the context to the get project resource metadata params

func (*GetProjectResourceMetadataParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get project resource metadata params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectResourceMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get project resource metadata params

func (*GetProjectResourceMetadataParams) WithID

WithID adds the id to the get project resource metadata params

func (*GetProjectResourceMetadataParams) WithTimeout

WithTimeout adds the timeout to the get project resource metadata params

func (*GetProjectResourceMetadataParams) WriteToRequest

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

type GetProjectUsingGETForbidden struct {
}
GetProjectUsingGETForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewGetProjectUsingGETForbidden added in v0.2.22

func NewGetProjectUsingGETForbidden() *GetProjectUsingGETForbidden

NewGetProjectUsingGETForbidden creates a GetProjectUsingGETForbidden with default headers values

func (*GetProjectUsingGETForbidden) Error added in v0.2.22

type GetProjectUsingGETNotFound added in v0.2.22

type GetProjectUsingGETNotFound struct {
	Payload *models.Error
}
GetProjectUsingGETNotFound describes a response with status code 404, with default header values.

'Not found' if no project with the provided id

func NewGetProjectUsingGETNotFound added in v0.2.22

func NewGetProjectUsingGETNotFound() *GetProjectUsingGETNotFound

NewGetProjectUsingGETNotFound creates a GetProjectUsingGETNotFound with default headers values

func (*GetProjectUsingGETNotFound) Error added in v0.2.22

func (*GetProjectUsingGETNotFound) GetPayload added in v0.2.22

func (o *GetProjectUsingGETNotFound) GetPayload() *models.Error

type GetProjectUsingGETOK added in v0.2.22

type GetProjectUsingGETOK struct {
	Payload models.Project
}
GetProjectUsingGETOK describes a response with status code 200, with default header values.

'Success' with the Project

func NewGetProjectUsingGETOK added in v0.2.22

func NewGetProjectUsingGETOK() *GetProjectUsingGETOK

NewGetProjectUsingGETOK creates a GetProjectUsingGETOK with default headers values

func (*GetProjectUsingGETOK) Error added in v0.2.22

func (o *GetProjectUsingGETOK) Error() string

func (*GetProjectUsingGETOK) GetPayload added in v0.2.22

func (o *GetProjectUsingGETOK) GetPayload() models.Project

type GetProjectUsingGETParams added in v0.2.22

type GetProjectUsingGETParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ID.

	   The id of the project.
	*/
	ID string

	/* WithAnyPermission.

	   Optional permissions that, if granted to the user, allow him access to the proper set of projects. If the user actually has any of those permissions, the 'excludeViewer' parameter has no effect.
	*/
	WithAnyPermission []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProjectUsingGETParams contains all the parameters to send to the API endpoint

for the get project using g e t operation.

Typically these are written to a http.Request.

func NewGetProjectUsingGETParams added in v0.2.22

func NewGetProjectUsingGETParams() *GetProjectUsingGETParams

NewGetProjectUsingGETParams creates a new GetProjectUsingGETParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectUsingGETParamsWithContext added in v0.2.22

func NewGetProjectUsingGETParamsWithContext(ctx context.Context) *GetProjectUsingGETParams

NewGetProjectUsingGETParamsWithContext creates a new GetProjectUsingGETParams object with the ability to set a context for a request.

func NewGetProjectUsingGETParamsWithHTTPClient added in v0.2.22

func NewGetProjectUsingGETParamsWithHTTPClient(client *http.Client) *GetProjectUsingGETParams

NewGetProjectUsingGETParamsWithHTTPClient creates a new GetProjectUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectUsingGETParamsWithTimeout added in v0.2.22

func NewGetProjectUsingGETParamsWithTimeout(timeout time.Duration) *GetProjectUsingGETParams

NewGetProjectUsingGETParamsWithTimeout creates a new GetProjectUsingGETParams object with the ability to set a timeout on a request.

func (*GetProjectUsingGETParams) SetAPIVersion added in v0.2.22

func (o *GetProjectUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get project using get params

func (*GetProjectUsingGETParams) SetContext added in v0.2.22

func (o *GetProjectUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get project using get params

func (*GetProjectUsingGETParams) SetDefaults added in v0.2.22

func (o *GetProjectUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get project using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectUsingGETParams) SetHTTPClient added in v0.2.22

func (o *GetProjectUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project using get params

func (*GetProjectUsingGETParams) SetID added in v0.2.22

func (o *GetProjectUsingGETParams) SetID(id string)

SetID adds the id to the get project using get params

func (*GetProjectUsingGETParams) SetTimeout added in v0.2.22

func (o *GetProjectUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get project using get params

func (*GetProjectUsingGETParams) SetWithAnyPermission added in v0.2.22

func (o *GetProjectUsingGETParams) SetWithAnyPermission(withAnyPermission []string)

SetWithAnyPermission adds the withAnyPermission to the get project using get params

func (*GetProjectUsingGETParams) WithAPIVersion added in v0.2.22

func (o *GetProjectUsingGETParams) WithAPIVersion(aPIVersion *string) *GetProjectUsingGETParams

WithAPIVersion adds the aPIVersion to the get project using get params

func (*GetProjectUsingGETParams) WithContext added in v0.2.22

WithContext adds the context to the get project using get params

func (*GetProjectUsingGETParams) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the get project using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectUsingGETParams) WithHTTPClient added in v0.2.22

func (o *GetProjectUsingGETParams) WithHTTPClient(client *http.Client) *GetProjectUsingGETParams

WithHTTPClient adds the HTTPClient to the get project using get params

func (*GetProjectUsingGETParams) WithID added in v0.2.22

WithID adds the id to the get project using get params

func (*GetProjectUsingGETParams) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the get project using get params

func (*GetProjectUsingGETParams) WithWithAnyPermission added in v0.2.22

func (o *GetProjectUsingGETParams) WithWithAnyPermission(withAnyPermission []string) *GetProjectUsingGETParams

WithWithAnyPermission adds the withAnyPermission to the get project using get params

func (*GetProjectUsingGETParams) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type GetProjectUsingGETReader added in v0.2.22

type GetProjectUsingGETReader struct {
	// contains filtered or unexported fields
}

GetProjectUsingGETReader is a Reader for the GetProjectUsingGET structure.

func (*GetProjectUsingGETReader) ReadResponse added in v0.2.22

func (o *GetProjectUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProjectsForbidden

type GetProjectsForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetProjectsForbidden describes a response with status code 403, 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

func (*GetProjectsForbidden) GetPayload added in v0.2.20

type GetProjectsOK

type GetProjectsOK struct {
	Payload *models.ProjectResult
}
GetProjectsOK describes a response with status code 200, 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 {

	/* DollarCount.

	   Flag which when specified shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
	*/
	DollarCount *bool

	/* DollarFilter.

	     Filter the results by a specified predicate expression. A set of operators and functions are defined for use:
	Operators: eq, ne, gt, ge, lt, le, and, or, not.
	Functions:
	bool substringof(string p0, string p1)
	bool endswith(string p0, string p1)
	bool startswith(string p0, string p1)
	int length(string p0)
	int indexof(string p0, string p1)
	string replace(string p0, string find, string replace)
	string substring(string p0, int pos)
	string substring(string p0, int pos, int length)
	string tolower(string p0)
	string toupper(string p0)
	string trim(string p0)
	string concat(string p0, string p1)
	*/
	DollarFilter *string

	/* DollarOrderBy.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   Number of records you want to skip.
	*/
	DollarSkip *int64

	/* DollarTop.

	   Number of records you want to get.
	*/
	DollarTop *int64

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectsParamsWithContext

func NewGetProjectsParamsWithContext(ctx context.Context) *GetProjectsParams

NewGetProjectsParamsWithContext creates a new GetProjectsParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *GetProjectsParams) SetDefaults()

SetDefaults hydrates default values in the get projects params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectsParams) SetDollarCount added in v0.2.18

func (o *GetProjectsParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount 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) SetDollarOrderBy added in v0.2.20

func (o *GetProjectsParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the get projects params

func (*GetProjectsParams) SetDollarSkip added in v0.2.18

func (o *GetProjectsParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get projects params

func (*GetProjectsParams) SetDollarTop added in v0.2.18

func (o *GetProjectsParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop 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) WithDefaults added in v0.2.20

func (o *GetProjectsParams) WithDefaults() *GetProjectsParams

WithDefaults hydrates default values in the get projects params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectsParams) WithDollarCount added in v0.2.18

func (o *GetProjectsParams) WithDollarCount(dollarCount *bool) *GetProjectsParams

WithDollarCount adds the dollarCount 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) WithDollarOrderBy added in v0.2.20

func (o *GetProjectsParams) WithDollarOrderBy(dollarOrderBy *string) *GetProjectsParams

WithDollarOrderBy adds the dollarOrderBy to the get projects params

func (*GetProjectsParams) WithDollarSkip added in v0.2.18

func (o *GetProjectsParams) WithDollarSkip(dollarSkip *int64) *GetProjectsParams

WithDollarSkip adds the dollarSkip to the get projects params

func (*GetProjectsParams) WithDollarTop added in v0.2.18

func (o *GetProjectsParams) WithDollarTop(dollarTop *int64) *GetProjectsParams

WithDollarTop adds the dollarTop 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 GetUsingGETMixin4NotFound added in v0.2.22

type GetUsingGETMixin4NotFound struct {
	Payload *models.Error
}
GetUsingGETMixin4NotFound describes a response with status code 404, with default header values.

'Not found' if no project with the provided id

func NewGetUsingGETMixin4NotFound added in v0.2.22

func NewGetUsingGETMixin4NotFound() *GetUsingGETMixin4NotFound

NewGetUsingGETMixin4NotFound creates a GetUsingGETMixin4NotFound with default headers values

func (*GetUsingGETMixin4NotFound) Error added in v0.2.22

func (o *GetUsingGETMixin4NotFound) Error() string

func (*GetUsingGETMixin4NotFound) GetPayload added in v0.2.22

func (o *GetUsingGETMixin4NotFound) GetPayload() *models.Error

type GetUsingGETMixin4OK added in v0.2.22

type GetUsingGETMixin4OK struct {
	Payload models.ProjectResourceMetadata
}
GetUsingGETMixin4OK describes a response with status code 200, with default header values.

'OK' with the ProjectResourceMetadata

func NewGetUsingGETMixin4OK added in v0.2.22

func NewGetUsingGETMixin4OK() *GetUsingGETMixin4OK

NewGetUsingGETMixin4OK creates a GetUsingGETMixin4OK with default headers values

func (*GetUsingGETMixin4OK) Error added in v0.2.22

func (o *GetUsingGETMixin4OK) Error() string

func (*GetUsingGETMixin4OK) GetPayload added in v0.2.22

type GetUsingGETMixin4Params added in v0.2.22

type GetUsingGETMixin4Params struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ID.

	   Тhe id of the project.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUsingGETMixin4Params contains all the parameters to send to the API endpoint

for the get using g e t mixin4 operation.

Typically these are written to a http.Request.

func NewGetUsingGETMixin4Params added in v0.2.22

func NewGetUsingGETMixin4Params() *GetUsingGETMixin4Params

NewGetUsingGETMixin4Params creates a new GetUsingGETMixin4Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsingGETMixin4ParamsWithContext added in v0.2.22

func NewGetUsingGETMixin4ParamsWithContext(ctx context.Context) *GetUsingGETMixin4Params

NewGetUsingGETMixin4ParamsWithContext creates a new GetUsingGETMixin4Params object with the ability to set a context for a request.

func NewGetUsingGETMixin4ParamsWithHTTPClient added in v0.2.22

func NewGetUsingGETMixin4ParamsWithHTTPClient(client *http.Client) *GetUsingGETMixin4Params

NewGetUsingGETMixin4ParamsWithHTTPClient creates a new GetUsingGETMixin4Params object with the ability to set a custom HTTPClient for a request.

func NewGetUsingGETMixin4ParamsWithTimeout added in v0.2.22

func NewGetUsingGETMixin4ParamsWithTimeout(timeout time.Duration) *GetUsingGETMixin4Params

NewGetUsingGETMixin4ParamsWithTimeout creates a new GetUsingGETMixin4Params object with the ability to set a timeout on a request.

func (*GetUsingGETMixin4Params) SetAPIVersion added in v0.2.22

func (o *GetUsingGETMixin4Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) SetContext added in v0.2.22

func (o *GetUsingGETMixin4Params) SetContext(ctx context.Context)

SetContext adds the context to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) SetDefaults added in v0.2.22

func (o *GetUsingGETMixin4Params) SetDefaults()

SetDefaults hydrates default values in the get using g e t mixin4 params (not the query body).

All values with no default are reset to their zero value.

func (*GetUsingGETMixin4Params) SetHTTPClient added in v0.2.22

func (o *GetUsingGETMixin4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) SetID added in v0.2.22

func (o *GetUsingGETMixin4Params) SetID(id string)

SetID adds the id to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) SetTimeout added in v0.2.22

func (o *GetUsingGETMixin4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) WithAPIVersion added in v0.2.22

func (o *GetUsingGETMixin4Params) WithAPIVersion(aPIVersion *string) *GetUsingGETMixin4Params

WithAPIVersion adds the aPIVersion to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) WithContext added in v0.2.22

WithContext adds the context to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the get using g e t mixin4 params (not the query body).

All values with no default are reset to their zero value.

func (*GetUsingGETMixin4Params) WithHTTPClient added in v0.2.22

func (o *GetUsingGETMixin4Params) WithHTTPClient(client *http.Client) *GetUsingGETMixin4Params

WithHTTPClient adds the HTTPClient to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) WithID added in v0.2.22

WithID adds the id to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the get using g e t mixin4 params

func (*GetUsingGETMixin4Params) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type GetUsingGETMixin4Reader added in v0.2.22

type GetUsingGETMixin4Reader struct {
	// contains filtered or unexported fields
}

GetUsingGETMixin4Reader is a Reader for the GetUsingGETMixin4 structure.

func (*GetUsingGETMixin4Reader) ReadResponse added in v0.2.22

func (o *GetUsingGETMixin4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyProjectCostsUsingPATCHForbidden added in v0.2.22

type ModifyProjectCostsUsingPATCHForbidden struct {
}
ModifyProjectCostsUsingPATCHForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewModifyProjectCostsUsingPATCHForbidden added in v0.2.22

func NewModifyProjectCostsUsingPATCHForbidden() *ModifyProjectCostsUsingPATCHForbidden

NewModifyProjectCostsUsingPATCHForbidden creates a ModifyProjectCostsUsingPATCHForbidden with default headers values

func (*ModifyProjectCostsUsingPATCHForbidden) Error added in v0.2.22

type ModifyProjectCostsUsingPATCHNotFound added in v0.2.22

type ModifyProjectCostsUsingPATCHNotFound struct {
	Payload *models.Error
}
ModifyProjectCostsUsingPATCHNotFound describes a response with status code 404, with default header values.

'Not found' if no project with the provided id

func NewModifyProjectCostsUsingPATCHNotFound added in v0.2.22

func NewModifyProjectCostsUsingPATCHNotFound() *ModifyProjectCostsUsingPATCHNotFound

NewModifyProjectCostsUsingPATCHNotFound creates a ModifyProjectCostsUsingPATCHNotFound with default headers values

func (*ModifyProjectCostsUsingPATCHNotFound) Error added in v0.2.22

func (*ModifyProjectCostsUsingPATCHNotFound) GetPayload added in v0.2.22

type ModifyProjectCostsUsingPATCHOK added in v0.2.22

type ModifyProjectCostsUsingPATCHOK struct {
	Payload models.Project
}
ModifyProjectCostsUsingPATCHOK describes a response with status code 200, with default header values.

'Success' with the Project

func NewModifyProjectCostsUsingPATCHOK added in v0.2.22

func NewModifyProjectCostsUsingPATCHOK() *ModifyProjectCostsUsingPATCHOK

NewModifyProjectCostsUsingPATCHOK creates a ModifyProjectCostsUsingPATCHOK with default headers values

func (*ModifyProjectCostsUsingPATCHOK) Error added in v0.2.22

func (*ModifyProjectCostsUsingPATCHOK) GetPayload added in v0.2.22

type ModifyProjectCostsUsingPATCHParams added in v0.2.22

type ModifyProjectCostsUsingPATCHParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ID.

	   The id of the project.
	*/
	ID string

	/* ProjectCost.

	   projectCost
	*/
	ProjectCost models.ProjectCost

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModifyProjectCostsUsingPATCHParams contains all the parameters to send to the API endpoint

for the modify project costs using p a t c h operation.

Typically these are written to a http.Request.

func NewModifyProjectCostsUsingPATCHParams added in v0.2.22

func NewModifyProjectCostsUsingPATCHParams() *ModifyProjectCostsUsingPATCHParams

NewModifyProjectCostsUsingPATCHParams creates a new ModifyProjectCostsUsingPATCHParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewModifyProjectCostsUsingPATCHParamsWithContext added in v0.2.22

func NewModifyProjectCostsUsingPATCHParamsWithContext(ctx context.Context) *ModifyProjectCostsUsingPATCHParams

NewModifyProjectCostsUsingPATCHParamsWithContext creates a new ModifyProjectCostsUsingPATCHParams object with the ability to set a context for a request.

func NewModifyProjectCostsUsingPATCHParamsWithHTTPClient added in v0.2.22

func NewModifyProjectCostsUsingPATCHParamsWithHTTPClient(client *http.Client) *ModifyProjectCostsUsingPATCHParams

NewModifyProjectCostsUsingPATCHParamsWithHTTPClient creates a new ModifyProjectCostsUsingPATCHParams object with the ability to set a custom HTTPClient for a request.

func NewModifyProjectCostsUsingPATCHParamsWithTimeout added in v0.2.22

func NewModifyProjectCostsUsingPATCHParamsWithTimeout(timeout time.Duration) *ModifyProjectCostsUsingPATCHParams

NewModifyProjectCostsUsingPATCHParamsWithTimeout creates a new ModifyProjectCostsUsingPATCHParams object with the ability to set a timeout on a request.

func (*ModifyProjectCostsUsingPATCHParams) SetAPIVersion added in v0.2.22

func (o *ModifyProjectCostsUsingPATCHParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) SetContext added in v0.2.22

SetContext adds the context to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) SetDefaults added in v0.2.22

func (o *ModifyProjectCostsUsingPATCHParams) SetDefaults()

SetDefaults hydrates default values in the modify project costs using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyProjectCostsUsingPATCHParams) SetHTTPClient added in v0.2.22

func (o *ModifyProjectCostsUsingPATCHParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) SetID added in v0.2.22

SetID adds the id to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) SetProjectCost added in v0.2.22

func (o *ModifyProjectCostsUsingPATCHParams) SetProjectCost(projectCost models.ProjectCost)

SetProjectCost adds the projectCost to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) SetTimeout added in v0.2.22

func (o *ModifyProjectCostsUsingPATCHParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) WithAPIVersion added in v0.2.22

WithAPIVersion adds the aPIVersion to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) WithContext added in v0.2.22

WithContext adds the context to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the modify project costs using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyProjectCostsUsingPATCHParams) WithHTTPClient added in v0.2.22

WithHTTPClient adds the HTTPClient to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) WithID added in v0.2.22

WithID adds the id to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) WithProjectCost added in v0.2.22

WithProjectCost adds the projectCost to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the modify project costs using p a t c h params

func (*ModifyProjectCostsUsingPATCHParams) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type ModifyProjectCostsUsingPATCHReader added in v0.2.22

type ModifyProjectCostsUsingPATCHReader struct {
	// contains filtered or unexported fields
}

ModifyProjectCostsUsingPATCHReader is a Reader for the ModifyProjectCostsUsingPATCH structure.

func (*ModifyProjectCostsUsingPATCHReader) ReadResponse added in v0.2.22

func (o *ModifyProjectCostsUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyProjectPrincipalsUsingPATCHForbidden added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHForbidden struct {
}
ModifyProjectPrincipalsUsingPATCHForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewModifyProjectPrincipalsUsingPATCHForbidden added in v0.2.22

func NewModifyProjectPrincipalsUsingPATCHForbidden() *ModifyProjectPrincipalsUsingPATCHForbidden

NewModifyProjectPrincipalsUsingPATCHForbidden creates a ModifyProjectPrincipalsUsingPATCHForbidden with default headers values

func (*ModifyProjectPrincipalsUsingPATCHForbidden) Error added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHNotFound added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHNotFound struct {
	Payload *models.Error
}
ModifyProjectPrincipalsUsingPATCHNotFound describes a response with status code 404, with default header values.

'Not found' if no project with the provided id

func NewModifyProjectPrincipalsUsingPATCHNotFound added in v0.2.22

func NewModifyProjectPrincipalsUsingPATCHNotFound() *ModifyProjectPrincipalsUsingPATCHNotFound

NewModifyProjectPrincipalsUsingPATCHNotFound creates a ModifyProjectPrincipalsUsingPATCHNotFound with default headers values

func (*ModifyProjectPrincipalsUsingPATCHNotFound) Error added in v0.2.22

func (*ModifyProjectPrincipalsUsingPATCHNotFound) GetPayload added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHOK added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHOK struct {
	Payload models.Project
}
ModifyProjectPrincipalsUsingPATCHOK describes a response with status code 200, with default header values.

'Success' with the Project

func NewModifyProjectPrincipalsUsingPATCHOK added in v0.2.22

func NewModifyProjectPrincipalsUsingPATCHOK() *ModifyProjectPrincipalsUsingPATCHOK

NewModifyProjectPrincipalsUsingPATCHOK creates a ModifyProjectPrincipalsUsingPATCHOK with default headers values

func (*ModifyProjectPrincipalsUsingPATCHOK) Error added in v0.2.22

func (*ModifyProjectPrincipalsUsingPATCHOK) GetPayload added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHParams added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ID.

	   The id of the project.
	*/
	ID string

	/* Roles.

	   roles
	*/
	Roles *models.ProjectPrincipalsAssignment

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModifyProjectPrincipalsUsingPATCHParams contains all the parameters to send to the API endpoint

for the modify project principals using p a t c h operation.

Typically these are written to a http.Request.

func NewModifyProjectPrincipalsUsingPATCHParams added in v0.2.22

func NewModifyProjectPrincipalsUsingPATCHParams() *ModifyProjectPrincipalsUsingPATCHParams

NewModifyProjectPrincipalsUsingPATCHParams creates a new ModifyProjectPrincipalsUsingPATCHParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewModifyProjectPrincipalsUsingPATCHParamsWithContext added in v0.2.22

func NewModifyProjectPrincipalsUsingPATCHParamsWithContext(ctx context.Context) *ModifyProjectPrincipalsUsingPATCHParams

NewModifyProjectPrincipalsUsingPATCHParamsWithContext creates a new ModifyProjectPrincipalsUsingPATCHParams object with the ability to set a context for a request.

func NewModifyProjectPrincipalsUsingPATCHParamsWithHTTPClient added in v0.2.22

func NewModifyProjectPrincipalsUsingPATCHParamsWithHTTPClient(client *http.Client) *ModifyProjectPrincipalsUsingPATCHParams

NewModifyProjectPrincipalsUsingPATCHParamsWithHTTPClient creates a new ModifyProjectPrincipalsUsingPATCHParams object with the ability to set a custom HTTPClient for a request.

func NewModifyProjectPrincipalsUsingPATCHParamsWithTimeout added in v0.2.22

func NewModifyProjectPrincipalsUsingPATCHParamsWithTimeout(timeout time.Duration) *ModifyProjectPrincipalsUsingPATCHParams

NewModifyProjectPrincipalsUsingPATCHParamsWithTimeout creates a new ModifyProjectPrincipalsUsingPATCHParams object with the ability to set a timeout on a request.

func (*ModifyProjectPrincipalsUsingPATCHParams) SetAPIVersion added in v0.2.22

func (o *ModifyProjectPrincipalsUsingPATCHParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) SetContext added in v0.2.22

SetContext adds the context to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) SetDefaults added in v0.2.22

func (o *ModifyProjectPrincipalsUsingPATCHParams) SetDefaults()

SetDefaults hydrates default values in the modify project principals using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyProjectPrincipalsUsingPATCHParams) SetHTTPClient added in v0.2.22

func (o *ModifyProjectPrincipalsUsingPATCHParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) SetID added in v0.2.22

SetID adds the id to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) SetRoles added in v0.2.22

SetRoles adds the roles to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) SetTimeout added in v0.2.22

func (o *ModifyProjectPrincipalsUsingPATCHParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) WithAPIVersion added in v0.2.22

WithAPIVersion adds the aPIVersion to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) WithContext added in v0.2.22

WithContext adds the context to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the modify project principals using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyProjectPrincipalsUsingPATCHParams) WithHTTPClient added in v0.2.22

WithHTTPClient adds the HTTPClient to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) WithID added in v0.2.22

WithID adds the id to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) WithRoles added in v0.2.22

WithRoles adds the roles to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the modify project principals using p a t c h params

func (*ModifyProjectPrincipalsUsingPATCHParams) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type ModifyProjectPrincipalsUsingPATCHReader added in v0.2.22

type ModifyProjectPrincipalsUsingPATCHReader struct {
	// contains filtered or unexported fields
}

ModifyProjectPrincipalsUsingPATCHReader is a Reader for the ModifyProjectPrincipalsUsingPATCH structure.

func (*ModifyProjectPrincipalsUsingPATCHReader) ReadResponse added in v0.2.22

func (o *ModifyProjectPrincipalsUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyProjectUsingPATCHForbidden added in v0.2.22

type ModifyProjectUsingPATCHForbidden struct {
}
ModifyProjectUsingPATCHForbidden describes a response with status code 403, with default header values.

Forbidden, the user lacks permissions

func NewModifyProjectUsingPATCHForbidden added in v0.2.22

func NewModifyProjectUsingPATCHForbidden() *ModifyProjectUsingPATCHForbidden

NewModifyProjectUsingPATCHForbidden creates a ModifyProjectUsingPATCHForbidden with default headers values

func (*ModifyProjectUsingPATCHForbidden) Error added in v0.2.22

type ModifyProjectUsingPATCHNotFound added in v0.2.22

type ModifyProjectUsingPATCHNotFound struct {
	Payload *models.Error
}
ModifyProjectUsingPATCHNotFound describes a response with status code 404, with default header values.

'Not found' if no project with the provided id

func NewModifyProjectUsingPATCHNotFound added in v0.2.22

func NewModifyProjectUsingPATCHNotFound() *ModifyProjectUsingPATCHNotFound

NewModifyProjectUsingPATCHNotFound creates a ModifyProjectUsingPATCHNotFound with default headers values

func (*ModifyProjectUsingPATCHNotFound) Error added in v0.2.22

func (*ModifyProjectUsingPATCHNotFound) GetPayload added in v0.2.22

func (o *ModifyProjectUsingPATCHNotFound) GetPayload() *models.Error

type ModifyProjectUsingPATCHOK added in v0.2.22

type ModifyProjectUsingPATCHOK struct {
	Payload models.Project
}
ModifyProjectUsingPATCHOK describes a response with status code 200, with default header values.

'Success' with the Project

func NewModifyProjectUsingPATCHOK added in v0.2.22

func NewModifyProjectUsingPATCHOK() *ModifyProjectUsingPATCHOK

NewModifyProjectUsingPATCHOK creates a ModifyProjectUsingPATCHOK with default headers values

func (*ModifyProjectUsingPATCHOK) Error added in v0.2.22

func (o *ModifyProjectUsingPATCHOK) Error() string

func (*ModifyProjectUsingPATCHOK) GetPayload added in v0.2.22

func (o *ModifyProjectUsingPATCHOK) GetPayload() models.Project

type ModifyProjectUsingPATCHParams added in v0.2.22

type ModifyProjectUsingPATCHParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ID.

	   The id of the project.
	*/
	ID string

	/* Project.

	   project
	*/
	Project models.UpdateProjectSpecification

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModifyProjectUsingPATCHParams contains all the parameters to send to the API endpoint

for the modify project using p a t c h operation.

Typically these are written to a http.Request.

func NewModifyProjectUsingPATCHParams added in v0.2.22

func NewModifyProjectUsingPATCHParams() *ModifyProjectUsingPATCHParams

NewModifyProjectUsingPATCHParams creates a new ModifyProjectUsingPATCHParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewModifyProjectUsingPATCHParamsWithContext added in v0.2.22

func NewModifyProjectUsingPATCHParamsWithContext(ctx context.Context) *ModifyProjectUsingPATCHParams

NewModifyProjectUsingPATCHParamsWithContext creates a new ModifyProjectUsingPATCHParams object with the ability to set a context for a request.

func NewModifyProjectUsingPATCHParamsWithHTTPClient added in v0.2.22

func NewModifyProjectUsingPATCHParamsWithHTTPClient(client *http.Client) *ModifyProjectUsingPATCHParams

NewModifyProjectUsingPATCHParamsWithHTTPClient creates a new ModifyProjectUsingPATCHParams object with the ability to set a custom HTTPClient for a request.

func NewModifyProjectUsingPATCHParamsWithTimeout added in v0.2.22

func NewModifyProjectUsingPATCHParamsWithTimeout(timeout time.Duration) *ModifyProjectUsingPATCHParams

NewModifyProjectUsingPATCHParamsWithTimeout creates a new ModifyProjectUsingPATCHParams object with the ability to set a timeout on a request.

func (*ModifyProjectUsingPATCHParams) SetAPIVersion added in v0.2.22

func (o *ModifyProjectUsingPATCHParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) SetContext added in v0.2.22

func (o *ModifyProjectUsingPATCHParams) SetContext(ctx context.Context)

SetContext adds the context to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) SetDefaults added in v0.2.22

func (o *ModifyProjectUsingPATCHParams) SetDefaults()

SetDefaults hydrates default values in the modify project using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyProjectUsingPATCHParams) SetHTTPClient added in v0.2.22

func (o *ModifyProjectUsingPATCHParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) SetID added in v0.2.22

SetID adds the id to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) SetProject added in v0.2.22

SetProject adds the project to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) SetTimeout added in v0.2.22

func (o *ModifyProjectUsingPATCHParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) WithAPIVersion added in v0.2.22

func (o *ModifyProjectUsingPATCHParams) WithAPIVersion(aPIVersion *string) *ModifyProjectUsingPATCHParams

WithAPIVersion adds the aPIVersion to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) WithContext added in v0.2.22

WithContext adds the context to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the modify project using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyProjectUsingPATCHParams) WithHTTPClient added in v0.2.22

WithHTTPClient adds the HTTPClient to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) WithID added in v0.2.22

WithID adds the id to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) WithProject added in v0.2.22

WithProject adds the project to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the modify project using p a t c h params

func (*ModifyProjectUsingPATCHParams) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type ModifyProjectUsingPATCHReader added in v0.2.22

type ModifyProjectUsingPATCHReader struct {
	// contains filtered or unexported fields
}

ModifyProjectUsingPATCHReader is a Reader for the ModifyProjectUsingPATCH structure.

func (*ModifyProjectUsingPATCHReader) ReadResponse added in v0.2.22

func (o *ModifyProjectUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateProjectBadRequest

type UpdateProjectBadRequest struct {
	Payload *models.Error
}
UpdateProjectBadRequest describes a response with status code 400, 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

func (*UpdateProjectBadRequest) GetPayload added in v0.2.9

func (o *UpdateProjectBadRequest) GetPayload() *models.Error

type UpdateProjectForbidden

type UpdateProjectForbidden struct {
	Payload *models.ServiceErrorResponse
}
UpdateProjectForbidden describes a response with status code 403, 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

func (*UpdateProjectForbidden) GetPayload added in v0.2.20

type UpdateProjectOK

type UpdateProjectOK struct {
	Payload *models.IaaSProject
}
UpdateProjectOK describes a response with status code 200, 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.IaaSProject

type UpdateProjectParams

type UpdateProjectParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Project specification
	*/
	Body *models.IaaSProjectSpecification

	/* 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateProjectParamsWithContext

func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams

NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with 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 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 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

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) SetDefaults added in v0.2.20

func (o *UpdateProjectParams) SetDefaults()

SetDefaults hydrates default values in the update project params (not the query body).

All values with no default are reset to their zero value.

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

WithBody adds the body to the update project params

func (*UpdateProjectParams) WithContext

WithContext adds the context to the update project params

func (*UpdateProjectParams) WithDefaults added in v0.2.20

func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams

WithDefaults hydrates default values in the update project params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectParams) WithHTTPClient

func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams

WithHTTPClient adds the HTTPClient to the update project params

func (*UpdateProjectParams) WithID

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 {
	Payload *models.Error
}
UpdateProjectResourceMetadataBadRequest describes a response with status code 400, 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 (*UpdateProjectResourceMetadataBadRequest) GetPayload added in v0.2.9

type UpdateProjectResourceMetadataForbidden

type UpdateProjectResourceMetadataForbidden struct {
	Payload *models.ServiceErrorResponse
}
UpdateProjectResourceMetadataForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateProjectResourceMetadataForbidden

func NewUpdateProjectResourceMetadataForbidden() *UpdateProjectResourceMetadataForbidden

NewUpdateProjectResourceMetadataForbidden creates a UpdateProjectResourceMetadataForbidden with default headers values

func (*UpdateProjectResourceMetadataForbidden) Error

func (*UpdateProjectResourceMetadataForbidden) GetPayload added in v0.2.20

type UpdateProjectResourceMetadataOK

type UpdateProjectResourceMetadataOK struct {
	Payload *models.IaaSProject
}
UpdateProjectResourceMetadataOK describes a response with status code 200, with default header values.

successful operation

func NewUpdateProjectResourceMetadataOK

func NewUpdateProjectResourceMetadataOK() *UpdateProjectResourceMetadataOK

NewUpdateProjectResourceMetadataOK creates a UpdateProjectResourceMetadataOK with default headers values

func (*UpdateProjectResourceMetadataOK) Error

func (*UpdateProjectResourceMetadataOK) GetPayload

type UpdateProjectResourceMetadataParams

type UpdateProjectResourceMetadataParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateProjectResourceMetadataParamsWithContext

func NewUpdateProjectResourceMetadataParamsWithContext(ctx context.Context) *UpdateProjectResourceMetadataParams

NewUpdateProjectResourceMetadataParamsWithContext creates a new UpdateProjectResourceMetadataParams object with 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 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 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

SetBody adds the body to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) SetContext

SetContext adds the context to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) SetDefaults added in v0.2.20

func (o *UpdateProjectResourceMetadataParams) SetDefaults()

SetDefaults hydrates default values in the update project resource metadata params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectResourceMetadataParams) SetHTTPClient

func (o *UpdateProjectResourceMetadataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) SetID

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

WithAPIVersion adds the aPIVersion to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) WithBody

WithBody adds the body to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) WithContext

WithContext adds the context to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the update project resource metadata params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectResourceMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) WithID

WithID adds the id to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) WithTimeout

WithTimeout adds the timeout to the update project resource metadata params

func (*UpdateProjectResourceMetadataParams) WriteToRequest

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.

type UpdateUsingPATCHBadRequest added in v0.2.22

type UpdateUsingPATCHBadRequest struct {
	Payload *models.Error
}
UpdateUsingPATCHBadRequest describes a response with status code 400, with default header values.

'Bad request' on validation failure

func NewUpdateUsingPATCHBadRequest added in v0.2.22

func NewUpdateUsingPATCHBadRequest() *UpdateUsingPATCHBadRequest

NewUpdateUsingPATCHBadRequest creates a UpdateUsingPATCHBadRequest with default headers values

func (*UpdateUsingPATCHBadRequest) Error added in v0.2.22

func (*UpdateUsingPATCHBadRequest) GetPayload added in v0.2.22

func (o *UpdateUsingPATCHBadRequest) GetPayload() *models.Error

type UpdateUsingPATCHNotFound added in v0.2.22

type UpdateUsingPATCHNotFound struct {
	Payload *models.Error
}
UpdateUsingPATCHNotFound describes a response with status code 404, with default header values.

'Not found' if no project with the provided id

func NewUpdateUsingPATCHNotFound added in v0.2.22

func NewUpdateUsingPATCHNotFound() *UpdateUsingPATCHNotFound

NewUpdateUsingPATCHNotFound creates a UpdateUsingPATCHNotFound with default headers values

func (*UpdateUsingPATCHNotFound) Error added in v0.2.22

func (o *UpdateUsingPATCHNotFound) Error() string

func (*UpdateUsingPATCHNotFound) GetPayload added in v0.2.22

func (o *UpdateUsingPATCHNotFound) GetPayload() *models.Error

type UpdateUsingPATCHOK added in v0.2.22

type UpdateUsingPATCHOK struct {
	Payload models.ProjectResourceMetadata
}
UpdateUsingPATCHOK describes a response with status code 200, with default header values.

'OK' with the newly updated project resource metadata

func NewUpdateUsingPATCHOK added in v0.2.22

func NewUpdateUsingPATCHOK() *UpdateUsingPATCHOK

NewUpdateUsingPATCHOK creates a UpdateUsingPATCHOK with default headers values

func (*UpdateUsingPATCHOK) Error added in v0.2.22

func (o *UpdateUsingPATCHOK) Error() string

func (*UpdateUsingPATCHOK) GetPayload added in v0.2.22

type UpdateUsingPATCHParams added in v0.2.22

type UpdateUsingPATCHParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.
	*/
	APIVersion *string

	/* ID.

	   Тhe id of the project.
	*/
	ID string

	/* Request.

	   request
	*/
	Request models.ProjectResourceMetadata

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateUsingPATCHParams contains all the parameters to send to the API endpoint

for the update using p a t c h operation.

Typically these are written to a http.Request.

func NewUpdateUsingPATCHParams added in v0.2.22

func NewUpdateUsingPATCHParams() *UpdateUsingPATCHParams

NewUpdateUsingPATCHParams creates a new UpdateUsingPATCHParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateUsingPATCHParamsWithContext added in v0.2.22

func NewUpdateUsingPATCHParamsWithContext(ctx context.Context) *UpdateUsingPATCHParams

NewUpdateUsingPATCHParamsWithContext creates a new UpdateUsingPATCHParams object with the ability to set a context for a request.

func NewUpdateUsingPATCHParamsWithHTTPClient added in v0.2.22

func NewUpdateUsingPATCHParamsWithHTTPClient(client *http.Client) *UpdateUsingPATCHParams

NewUpdateUsingPATCHParamsWithHTTPClient creates a new UpdateUsingPATCHParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUsingPATCHParamsWithTimeout added in v0.2.22

func NewUpdateUsingPATCHParamsWithTimeout(timeout time.Duration) *UpdateUsingPATCHParams

NewUpdateUsingPATCHParamsWithTimeout creates a new UpdateUsingPATCHParams object with the ability to set a timeout on a request.

func (*UpdateUsingPATCHParams) SetAPIVersion added in v0.2.22

func (o *UpdateUsingPATCHParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the update using p a t c h params

func (*UpdateUsingPATCHParams) SetContext added in v0.2.22

func (o *UpdateUsingPATCHParams) SetContext(ctx context.Context)

SetContext adds the context to the update using p a t c h params

func (*UpdateUsingPATCHParams) SetDefaults added in v0.2.22

func (o *UpdateUsingPATCHParams) SetDefaults()

SetDefaults hydrates default values in the update using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateUsingPATCHParams) SetHTTPClient added in v0.2.22

func (o *UpdateUsingPATCHParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update using p a t c h params

func (*UpdateUsingPATCHParams) SetID added in v0.2.22

func (o *UpdateUsingPATCHParams) SetID(id string)

SetID adds the id to the update using p a t c h params

func (*UpdateUsingPATCHParams) SetRequest added in v0.2.22

func (o *UpdateUsingPATCHParams) SetRequest(request models.ProjectResourceMetadata)

SetRequest adds the request to the update using p a t c h params

func (*UpdateUsingPATCHParams) SetTimeout added in v0.2.22

func (o *UpdateUsingPATCHParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update using p a t c h params

func (*UpdateUsingPATCHParams) WithAPIVersion added in v0.2.22

func (o *UpdateUsingPATCHParams) WithAPIVersion(aPIVersion *string) *UpdateUsingPATCHParams

WithAPIVersion adds the aPIVersion to the update using p a t c h params

func (*UpdateUsingPATCHParams) WithContext added in v0.2.22

WithContext adds the context to the update using p a t c h params

func (*UpdateUsingPATCHParams) WithDefaults added in v0.2.22

WithDefaults hydrates default values in the update using p a t c h params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateUsingPATCHParams) WithHTTPClient added in v0.2.22

func (o *UpdateUsingPATCHParams) WithHTTPClient(client *http.Client) *UpdateUsingPATCHParams

WithHTTPClient adds the HTTPClient to the update using p a t c h params

func (*UpdateUsingPATCHParams) WithID added in v0.2.22

WithID adds the id to the update using p a t c h params

func (*UpdateUsingPATCHParams) WithRequest added in v0.2.22

WithRequest adds the request to the update using p a t c h params

func (*UpdateUsingPATCHParams) WithTimeout added in v0.2.22

WithTimeout adds the timeout to the update using p a t c h params

func (*UpdateUsingPATCHParams) WriteToRequest added in v0.2.22

WriteToRequest writes these params to a swagger request

type UpdateUsingPATCHReader added in v0.2.22

type UpdateUsingPATCHReader struct {
	// contains filtered or unexported fields
}

UpdateUsingPATCHReader is a Reader for the UpdateUsingPATCH structure.

func (*UpdateUsingPATCHReader) ReadResponse added in v0.2.22

func (o *UpdateUsingPATCHReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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