organization_projects

package
v1.0.100 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationVndCycloidIoV1JSON

func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationVndCycloidIoV1JSON

func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for organization projects API

func (*Client) CreateEnvironment

func (a *Client) CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnvironmentOK, error)

CreateEnvironment Create a new environment with provider, icon and color in a project

func (*Client) CreateProject

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

CreateProject Create a new project with pipelines in the organization.

func (*Client) CreateProjectFavorite

func (a *Client) CreateProjectFavorite(params *CreateProjectFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectFavoriteNoContent, error)

CreateProjectFavorite Add a new project in the user favorites list.

func (*Client) DeleteEnvironment

func (a *Client) DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnvironmentNoContent, error)

DeleteEnvironment Delete a project environment.

func (*Client) DeleteProject

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

DeleteProject Delete a project of the organization.

func (*Client) DeleteProjectFavorite

func (a *Client) DeleteProjectFavorite(params *DeleteProjectFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectFavoriteNoContent, error)

DeleteProjectFavorite Remove a project from the user favorites list.

func (*Client) GetEnvironment

func (a *Client) GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentOK, error)

GetEnvironment Get a project environment of the organization.

func (*Client) GetProject

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

GetProject Get a project of the organization.

func (*Client) GetProjectEnvironments

func (a *Client) GetProjectEnvironments(params *GetProjectEnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectEnvironmentsOK, error)

GetProjectEnvironments Get all the environments of the project

func (*Client) GetProjects

func (a *Client) GetProjects(params *GetProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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) UpdateEnvironment

func (a *Client) UpdateEnvironment(params *UpdateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnvironmentOK, error)

UpdateEnvironment Update a project environment of the organization.

func (*Client) UpdateProject

func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 values, which depend of their types, the information will be removed.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnvironmentOK, error)

	CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectOK, error)

	CreateProjectFavorite(params *CreateProjectFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectFavoriteNoContent, error)

	DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnvironmentNoContent, error)

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

	DeleteProjectFavorite(params *DeleteProjectFavoriteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectFavoriteNoContent, error)

	GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentOK, error)

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

	GetProjectEnvironments(params *GetProjectEnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectEnvironmentsOK, error)

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

	UpdateEnvironment(params *UpdateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnvironmentOK, error)

	UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectOK, 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 organization projects API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new organization projects API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new organization projects API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateEnvironmentDefault

type CreateEnvironmentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

CreateEnvironmentDefault describes a response with status code -1, with default header values.

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

func NewCreateEnvironmentDefault

func NewCreateEnvironmentDefault(code int) *CreateEnvironmentDefault

NewCreateEnvironmentDefault creates a CreateEnvironmentDefault with default headers values

func (*CreateEnvironmentDefault) Code

func (o *CreateEnvironmentDefault) Code() int

Code gets the status code for the create environment default response

func (*CreateEnvironmentDefault) Error

func (o *CreateEnvironmentDefault) Error() string

func (*CreateEnvironmentDefault) GetPayload

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

func (*CreateEnvironmentDefault) IsClientError

func (o *CreateEnvironmentDefault) IsClientError() bool

IsClientError returns true when this create environment default response has a 4xx status code

func (*CreateEnvironmentDefault) IsCode

func (o *CreateEnvironmentDefault) IsCode(code int) bool

IsCode returns true when this create environment default response a status code equal to that given

func (*CreateEnvironmentDefault) IsRedirect

func (o *CreateEnvironmentDefault) IsRedirect() bool

IsRedirect returns true when this create environment default response has a 3xx status code

func (*CreateEnvironmentDefault) IsServerError

func (o *CreateEnvironmentDefault) IsServerError() bool

IsServerError returns true when this create environment default response has a 5xx status code

func (*CreateEnvironmentDefault) IsSuccess

func (o *CreateEnvironmentDefault) IsSuccess() bool

IsSuccess returns true when this create environment default response has a 2xx status code

func (*CreateEnvironmentDefault) String

func (o *CreateEnvironmentDefault) String() string

type CreateEnvironmentLengthRequired

type CreateEnvironmentLengthRequired struct {
}

CreateEnvironmentLengthRequired describes a response with status code 411, with default header values.

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

func NewCreateEnvironmentLengthRequired

func NewCreateEnvironmentLengthRequired() *CreateEnvironmentLengthRequired

NewCreateEnvironmentLengthRequired creates a CreateEnvironmentLengthRequired with default headers values

func (*CreateEnvironmentLengthRequired) Code

Code gets the status code for the create environment length required response

func (*CreateEnvironmentLengthRequired) Error

func (*CreateEnvironmentLengthRequired) IsClientError

func (o *CreateEnvironmentLengthRequired) IsClientError() bool

IsClientError returns true when this create environment length required response has a 4xx status code

func (*CreateEnvironmentLengthRequired) IsCode

func (o *CreateEnvironmentLengthRequired) IsCode(code int) bool

IsCode returns true when this create environment length required response a status code equal to that given

func (*CreateEnvironmentLengthRequired) IsRedirect

func (o *CreateEnvironmentLengthRequired) IsRedirect() bool

IsRedirect returns true when this create environment length required response has a 3xx status code

func (*CreateEnvironmentLengthRequired) IsServerError

func (o *CreateEnvironmentLengthRequired) IsServerError() bool

IsServerError returns true when this create environment length required response has a 5xx status code

func (*CreateEnvironmentLengthRequired) IsSuccess

func (o *CreateEnvironmentLengthRequired) IsSuccess() bool

IsSuccess returns true when this create environment length required response has a 2xx status code

func (*CreateEnvironmentLengthRequired) String

type CreateEnvironmentNotFound

type CreateEnvironmentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateEnvironmentNotFound describes a response with status code 404, with default header values.

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

func NewCreateEnvironmentNotFound

func NewCreateEnvironmentNotFound() *CreateEnvironmentNotFound

NewCreateEnvironmentNotFound creates a CreateEnvironmentNotFound with default headers values

func (*CreateEnvironmentNotFound) Code

func (o *CreateEnvironmentNotFound) Code() int

Code gets the status code for the create environment not found response

func (*CreateEnvironmentNotFound) Error

func (o *CreateEnvironmentNotFound) Error() string

func (*CreateEnvironmentNotFound) GetPayload

func (*CreateEnvironmentNotFound) IsClientError

func (o *CreateEnvironmentNotFound) IsClientError() bool

IsClientError returns true when this create environment not found response has a 4xx status code

func (*CreateEnvironmentNotFound) IsCode

