organization_projects

package
v1.0.97 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 13 Imported by: 0

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 organization projects API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new organization projects API client.

func (*Client) CreateProject

func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectOK, error)

CreateProject Create a new project with envs and pipelines in the organization.

func (*Client) CreateProjectFavorite added in v1.0.88

CreateProjectFavorite Add a new project in the user favorites list.

func (*Client) DeleteProject

func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectNoContent, error)

DeleteProject Delete a project of the organization.

func (*Client) DeleteProjectEnvironment

DeleteProjectEnvironment Delete a project environment of the organization, and the project itself if it's the last environment.

func (*Client) DeleteProjectFavorite added in v1.0.88

DeleteProjectFavorite Remove a project from the user favorites list.

func (*Client) GetProject

func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectOK, error)

GetProject Get a project of the organization.

func (*Client) GetProjects

func (a *Client) GetProjects(params *GetProjectsParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectsOK, error)

GetProjects Get list of projects of the organization.

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, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectOK, error)

UpdateProject Update the information of a project of the organization. If the project has some information on the fields which aren't required and they are not sent or set to their default vaules, which depend of their types, the information will be removed.

type CreateProjectDefault

type CreateProjectDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

CreateProjectDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewCreateProjectDefault

func NewCreateProjectDefault(code int) *CreateProjectDefault

NewCreateProjectDefault creates a CreateProjectDefault with default headers values

func (*CreateProjectDefault) Code

func (o *CreateProjectDefault) Code() int

Code gets the status code for the create project default response

func (*CreateProjectDefault) Error

func (o *CreateProjectDefault) Error() string

func (*CreateProjectDefault) GetPayload

func (o *CreateProjectDefault) GetPayload() *models.ErrorPayload

type CreateProjectFavoriteDefault added in v1.0.88

type CreateProjectFavoriteDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

CreateProjectFavoriteDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewCreateProjectFavoriteDefault added in v1.0.88

func NewCreateProjectFavoriteDefault(code int) *CreateProjectFavoriteDefault

NewCreateProjectFavoriteDefault creates a CreateProjectFavoriteDefault with default headers values

func (*CreateProjectFavoriteDefault) Code added in v1.0.88

Code gets the status code for the create project favorite default response

func (*CreateProjectFavoriteDefault) Error added in v1.0.88

func (*CreateProjectFavoriteDefault) GetPayload added in v1.0.88

type CreateProjectFavoriteForbidden added in v1.0.88

type CreateProjectFavoriteForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectFavoriteForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewCreateProjectFavoriteForbidden added in v1.0.88

func NewCreateProjectFavoriteForbidden() *CreateProjectFavoriteForbidden

NewCreateProjectFavoriteForbidden creates a CreateProjectFavoriteForbidden with default headers values

func (*CreateProjectFavoriteForbidden) Error added in v1.0.88

func (*CreateProjectFavoriteForbidden) GetPayload added in v1.0.88

type CreateProjectFavoriteNoContent added in v1.0.88

type CreateProjectFavoriteNoContent struct {
}

CreateProjectFavoriteNoContent handles this case with default header values.

The project has been added to user favorites list.

func NewCreateProjectFavoriteNoContent added in v1.0.88

func NewCreateProjectFavoriteNoContent() *CreateProjectFavoriteNoContent

NewCreateProjectFavoriteNoContent creates a CreateProjectFavoriteNoContent with default headers values

func (*CreateProjectFavoriteNoContent) Error added in v1.0.88

type CreateProjectFavoriteNotFound added in v1.0.88

type CreateProjectFavoriteNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectFavoriteNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewCreateProjectFavoriteNotFound added in v1.0.88

func NewCreateProjectFavoriteNotFound() *CreateProjectFavoriteNotFound

NewCreateProjectFavoriteNotFound creates a CreateProjectFavoriteNotFound with default headers values

func (*CreateProjectFavoriteNotFound) Error added in v1.0.88

func (*CreateProjectFavoriteNotFound) GetPayload added in v1.0.88

type CreateProjectFavoriteParams added in v1.0.88

type CreateProjectFavoriteParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

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

CreateProjectFavoriteParams contains all the parameters to send to the API endpoint for the create project favorite operation typically these are written to a http.Request

func NewCreateProjectFavoriteParams added in v1.0.88

func NewCreateProjectFavoriteParams() *CreateProjectFavoriteParams

NewCreateProjectFavoriteParams creates a new CreateProjectFavoriteParams object with the default values initialized.

func NewCreateProjectFavoriteParamsWithContext added in v1.0.88

func NewCreateProjectFavoriteParamsWithContext(ctx context.Context) *CreateProjectFavoriteParams

NewCreateProjectFavoriteParamsWithContext creates a new CreateProjectFavoriteParams object with the default values initialized, and the ability to set a context for a request

func NewCreateProjectFavoriteParamsWithHTTPClient added in v1.0.88

func NewCreateProjectFavoriteParamsWithHTTPClient(client *http.Client) *CreateProjectFavoriteParams

NewCreateProjectFavoriteParamsWithHTTPClient creates a new CreateProjectFavoriteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateProjectFavoriteParamsWithTimeout added in v1.0.88

func NewCreateProjectFavoriteParamsWithTimeout(timeout time.Duration) *CreateProjectFavoriteParams

NewCreateProjectFavoriteParamsWithTimeout creates a new CreateProjectFavoriteParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateProjectFavoriteParams) SetContext added in v1.0.88

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

SetContext adds the context to the create project favorite params

func (*CreateProjectFavoriteParams) SetHTTPClient added in v1.0.88

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

SetHTTPClient adds the HTTPClient to the create project favorite params

func (*CreateProjectFavoriteParams) SetOrganizationCanonical added in v1.0.88

func (o *CreateProjectFavoriteParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) SetProjectCanonical added in v1.0.88

func (o *CreateProjectFavoriteParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) SetTimeout added in v1.0.88

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

SetTimeout adds the timeout to the create project favorite params

func (*CreateProjectFavoriteParams) WithContext added in v1.0.88

WithContext adds the context to the create project favorite params

func (*CreateProjectFavoriteParams) WithHTTPClient added in v1.0.88

WithHTTPClient adds the HTTPClient to the create project favorite params

func (*CreateProjectFavoriteParams) WithOrganizationCanonical added in v1.0.88

func (o *CreateProjectFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *CreateProjectFavoriteParams

WithOrganizationCanonical adds the organizationCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) WithProjectCanonical added in v1.0.88

func (o *CreateProjectFavoriteParams) WithProjectCanonical(projectCanonical string) *CreateProjectFavoriteParams

WithProjectCanonical adds the projectCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) WithTimeout added in v1.0.88

WithTimeout adds the timeout to the create project favorite params

func (*CreateProjectFavoriteParams) WriteToRequest added in v1.0.88

WriteToRequest writes these params to a swagger request

type CreateProjectFavoriteReader added in v1.0.88

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

CreateProjectFavoriteReader is a Reader for the CreateProjectFavorite structure.

func (*CreateProjectFavoriteReader) ReadResponse added in v1.0.88

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

ReadResponse reads a server response into the received o.

type CreateProjectFavoriteUnprocessableEntity added in v1.0.88

type CreateProjectFavoriteUnprocessableEntity struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectFavoriteUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewCreateProjectFavoriteUnprocessableEntity added in v1.0.88

func NewCreateProjectFavoriteUnprocessableEntity() *CreateProjectFavoriteUnprocessableEntity

NewCreateProjectFavoriteUnprocessableEntity creates a CreateProjectFavoriteUnprocessableEntity with default headers values

func (*CreateProjectFavoriteUnprocessableEntity) Error added in v1.0.88

func (*CreateProjectFavoriteUnprocessableEntity) GetPayload added in v1.0.88

type CreateProjectLengthRequired

type CreateProjectLengthRequired struct {
}

CreateProjectLengthRequired handles this case with default header values.

The request has a body but it doesn't have a Content-Length header.

func NewCreateProjectLengthRequired

func NewCreateProjectLengthRequired() *CreateProjectLengthRequired

NewCreateProjectLengthRequired creates a CreateProjectLengthRequired with default headers values

func (*CreateProjectLengthRequired) Error

type CreateProjectNotFound

type CreateProjectNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewCreateProjectNotFound

func NewCreateProjectNotFound() *CreateProjectNotFound

NewCreateProjectNotFound creates a CreateProjectNotFound with default headers values

func (*CreateProjectNotFound) Error

func (o *CreateProjectNotFound) Error() string

func (*CreateProjectNotFound) GetPayload

func (o *CreateProjectNotFound) GetPayload() *models.ErrorPayload

type CreateProjectOK

type CreateProjectOK struct {
	Payload *CreateProjectOKBody
}

CreateProjectOK handles this case with default header values.

Project created. The body contains the information of the new project of the organization.

func NewCreateProjectOK

func NewCreateProjectOK() *CreateProjectOK

NewCreateProjectOK creates a CreateProjectOK with default headers values

func (*CreateProjectOK) Error

func (o *CreateProjectOK) Error() string

func (*CreateProjectOK) GetPayload

func (o *CreateProjectOK) GetPayload() *CreateProjectOKBody

type CreateProjectOKBody

type CreateProjectOKBody struct {

	// data
	// Required: true
	Data *models.Project `json:"data"`
}

CreateProjectOKBody create project o k body swagger:model CreateProjectOKBody

func (*CreateProjectOKBody) MarshalBinary

func (o *CreateProjectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateProjectOKBody) UnmarshalBinary

func (o *CreateProjectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateProjectOKBody) Validate

func (o *CreateProjectOKBody) Validate(formats strfmt.Registry) error

Validate validates this create project o k body

type CreateProjectParams

type CreateProjectParams struct {

	/*Body
	  The information of the project to create and optionally its configuration inputs.
	If the configuration inputs are not sent the project configuration is not generated and should be generated separately.


	*/
	Body *models.NewProject
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string

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

CreateProjectParams contains all the parameters to send to the API endpoint for the create project operation typically these are written to a http.Request

func NewCreateProjectParams

func NewCreateProjectParams() *CreateProjectParams

NewCreateProjectParams creates a new CreateProjectParams object with the default values initialized.

func NewCreateProjectParamsWithContext

func NewCreateProjectParamsWithContext(ctx context.Context) *CreateProjectParams

NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the default values initialized, and the ability to set a context for a request

func NewCreateProjectParamsWithHTTPClient

func NewCreateProjectParamsWithHTTPClient(client *http.Client) *CreateProjectParams

NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateProjectParamsWithTimeout

func NewCreateProjectParamsWithTimeout(timeout time.Duration) *CreateProjectParams

NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateProjectParams) SetBody

func (o *CreateProjectParams) SetBody(body *models.NewProject)

SetBody adds the body to the create project params

func (*CreateProjectParams) SetContext

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

SetContext adds the context to the create project params