func (o *CreateEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this create environment not found response a status code equal to that given

func (*CreateEnvironmentNotFound) IsRedirect

func (o *CreateEnvironmentNotFound) IsRedirect() bool

IsRedirect returns true when this create environment not found response has a 3xx status code

func (*CreateEnvironmentNotFound) IsServerError

func (o *CreateEnvironmentNotFound) IsServerError() bool

IsServerError returns true when this create environment not found response has a 5xx status code

func (*CreateEnvironmentNotFound) IsSuccess

func (o *CreateEnvironmentNotFound) IsSuccess() bool

IsSuccess returns true when this create environment not found response has a 2xx status code

func (*CreateEnvironmentNotFound) String

func (o *CreateEnvironmentNotFound) String() string

type CreateEnvironmentOK

type CreateEnvironmentOK struct {
	Payload *CreateEnvironmentOKBody
}

CreateEnvironmentOK describes a response with status code 200, with default header values.

Environment created. The body contains the information of the new environment.

func NewCreateEnvironmentOK

func NewCreateEnvironmentOK() *CreateEnvironmentOK

NewCreateEnvironmentOK creates a CreateEnvironmentOK with default headers values

func (*CreateEnvironmentOK) Code

func (o *CreateEnvironmentOK) Code() int

Code gets the status code for the create environment o k response

func (*CreateEnvironmentOK) Error

func (o *CreateEnvironmentOK) Error() string

func (*CreateEnvironmentOK) GetPayload

func (*CreateEnvironmentOK) IsClientError

func (o *CreateEnvironmentOK) IsClientError() bool

IsClientError returns true when this create environment o k response has a 4xx status code

func (*CreateEnvironmentOK) IsCode

func (o *CreateEnvironmentOK) IsCode(code int) bool

IsCode returns true when this create environment o k response a status code equal to that given

func (*CreateEnvironmentOK) IsRedirect

func (o *CreateEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this create environment o k response has a 3xx status code

func (*CreateEnvironmentOK) IsServerError

func (o *CreateEnvironmentOK) IsServerError() bool

IsServerError returns true when this create environment o k response has a 5xx status code

func (*CreateEnvironmentOK) IsSuccess

func (o *CreateEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this create environment o k response has a 2xx status code

func (*CreateEnvironmentOK) String

func (o *CreateEnvironmentOK) String() string

type CreateEnvironmentOKBody

type CreateEnvironmentOKBody struct {

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

CreateEnvironmentOKBody create environment o k body swagger:model CreateEnvironmentOKBody

func (*CreateEnvironmentOKBody) ContextValidate

func (o *CreateEnvironmentOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create environment o k body based on the context it is used

func (*CreateEnvironmentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateEnvironmentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateEnvironmentOKBody) Validate

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

Validate validates this create environment o k body

type CreateEnvironmentParams

type CreateEnvironmentParams struct {

	/* Body.

	   The canonical of the environment to create and its configuration.
	*/
	Body *models.NewEnvironment

	/* 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
}

CreateEnvironmentParams contains all the parameters to send to the API endpoint

for the create environment operation.

Typically these are written to a http.Request.

func NewCreateEnvironmentParams

func NewCreateEnvironmentParams() *CreateEnvironmentParams

NewCreateEnvironmentParams creates a new CreateEnvironmentParams 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 NewCreateEnvironmentParamsWithContext

func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams

NewCreateEnvironmentParamsWithContext creates a new CreateEnvironmentParams object with the ability to set a context for a request.

func NewCreateEnvironmentParamsWithHTTPClient

func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams

NewCreateEnvironmentParamsWithHTTPClient creates a new CreateEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEnvironmentParamsWithTimeout

func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams

NewCreateEnvironmentParamsWithTimeout creates a new CreateEnvironmentParams object with the ability to set a timeout on a request.

func (*CreateEnvironmentParams) SetBody

func (o *CreateEnvironmentParams) SetBody(body *models.NewEnvironment)

SetBody adds the body to the create environment params

func (*CreateEnvironmentParams) SetContext

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

SetContext adds the context to the create environment params

func (*CreateEnvironmentParams) SetDefaults

func (o *CreateEnvironmentParams) SetDefaults()

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

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

func (*CreateEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create environment params

func (*CreateEnvironmentParams) SetOrganizationCanonical

func (o *CreateEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create environment params

func (*CreateEnvironmentParams) SetProjectCanonical

func (o *CreateEnvironmentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the create environment params

func (*CreateEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the create environment params

func (*CreateEnvironmentParams) WithBody

WithBody adds the body to the create environment params

func (*CreateEnvironmentParams) WithContext

WithContext adds the context to the create environment params

func (*CreateEnvironmentParams) WithDefaults

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

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

func (*CreateEnvironmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create environment params

func (*CreateEnvironmentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the create environment params

func (*CreateEnvironmentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the create environment params

func (*CreateEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the create environment params

func (*CreateEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEnvironmentReader

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

CreateEnvironmentReader is a Reader for the CreateEnvironment structure.

func (*CreateEnvironmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateEnvironmentUnprocessableEntity

type CreateEnvironmentUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateEnvironmentUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewCreateEnvironmentUnprocessableEntity

func NewCreateEnvironmentUnprocessableEntity() *CreateEnvironmentUnprocessableEntity

NewCreateEnvironmentUnprocessableEntity creates a CreateEnvironmentUnprocessableEntity with default headers values

func (*CreateEnvironmentUnprocessableEntity) Code

Code gets the status code for the create environment unprocessable entity response

func (*CreateEnvironmentUnprocessableEntity) Error

func (*CreateEnvironmentUnprocessableEntity) GetPayload

func (*CreateEnvironmentUnprocessableEntity) IsClientError

func (o *CreateEnvironmentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create environment unprocessable entity response has a 4xx status code

func (*CreateEnvironmentUnprocessableEntity) IsCode

IsCode returns true when this create environment unprocessable entity response a status code equal to that given

func (*CreateEnvironmentUnprocessableEntity) IsRedirect

IsRedirect returns true when this create environment unprocessable entity response has a 3xx status code

func (*CreateEnvironmentUnprocessableEntity) IsServerError

func (o *CreateEnvironmentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create environment unprocessable entity response has a 5xx status code

func (*CreateEnvironmentUnprocessableEntity) IsSuccess

IsSuccess returns true when this create environment unprocessable entity response has a 2xx status code

func (*CreateEnvironmentUnprocessableEntity) String

type CreateProjectDefault

type CreateProjectDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

CreateProjectDefault describes a response with status code -1, 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

func (*CreateProjectDefault) IsClientError

func (o *CreateProjectDefault) IsClientError() bool

IsClientError returns true when this create project default response has a 4xx status code

func (*CreateProjectDefault) IsCode

func (o *CreateProjectDefault) IsCode(code int) bool

IsCode returns true when this create project default response a status code equal to that given

func (*CreateProjectDefault) IsRedirect

func (o *CreateProjectDefault) IsRedirect() bool

IsRedirect returns true when this create project default response has a 3xx status code

func (*CreateProjectDefault) IsServerError

func (o *CreateProjectDefault) IsServerError() bool

IsServerError returns true when this create project default response has a 5xx status code

func (*CreateProjectDefault) IsSuccess

func (o *CreateProjectDefault) IsSuccess() bool

IsSuccess returns true when this create project default response has a 2xx status code

func (*CreateProjectDefault) String

func (o *CreateProjectDefault) String() string

type CreateProjectFavoriteDefault

type CreateProjectFavoriteDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

CreateProjectFavoriteDefault describes a response with status code -1, with default header values.

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

func NewCreateProjectFavoriteDefault

func NewCreateProjectFavoriteDefault(code int) *CreateProjectFavoriteDefault

NewCreateProjectFavoriteDefault creates a CreateProjectFavoriteDefault with default headers values

func (*CreateProjectFavoriteDefault) Code

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

func (*CreateProjectFavoriteDefault) Error

func (*CreateProjectFavoriteDefault) GetPayload

func (*CreateProjectFavoriteDefault) IsClientError

func (o *CreateProjectFavoriteDefault) IsClientError() bool

IsClientError returns true when this create project favorite default response has a 4xx status code

func (*CreateProjectFavoriteDefault) IsCode

func (o *CreateProjectFavoriteDefault) IsCode(code int) bool

IsCode returns true when this create project favorite default response a status code equal to that given

func (*CreateProjectFavoriteDefault) IsRedirect

func (o *CreateProjectFavoriteDefault) IsRedirect() bool

IsRedirect returns true when this create project favorite default response has a 3xx status code

func (*CreateProjectFavoriteDefault) IsServerError

func (o *CreateProjectFavoriteDefault) IsServerError() bool

IsServerError returns true when this create project favorite default response has a 5xx status code

func (*CreateProjectFavoriteDefault) IsSuccess

func (o *CreateProjectFavoriteDefault) IsSuccess() bool

IsSuccess returns true when this create project favorite default response has a 2xx status code

func (*CreateProjectFavoriteDefault) String

type CreateProjectFavoriteForbidden

type CreateProjectFavoriteForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectFavoriteForbidden describes a response with status code 403, with default header values.

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

func NewCreateProjectFavoriteForbidden

func NewCreateProjectFavoriteForbidden() *CreateProjectFavoriteForbidden

NewCreateProjectFavoriteForbidden creates a CreateProjectFavoriteForbidden with default headers values

func (*CreateProjectFavoriteForbidden) Code

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

func (*CreateProjectFavoriteForbidden) Error

func (*CreateProjectFavoriteForbidden) GetPayload

func (*CreateProjectFavoriteForbidden) IsClientError

func (o *CreateProjectFavoriteForbidden) IsClientError() bool

IsClientError returns true when this create project favorite forbidden response has a 4xx status code

func (*CreateProjectFavoriteForbidden) IsCode

func (o *CreateProjectFavoriteForbidden) IsCode(code int) bool

IsCode returns true when this create project favorite forbidden response a status code equal to that given

func (*CreateProjectFavoriteForbidden) IsRedirect

func (o *CreateProjectFavoriteForbidden) IsRedirect() bool

IsRedirect returns true when this create project favorite forbidden response has a 3xx status code

func (*CreateProjectFavoriteForbidden) IsServerError

func (o *CreateProjectFavoriteForbidden) IsServerError() bool

IsServerError returns true when this create project favorite forbidden response has a 5xx status code

func (*CreateProjectFavoriteForbidden) IsSuccess

func (o *CreateProjectFavoriteForbidden) IsSuccess() bool

IsSuccess returns true when this create project favorite forbidden response has a 2xx status code

func (*CreateProjectFavoriteForbidden) String

type CreateProjectFavoriteNoContent

type CreateProjectFavoriteNoContent struct {
}

CreateProjectFavoriteNoContent describes a response with status code 204, with default header values.

The project has been added to user favorites list.

func NewCreateProjectFavoriteNoContent

func NewCreateProjectFavoriteNoContent() *CreateProjectFavoriteNoContent

NewCreateProjectFavoriteNoContent creates a CreateProjectFavoriteNoContent with default headers values

func (*CreateProjectFavoriteNoContent) Code

Code gets the status code for the create project favorite no content response

func (*CreateProjectFavoriteNoContent) Error

func (*CreateProjectFavoriteNoContent) IsClientError

func (o *CreateProjectFavoriteNoContent) IsClientError() bool

IsClientError returns true when this create project favorite no content response has a 4xx status code

func (*CreateProjectFavoriteNoContent) IsCode

func (o *CreateProjectFavoriteNoContent) IsCode(code int) bool

IsCode returns true when this create project favorite no content response a status code equal to that given

func (*CreateProjectFavoriteNoContent) IsRedirect

func (o *CreateProjectFavoriteNoContent) IsRedirect() bool

IsRedirect returns true when this create project favorite no content response has a 3xx status code

func (*CreateProjectFavoriteNoContent) IsServerError

func (o *CreateProjectFavoriteNoContent) IsServerError() bool

IsServerError returns true when this create project favorite no content response has a 5xx status code

func (*CreateProjectFavoriteNoContent) IsSuccess

func (o *CreateProjectFavoriteNoContent) IsSuccess() bool

IsSuccess returns true when this create project favorite no content response has a 2xx status code

func (*CreateProjectFavoriteNoContent) String

type CreateProjectFavoriteNotFound

type CreateProjectFavoriteNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectFavoriteNotFound describes a response with status code 404, with default header values.

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

func NewCreateProjectFavoriteNotFound

func NewCreateProjectFavoriteNotFound() *CreateProjectFavoriteNotFound

NewCreateProjectFavoriteNotFound creates a CreateProjectFavoriteNotFound with default headers values

func (*CreateProjectFavoriteNotFound) Code

Code gets the status code for the create project favorite not found response

func (*CreateProjectFavoriteNotFound) Error

func (*CreateProjectFavoriteNotFound) GetPayload

func (*CreateProjectFavoriteNotFound) IsClientError

func (o *CreateProjectFavoriteNotFound) IsClientError() bool

IsClientError returns true when this create project favorite not found response has a 4xx status code

func (*CreateProjectFavoriteNotFound) IsCode

func (o *CreateProjectFavoriteNotFound) IsCode(code int) bool

IsCode returns true when this create project favorite not found response a status code equal to that given

func (*CreateProjectFavoriteNotFound) IsRedirect

func (o *CreateProjectFavoriteNotFound) IsRedirect() bool

IsRedirect returns true when this create project favorite not found response has a 3xx status code

func (*CreateProjectFavoriteNotFound) IsServerError

func (o *CreateProjectFavoriteNotFound) IsServerError() bool

IsServerError returns true when this create project favorite not found response has a 5xx status code

func (*CreateProjectFavoriteNotFound) IsSuccess

func (o *CreateProjectFavoriteNotFound) IsSuccess() bool

IsSuccess returns true when this create project favorite not found response has a 2xx status code

func (*CreateProjectFavoriteNotFound) String

type CreateProjectFavoriteParams

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

func NewCreateProjectFavoriteParams() *CreateProjectFavoriteParams

NewCreateProjectFavoriteParams creates a new CreateProjectFavoriteParams 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 NewCreateProjectFavoriteParamsWithContext

func NewCreateProjectFavoriteParamsWithContext(ctx context.Context) *CreateProjectFavoriteParams

NewCreateProjectFavoriteParamsWithContext creates a new CreateProjectFavoriteParams object with the ability to set a context for a request.

func NewCreateProjectFavoriteParamsWithHTTPClient

func NewCreateProjectFavoriteParamsWithHTTPClient(client *http.Client) *CreateProjectFavoriteParams

NewCreateProjectFavoriteParamsWithHTTPClient creates a new CreateProjectFavoriteParams object with the ability to set a custom HTTPClient for a request.

func NewCreateProjectFavoriteParamsWithTimeout

func NewCreateProjectFavoriteParamsWithTimeout(timeout time.Duration) *CreateProjectFavoriteParams

NewCreateProjectFavoriteParamsWithTimeout creates a new CreateProjectFavoriteParams object with the ability to set a timeout on a request.

func (*CreateProjectFavoriteParams) SetContext

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

SetContext adds the context to the create project favorite params

func (*CreateProjectFavoriteParams) SetDefaults

func (o *CreateProjectFavoriteParams) SetDefaults()

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

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

func (*CreateProjectFavoriteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create project favorite params

func (*CreateProjectFavoriteParams) SetOrganizationCanonical

func (o *CreateProjectFavoriteParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) SetProjectCanonical

func (o *CreateProjectFavoriteParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) SetTimeout

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

SetTimeout adds the timeout to the create project favorite params

func (*CreateProjectFavoriteParams) WithContext

WithContext adds the context to the create project favorite params

func (*CreateProjectFavoriteParams) WithDefaults

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

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

func (*CreateProjectFavoriteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create project favorite params

func (*CreateProjectFavoriteParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the create project favorite params

func (*CreateProjectFavoriteParams) WithTimeout

WithTimeout adds the timeout to the create project favorite params

func (*CreateProjectFavoriteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateProjectFavoriteReader

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

CreateProjectFavoriteReader is a Reader for the CreateProjectFavorite structure.

func (*CreateProjectFavoriteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateProjectFavoriteUnprocessableEntity

type CreateProjectFavoriteUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectFavoriteUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewCreateProjectFavoriteUnprocessableEntity

func NewCreateProjectFavoriteUnprocessableEntity() *CreateProjectFavoriteUnprocessableEntity

NewCreateProjectFavoriteUnprocessableEntity creates a CreateProjectFavoriteUnprocessableEntity with default headers values

func (*CreateProjectFavoriteUnprocessableEntity) Code

Code gets the status code for the create project favorite unprocessable entity response

func (*CreateProjectFavoriteUnprocessableEntity) Error

func (*CreateProjectFavoriteUnprocessableEntity) GetPayload

func (*CreateProjectFavoriteUnprocessableEntity) IsClientError

IsClientError returns true when this create project favorite unprocessable entity response has a 4xx status code

func (*CreateProjectFavoriteUnprocessableEntity) IsCode

IsCode returns true when this create project favorite unprocessable entity response a status code equal to that given

func (*CreateProjectFavoriteUnprocessableEntity) IsRedirect

IsRedirect returns true when this create project favorite unprocessable entity response has a 3xx status code

func (*CreateProjectFavoriteUnprocessableEntity) IsServerError

IsServerError returns true when this create project favorite unprocessable entity response has a 5xx status code

func (*CreateProjectFavoriteUnprocessableEntity) IsSuccess

IsSuccess returns true when this create project favorite unprocessable entity response has a 2xx status code

func (*CreateProjectFavoriteUnprocessableEntity) String

type CreateProjectLengthRequired

type CreateProjectLengthRequired struct {
}

CreateProjectLengthRequired describes a response with status code 411, 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) Code

func (o *CreateProjectLengthRequired) Code() int

Code gets the status code for the create project length required response

func (*CreateProjectLengthRequired) Error

func (*CreateProjectLengthRequired) IsClientError

func (o *CreateProjectLengthRequired) IsClientError() bool

IsClientError returns true when this create project length required response has a 4xx status code

func (*CreateProjectLengthRequired) IsCode

func (o *CreateProjectLengthRequired) IsCode(code int) bool

IsCode returns true when this create project length required response a status code equal to that given

func (*CreateProjectLengthRequired) IsRedirect

func (o *CreateProjectLengthRequired) IsRedirect() bool

IsRedirect returns true when this create project length required response has a 3xx status code

func (*CreateProjectLengthRequired) IsServerError

func (o *CreateProjectLengthRequired) IsServerError() bool

IsServerError returns true when this create project length required response has a 5xx status code

func (*CreateProjectLengthRequired) IsSuccess

func (o *CreateProjectLengthRequired) IsSuccess() bool

IsSuccess returns true when this create project length required response has a 2xx status code

func (*CreateProjectLengthRequired) String

func (o *CreateProjectLengthRequired) String() string

type CreateProjectNotFound

type CreateProjectNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectNotFound describes a response with status code 404, 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) Code

func (o *CreateProjectNotFound) Code() int

Code gets the status code for the create project not found response

func (*CreateProjectNotFound) Error

func (o *CreateProjectNotFound) Error() string

func (*CreateProjectNotFound) GetPayload

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

func (*CreateProjectNotFound) IsClientError

func (o *CreateProjectNotFound) IsClientError() bool

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

func (*CreateProjectNotFound) IsCode

func (o *CreateProjectNotFound) IsCode(code int) bool

IsCode returns true when this create project not found response a status code equal to that given

func (*CreateProjectNotFound) IsRedirect

func (o *CreateProjectNotFound) IsRedirect() bool

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

func (*CreateProjectNotFound) IsServerError

func (o *CreateProjectNotFound) IsServerError() bool

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

func (*CreateProjectNotFound) IsSuccess

func (o *CreateProjectNotFound) IsSuccess() bool

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

func (*CreateProjectNotFound) String

func (o *CreateProjectNotFound) String() string

type CreateProjectOK

type CreateProjectOK struct {
	Payload *CreateProjectOKBody
}

CreateProjectOK describes a response with status code 200, 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) Code

func (o *CreateProjectOK) Code() int

Code gets the status code for the create project o k response

func (*CreateProjectOK) Error

func (o *CreateProjectOK) Error() string

func (*CreateProjectOK) GetPayload

func (o *CreateProjectOK) GetPayload() *CreateProjectOKBody

func (*CreateProjectOK) IsClientError

func (o *CreateProjectOK) IsClientError() bool

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

func (*CreateProjectOK) IsCode

func (o *CreateProjectOK) IsCode(code int) bool

IsCode returns true when this create project o k response a status code equal to that given

func (*CreateProjectOK) IsRedirect

func (o *CreateProjectOK) IsRedirect() bool

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

func (*CreateProjectOK) IsServerError

func (o *CreateProjectOK) IsServerError() bool

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

func (*CreateProjectOK) IsSuccess

func (o *CreateProjectOK) IsSuccess() bool

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

func (*CreateProjectOK) String

func (o *CreateProjectOK) String() string

type CreateProjectOKBody

type CreateProjectOKBody struct {

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

CreateProjectOKBody create project o k body swagger:model CreateProjectOKBody

func (*CreateProjectOKBody) ContextValidate

func (o *CreateProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create project o k body based on the context it is used

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.

	*/
	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 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) 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) SetDefaults

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

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateProjectUnprocessableEntity describes a response with status code 422, 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) Code

Code gets the status code for the create project unprocessable entity response

func (*CreateProjectUnprocessableEntity) Error

func (*CreateProjectUnprocessableEntity) GetPayload

func (*CreateProjectUnprocessableEntity) IsClientError

func (o *CreateProjectUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create project unprocessable entity response has a 4xx status code

func (*CreateProjectUnprocessableEntity) IsCode

func (o *CreateProjectUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this create project unprocessable entity response a status code equal to that given

func (*CreateProjectUnprocessableEntity) IsRedirect

func (o *CreateProjectUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create project unprocessable entity response has a 3xx status code

func (*CreateProjectUnprocessableEntity) IsServerError

func (o *CreateProjectUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create project unprocessable entity response has a 5xx status code

func (*CreateProjectUnprocessableEntity) IsSuccess

func (o *CreateProjectUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create project unprocessable entity response has a 2xx status code

func (*CreateProjectUnprocessableEntity) String

type DeleteEnvironmentDefault

type DeleteEnvironmentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

DeleteEnvironmentDefault describes a response with status code -1, with default header values.

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

func NewDeleteEnvironmentDefault

func NewDeleteEnvironmentDefault(code int) *DeleteEnvironmentDefault

NewDeleteEnvironmentDefault creates a DeleteEnvironmentDefault with default headers values

func (*DeleteEnvironmentDefault) Code

func (o *DeleteEnvironmentDefault) Code() int

Code gets the status code for the delete environment default response

func (*DeleteEnvironmentDefault) Error

func (o *DeleteEnvironmentDefault) Error() string

func (*DeleteEnvironmentDefault) GetPayload

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

func (*DeleteEnvironmentDefault) IsClientError

func (o *DeleteEnvironmentDefault) IsClientError() bool

IsClientError returns true when this delete environment default response has a 4xx status code

func (*DeleteEnvironmentDefault) IsCode

func (o *DeleteEnvironmentDefault) IsCode(code int) bool

IsCode returns true when this delete environment default response a status code equal to that given

func (*DeleteEnvironmentDefault) IsRedirect

func (o *DeleteEnvironmentDefault) IsRedirect() bool

IsRedirect returns true when this delete environment default response has a 3xx status code

func (*DeleteEnvironmentDefault) IsServerError

func (o *DeleteEnvironmentDefault) IsServerError() bool

IsServerError returns true when this delete environment default response has a 5xx status code

func (*DeleteEnvironmentDefault) IsSuccess

func (o *DeleteEnvironmentDefault) IsSuccess() bool

IsSuccess returns true when this delete environment default response has a 2xx status code

func (*DeleteEnvironmentDefault) String

func (o *DeleteEnvironmentDefault) String() string

type DeleteEnvironmentForbidden

type DeleteEnvironmentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteEnvironmentForbidden describes a response with status code 403, with default header values.

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

func NewDeleteEnvironmentForbidden

func NewDeleteEnvironmentForbidden() *DeleteEnvironmentForbidden

NewDeleteEnvironmentForbidden creates a DeleteEnvironmentForbidden with default headers values

func (*DeleteEnvironmentForbidden) Code

func (o *DeleteEnvironmentForbidden) Code() int

Code gets the status code for the delete environment forbidden response

func (*DeleteEnvironmentForbidden) Error

func (*DeleteEnvironmentForbidden) GetPayload

func (*DeleteEnvironmentForbidden) IsClientError

func (o *DeleteEnvironmentForbidden) IsClientError() bool

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

func (*DeleteEnvironmentForbidden) IsCode

func (o *DeleteEnvironmentForbidden) IsCode(code int) bool

IsCode returns true when this delete environment forbidden response a status code equal to that given

func (*DeleteEnvironmentForbidden) IsRedirect

func (o *DeleteEnvironmentForbidden) IsRedirect() bool

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

func (*DeleteEnvironmentForbidden) IsServerError

func (o *DeleteEnvironmentForbidden) IsServerError() bool

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

func (*DeleteEnvironmentForbidden) IsSuccess

func (o *DeleteEnvironmentForbidden) IsSuccess() bool

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

func (*DeleteEnvironmentForbidden) String

func (o *DeleteEnvironmentForbidden) String() string

type DeleteEnvironmentNoContent

type DeleteEnvironmentNoContent struct {
}

DeleteEnvironmentNoContent describes a response with status code 204, with default header values.

Project environment has been deleted.

func NewDeleteEnvironmentNoContent

func NewDeleteEnvironmentNoContent() *DeleteEnvironmentNoContent

NewDeleteEnvironmentNoContent creates a DeleteEnvironmentNoContent with default headers values

func (*DeleteEnvironmentNoContent) Code

func (o *DeleteEnvironmentNoContent) Code() int

Code gets the status code for the delete environment no content response

func (*DeleteEnvironmentNoContent) Error

func (*DeleteEnvironmentNoContent) IsClientError

func (o *DeleteEnvironmentNoContent) IsClientError() bool

IsClientError returns true when this delete environment no content response has a 4xx status code

func (*DeleteEnvironmentNoContent) IsCode

func (o *DeleteEnvironmentNoContent) IsCode(code int) bool

IsCode returns true when this delete environment no content response a status code equal to that given

func (*DeleteEnvironmentNoContent) IsRedirect

func (o *DeleteEnvironmentNoContent) IsRedirect() bool

IsRedirect returns true when this delete environment no content response has a 3xx status code

func (*DeleteEnvironmentNoContent) IsServerError

func (o *DeleteEnvironmentNoContent) IsServerError() bool

IsServerError returns true when this delete environment no content response has a 5xx status code

func (*DeleteEnvironmentNoContent) IsSuccess

func (o *DeleteEnvironmentNoContent) IsSuccess() bool

IsSuccess returns true when this delete environment no content response has a 2xx status code

func (*DeleteEnvironmentNoContent) String

func (o *DeleteEnvironmentNoContent) String() string

type DeleteEnvironmentNotFound

type DeleteEnvironmentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteEnvironmentNotFound describes a response with status code 404, with default header values.

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

func NewDeleteEnvironmentNotFound

func NewDeleteEnvironmentNotFound() *DeleteEnvironmentNotFound

NewDeleteEnvironmentNotFound creates a DeleteEnvironmentNotFound with default headers values

func (*DeleteEnvironmentNotFound) Code

func (o *DeleteEnvironmentNotFound) Code() int

Code gets the status code for the delete environment not found response

func (*DeleteEnvironmentNotFound) Error

func (o *DeleteEnvironmentNotFound) Error() string

func (*DeleteEnvironmentNotFound) GetPayload

func (*DeleteEnvironmentNotFound) IsClientError

func (o *DeleteEnvironmentNotFound) IsClientError() bool

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

func (*DeleteEnvironmentNotFound) IsCode

func (o *DeleteEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this delete environment not found response a status code equal to that given

func (*DeleteEnvironmentNotFound) IsRedirect

func (o *DeleteEnvironmentNotFound) IsRedirect() bool

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

func (*DeleteEnvironmentNotFound) IsServerError

func (o *DeleteEnvironmentNotFound) IsServerError() bool

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

func (*DeleteEnvironmentNotFound) IsSuccess

func (o *DeleteEnvironmentNotFound) IsSuccess() bool

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

func (*DeleteEnvironmentNotFound) String

func (o *DeleteEnvironmentNotFound) String() string

type DeleteEnvironmentParams

type DeleteEnvironmentParams 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
}

DeleteEnvironmentParams contains all the parameters to send to the API endpoint

for the delete environment operation.

Typically these are written to a http.Request.

func NewDeleteEnvironmentParams

func NewDeleteEnvironmentParams() *DeleteEnvironmentParams

NewDeleteEnvironmentParams creates a new DeleteEnvironmentParams 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 NewDeleteEnvironmentParamsWithContext

func NewDeleteEnvironmentParamsWithContext(ctx context.Context) *DeleteEnvironmentParams

NewDeleteEnvironmentParamsWithContext creates a new DeleteEnvironmentParams object with the ability to set a context for a request.

func NewDeleteEnvironmentParamsWithHTTPClient

func NewDeleteEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentParams

NewDeleteEnvironmentParamsWithHTTPClient creates a new DeleteEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEnvironmentParamsWithTimeout

func NewDeleteEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentParams

NewDeleteEnvironmentParamsWithTimeout creates a new DeleteEnvironmentParams object with the ability to set a timeout on a request.

func (*DeleteEnvironmentParams) SetContext

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

SetContext adds the context to the delete environment params

func (*DeleteEnvironmentParams) SetDefaults

func (o *DeleteEnvironmentParams) SetDefaults()

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

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

func (*DeleteEnvironmentParams) SetEnvironmentCanonical

func (o *DeleteEnvironmentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the delete environment params

func (*DeleteEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete environment params

func (*DeleteEnvironmentParams) SetOrganizationCanonical

func (o *DeleteEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete environment params

func (*DeleteEnvironmentParams) SetProjectCanonical

func (o *DeleteEnvironmentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the delete environment params

func (*DeleteEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the delete environment params

func (*DeleteEnvironmentParams) WithContext

WithContext adds the context to the delete environment params

func (*DeleteEnvironmentParams) WithDefaults

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

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

func (*DeleteEnvironmentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the delete environment params

func (*DeleteEnvironmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete environment params

func (*DeleteEnvironmentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the delete environment params

func (*DeleteEnvironmentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the delete environment params

func (*DeleteEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the delete environment params

func (*DeleteEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEnvironmentReader

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

DeleteEnvironmentReader is a Reader for the DeleteEnvironment structure.

func (*DeleteEnvironmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteProjectDefault

type DeleteProjectDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

DeleteProjectDefault describes a response with status code -1, 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

func (*DeleteProjectDefault) IsClientError

func (o *DeleteProjectDefault) IsClientError() bool

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

func (*DeleteProjectDefault) IsCode

func (o *DeleteProjectDefault) IsCode(code int) bool

IsCode returns true when this delete project default response a status code equal to that given

func (*DeleteProjectDefault) IsRedirect

func (o *DeleteProjectDefault) IsRedirect() bool

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

func (*DeleteProjectDefault) IsServerError

func (o *DeleteProjectDefault) IsServerError() bool

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

func (*DeleteProjectDefault) IsSuccess

func (o *DeleteProjectDefault) IsSuccess() bool

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

func (*DeleteProjectDefault) String

func (o *DeleteProjectDefault) String() string

type DeleteProjectFavoriteDefault

type DeleteProjectFavoriteDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

DeleteProjectFavoriteDefault describes a response with status code -1, with default header values.

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

func NewDeleteProjectFavoriteDefault

func NewDeleteProjectFavoriteDefault(code int) *DeleteProjectFavoriteDefault

NewDeleteProjectFavoriteDefault creates a DeleteProjectFavoriteDefault with default headers values

func (*DeleteProjectFavoriteDefault) Code

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

func (*DeleteProjectFavoriteDefault) Error

func (*DeleteProjectFavoriteDefault) GetPayload

func (*DeleteProjectFavoriteDefault) IsClientError

func (o *DeleteProjectFavoriteDefault) IsClientError() bool

IsClientError returns true when this delete project favorite default response has a 4xx status code

func (*DeleteProjectFavoriteDefault) IsCode

func (o *DeleteProjectFavoriteDefault) IsCode(code int) bool

IsCode returns true when this delete project favorite default response a status code equal to that given

func (*DeleteProjectFavoriteDefault) IsRedirect

func (o *DeleteProjectFavoriteDefault) IsRedirect() bool

IsRedirect returns true when this delete project favorite default response has a 3xx status code

func (*DeleteProjectFavoriteDefault) IsServerError

func (o *DeleteProjectFavoriteDefault) IsServerError() bool

IsServerError returns true when this delete project favorite default response has a 5xx status code

func (*DeleteProjectFavoriteDefault) IsSuccess

func (o *DeleteProjectFavoriteDefault) IsSuccess() bool

IsSuccess returns true when this delete project favorite default response has a 2xx status code

func (*DeleteProjectFavoriteDefault) String

type DeleteProjectFavoriteForbidden

type DeleteProjectFavoriteForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectFavoriteForbidden describes a response with status code 403, with default header values.

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

func NewDeleteProjectFavoriteForbidden

func NewDeleteProjectFavoriteForbidden() *DeleteProjectFavoriteForbidden

NewDeleteProjectFavoriteForbidden creates a DeleteProjectFavoriteForbidden with default headers values

func (*DeleteProjectFavoriteForbidden) Code

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

func (*DeleteProjectFavoriteForbidden) Error

func (*DeleteProjectFavoriteForbidden) GetPayload

func (*DeleteProjectFavoriteForbidden) IsClientError

func (o *DeleteProjectFavoriteForbidden) IsClientError() bool

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

func (*DeleteProjectFavoriteForbidden) IsCode

func (o *DeleteProjectFavoriteForbidden) IsCode(code int) bool

IsCode returns true when this delete project favorite forbidden response a status code equal to that given

func (*DeleteProjectFavoriteForbidden) IsRedirect

func (o *DeleteProjectFavoriteForbidden) IsRedirect() bool

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

func (*DeleteProjectFavoriteForbidden) IsServerError

func (o *DeleteProjectFavoriteForbidden) IsServerError() bool

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

func (*DeleteProjectFavoriteForbidden) IsSuccess

func (o *DeleteProjectFavoriteForbidden) IsSuccess() bool

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

func (*DeleteProjectFavoriteForbidden) String

type DeleteProjectFavoriteNoContent

type DeleteProjectFavoriteNoContent struct {
}

DeleteProjectFavoriteNoContent describes a response with status code 204, with default header values.

The project has been removed from user favorites list.

func NewDeleteProjectFavoriteNoContent

func NewDeleteProjectFavoriteNoContent() *DeleteProjectFavoriteNoContent

NewDeleteProjectFavoriteNoContent creates a DeleteProjectFavoriteNoContent with default headers values

func (*DeleteProjectFavoriteNoContent) Code

Code gets the status code for the delete project favorite no content response

func (*DeleteProjectFavoriteNoContent) Error

func (*DeleteProjectFavoriteNoContent) IsClientError

func (o *DeleteProjectFavoriteNoContent) IsClientError() bool

IsClientError returns true when this delete project favorite no content response has a 4xx status code

func (*DeleteProjectFavoriteNoContent) IsCode

func (o *DeleteProjectFavoriteNoContent) IsCode(code int) bool

IsCode returns true when this delete project favorite no content response a status code equal to that given

func (*DeleteProjectFavoriteNoContent) IsRedirect

func (o *DeleteProjectFavoriteNoContent) IsRedirect() bool

IsRedirect returns true when this delete project favorite no content response has a 3xx status code

func (*DeleteProjectFavoriteNoContent) IsServerError

func (o *DeleteProjectFavoriteNoContent) IsServerError() bool

IsServerError returns true when this delete project favorite no content response has a 5xx status code

func (*DeleteProjectFavoriteNoContent) IsSuccess

func (o *DeleteProjectFavoriteNoContent) IsSuccess() bool

IsSuccess returns true when this delete project favorite no content response has a 2xx status code

func (*DeleteProjectFavoriteNoContent) String

type DeleteProjectFavoriteNotFound

type DeleteProjectFavoriteNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectFavoriteNotFound describes a response with status code 404, with default header values.

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

func NewDeleteProjectFavoriteNotFound

func NewDeleteProjectFavoriteNotFound() *DeleteProjectFavoriteNotFound

NewDeleteProjectFavoriteNotFound creates a DeleteProjectFavoriteNotFound with default headers values

func (*DeleteProjectFavoriteNotFound) Code

Code gets the status code for the delete project favorite not found response

func (*DeleteProjectFavoriteNotFound) Error

func (*DeleteProjectFavoriteNotFound) GetPayload

func (*DeleteProjectFavoriteNotFound) IsClientError

func (o *DeleteProjectFavoriteNotFound) IsClientError() bool

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

func (*DeleteProjectFavoriteNotFound) IsCode

func (o *DeleteProjectFavoriteNotFound) IsCode(code int) bool

IsCode returns true when this delete project favorite not found response a status code equal to that given

func (*DeleteProjectFavoriteNotFound) IsRedirect

func (o *DeleteProjectFavoriteNotFound) IsRedirect() bool

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

func (*DeleteProjectFavoriteNotFound) IsServerError

func (o *DeleteProjectFavoriteNotFound) IsServerError() bool

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

func (*DeleteProjectFavoriteNotFound) IsSuccess

func (o *DeleteProjectFavoriteNotFound) IsSuccess() bool

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

func (*DeleteProjectFavoriteNotFound) String

type DeleteProjectFavoriteParams

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

func NewDeleteProjectFavoriteParams() *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParams creates a new DeleteProjectFavoriteParams 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 NewDeleteProjectFavoriteParamsWithContext

func NewDeleteProjectFavoriteParamsWithContext(ctx context.Context) *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParamsWithContext creates a new DeleteProjectFavoriteParams object with the ability to set a context for a request.

func NewDeleteProjectFavoriteParamsWithHTTPClient

func NewDeleteProjectFavoriteParamsWithHTTPClient(client *http.Client) *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParamsWithHTTPClient creates a new DeleteProjectFavoriteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectFavoriteParamsWithTimeout

func NewDeleteProjectFavoriteParamsWithTimeout(timeout time.Duration) *DeleteProjectFavoriteParams

NewDeleteProjectFavoriteParamsWithTimeout creates a new DeleteProjectFavoriteParams object with the ability to set a timeout on a request.

func (*DeleteProjectFavoriteParams) SetContext

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

SetContext adds the context to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetDefaults

func (o *DeleteProjectFavoriteParams) SetDefaults()

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

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

func (*DeleteProjectFavoriteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetOrganizationCanonical

func (o *DeleteProjectFavoriteParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetProjectCanonical

func (o *DeleteProjectFavoriteParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) SetTimeout

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

SetTimeout adds the timeout to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithContext

WithContext adds the context to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithDefaults

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

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

func (*DeleteProjectFavoriteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the delete project favorite params

func (*DeleteProjectFavoriteParams) WithTimeout

WithTimeout adds the timeout to the delete project favorite params

func (*DeleteProjectFavoriteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectFavoriteReader

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

DeleteProjectFavoriteReader is a Reader for the DeleteProjectFavorite structure.

func (*DeleteProjectFavoriteReader) ReadResponse

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectForbidden describes a response with status code 403, 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) Code

func (o *DeleteProjectForbidden) Code() int

Code gets the status code for the delete project forbidden response

func (*DeleteProjectForbidden) Error

func (o *DeleteProjectForbidden) Error() string

func (*DeleteProjectForbidden) GetPayload

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

func (*DeleteProjectForbidden) IsClientError

func (o *DeleteProjectForbidden) IsClientError() bool

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

func (*DeleteProjectForbidden) IsCode

func (o *DeleteProjectForbidden) IsCode(code int) bool

IsCode returns true when this delete project forbidden response a status code equal to that given

func (*DeleteProjectForbidden) IsRedirect

func (o *DeleteProjectForbidden) IsRedirect() bool

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

func (*DeleteProjectForbidden) IsServerError

func (o *DeleteProjectForbidden) IsServerError() bool

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

func (*DeleteProjectForbidden) IsSuccess

func (o *DeleteProjectForbidden) IsSuccess() bool

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

func (*DeleteProjectForbidden) String

func (o *DeleteProjectForbidden) String() string

type DeleteProjectNoContent

type DeleteProjectNoContent struct {
}

DeleteProjectNoContent describes a response with status code 204, with default header values.

Project has been deleted.

func NewDeleteProjectNoContent

func NewDeleteProjectNoContent() *DeleteProjectNoContent

NewDeleteProjectNoContent creates a DeleteProjectNoContent with default headers values

func (*DeleteProjectNoContent) Code

func (o *DeleteProjectNoContent) Code() int

Code gets the status code for the delete project no content response

func (*DeleteProjectNoContent) Error

func (o *DeleteProjectNoContent) Error() string

func (*DeleteProjectNoContent) IsClientError

func (o *DeleteProjectNoContent) IsClientError() bool

IsClientError returns true when this delete project no content response has a 4xx status code

func (*DeleteProjectNoContent) IsCode

func (o *DeleteProjectNoContent) IsCode(code int) bool

IsCode returns true when this delete project no content response a status code equal to that given

func (*DeleteProjectNoContent) IsRedirect

func (o *DeleteProjectNoContent) IsRedirect() bool

IsRedirect returns true when this delete project no content response has a 3xx status code

func (*DeleteProjectNoContent) IsServerError

func (o *DeleteProjectNoContent) IsServerError() bool

IsServerError returns true when this delete project no content response has a 5xx status code

func (*DeleteProjectNoContent) IsSuccess

func (o *DeleteProjectNoContent) IsSuccess() bool

IsSuccess returns true when this delete project no content response has a 2xx status code

func (*DeleteProjectNoContent) String

func (o *DeleteProjectNoContent) String() string

type DeleteProjectNotFound

type DeleteProjectNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteProjectNotFound describes a response with status code 404, 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) Code

func (o *DeleteProjectNotFound) Code() int

Code gets the status code for the delete project not found response

func (*DeleteProjectNotFound) Error

func (o *DeleteProjectNotFound) Error() string

func (*DeleteProjectNotFound) GetPayload

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

func (*DeleteProjectNotFound) IsClientError

func (o *DeleteProjectNotFound) IsClientError() bool

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

func (*DeleteProjectNotFound) IsCode

func (o *DeleteProjectNotFound) IsCode(code int) bool

IsCode returns true when this delete project not found response a status code equal to that given

func (*DeleteProjectNotFound) IsRedirect

func (o *DeleteProjectNotFound) IsRedirect() bool

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

func (*DeleteProjectNotFound) IsServerError

func (o *DeleteProjectNotFound) IsServerError() bool

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

func (*DeleteProjectNotFound) IsSuccess

func (o *DeleteProjectNotFound) IsSuccess() bool

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

func (*DeleteProjectNotFound) String

func (o *DeleteProjectNotFound) String() string

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

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

SetContext adds the context to the delete project params

func (*DeleteProjectParams) SetDefaults

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

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

type GetEnvironmentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetEnvironmentDefault describes a response with status code -1, with default header values.

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

func NewGetEnvironmentDefault

func NewGetEnvironmentDefault(code int) *GetEnvironmentDefault

NewGetEnvironmentDefault creates a GetEnvironmentDefault with default headers values

func (*GetEnvironmentDefault) Code

func (o *GetEnvironmentDefault) Code() int

Code gets the status code for the get environment default response

func (*GetEnvironmentDefault) Error

func (o *GetEnvironmentDefault) Error() string

func (*GetEnvironmentDefault) GetPayload

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

func (*GetEnvironmentDefault) IsClientError

func (o *GetEnvironmentDefault) IsClientError() bool

IsClientError returns true when this get environment default response has a 4xx status code

func (*GetEnvironmentDefault) IsCode

func (o *GetEnvironmentDefault) IsCode(code int) bool

IsCode returns true when this get environment default response a status code equal to that given

func (*GetEnvironmentDefault) IsRedirect

func (o *GetEnvironmentDefault) IsRedirect() bool

IsRedirect returns true when this get environment default response has a 3xx status code

func (*GetEnvironmentDefault) IsServerError

func (o *GetEnvironmentDefault) IsServerError() bool

IsServerError returns true when this get environment default response has a 5xx status code

func (*GetEnvironmentDefault) IsSuccess

func (o *GetEnvironmentDefault) IsSuccess() bool

IsSuccess returns true when this get environment default response has a 2xx status code

func (*GetEnvironmentDefault) String

func (o *GetEnvironmentDefault) String() string

type GetEnvironmentForbidden

type GetEnvironmentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetEnvironmentForbidden describes a response with status code 403, with default header values.

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

func NewGetEnvironmentForbidden

func NewGetEnvironmentForbidden() *GetEnvironmentForbidden

NewGetEnvironmentForbidden creates a GetEnvironmentForbidden with default headers values

func (*GetEnvironmentForbidden) Code

func (o *GetEnvironmentForbidden) Code() int

Code gets the status code for the get environment forbidden response

func (*GetEnvironmentForbidden) Error

func (o *GetEnvironmentForbidden) Error() string

func (*GetEnvironmentForbidden) GetPayload

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

func (*GetEnvironmentForbidden) IsClientError

func (o *GetEnvironmentForbidden) IsClientError() bool

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

func (*GetEnvironmentForbidden) IsCode

func (o *GetEnvironmentForbidden) IsCode(code int) bool

IsCode returns true when this get environment forbidden response a status code equal to that given

func (*GetEnvironmentForbidden) IsRedirect

func (o *GetEnvironmentForbidden) IsRedirect() bool

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

func (*GetEnvironmentForbidden) IsServerError

func (o *GetEnvironmentForbidden) IsServerError() bool

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

func (*GetEnvironmentForbidden) IsSuccess

func (o *GetEnvironmentForbidden) IsSuccess() bool

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

func (*GetEnvironmentForbidden) String

func (o *GetEnvironmentForbidden) String() string

type GetEnvironmentNotFound

type GetEnvironmentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetEnvironmentNotFound describes a response with status code 404, with default header values.

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

func NewGetEnvironmentNotFound

func NewGetEnvironmentNotFound() *GetEnvironmentNotFound

NewGetEnvironmentNotFound creates a GetEnvironmentNotFound with default headers values

func (*GetEnvironmentNotFound) Code

func (o *GetEnvironmentNotFound) Code() int

Code gets the status code for the get environment not found response

func (*GetEnvironmentNotFound) Error

func (o *GetEnvironmentNotFound) Error() string

func (*GetEnvironmentNotFound) GetPayload

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

func (*GetEnvironmentNotFound) IsClientError

func (o *GetEnvironmentNotFound) IsClientError() bool

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

func (*GetEnvironmentNotFound) IsCode

func (o *GetEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this get environment not found response a status code equal to that given

func (*GetEnvironmentNotFound) IsRedirect

func (o *GetEnvironmentNotFound) IsRedirect() bool

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

func (*GetEnvironmentNotFound) IsServerError

func (o *GetEnvironmentNotFound) IsServerError() bool

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

func (*GetEnvironmentNotFound) IsSuccess

func (o *GetEnvironmentNotFound) IsSuccess() bool

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

func (*GetEnvironmentNotFound) String

func (o *GetEnvironmentNotFound) String() string

type GetEnvironmentOK

type GetEnvironmentOK struct {
	Payload *GetEnvironmentOKBody
}

GetEnvironmentOK describes a response with status code 200, with default header values.

The body contains the environment.

func NewGetEnvironmentOK

func NewGetEnvironmentOK() *GetEnvironmentOK

NewGetEnvironmentOK creates a GetEnvironmentOK with default headers values

func (*GetEnvironmentOK) Code

func (o *GetEnvironmentOK) Code() int

Code gets the status code for the get environment o k response

func (*GetEnvironmentOK) Error

func (o *GetEnvironmentOK) Error() string

func (*GetEnvironmentOK) GetPayload

func (o *GetEnvironmentOK) GetPayload() *GetEnvironmentOKBody

func (*GetEnvironmentOK) IsClientError

func (o *GetEnvironmentOK) IsClientError() bool

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

func (*GetEnvironmentOK) IsCode

func (o *GetEnvironmentOK) IsCode(code int) bool

IsCode returns true when this get environment o k response a status code equal to that given

func (*GetEnvironmentOK) IsRedirect

func (o *GetEnvironmentOK) IsRedirect() bool

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

func (*GetEnvironmentOK) IsServerError

func (o *GetEnvironmentOK) IsServerError() bool

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

func (*GetEnvironmentOK) IsSuccess

func (o *GetEnvironmentOK) IsSuccess() bool

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

func (*GetEnvironmentOK) String

func (o *GetEnvironmentOK) String() string

type GetEnvironmentOKBody

type GetEnvironmentOKBody struct {

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

GetEnvironmentOKBody get environment o k body swagger:model GetEnvironmentOKBody

func (*GetEnvironmentOKBody) ContextValidate

func (o *GetEnvironmentOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get environment o k body based on the context it is used

func (*GetEnvironmentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetEnvironmentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetEnvironmentOKBody) Validate

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

Validate validates this get environment o k body

type GetEnvironmentParams

type GetEnvironmentParams 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
}

GetEnvironmentParams contains all the parameters to send to the API endpoint

for the get environment operation.

Typically these are written to a http.Request.

func NewGetEnvironmentParams

func NewGetEnvironmentParams() *GetEnvironmentParams

NewGetEnvironmentParams creates a new GetEnvironmentParams 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 NewGetEnvironmentParamsWithContext

func NewGetEnvironmentParamsWithContext(ctx context.Context) *GetEnvironmentParams

NewGetEnvironmentParamsWithContext creates a new GetEnvironmentParams object with the ability to set a context for a request.

func NewGetEnvironmentParamsWithHTTPClient

func NewGetEnvironmentParamsWithHTTPClient(client *http.Client) *GetEnvironmentParams

NewGetEnvironmentParamsWithHTTPClient creates a new GetEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentParamsWithTimeout

func NewGetEnvironmentParamsWithTimeout(timeout time.Duration) *GetEnvironmentParams

NewGetEnvironmentParamsWithTimeout creates a new GetEnvironmentParams object with the ability to set a timeout on a request.

func (*GetEnvironmentParams) SetContext

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

SetContext adds the context to the get environment params

func (*GetEnvironmentParams) SetDefaults

func (o *GetEnvironmentParams) SetDefaults()

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

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

func (*GetEnvironmentParams) SetEnvironmentCanonical

func (o *GetEnvironmentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get environment params

func (*GetEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment params

func (*GetEnvironmentParams) SetOrganizationCanonical

func (o *GetEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get environment params

func (*GetEnvironmentParams) SetProjectCanonical

func (o *GetEnvironmentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get environment params

func (*GetEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the get environment params

func (*GetEnvironmentParams) WithContext

WithContext adds the context to the get environment params

func (*GetEnvironmentParams) WithDefaults

func (o *GetEnvironmentParams) WithDefaults() *GetEnvironmentParams

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

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

func (*GetEnvironmentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the get environment params

func (*GetEnvironmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get environment params

func (*GetEnvironmentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get environment params

func (*GetEnvironmentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get environment params

func (*GetEnvironmentParams) WithTimeout

func (o *GetEnvironmentParams) WithTimeout(timeout time.Duration) *GetEnvironmentParams

WithTimeout adds the timeout to the get environment params

func (*GetEnvironmentParams) WriteToRequest

func (o *GetEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetEnvironmentReader

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

GetEnvironmentReader is a Reader for the GetEnvironment structure.

func (*GetEnvironmentReader) ReadResponse

func (o *GetEnvironmentReader) 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).

	   Format: uint64
	*/
	ContentLength uint64

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

GetProjectDefault describes a response with status code -1, 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

func (*GetProjectDefault) IsClientError

func (o *GetProjectDefault) IsClientError() bool

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

func (*GetProjectDefault) IsCode

func (o *GetProjectDefault) IsCode(code int) bool

IsCode returns true when this get project default response a status code equal to that given

func (*GetProjectDefault) IsRedirect

func (o *GetProjectDefault) IsRedirect() bool

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

func (*GetProjectDefault) IsServerError

func (o *GetProjectDefault) IsServerError() bool

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

func (*GetProjectDefault) IsSuccess

func (o *GetProjectDefault) IsSuccess() bool

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

func (*GetProjectDefault) String

func (o *GetProjectDefault) String() string

type GetProjectEnvironmentsDefault

type GetProjectEnvironmentsDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetProjectEnvironmentsDefault describes a response with status code -1, with default header values.

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

func NewGetProjectEnvironmentsDefault

func NewGetProjectEnvironmentsDefault(code int) *GetProjectEnvironmentsDefault

NewGetProjectEnvironmentsDefault creates a GetProjectEnvironmentsDefault with default headers values

func (*GetProjectEnvironmentsDefault) Code

Code gets the status code for the get project environments default response

func (*GetProjectEnvironmentsDefault) Error

func (*GetProjectEnvironmentsDefault) GetPayload

func (*GetProjectEnvironmentsDefault) IsClientError

func (o *GetProjectEnvironmentsDefault) IsClientError() bool

IsClientError returns true when this get project environments default response has a 4xx status code

func (*GetProjectEnvironmentsDefault) IsCode

func (o *GetProjectEnvironmentsDefault) IsCode(code int) bool

IsCode returns true when this get project environments default response a status code equal to that given

func (*GetProjectEnvironmentsDefault) IsRedirect

func (o *GetProjectEnvironmentsDefault) IsRedirect() bool

IsRedirect returns true when this get project environments default response has a 3xx status code

func (*GetProjectEnvironmentsDefault) IsServerError

func (o *GetProjectEnvironmentsDefault) IsServerError() bool

IsServerError returns true when this get project environments default response has a 5xx status code

func (*GetProjectEnvironmentsDefault) IsSuccess

func (o *GetProjectEnvironmentsDefault) IsSuccess() bool

IsSuccess returns true when this get project environments default response has a 2xx status code

func (*GetProjectEnvironmentsDefault) String

type GetProjectEnvironmentsForbidden

type GetProjectEnvironmentsForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectEnvironmentsForbidden describes a response with status code 403, with default header values.

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

func NewGetProjectEnvironmentsForbidden

func NewGetProjectEnvironmentsForbidden() *GetProjectEnvironmentsForbidden

NewGetProjectEnvironmentsForbidden creates a GetProjectEnvironmentsForbidden with default headers values

func (*GetProjectEnvironmentsForbidden) Code

Code gets the status code for the get project environments forbidden response

func (*GetProjectEnvironmentsForbidden) Error

func (*GetProjectEnvironmentsForbidden) GetPayload

func (*GetProjectEnvironmentsForbidden) IsClientError

func (o *GetProjectEnvironmentsForbidden) IsClientError() bool

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

func (*GetProjectEnvironmentsForbidden) IsCode

func (o *GetProjectEnvironmentsForbidden) IsCode(code int) bool

IsCode returns true when this get project environments forbidden response a status code equal to that given

func (*GetProjectEnvironmentsForbidden) IsRedirect

func (o *GetProjectEnvironmentsForbidden) IsRedirect() bool

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

func (*GetProjectEnvironmentsForbidden) IsServerError

func (o *GetProjectEnvironmentsForbidden) IsServerError() bool

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

func (*GetProjectEnvironmentsForbidden) IsSuccess

func (o *GetProjectEnvironmentsForbidden) IsSuccess() bool

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

func (*GetProjectEnvironmentsForbidden) String

type GetProjectEnvironmentsNotFound

type GetProjectEnvironmentsNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectEnvironmentsNotFound describes a response with status code 404, with default header values.

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

func NewGetProjectEnvironmentsNotFound

func NewGetProjectEnvironmentsNotFound() *GetProjectEnvironmentsNotFound

NewGetProjectEnvironmentsNotFound creates a GetProjectEnvironmentsNotFound with default headers values

func (*GetProjectEnvironmentsNotFound) Code

Code gets the status code for the get project environments not found response

func (*GetProjectEnvironmentsNotFound) Error

func (*GetProjectEnvironmentsNotFound) GetPayload

func (*GetProjectEnvironmentsNotFound) IsClientError

func (o *GetProjectEnvironmentsNotFound) IsClientError() bool

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

func (*GetProjectEnvironmentsNotFound) IsCode

func (o *GetProjectEnvironmentsNotFound) IsCode(code int) bool

IsCode returns true when this get project environments not found response a status code equal to that given

func (*GetProjectEnvironmentsNotFound) IsRedirect

func (o *GetProjectEnvironmentsNotFound) IsRedirect() bool

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

func (*GetProjectEnvironmentsNotFound) IsServerError

func (o *GetProjectEnvironmentsNotFound) IsServerError() bool

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

func (*GetProjectEnvironmentsNotFound) IsSuccess

func (o *GetProjectEnvironmentsNotFound) IsSuccess() bool

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

func (*GetProjectEnvironmentsNotFound) String

type GetProjectEnvironmentsOK

type GetProjectEnvironmentsOK struct {
	Payload *GetProjectEnvironmentsOKBody
}

GetProjectEnvironmentsOK describes a response with status code 200, with default header values.

Returns all the project Environments

func NewGetProjectEnvironmentsOK

func NewGetProjectEnvironmentsOK() *GetProjectEnvironmentsOK

NewGetProjectEnvironmentsOK creates a GetProjectEnvironmentsOK with default headers values

func (*GetProjectEnvironmentsOK) Code

func (o *GetProjectEnvironmentsOK) Code() int

Code gets the status code for the get project environments o k response

func (*GetProjectEnvironmentsOK) Error

func (o *GetProjectEnvironmentsOK) Error() string

func (*GetProjectEnvironmentsOK) GetPayload

func (*GetProjectEnvironmentsOK) IsClientError

func (o *GetProjectEnvironmentsOK) IsClientError() bool

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

func (*GetProjectEnvironmentsOK) IsCode

func (o *GetProjectEnvironmentsOK) IsCode(code int) bool

IsCode returns true when this get project environments o k response a status code equal to that given

func (*GetProjectEnvironmentsOK) IsRedirect

func (o *GetProjectEnvironmentsOK) IsRedirect() bool

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

func (*GetProjectEnvironmentsOK) IsServerError

func (o *GetProjectEnvironmentsOK) IsServerError() bool

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

func (*GetProjectEnvironmentsOK) IsSuccess

func (o *GetProjectEnvironmentsOK) IsSuccess() bool

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

func (*GetProjectEnvironmentsOK) String

func (o *GetProjectEnvironmentsOK) String() string

type GetProjectEnvironmentsOKBody

type GetProjectEnvironmentsOKBody struct {

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

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

GetProjectEnvironmentsOKBody get project environments o k body swagger:model GetProjectEnvironmentsOKBody

func (*GetProjectEnvironmentsOKBody) ContextValidate

func (o *GetProjectEnvironmentsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get project environments o k body based on the context it is used

func (*GetProjectEnvironmentsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetProjectEnvironmentsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetProjectEnvironmentsOKBody) Validate

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

Validate validates this get project environments o k body

type GetProjectEnvironmentsParams

type GetProjectEnvironmentsParams 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
}

GetProjectEnvironmentsParams contains all the parameters to send to the API endpoint

for the get project environments operation.

Typically these are written to a http.Request.

func NewGetProjectEnvironmentsParams

func NewGetProjectEnvironmentsParams() *GetProjectEnvironmentsParams

NewGetProjectEnvironmentsParams creates a new GetProjectEnvironmentsParams 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 NewGetProjectEnvironmentsParamsWithContext

func NewGetProjectEnvironmentsParamsWithContext(ctx context.Context) *GetProjectEnvironmentsParams

NewGetProjectEnvironmentsParamsWithContext creates a new GetProjectEnvironmentsParams object with the ability to set a context for a request.

func NewGetProjectEnvironmentsParamsWithHTTPClient

func NewGetProjectEnvironmentsParamsWithHTTPClient(client *http.Client) *GetProjectEnvironmentsParams

NewGetProjectEnvironmentsParamsWithHTTPClient creates a new GetProjectEnvironmentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectEnvironmentsParamsWithTimeout

func NewGetProjectEnvironmentsParamsWithTimeout(timeout time.Duration) *GetProjectEnvironmentsParams

NewGetProjectEnvironmentsParamsWithTimeout creates a new GetProjectEnvironmentsParams object with the ability to set a timeout on a request.

func (*GetProjectEnvironmentsParams) SetContext

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

SetContext adds the context to the get project environments params

func (*GetProjectEnvironmentsParams) SetDefaults

func (o *GetProjectEnvironmentsParams) SetDefaults()

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

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

func (*GetProjectEnvironmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get project environments params

func (*GetProjectEnvironmentsParams) SetOrganizationCanonical

func (o *GetProjectEnvironmentsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get project environments params

func (*GetProjectEnvironmentsParams) SetProjectCanonical

func (o *GetProjectEnvironmentsParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get project environments params

func (*GetProjectEnvironmentsParams) SetTimeout

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

SetTimeout adds the timeout to the get project environments params

func (*GetProjectEnvironmentsParams) WithContext

WithContext adds the context to the get project environments params

func (*GetProjectEnvironmentsParams) WithDefaults

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

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

func (*GetProjectEnvironmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get project environments params

func (*GetProjectEnvironmentsParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get project environments params

func (*GetProjectEnvironmentsParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get project environments params

func (*GetProjectEnvironmentsParams) WithTimeout

WithTimeout adds the timeout to the get project environments params

func (*GetProjectEnvironmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectEnvironmentsReader

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

GetProjectEnvironmentsReader is a Reader for the GetProjectEnvironments structure.

func (*GetProjectEnvironmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectEnvironmentsUnprocessableEntity

type GetProjectEnvironmentsUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectEnvironmentsUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetProjectEnvironmentsUnprocessableEntity

func NewGetProjectEnvironmentsUnprocessableEntity() *GetProjectEnvironmentsUnprocessableEntity

NewGetProjectEnvironmentsUnprocessableEntity creates a GetProjectEnvironmentsUnprocessableEntity with default headers values

func (*GetProjectEnvironmentsUnprocessableEntity) Code

Code gets the status code for the get project environments unprocessable entity response

func (*GetProjectEnvironmentsUnprocessableEntity) Error

func (*GetProjectEnvironmentsUnprocessableEntity) GetPayload

func (*GetProjectEnvironmentsUnprocessableEntity) IsClientError

IsClientError returns true when this get project environments unprocessable entity response has a 4xx status code

func (*GetProjectEnvironmentsUnprocessableEntity) IsCode

IsCode returns true when this get project environments unprocessable entity response a status code equal to that given

func (*GetProjectEnvironmentsUnprocessableEntity) IsRedirect

IsRedirect returns true when this get project environments unprocessable entity response has a 3xx status code

func (*GetProjectEnvironmentsUnprocessableEntity) IsServerError

IsServerError returns true when this get project environments unprocessable entity response has a 5xx status code

func (*GetProjectEnvironmentsUnprocessableEntity) IsSuccess

IsSuccess returns true when this get project environments unprocessable entity response has a 2xx status code

func (*GetProjectEnvironmentsUnprocessableEntity) String

type GetProjectForbidden

type GetProjectForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectForbidden describes a response with status code 403, 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) Code

func (o *GetProjectForbidden) Code() int

Code gets the status code for the get project forbidden response

func (*GetProjectForbidden) Error

func (o *GetProjectForbidden) Error() string

func (*GetProjectForbidden) GetPayload

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

func (*GetProjectForbidden) IsClientError

func (o *GetProjectForbidden) IsClientError() bool

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

func (*GetProjectForbidden) IsCode

func (o *GetProjectForbidden) IsCode(code int) bool

IsCode returns true when this get project forbidden response a status code equal to that given

func (*GetProjectForbidden) IsRedirect

func (o *GetProjectForbidden) IsRedirect() bool

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

func (*GetProjectForbidden) IsServerError

func (o *GetProjectForbidden) IsServerError() bool

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

func (*GetProjectForbidden) IsSuccess

func (o *GetProjectForbidden) IsSuccess() bool

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

func (*GetProjectForbidden) String

func (o *GetProjectForbidden) String() string

type GetProjectNotFound

type GetProjectNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectNotFound describes a response with status code 404, 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) Code

func (o *GetProjectNotFound) Code() int

Code gets the status code for the get project not found response

func (*GetProjectNotFound) Error

func (o *GetProjectNotFound) Error() string

func (*GetProjectNotFound) GetPayload

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

func (*GetProjectNotFound) IsClientError

func (o *GetProjectNotFound) IsClientError() bool

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

func (*GetProjectNotFound) IsCode

func (o *GetProjectNotFound) IsCode(code int) bool

IsCode returns true when this get project not found response a status code equal to that given

func (*GetProjectNotFound) IsRedirect

func (o *GetProjectNotFound) IsRedirect() bool

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

func (*GetProjectNotFound) IsServerError

func (o *GetProjectNotFound) IsServerError() bool

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

func (*GetProjectNotFound) IsSuccess

func (o *GetProjectNotFound) IsSuccess() bool

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

func (*GetProjectNotFound) String

func (o *GetProjectNotFound) String() string

type GetProjectOK

type GetProjectOK struct {
	Payload *GetProjectOKBody
}

GetProjectOK describes a response with status code 200, 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) Code

func (o *GetProjectOK) Code() int

Code gets the status code for the get project o k response

func (*GetProjectOK) Error

func (o *GetProjectOK) Error() string

func (*GetProjectOK) GetPayload

func (o *GetProjectOK) GetPayload() *GetProjectOKBody

func (*GetProjectOK) IsClientError

func (o *GetProjectOK) IsClientError() bool

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

func (*GetProjectOK) IsCode

func (o *GetProjectOK) IsCode(code int) bool

IsCode returns true when this get project o k response a status code equal to that given

func (*GetProjectOK) IsRedirect

func (o *GetProjectOK) IsRedirect() bool

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

func (*GetProjectOK) IsServerError

func (o *GetProjectOK) IsServerError() bool

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

func (*GetProjectOK) IsSuccess

func (o *GetProjectOK) IsSuccess() bool

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

func (*GetProjectOK) String

func (o *GetProjectOK) String() string

type GetProjectOKBody

type GetProjectOKBody struct {

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

GetProjectOKBody get project o k body swagger:model GetProjectOKBody

func (*GetProjectOKBody) ContextValidate

func (o *GetProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get project o k body based on the context it is used

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

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

SetContext adds the context to the get project params

func (*GetProjectParams) SetDefaults

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

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetProjectsDefault describes a response with status code -1, 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

func (*GetProjectsDefault) IsClientError

func (o *GetProjectsDefault) IsClientError() bool

IsClientError returns true when this get projects default response has a 4xx status code

func (*GetProjectsDefault) IsCode

func (o *GetProjectsDefault) IsCode(code int) bool

IsCode returns true when this get projects default response a status code equal to that given

func (*GetProjectsDefault) IsRedirect

func (o *GetProjectsDefault) IsRedirect() bool

IsRedirect returns true when this get projects default response has a 3xx status code

func (*GetProjectsDefault) IsServerError

func (o *GetProjectsDefault) IsServerError() bool

IsServerError returns true when this get projects default response has a 5xx status code

func (*GetProjectsDefault) IsSuccess

func (o *GetProjectsDefault) IsSuccess() bool

IsSuccess returns true when this get projects default response has a 2xx status code

func (*GetProjectsDefault) String

func (o *GetProjectsDefault) String() string

type GetProjectsForbidden

type GetProjectsForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectsForbidden describes a response with status code 403, 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) Code

func (o *GetProjectsForbidden) Code() int

Code gets the status code for the get projects forbidden response

func (*GetProjectsForbidden) Error

func (o *GetProjectsForbidden) Error() string

func (*GetProjectsForbidden) GetPayload

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

func (*GetProjectsForbidden) IsClientError

func (o *GetProjectsForbidden) IsClientError() bool

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

func (*GetProjectsForbidden) IsCode

func (o *GetProjectsForbidden) IsCode(code int) bool

IsCode returns true when this get projects forbidden response a status code equal to that given

func (*GetProjectsForbidden) IsRedirect

func (o *GetProjectsForbidden) IsRedirect() bool

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

func (*GetProjectsForbidden) IsServerError

func (o *GetProjectsForbidden) IsServerError() bool

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

func (*GetProjectsForbidden) IsSuccess

func (o *GetProjectsForbidden) IsSuccess() bool

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

func (*GetProjectsForbidden) String

func (o *GetProjectsForbidden) String() string

type GetProjectsNotFound

type GetProjectsNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectsNotFound describes a response with status code 404, 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) Code

func (o *GetProjectsNotFound) Code() int

Code gets the status code for the get projects not found response

func (*GetProjectsNotFound) Error

func (o *GetProjectsNotFound) Error() string

func (*GetProjectsNotFound) GetPayload

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

func (*GetProjectsNotFound) IsClientError

func (o *GetProjectsNotFound) IsClientError() bool

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

func (*GetProjectsNotFound) IsCode

func (o *GetProjectsNotFound) IsCode(code int) bool

IsCode returns true when this get projects not found response a status code equal to that given

func (*GetProjectsNotFound) IsRedirect

func (o *GetProjectsNotFound) IsRedirect() bool

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

func (*GetProjectsNotFound) IsServerError

func (o *GetProjectsNotFound) IsServerError() bool

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

func (*GetProjectsNotFound) IsSuccess

func (o *GetProjectsNotFound) IsSuccess() bool

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

func (*GetProjectsNotFound) String

func (o *GetProjectsNotFound) String() string

type GetProjectsOK

type GetProjectsOK struct {
	Payload *GetProjectsOKBody
}

GetProjectsOK describes a response with status code 200, 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) Code

func (o *GetProjectsOK) Code() int

Code gets the status code for the get projects o k response

func (*GetProjectsOK) Error

func (o *GetProjectsOK) Error() string

func (*GetProjectsOK) GetPayload

func (o *GetProjectsOK) GetPayload() *GetProjectsOKBody

func (*GetProjectsOK) IsClientError

func (o *GetProjectsOK) IsClientError() bool

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

func (*GetProjectsOK) IsCode

func (o *GetProjectsOK) IsCode(code int) bool

IsCode returns true when this get projects o k response a status code equal to that given

func (*GetProjectsOK) IsRedirect

func (o *GetProjectsOK) IsRedirect() bool

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

func (*GetProjectsOK) IsServerError

func (o *GetProjectsOK) IsServerError() bool

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

func (*GetProjectsOK) IsSuccess

func (o *GetProjectsOK) IsSuccess() bool

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

func (*GetProjectsOK) String

func (o *GetProjectsOK) String() string

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

func (o *GetProjectsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get projects o k body based on the context it is used

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 {

	/* EnvironmentCanonical.

	   A list of environments' canonical to filter from
	*/
	EnvironmentCanonical *string

	/* Favorite.

	   Flag to retrieve favorite data from the members favorite list.

	*/
	Favorite *bool

	/* MemberID.

	   Search by entity's owner

	   Format: uint32
	*/
	MemberID *uint32

	/* 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.

	   Format: uint32
	   Default: 1
	*/
	PageIndex *uint32

	/* PageSize.

	   The number of items at most which the response can have.

	   Format: uint32
	   Default: 1000
	*/
	PageSize *uint32

	/* ProjectConfigRepositoryCanonical.

	   Search by project's config repository's canonical
	*/
	ProjectConfigRepositoryCanonical *string

	/* ProjectCreatedAt.

	   Search by project's creation date

	   Format: uint64
	*/
	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

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

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

SetContext adds the context to the get projects params

func (*GetProjectsParams) SetDefaults

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

func (o *GetProjectsParams) SetEnvironmentCanonical(environmentCanonical *string)

SetEnvironmentCanonical adds the environmentCanonical to the get projects params

func (*GetProjectsParams) SetFavorite

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

func (o *GetProjectsParams) SetMemberID(memberID *uint32)

SetMemberID adds the memberId 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

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

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

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

WithContext adds the context to the get projects params

func (*GetProjectsParams) WithDefaults

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

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

WithEnvironmentCanonical adds the environmentCanonical to the get projects params

func (*GetProjectsParams) WithFavorite

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

func (o *GetProjectsParams) WithMemberID(memberID *uint32) *GetProjectsParams

WithMemberID adds the memberID 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

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

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetProjectsUnprocessableEntity describes a response with status code 422, 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) Code

Code gets the status code for the get projects unprocessable entity response

func (*GetProjectsUnprocessableEntity) Error

func (*GetProjectsUnprocessableEntity) GetPayload

func (*GetProjectsUnprocessableEntity) IsClientError

func (o *GetProjectsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get projects unprocessable entity response has a 4xx status code

func (*GetProjectsUnprocessableEntity) IsCode

func (o *GetProjectsUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this get projects unprocessable entity response a status code equal to that given

func (*GetProjectsUnprocessableEntity) IsRedirect

func (o *GetProjectsUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this get projects unprocessable entity response has a 3xx status code

func (*GetProjectsUnprocessableEntity) IsServerError

func (o *GetProjectsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get projects unprocessable entity response has a 5xx status code

func (*GetProjectsUnprocessableEntity) IsSuccess

func (o *GetProjectsUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this get projects unprocessable entity response has a 2xx status code

func (*GetProjectsUnprocessableEntity) String

type UpdateEnvironmentDefault

type UpdateEnvironmentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

UpdateEnvironmentDefault describes a response with status code -1, with default header values.

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

func NewUpdateEnvironmentDefault

func NewUpdateEnvironmentDefault(code int) *UpdateEnvironmentDefault

NewUpdateEnvironmentDefault creates a UpdateEnvironmentDefault with default headers values

func (*UpdateEnvironmentDefault) Code

func (o *UpdateEnvironmentDefault) Code() int

Code gets the status code for the update environment default response

func (*UpdateEnvironmentDefault) Error

func (o *UpdateEnvironmentDefault) Error() string

func (*UpdateEnvironmentDefault) GetPayload

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

func (*UpdateEnvironmentDefault) IsClientError

func (o *UpdateEnvironmentDefault) IsClientError() bool

IsClientError returns true when this update environment default response has a 4xx status code

func (*UpdateEnvironmentDefault) IsCode

func (o *UpdateEnvironmentDefault) IsCode(code int) bool

IsCode returns true when this update environment default response a status code equal to that given

func (*UpdateEnvironmentDefault) IsRedirect

func (o *UpdateEnvironmentDefault) IsRedirect() bool

IsRedirect returns true when this update environment default response has a 3xx status code

func (*UpdateEnvironmentDefault) IsServerError

func (o *UpdateEnvironmentDefault) IsServerError() bool

IsServerError returns true when this update environment default response has a 5xx status code

func (*UpdateEnvironmentDefault) IsSuccess

func (o *UpdateEnvironmentDefault) IsSuccess() bool

IsSuccess returns true when this update environment default response has a 2xx status code

func (*UpdateEnvironmentDefault) String

func (o *UpdateEnvironmentDefault) String() string

type UpdateEnvironmentForbidden

type UpdateEnvironmentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateEnvironmentForbidden describes a response with status code 403, with default header values.

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

func NewUpdateEnvironmentForbidden

func NewUpdateEnvironmentForbidden() *UpdateEnvironmentForbidden

NewUpdateEnvironmentForbidden creates a UpdateEnvironmentForbidden with default headers values

func (*UpdateEnvironmentForbidden) Code

func (o *UpdateEnvironmentForbidden) Code() int

Code gets the status code for the update environment forbidden response

func (*UpdateEnvironmentForbidden) Error

func (*UpdateEnvironmentForbidden) GetPayload

func (*UpdateEnvironmentForbidden) IsClientError

func (o *UpdateEnvironmentForbidden) IsClientError() bool

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

func (*UpdateEnvironmentForbidden) IsCode

func (o *UpdateEnvironmentForbidden) IsCode(code int) bool

IsCode returns true when this update environment forbidden response a status code equal to that given

func (*UpdateEnvironmentForbidden) IsRedirect

func (o *UpdateEnvironmentForbidden) IsRedirect() bool

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

func (*UpdateEnvironmentForbidden) IsServerError

func (o *UpdateEnvironmentForbidden) IsServerError() bool

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

func (*UpdateEnvironmentForbidden) IsSuccess

func (o *UpdateEnvironmentForbidden) IsSuccess() bool

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

func (*UpdateEnvironmentForbidden) String

func (o *UpdateEnvironmentForbidden) String() string

type UpdateEnvironmentNotFound

type UpdateEnvironmentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateEnvironmentNotFound describes a response with status code 404, with default header values.

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

func NewUpdateEnvironmentNotFound

func NewUpdateEnvironmentNotFound() *UpdateEnvironmentNotFound

NewUpdateEnvironmentNotFound creates a UpdateEnvironmentNotFound with default headers values

func (*UpdateEnvironmentNotFound) Code

func (o *UpdateEnvironmentNotFound) Code() int

Code gets the status code for the update environment not found response

func (*UpdateEnvironmentNotFound) Error

func (o *UpdateEnvironmentNotFound) Error() string

func (*UpdateEnvironmentNotFound) GetPayload

func (*UpdateEnvironmentNotFound) IsClientError

func (o *UpdateEnvironmentNotFound) IsClientError() bool

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

func (*UpdateEnvironmentNotFound) IsCode

func (o *UpdateEnvironmentNotFound) IsCode(code int) bool

IsCode returns true when this update environment not found response a status code equal to that given

func (*UpdateEnvironmentNotFound) IsRedirect

func (o *UpdateEnvironmentNotFound) IsRedirect() bool

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

func (*UpdateEnvironmentNotFound) IsServerError

func (o *UpdateEnvironmentNotFound) IsServerError() bool

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

func (*UpdateEnvironmentNotFound) IsSuccess

func (o *UpdateEnvironmentNotFound) IsSuccess() bool

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

func (*UpdateEnvironmentNotFound) String

func (o *UpdateEnvironmentNotFound) String() string

type UpdateEnvironmentOK

type UpdateEnvironmentOK struct {
	Payload *UpdateEnvironmentOKBody
}

UpdateEnvironmentOK describes a response with status code 200, with default header values.

Environment updated. The body contains the information of the updated environment.

func NewUpdateEnvironmentOK

func NewUpdateEnvironmentOK() *UpdateEnvironmentOK

NewUpdateEnvironmentOK creates a UpdateEnvironmentOK with default headers values

func (*UpdateEnvironmentOK) Code

func (o *UpdateEnvironmentOK) Code() int

Code gets the status code for the update environment o k response

func (*UpdateEnvironmentOK) Error

func (o *UpdateEnvironmentOK) Error() string

func (*UpdateEnvironmentOK) GetPayload

func (*UpdateEnvironmentOK) IsClientError

func (o *UpdateEnvironmentOK) IsClientError() bool

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

func (*UpdateEnvironmentOK) IsCode

func (o *UpdateEnvironmentOK) IsCode(code int) bool

IsCode returns true when this update environment o k response a status code equal to that given

func (*UpdateEnvironmentOK) IsRedirect

func (o *UpdateEnvironmentOK) IsRedirect() bool

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

func (*UpdateEnvironmentOK) IsServerError

func (o *UpdateEnvironmentOK) IsServerError() bool

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

func (*UpdateEnvironmentOK) IsSuccess

func (o *UpdateEnvironmentOK) IsSuccess() bool

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

func (*UpdateEnvironmentOK) String

func (o *UpdateEnvironmentOK) String() string

type UpdateEnvironmentOKBody

type UpdateEnvironmentOKBody struct {

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

UpdateEnvironmentOKBody update environment o k body swagger:model UpdateEnvironmentOKBody

func (*UpdateEnvironmentOKBody) ContextValidate

func (o *UpdateEnvironmentOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update environment o k body based on the context it is used

func (*UpdateEnvironmentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateEnvironmentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateEnvironmentOKBody) Validate

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

Validate validates this update environment o k body

type UpdateEnvironmentParams

type UpdateEnvironmentParams struct {

	/* Body.

	   The canonical of the environment to update and its configuration.
	*/
	Body *models.UpdateEnvironment

	/* 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
}

UpdateEnvironmentParams contains all the parameters to send to the API endpoint

for the update environment operation.

Typically these are written to a http.Request.

func NewUpdateEnvironmentParams

func NewUpdateEnvironmentParams() *UpdateEnvironmentParams

NewUpdateEnvironmentParams creates a new UpdateEnvironmentParams 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 NewUpdateEnvironmentParamsWithContext

func NewUpdateEnvironmentParamsWithContext(ctx context.Context) *UpdateEnvironmentParams

NewUpdateEnvironmentParamsWithContext creates a new UpdateEnvironmentParams object with the ability to set a context for a request.

func NewUpdateEnvironmentParamsWithHTTPClient

func NewUpdateEnvironmentParamsWithHTTPClient(client *http.Client) *UpdateEnvironmentParams

NewUpdateEnvironmentParamsWithHTTPClient creates a new UpdateEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEnvironmentParamsWithTimeout

func NewUpdateEnvironmentParamsWithTimeout(timeout time.Duration) *UpdateEnvironmentParams

NewUpdateEnvironmentParamsWithTimeout creates a new UpdateEnvironmentParams object with the ability to set a timeout on a request.

func (*UpdateEnvironmentParams) SetBody

SetBody adds the body to the update environment params

func (*UpdateEnvironmentParams) SetContext

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

SetContext adds the context to the update environment params

func (*UpdateEnvironmentParams) SetDefaults

func (o *UpdateEnvironmentParams) SetDefaults()

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

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

func (*UpdateEnvironmentParams) SetEnvironmentCanonical

func (o *UpdateEnvironmentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the update environment params

func (*UpdateEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update environment params

func (*UpdateEnvironmentParams) SetOrganizationCanonical

func (o *UpdateEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the update environment params

func (*UpdateEnvironmentParams) SetProjectCanonical

func (o *UpdateEnvironmentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the update environment params

func (*UpdateEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the update environment params

func (*UpdateEnvironmentParams) WithBody

WithBody adds the body to the update environment params

func (*UpdateEnvironmentParams) WithContext

WithContext adds the context to the update environment params

func (*UpdateEnvironmentParams) WithDefaults

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

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

func (*UpdateEnvironmentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the update environment params

func (*UpdateEnvironmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update environment params

func (*UpdateEnvironmentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the update environment params

func (*UpdateEnvironmentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the update environment params

func (*UpdateEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the update environment params

func (*UpdateEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEnvironmentReader

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

UpdateEnvironmentReader is a Reader for the UpdateEnvironment structure.

func (*UpdateEnvironmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateProjectDefault

type UpdateProjectDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

UpdateProjectDefault describes a response with status code -1, 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

func (*UpdateProjectDefault) IsClientError

func (o *UpdateProjectDefault) IsClientError() bool

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

func (*UpdateProjectDefault) IsCode

func (o *UpdateProjectDefault) IsCode(code int) bool

IsCode returns true when this update project default response a status code equal to that given

func (*UpdateProjectDefault) IsRedirect

func (o *UpdateProjectDefault) IsRedirect() bool

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

func (*UpdateProjectDefault) IsServerError

func (o *UpdateProjectDefault) IsServerError() bool

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

func (*UpdateProjectDefault) IsSuccess

func (o *UpdateProjectDefault) IsSuccess() bool

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

func (*UpdateProjectDefault) String

func (o *UpdateProjectDefault) String() string

type UpdateProjectForbidden

type UpdateProjectForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateProjectForbidden describes a response with status code 403, 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) Code

func (o *UpdateProjectForbidden) Code() int

Code gets the status code for the update project forbidden response

func (*UpdateProjectForbidden) Error

func (o *UpdateProjectForbidden) Error() string

func (*UpdateProjectForbidden) GetPayload

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

func (*UpdateProjectForbidden) IsClientError

func (o *UpdateProjectForbidden) IsClientError() bool

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

func (*UpdateProjectForbidden) IsCode

func (o *UpdateProjectForbidden) IsCode(code int) bool

IsCode returns true when this update project forbidden response a status code equal to that given

func (*UpdateProjectForbidden) IsRedirect

func (o *UpdateProjectForbidden) IsRedirect() bool

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

func (*UpdateProjectForbidden) IsServerError

func (o *UpdateProjectForbidden) IsServerError() bool

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

func (*UpdateProjectForbidden) IsSuccess

func (o *UpdateProjectForbidden) IsSuccess() bool

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

func (*UpdateProjectForbidden) String

func (o *UpdateProjectForbidden) String() string

type UpdateProjectLengthRequired

type UpdateProjectLengthRequired struct {
}

UpdateProjectLengthRequired describes a response with status code 411, 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) Code

func (o *UpdateProjectLengthRequired) Code() int

Code gets the status code for the update project length required response

func (*UpdateProjectLengthRequired) Error

func (*UpdateProjectLengthRequired) IsClientError

func (o *UpdateProjectLengthRequired) IsClientError() bool

IsClientError returns true when this update project length required response has a 4xx status code

func (*UpdateProjectLengthRequired) IsCode

func (o *UpdateProjectLengthRequired) IsCode(code int) bool

IsCode returns true when this update project length required response a status code equal to that given

func (*UpdateProjectLengthRequired) IsRedirect

func (o *UpdateProjectLengthRequired) IsRedirect() bool

IsRedirect returns true when this update project length required response has a 3xx status code

func (*UpdateProjectLengthRequired) IsServerError

func (o *UpdateProjectLengthRequired) IsServerError() bool

IsServerError returns true when this update project length required response has a 5xx status code

func (*UpdateProjectLengthRequired) IsSuccess

func (o *UpdateProjectLengthRequired) IsSuccess() bool

IsSuccess returns true when this update project length required response has a 2xx status code

func (*UpdateProjectLengthRequired) String

func (o *UpdateProjectLengthRequired) String() string

type UpdateProjectNotFound

type UpdateProjectNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateProjectNotFound describes a response with status code 404, 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) Code

func (o *UpdateProjectNotFound) Code() int

Code gets the status code for the update project not found response

func (*UpdateProjectNotFound) Error

func (o *UpdateProjectNotFound) Error() string

func (*UpdateProjectNotFound) GetPayload

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

func (*UpdateProjectNotFound) IsClientError

func (o *UpdateProjectNotFound) IsClientError() bool

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

func (*UpdateProjectNotFound) IsCode

func (o *UpdateProjectNotFound) IsCode(code int) bool

IsCode returns true when this update project not found response a status code equal to that given

func (*UpdateProjectNotFound) IsRedirect

func (o *UpdateProjectNotFound) IsRedirect() bool

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

func (*UpdateProjectNotFound) IsServerError

func (o *UpdateProjectNotFound) IsServerError() bool

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

func (*UpdateProjectNotFound) IsSuccess

func (o *UpdateProjectNotFound) IsSuccess() bool

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

func (*UpdateProjectNotFound) String

func (o *UpdateProjectNotFound) String() string

type UpdateProjectOK

type UpdateProjectOK struct {
	Payload *UpdateProjectOKBody
}

UpdateProjectOK describes a response with status code 200, 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) Code

func (o *UpdateProjectOK) Code() int

Code gets the status code for the update project o k response

func (*UpdateProjectOK) Error

func (o *UpdateProjectOK) Error() string

func (*UpdateProjectOK) GetPayload

func (o *UpdateProjectOK) GetPayload() *UpdateProjectOKBody

func (*UpdateProjectOK) IsClientError

func (o *UpdateProjectOK) IsClientError() bool

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

func (*UpdateProjectOK) IsCode

func (o *UpdateProjectOK) IsCode(code int) bool

IsCode returns true when this update project o k response a status code equal to that given

func (*UpdateProjectOK) IsRedirect

func (o *UpdateProjectOK) IsRedirect() bool

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

func (*UpdateProjectOK) IsServerError

func (o *UpdateProjectOK) IsServerError() bool

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

func (*UpdateProjectOK) IsSuccess

func (o *UpdateProjectOK) IsSuccess() bool

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

func (*UpdateProjectOK) String

func (o *UpdateProjectOK) String() string

type UpdateProjectOKBody

type UpdateProjectOKBody struct {

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

UpdateProjectOKBody update project o k body swagger:model UpdateProjectOKBody

func (*UpdateProjectOKBody) ContextValidate

func (o *UpdateProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update project o k body based on the context it is used

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

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

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateProjectUnprocessableEntity describes a response with status code 422, 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) Code

Code gets the status code for the update project unprocessable entity response

func (*UpdateProjectUnprocessableEntity) Error

func (*UpdateProjectUnprocessableEntity) GetPayload

func (*UpdateProjectUnprocessableEntity) IsClientError

func (o *UpdateProjectUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update project unprocessable entity response has a 4xx status code

func (*UpdateProjectUnprocessableEntity) IsCode

func (o *UpdateProjectUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this update project unprocessable entity response a status code equal to that given

func (*UpdateProjectUnprocessableEntity) IsRedirect

func (o *UpdateProjectUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update project unprocessable entity response has a 3xx status code

func (*UpdateProjectUnprocessableEntity) IsServerError

func (o *UpdateProjectUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update project unprocessable entity response has a 5xx status code

func (*UpdateProjectUnprocessableEntity) IsSuccess

func (o *UpdateProjectUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update project unprocessable entity response has a 2xx status code

func (*UpdateProjectUnprocessableEntity) String

Jump to

Keyboard shortcuts

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