func (*CreateProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create project params

func (*CreateProjectParams) SetOrganizationCanonical

func (o *CreateProjectParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical 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) WithBody

WithBody adds the body to the create project params

func (*CreateProjectParams) WithContext

WithContext adds the context to the create project params

func (*CreateProjectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create project params

func (*CreateProjectParams) WithOrganizationCanonical

func (o *CreateProjectParams) WithOrganizationCanonical(organizationCanonical string) *CreateProjectParams

WithOrganizationCanonical adds the organizationCanonical 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 CreateProjectUnprocessableEntity

type CreateProjectUnprocessableEntity struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewCreateProjectUnprocessableEntity

func NewCreateProjectUnprocessableEntity() *CreateProjectUnprocessableEntity

NewCreateProjectUnprocessableEntity creates a CreateProjectUnprocessableEntity with default headers values

func (*CreateProjectUnprocessableEntity) Error

func (*CreateProjectUnprocessableEntity) GetPayload

type DeleteProjectDefault

type DeleteProjectDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

DeleteProjectDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewDeleteProjectDefault

func NewDeleteProjectDefault(code int) *DeleteProjectDefault

NewDeleteProjectDefault creates a DeleteProjectDefault with default headers values

func (*DeleteProjectDefault) Code

func (o *DeleteProjectDefault) Code() int

Code gets the status code for the delete project default response

func (*DeleteProjectDefault) Error

func (o *DeleteProjectDefault) Error() string

func (*DeleteProjectDefault) GetPayload

func (o *DeleteProjectDefault) GetPayload() *models.ErrorPayload

type DeleteProjectEnvironmentDefault

type DeleteProjectEnvironmentDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

DeleteProjectEnvironmentDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewDeleteProjectEnvironmentDefault

func NewDeleteProjectEnvironmentDefault(code int) *DeleteProjectEnvironmentDefault

NewDeleteProjectEnvironmentDefault creates a DeleteProjectEnvironmentDefault with default headers values

func (*DeleteProjectEnvironmentDefault) Code

Code gets the status code for the delete project environment default response

func (*DeleteProjectEnvironmentDefault) Error

func (*DeleteProjectEnvironmentDefault) GetPayload

type DeleteProjectEnvironmentForbidden

type DeleteProjectEnvironmentForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectEnvironmentForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewDeleteProjectEnvironmentForbidden

func NewDeleteProjectEnvironmentForbidden() *DeleteProjectEnvironmentForbidden

NewDeleteProjectEnvironmentForbidden creates a DeleteProjectEnvironmentForbidden with default headers values

func (*DeleteProjectEnvironmentForbidden) Error

func (*DeleteProjectEnvironmentForbidden) GetPayload

type DeleteProjectEnvironmentNoContent

type DeleteProjectEnvironmentNoContent struct {
}

DeleteProjectEnvironmentNoContent handles this case with default header values.

Project environment has been deleted.

func NewDeleteProjectEnvironmentNoContent

func NewDeleteProjectEnvironmentNoContent() *DeleteProjectEnvironmentNoContent

NewDeleteProjectEnvironmentNoContent creates a DeleteProjectEnvironmentNoContent with default headers values

func (*DeleteProjectEnvironmentNoContent) Error

type DeleteProjectEnvironmentNotFound

type DeleteProjectEnvironmentNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectEnvironmentNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewDeleteProjectEnvironmentNotFound

func NewDeleteProjectEnvironmentNotFound() *DeleteProjectEnvironmentNotFound

NewDeleteProjectEnvironmentNotFound creates a DeleteProjectEnvironmentNotFound with default headers values

func (*DeleteProjectEnvironmentNotFound) Error

func (*DeleteProjectEnvironmentNotFound) GetPayload

type DeleteProjectEnvironmentParams

type DeleteProjectEnvironmentParams struct {

	/*EnvironmentCanonical
	  The environment canonical to use as part of a path

	*/
	EnvironmentCanonical string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

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

DeleteProjectEnvironmentParams contains all the parameters to send to the API endpoint for the delete project environment operation typically these are written to a http.Request

func NewDeleteProjectEnvironmentParams

func NewDeleteProjectEnvironmentParams() *DeleteProjectEnvironmentParams

NewDeleteProjectEnvironmentParams creates a new DeleteProjectEnvironmentParams object with the default values initialized.

func NewDeleteProjectEnvironmentParamsWithContext

func NewDeleteProjectEnvironmentParamsWithContext(ctx context.Context) *DeleteProjectEnvironmentParams

NewDeleteProjectEnvironmentParamsWithContext creates a new DeleteProjectEnvironmentParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteProjectEnvironmentParamsWithHTTPClient

func NewDeleteProjectEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteProjectEnvironmentParams

NewDeleteProjectEnvironmentParamsWithHTTPClient creates a new DeleteProjectEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteProjectEnvironmentParamsWithTimeout

func NewDeleteProjectEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteProjectEnvironmentParams

NewDeleteProjectEnvironmentParamsWithTimeout creates a new DeleteProjectEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteProjectEnvironmentParams) SetContext

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

SetContext adds the context to the delete project environment params

func (*DeleteProjectEnvironmentParams) SetEnvironmentCanonical

func (o *DeleteProjectEnvironmentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the delete project environment params

func (*DeleteProjectEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete project environment params

func (*DeleteProjectEnvironmentParams) SetOrganizationCanonical

func (o *DeleteProjectEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete project environment params

func (*DeleteProjectEnvironmentParams) SetProjectCanonical

func (o *DeleteProjectEnvironmentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the delete project environment params

func (*DeleteProjectEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the delete project environment params

func (*DeleteProjectEnvironmentParams) WithContext

WithContext adds the context to the delete project environment params

func (*DeleteProjectEnvironmentParams) WithEnvironmentCanonical

func (o *DeleteProjectEnvironmentParams) WithEnvironmentCanonical(environmentCanonical string) *DeleteProjectEnvironmentParams

WithEnvironmentCanonical adds the environmentCanonical to the delete project environment params

func (*DeleteProjectEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete project environment params

func (*DeleteProjectEnvironmentParams) WithOrganizationCanonical

func (o *DeleteProjectEnvironmentParams) WithOrganizationCanonical(organizationCanonical string) *DeleteProjectEnvironmentParams

WithOrganizationCanonical adds the organizationCanonical to the delete project environment params

func (*DeleteProjectEnvironmentParams) WithProjectCanonical

func (o *DeleteProjectEnvironmentParams) WithProjectCanonical(projectCanonical string) *DeleteProjectEnvironmentParams

WithProjectCanonical adds the projectCanonical to the delete project environment params

func (*DeleteProjectEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the delete project environment params

func (*DeleteProjectEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectEnvironmentReader

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

DeleteProjectEnvironmentReader is a Reader for the DeleteProjectEnvironment structure.

func (*DeleteProjectEnvironmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProjectFavoriteDefault added in v1.0.88

type DeleteProjectFavoriteDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

DeleteProjectFavoriteDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewDeleteProjectFavoriteDefault added in v1.0.88

func NewDeleteProjectFavoriteDefault(code int) *DeleteProjectFavoriteDefault

NewDeleteProjectFavoriteDefault creates a DeleteProjectFavoriteDefault with default headers values

func (*DeleteProjectFavoriteDefault) Code added in v1.0.88

Code gets the status code for the delete project favorite default response

func (*DeleteProjectFavoriteDefault) Error added in v1.0.88

func (*DeleteProjectFavoriteDefault) GetPayload added in v1.0.88

type DeleteProjectFavoriteForbidden added in v1.0.88

type DeleteProjectFavoriteForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectFavoriteForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewDeleteProjectFavoriteForbidden added in v1.0.88

func NewDeleteProjectFavoriteForbidden() *DeleteProjectFavoriteForbidden

NewDeleteProjectFavoriteForbidden creates a DeleteProjectFavoriteForbidden with default headers values

func (*DeleteProjectFavoriteForbidden) Error added in v1.0.88

func (*DeleteProjectFavoriteForbidden) GetPayload added in v1.0.88

type DeleteProjectFavoriteNoContent added in v1.0.88

type DeleteProjectFavoriteNoContent struct {
}

DeleteProjectFavoriteNoContent handles this case with default header values.

The project has been removed from user favorites list.

func NewDeleteProjectFavoriteNoContent added in v1.0.88

func NewDeleteProjectFavoriteNoContent() *DeleteProjectFavoriteNoContent

NewDeleteProjectFavoriteNoContent creates a DeleteProjectFavoriteNoContent with default headers values

func (*DeleteProjectFavoriteNoContent) Error added in v1.0.88

type DeleteProjectFavoriteNotFound added in v1.0.88

type DeleteProjectFavoriteNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectFavoriteNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewDeleteProjectFavoriteNotFound added in v1.0.88

func NewDeleteProjectFavoriteNotFound() *DeleteProjectFavoriteNotFound

NewDeleteProjectFavoriteNotFound creates a DeleteProjectFavoriteNotFound with default headers values

func (*DeleteProjectFavoriteNotFound) Error added in v1.0.88

func (*DeleteProjectFavoriteNotFound) GetPayload added in v1.0.88

type DeleteProjectFavoriteParams added in v1.0.88

type DeleteProjectFavoriteParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

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

DeleteProjectFavoriteParams contains all the parameters to send to the API endpoint for the delete project favorite operation typically these are written to a http.Request

func NewDeleteProjectFavoriteParams added in v1.0.88

func NewDeleteProjectFavoriteParams() *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParams creates a new DeleteProjectFavoriteParams object with the default values initialized.

func NewDeleteProjectFavoriteParamsWithContext added in v1.0.88

func NewDeleteProjectFavoriteParamsWithContext(ctx context.Context) *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParamsWithContext creates a new DeleteProjectFavoriteParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteProjectFavoriteParamsWithHTTPClient added in v1.0.88

func NewDeleteProjectFavoriteParamsWithHTTPClient(client *http.Client) *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParamsWithHTTPClient creates a new DeleteProjectFavoriteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteProjectFavoriteParamsWithTimeout added in v1.0.88

func NewDeleteProjectFavoriteParamsWithTimeout(timeout time.Duration) *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParamsWithTimeout creates a new DeleteProjectFavoriteParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteProjectFavoriteParams) SetContext added in v1.0.88

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

SetContext adds the context to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetHTTPClient added in v1.0.88

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

SetHTTPClient adds the HTTPClient to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetOrganizationCanonical added in v1.0.88

func (o *DeleteProjectFavoriteParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetProjectCanonical added in v1.0.88

func (o *DeleteProjectFavoriteParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetTimeout added in v1.0.88

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

SetTimeout adds the timeout to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithContext added in v1.0.88

WithContext adds the context to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithHTTPClient added in v1.0.88

WithHTTPClient adds the HTTPClient to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithOrganizationCanonical added in v1.0.88

func (o *DeleteProjectFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *DeleteProjectFavoriteParams

WithOrganizationCanonical adds the organizationCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithProjectCanonical added in v1.0.88

func (o *DeleteProjectFavoriteParams) WithProjectCanonical(projectCanonical string) *DeleteProjectFavoriteParams

WithProjectCanonical adds the projectCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithTimeout added in v1.0.88

WithTimeout adds the timeout to the delete project favorite params

func (*DeleteProjectFavoriteParams) WriteToRequest added in v1.0.88

WriteToRequest writes these params to a swagger request

type DeleteProjectFavoriteReader added in v1.0.88

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

DeleteProjectFavoriteReader is a Reader for the DeleteProjectFavorite structure.

func (*DeleteProjectFavoriteReader) ReadResponse added in v1.0.88

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

ReadResponse reads a server response into the received o.

type DeleteProjectForbidden

type DeleteProjectForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewDeleteProjectForbidden

func NewDeleteProjectForbidden() *DeleteProjectForbidden

NewDeleteProjectForbidden creates a DeleteProjectForbidden with default headers values

func (*DeleteProjectForbidden) Error

func (o *DeleteProjectForbidden) Error() string

func (*DeleteProjectForbidden) GetPayload

func (o *DeleteProjectForbidden) GetPayload() *models.ErrorPayload

type DeleteProjectNoContent

type DeleteProjectNoContent struct {
}

DeleteProjectNoContent handles this case with default header values.

Project has been deleted.

func NewDeleteProjectNoContent

func NewDeleteProjectNoContent() *DeleteProjectNoContent

NewDeleteProjectNoContent creates a DeleteProjectNoContent with default headers values

func (*DeleteProjectNoContent) Error

func (o *DeleteProjectNoContent) Error() string

type DeleteProjectNotFound

type DeleteProjectNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewDeleteProjectNotFound

func NewDeleteProjectNotFound() *DeleteProjectNotFound

NewDeleteProjectNotFound creates a DeleteProjectNotFound with default headers values

func (*DeleteProjectNotFound) Error

func (o *DeleteProjectNotFound) Error() string

func (*DeleteProjectNotFound) GetPayload

func (o *DeleteProjectNotFound) GetPayload() *models.ErrorPayload

type DeleteProjectParams

type DeleteProjectParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

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

DeleteProjectParams contains all the parameters to send to the API endpoint for the delete project operation typically these are written to a http.Request

func NewDeleteProjectParams

func NewDeleteProjectParams() *DeleteProjectParams

NewDeleteProjectParams creates a new DeleteProjectParams object with the default values initialized.

func NewDeleteProjectParamsWithContext

func NewDeleteProjectParamsWithContext(ctx context.Context) *DeleteProjectParams

NewDeleteProjectParamsWithContext creates a new DeleteProjectParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteProjectParamsWithHTTPClient

func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectParams

NewDeleteProjectParamsWithHTTPClient creates a new DeleteProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteProjectParamsWithTimeout

func NewDeleteProjectParamsWithTimeout(timeout time.Duration) *DeleteProjectParams

NewDeleteProjectParamsWithTimeout creates a new DeleteProjectParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteProjectParams) SetContext

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

SetContext adds the context to the delete project params

func (*DeleteProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete project params

func (*DeleteProjectParams) SetOrganizationCanonical

func (o *DeleteProjectParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete project params

func (*DeleteProjectParams) SetProjectCanonical

func (o *DeleteProjectParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical 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) WithContext

WithContext adds the context to the delete project params

func (*DeleteProjectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete project params

func (*DeleteProjectParams) WithOrganizationCanonical

func (o *DeleteProjectParams) WithOrganizationCanonical(organizationCanonical string) *DeleteProjectParams

WithOrganizationCanonical adds the organizationCanonical to the delete project params

func (*DeleteProjectParams) WithProjectCanonical

func (o *DeleteProjectParams) WithProjectCanonical(projectCanonical string) *DeleteProjectParams

WithProjectCanonical adds the projectCanonical 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 GetProjectDefault

type GetProjectDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetProjectDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetProjectDefault

func NewGetProjectDefault(code int) *GetProjectDefault

NewGetProjectDefault creates a GetProjectDefault with default headers values

func (*GetProjectDefault) Code

func (o *GetProjectDefault) Code() int

Code gets the status code for the get project default response

func (*GetProjectDefault) Error

func (o *GetProjectDefault) Error() string

func (*GetProjectDefault) GetPayload

func (o *GetProjectDefault) GetPayload() *models.ErrorPayload

type GetProjectForbidden

type GetProjectForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetProjectForbidden

func NewGetProjectForbidden() *GetProjectForbidden

NewGetProjectForbidden creates a GetProjectForbidden with default headers values

func (*GetProjectForbidden) Error

func (o *GetProjectForbidden) Error() string

func (*GetProjectForbidden) GetPayload

func (o *GetProjectForbidden) GetPayload() *models.ErrorPayload

type GetProjectNotFound

type GetProjectNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectNotFound handles this case with default header values.

The response sent when any of the entities present in the path is 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

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

type GetProjectOK

type GetProjectOK struct {
	Payload *GetProjectOKBody
}

GetProjectOK handles this case with default header values.

The information of the project of the organization which has the specified ID.

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() *GetProjectOKBody

type GetProjectOKBody

type GetProjectOKBody struct {

	// data
	// Required: true
	Data *models.Project `json:"data"`
}

GetProjectOKBody get project o k body swagger:model GetProjectOKBody

func (*GetProjectOKBody) MarshalBinary

func (o *GetProjectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetProjectOKBody) UnmarshalBinary

func (o *GetProjectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetProjectOKBody) Validate

func (o *GetProjectOKBody) Validate(formats strfmt.Registry) error

Validate validates this get project o k body

type GetProjectParams

type GetProjectParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

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

GetProjectParams contains all the parameters to send to the API endpoint for the get project operation typically these are written to a http.Request

func NewGetProjectParams

func NewGetProjectParams() *GetProjectParams

NewGetProjectParams creates a new GetProjectParams object with the default values initialized.

func NewGetProjectParamsWithContext

func NewGetProjectParamsWithContext(ctx context.Context) *GetProjectParams

NewGetProjectParamsWithContext creates a new GetProjectParams object with the default values initialized, and the ability to set a context for a request

func NewGetProjectParamsWithHTTPClient

func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams

NewGetProjectParamsWithHTTPClient creates a new GetProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProjectParamsWithTimeout

func NewGetProjectParamsWithTimeout(timeout time.Duration) *GetProjectParams

NewGetProjectParamsWithTimeout creates a new GetProjectParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProjectParams) SetContext

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

SetContext adds the context to the get project params

func (*GetProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get project params

func (*GetProjectParams) SetOrganizationCanonical

func (o *GetProjectParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get project params

func (*GetProjectParams) SetProjectCanonical

func (o *GetProjectParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical 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) WithContext

func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams

WithContext adds the context to the get project params

func (*GetProjectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get project params

func (*GetProjectParams) WithOrganizationCanonical

func (o *GetProjectParams) WithOrganizationCanonical(organizationCanonical string) *GetProjectParams

WithOrganizationCanonical adds the organizationCanonical to the get project params

func (*GetProjectParams) WithProjectCanonical

func (o *GetProjectParams) WithProjectCanonical(projectCanonical string) *GetProjectParams

WithProjectCanonical adds the projectCanonical 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 GetProjectsDefault

type GetProjectsDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetProjectsDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetProjectsDefault

func NewGetProjectsDefault(code int) *GetProjectsDefault

NewGetProjectsDefault creates a GetProjectsDefault with default headers values

func (*GetProjectsDefault) Code

func (o *GetProjectsDefault) Code() int

Code gets the status code for the get projects default response

func (*GetProjectsDefault) Error

func (o *GetProjectsDefault) Error() string

func (*GetProjectsDefault) GetPayload

func (o *GetProjectsDefault) GetPayload() *models.ErrorPayload

type GetProjectsForbidden

type GetProjectsForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectsForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetProjectsForbidden

func NewGetProjectsForbidden() *GetProjectsForbidden

NewGetProjectsForbidden creates a GetProjectsForbidden with default headers values

func (*GetProjectsForbidden) Error

func (o *GetProjectsForbidden) Error() string

func (*GetProjectsForbidden) GetPayload

func (o *GetProjectsForbidden) GetPayload() *models.ErrorPayload

type GetProjectsNotFound

type GetProjectsNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectsNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewGetProjectsNotFound

func NewGetProjectsNotFound() *GetProjectsNotFound

NewGetProjectsNotFound creates a GetProjectsNotFound with default headers values

func (*GetProjectsNotFound) Error

func (o *GetProjectsNotFound) Error() string

func (*GetProjectsNotFound) GetPayload

func (o *GetProjectsNotFound) GetPayload() *models.ErrorPayload

type GetProjectsOK

type GetProjectsOK struct {
	Payload *GetProjectsOKBody
}

GetProjectsOK handles this case with default header values.

List of the projects which the organization has.

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() *GetProjectsOKBody

type GetProjectsOKBody

type GetProjectsOKBody struct {

	// data
	// Required: true
	Data []*models.Project `json:"data"`

	// pagination
	// Required: true
	Pagination *models.Pagination `json:"pagination"`
}

GetProjectsOKBody get projects o k body swagger:model GetProjectsOKBody

func (*GetProjectsOKBody) MarshalBinary

func (o *GetProjectsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetProjectsOKBody) UnmarshalBinary

func (o *GetProjectsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetProjectsOKBody) Validate

func (o *GetProjectsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get projects o k body

type GetProjectsParams

type GetProjectsParams struct {

	/*Favorite
	  Flag to retrieve favorite data from the members favorite list.


	*/
	Favorite *bool
	/*OrderBy
	  Allows to order the list of items. Example usage: field_name:asc


	*/
	OrderBy *string
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*PageIndex
	  The page number to request. The first page is 1.

	*/
	PageIndex *uint32
	/*PageSize
	  The number of items at most which the response can have.

	*/
	PageSize *uint32
	/*ProjectConfigRepositoryCanonical
	  Search by project's config repository's canonical

	*/
	ProjectConfigRepositoryCanonical *string
	/*ProjectCreatedAt
	  Search by project's creation date

	*/
	ProjectCreatedAt *uint64
	/*ProjectDescription
	  Search by project's description

	*/
	ProjectDescription *string
	/*ProjectName
	  Search by project's name

	*/
	ProjectName *string
	/*ServiceCatalogSourceCanonical
	  Organization Service Catalog Sources canonical

	*/
	ServiceCatalogSourceCanonical *string
	/*UserID
	  Search by entity's owner

	*/
	UserID *uint32

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

GetProjectsParams contains all the parameters to send to the API endpoint for the get projects operation typically these are written to a http.Request

func NewGetProjectsParams

func NewGetProjectsParams() *GetProjectsParams

NewGetProjectsParams creates a new GetProjectsParams object with the default values initialized.

func NewGetProjectsParamsWithContext

func NewGetProjectsParamsWithContext(ctx context.Context) *GetProjectsParams

NewGetProjectsParamsWithContext creates a new GetProjectsParams object with the default values initialized, and the ability to set a context for a request

func NewGetProjectsParamsWithHTTPClient

func NewGetProjectsParamsWithHTTPClient(client *http.Client) *GetProjectsParams

NewGetProjectsParamsWithHTTPClient creates a new GetProjectsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProjectsParamsWithTimeout

func NewGetProjectsParamsWithTimeout(timeout time.Duration) *GetProjectsParams

NewGetProjectsParamsWithTimeout creates a new GetProjectsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProjectsParams) SetContext

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

SetContext adds the context to the get projects params

func (*GetProjectsParams) SetFavorite added in v1.0.88

func (o *GetProjectsParams) SetFavorite(favorite *bool)

SetFavorite adds the favorite 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) SetOrderBy

func (o *GetProjectsParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get projects params

func (*GetProjectsParams) SetOrganizationCanonical

func (o *GetProjectsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get projects params

func (*GetProjectsParams) SetPageIndex

func (o *GetProjectsParams) SetPageIndex(pageIndex *uint32)

SetPageIndex adds the pageIndex to the get projects params

func (*GetProjectsParams) SetPageSize

func (o *GetProjectsParams) SetPageSize(pageSize *uint32)

SetPageSize adds the pageSize to the get projects params

func (*GetProjectsParams) SetProjectConfigRepositoryCanonical added in v1.0.58

func (o *GetProjectsParams) SetProjectConfigRepositoryCanonical(projectConfigRepositoryCanonical *string)

SetProjectConfigRepositoryCanonical adds the projectConfigRepositoryCanonical to the get projects params

func (*GetProjectsParams) SetProjectCreatedAt

func (o *GetProjectsParams) SetProjectCreatedAt(projectCreatedAt *uint64)

SetProjectCreatedAt adds the projectCreatedAt to the get projects params

func (*GetProjectsParams) SetProjectDescription

func (o *GetProjectsParams) SetProjectDescription(projectDescription *string)

SetProjectDescription adds the projectDescription to the get projects params

func (*GetProjectsParams) SetProjectName

func (o *GetProjectsParams) SetProjectName(projectName *string)

SetProjectName adds the projectName to the get projects params

func (*GetProjectsParams) SetServiceCatalogSourceCanonical added in v1.0.58

func (o *GetProjectsParams) SetServiceCatalogSourceCanonical(serviceCatalogSourceCanonical *string)

SetServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical 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) SetUserID

func (o *GetProjectsParams) SetUserID(userID *uint32)

SetUserID adds the userId 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) WithFavorite added in v1.0.88

func (o *GetProjectsParams) WithFavorite(favorite *bool) *GetProjectsParams

WithFavorite adds the favorite 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) WithOrderBy

func (o *GetProjectsParams) WithOrderBy(orderBy *string) *GetProjectsParams

WithOrderBy adds the orderBy to the get projects params

func (*GetProjectsParams) WithOrganizationCanonical

func (o *GetProjectsParams) WithOrganizationCanonical(organizationCanonical string) *GetProjectsParams

WithOrganizationCanonical adds the organizationCanonical to the get projects params

func (*GetProjectsParams) WithPageIndex

func (o *GetProjectsParams) WithPageIndex(pageIndex *uint32) *GetProjectsParams

WithPageIndex adds the pageIndex to the get projects params

func (*GetProjectsParams) WithPageSize

func (o *GetProjectsParams) WithPageSize(pageSize *uint32) *GetProjectsParams

WithPageSize adds the pageSize to the get projects params

func (*GetProjectsParams) WithProjectConfigRepositoryCanonical added in v1.0.58

func (o *GetProjectsParams) WithProjectConfigRepositoryCanonical(projectConfigRepositoryCanonical *string) *GetProjectsParams

WithProjectConfigRepositoryCanonical adds the projectConfigRepositoryCanonical to the get projects params

func (*GetProjectsParams) WithProjectCreatedAt

func (o *GetProjectsParams) WithProjectCreatedAt(projectCreatedAt *uint64) *GetProjectsParams

WithProjectCreatedAt adds the projectCreatedAt to the get projects params

func (*GetProjectsParams) WithProjectDescription

func (o *GetProjectsParams) WithProjectDescription(projectDescription *string) *GetProjectsParams

WithProjectDescription adds the projectDescription to the get projects params

func (*GetProjectsParams) WithProjectName

func (o *GetProjectsParams) WithProjectName(projectName *string) *GetProjectsParams

WithProjectName adds the projectName to the get projects params

func (*GetProjectsParams) WithServiceCatalogSourceCanonical added in v1.0.58

func (o *GetProjectsParams) WithServiceCatalogSourceCanonical(serviceCatalogSourceCanonical *string) *GetProjectsParams

WithServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical 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) WithUserID

func (o *GetProjectsParams) WithUserID(userID *uint32) *GetProjectsParams

WithUserID adds the userID 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 GetProjectsUnprocessableEntity

type GetProjectsUnprocessableEntity struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectsUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetProjectsUnprocessableEntity

func NewGetProjectsUnprocessableEntity() *GetProjectsUnprocessableEntity

NewGetProjectsUnprocessableEntity creates a GetProjectsUnprocessableEntity with default headers values

func (*GetProjectsUnprocessableEntity) Error

func (*GetProjectsUnprocessableEntity) GetPayload

type UpdateProjectDefault

type UpdateProjectDefault struct {

	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

UpdateProjectDefault handles this case with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewUpdateProjectDefault

func NewUpdateProjectDefault(code int) *UpdateProjectDefault

NewUpdateProjectDefault creates a UpdateProjectDefault with default headers values

func (*UpdateProjectDefault) Code

func (o *UpdateProjectDefault) Code() int

Code gets the status code for the update project default response

func (*UpdateProjectDefault) Error

func (o *UpdateProjectDefault) Error() string

func (*UpdateProjectDefault) GetPayload

func (o *UpdateProjectDefault) GetPayload() *models.ErrorPayload

type UpdateProjectForbidden

type UpdateProjectForbidden struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateProjectForbidden handles this case with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewUpdateProjectForbidden

func NewUpdateProjectForbidden() *UpdateProjectForbidden

NewUpdateProjectForbidden creates a UpdateProjectForbidden with default headers values

func (*UpdateProjectForbidden) Error

func (o *UpdateProjectForbidden) Error() string

func (*UpdateProjectForbidden) GetPayload

func (o *UpdateProjectForbidden) GetPayload() *models.ErrorPayload

type UpdateProjectLengthRequired

type UpdateProjectLengthRequired struct {
}

UpdateProjectLengthRequired handles this case with default header values.

The request has a body but it doesn't have a Content-Length header.

func NewUpdateProjectLengthRequired

func NewUpdateProjectLengthRequired() *UpdateProjectLengthRequired

NewUpdateProjectLengthRequired creates a UpdateProjectLengthRequired with default headers values

func (*UpdateProjectLengthRequired) Error

type UpdateProjectNotFound

type UpdateProjectNotFound struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateProjectNotFound handles this case with default header values.

The response sent when any of the entities present in the path is not found.

func NewUpdateProjectNotFound

func NewUpdateProjectNotFound() *UpdateProjectNotFound

NewUpdateProjectNotFound creates a UpdateProjectNotFound with default headers values

func (*UpdateProjectNotFound) Error

func (o *UpdateProjectNotFound) Error() string

func (*UpdateProjectNotFound) GetPayload

func (o *UpdateProjectNotFound) GetPayload() *models.ErrorPayload

type UpdateProjectOK

type UpdateProjectOK struct {
	Payload *UpdateProjectOKBody
}

UpdateProjectOK handles this case with default header values.

Project updated. The body contains information of the updated project.

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() *UpdateProjectOKBody

type UpdateProjectOKBody

type UpdateProjectOKBody struct {

	// data
	// Required: true
	Data *models.Project `json:"data"`
}

UpdateProjectOKBody update project o k body swagger:model UpdateProjectOKBody

func (*UpdateProjectOKBody) MarshalBinary

func (o *UpdateProjectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateProjectOKBody) UnmarshalBinary

func (o *UpdateProjectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateProjectOKBody) Validate

func (o *UpdateProjectOKBody) Validate(formats strfmt.Registry) error

Validate validates this update project o k body

type UpdateProjectParams

type UpdateProjectParams struct {

	/*Body
	  The information of the project to update.

	*/
	Body *models.UpdateProject
	/*OrganizationCanonical
	  A canonical of an organization.

	*/
	OrganizationCanonical string
	/*ProjectCanonical
	  A canonical of a project.

	*/
	ProjectCanonical string

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

UpdateProjectParams contains all the parameters to send to the API endpoint for the update project operation typically these are written to a http.Request

func NewUpdateProjectParams

func NewUpdateProjectParams() *UpdateProjectParams

NewUpdateProjectParams creates a new UpdateProjectParams object with the default values initialized.

func NewUpdateProjectParamsWithContext

func NewUpdateProjectParamsWithContext(ctx context.Context) *UpdateProjectParams

NewUpdateProjectParamsWithContext creates a new UpdateProjectParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateProjectParamsWithHTTPClient

func NewUpdateProjectParamsWithHTTPClient(client *http.Client) *UpdateProjectParams

NewUpdateProjectParamsWithHTTPClient creates a new UpdateProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateProjectParamsWithTimeout

func NewUpdateProjectParamsWithTimeout(timeout time.Duration) *UpdateProjectParams

NewUpdateProjectParamsWithTimeout creates a new UpdateProjectParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateProjectParams) SetBody

func (o *UpdateProjectParams) SetBody(body *models.UpdateProject)

SetBody adds the body to the update project params

func (*UpdateProjectParams) SetContext

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

SetContext adds the context to the update project params

func (*UpdateProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update project params

func (*UpdateProjectParams) SetOrganizationCanonical

func (o *UpdateProjectParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the update project params

func (*UpdateProjectParams) SetProjectCanonical

func (o *UpdateProjectParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical 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) WithBody

WithBody adds the body to the update project params

func (*UpdateProjectParams) WithContext

WithContext adds the context to the update project params

func (*UpdateProjectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update project params

func (*UpdateProjectParams) WithOrganizationCanonical

func (o *UpdateProjectParams) WithOrganizationCanonical(organizationCanonical string) *UpdateProjectParams

WithOrganizationCanonical adds the organizationCanonical to the update project params

func (*UpdateProjectParams) WithProjectCanonical

func (o *UpdateProjectParams) WithProjectCanonical(projectCanonical string) *UpdateProjectParams

WithProjectCanonical adds the projectCanonical 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 UpdateProjectUnprocessableEntity

type UpdateProjectUnprocessableEntity struct {
	/*The length of the response body in octets (8-bit bytes).
	 */
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateProjectUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewUpdateProjectUnprocessableEntity

func NewUpdateProjectUnprocessableEntity() *UpdateProjectUnprocessableEntity

NewUpdateProjectUnprocessableEntity creates a UpdateProjectUnprocessableEntity with default headers values

func (*UpdateProjectUnprocessableEntity) Error

func (*UpdateProjectUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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