Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) CreateEnvironment(params *CreateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateEnvironmentOK, error)
- func (a *Client) CreateProject(params *CreateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProjectOK, error)
- func (a *Client) CreateProjectFavorite(params *CreateProjectFavoriteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProjectFavoriteNoContent, error)
- func (a *Client) DeleteEnvironment(params *DeleteEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteEnvironmentNoContent, error)
- func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectNoContent, error)
- func (a *Client) DeleteProjectFavorite(params *DeleteProjectFavoriteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProjectFavoriteNoContent, error)
- func (a *Client) GetEnvironment(params *GetEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEnvironmentOK, error)
- func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectOK, error)
- func (a *Client) GetProjectEnvironments(params *GetProjectEnvironmentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectEnvironmentsOK, error)
- func (a *Client) GetProjects(params *GetProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjectsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateEnvironment(params *UpdateEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateEnvironmentOK, error)
- func (a *Client) UpdateProject(params *UpdateProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProjectOK, error)
- type ClientOption
- type ClientService
- type CreateEnvironmentDefault
- func (o *CreateEnvironmentDefault) Code() int
- func (o *CreateEnvironmentDefault) Error() string
- func (o *CreateEnvironmentDefault) GetPayload() *models.ErrorPayload
- func (o *CreateEnvironmentDefault) IsClientError() bool
- func (o *CreateEnvironmentDefault) IsCode(code int) bool
- func (o *CreateEnvironmentDefault) IsRedirect() bool
- func (o *CreateEnvironmentDefault) IsServerError() bool
- func (o *CreateEnvironmentDefault) IsSuccess() bool
- func (o *CreateEnvironmentDefault) String() string
- type CreateEnvironmentLengthRequired
- func (o *CreateEnvironmentLengthRequired) Code() int
- func (o *CreateEnvironmentLengthRequired) Error() string
- func (o *CreateEnvironmentLengthRequired) IsClientError() bool
- func (o *CreateEnvironmentLengthRequired) IsCode(code int) bool
- func (o *CreateEnvironmentLengthRequired) IsRedirect() bool
- func (o *CreateEnvironmentLengthRequired) IsServerError() bool
- func (o *CreateEnvironmentLengthRequired) IsSuccess() bool
- func (o *CreateEnvironmentLengthRequired) String() string
- type CreateEnvironmentNotFound
- func (o *CreateEnvironmentNotFound) Code() int
- func (o *CreateEnvironmentNotFound) Error() string
- func (o *CreateEnvironmentNotFound) GetPayload() *models.ErrorPayload
- func (o *CreateEnvironmentNotFound) IsClientError() bool
- func (o *CreateEnvironmentNotFound) IsCode(code int) bool
- func (o *CreateEnvironmentNotFound) IsRedirect() bool
- func (o *CreateEnvironmentNotFound) IsServerError() bool
- func (o *CreateEnvironmentNotFound) IsSuccess() bool
- func (o *CreateEnvironmentNotFound) String() string
- type CreateEnvironmentOK
- func (o *CreateEnvironmentOK) Code() int
- func (o *CreateEnvironmentOK) Error() string
- func (o *CreateEnvironmentOK) GetPayload() *CreateEnvironmentOKBody
- func (o *CreateEnvironmentOK) IsClientError() bool
- func (o *CreateEnvironmentOK) IsCode(code int) bool
- func (o *CreateEnvironmentOK) IsRedirect() bool
- func (o *CreateEnvironmentOK) IsServerError() bool
- func (o *CreateEnvironmentOK) IsSuccess() bool
- func (o *CreateEnvironmentOK) String() string
- type CreateEnvironmentOKBody
- func (o *CreateEnvironmentOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateEnvironmentOKBody) MarshalBinary() ([]byte, error)
- func (o *CreateEnvironmentOKBody) UnmarshalBinary(b []byte) error
- func (o *CreateEnvironmentOKBody) Validate(formats strfmt.Registry) error
- type CreateEnvironmentParams
- func NewCreateEnvironmentParams() *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) SetBody(body *models.NewEnvironment)
- func (o *CreateEnvironmentParams) SetContext(ctx context.Context)
- func (o *CreateEnvironmentParams) SetDefaults()
- func (o *CreateEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *CreateEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateEnvironmentParams) SetProjectCanonical(projectCanonical string)
- func (o *CreateEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *CreateEnvironmentParams) WithBody(body *models.NewEnvironment) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithDefaults() *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithOrganizationCanonical(organizationCanonical string) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithProjectCanonical(projectCanonical string) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEnvironmentReader
- type CreateEnvironmentUnprocessableEntity
- func (o *CreateEnvironmentUnprocessableEntity) Code() int
- func (o *CreateEnvironmentUnprocessableEntity) Error() string
- func (o *CreateEnvironmentUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *CreateEnvironmentUnprocessableEntity) IsClientError() bool
- func (o *CreateEnvironmentUnprocessableEntity) IsCode(code int) bool
- func (o *CreateEnvironmentUnprocessableEntity) IsRedirect() bool
- func (o *CreateEnvironmentUnprocessableEntity) IsServerError() bool
- func (o *CreateEnvironmentUnprocessableEntity) IsSuccess() bool
- func (o *CreateEnvironmentUnprocessableEntity) String() string
- type CreateProjectDefault
- func (o *CreateProjectDefault) Code() int
- func (o *CreateProjectDefault) Error() string
- func (o *CreateProjectDefault) GetPayload() *models.ErrorPayload
- func (o *CreateProjectDefault) IsClientError() bool
- func (o *CreateProjectDefault) IsCode(code int) bool
- func (o *CreateProjectDefault) IsRedirect() bool
- func (o *CreateProjectDefault) IsServerError() bool
- func (o *CreateProjectDefault) IsSuccess() bool
- func (o *CreateProjectDefault) String() string
- type CreateProjectFavoriteDefault
- func (o *CreateProjectFavoriteDefault) Code() int
- func (o *CreateProjectFavoriteDefault) Error() string
- func (o *CreateProjectFavoriteDefault) GetPayload() *models.ErrorPayload
- func (o *CreateProjectFavoriteDefault) IsClientError() bool
- func (o *CreateProjectFavoriteDefault) IsCode(code int) bool
- func (o *CreateProjectFavoriteDefault) IsRedirect() bool
- func (o *CreateProjectFavoriteDefault) IsServerError() bool
- func (o *CreateProjectFavoriteDefault) IsSuccess() bool
- func (o *CreateProjectFavoriteDefault) String() string
- type CreateProjectFavoriteForbidden
- func (o *CreateProjectFavoriteForbidden) Code() int
- func (o *CreateProjectFavoriteForbidden) Error() string
- func (o *CreateProjectFavoriteForbidden) GetPayload() *models.ErrorPayload
- func (o *CreateProjectFavoriteForbidden) IsClientError() bool
- func (o *CreateProjectFavoriteForbidden) IsCode(code int) bool
- func (o *CreateProjectFavoriteForbidden) IsRedirect() bool
- func (o *CreateProjectFavoriteForbidden) IsServerError() bool
- func (o *CreateProjectFavoriteForbidden) IsSuccess() bool
- func (o *CreateProjectFavoriteForbidden) String() string
- type CreateProjectFavoriteNoContent
- func (o *CreateProjectFavoriteNoContent) Code() int
- func (o *CreateProjectFavoriteNoContent) Error() string
- func (o *CreateProjectFavoriteNoContent) IsClientError() bool
- func (o *CreateProjectFavoriteNoContent) IsCode(code int) bool
- func (o *CreateProjectFavoriteNoContent) IsRedirect() bool
- func (o *CreateProjectFavoriteNoContent) IsServerError() bool
- func (o *CreateProjectFavoriteNoContent) IsSuccess() bool
- func (o *CreateProjectFavoriteNoContent) String() string
- type CreateProjectFavoriteNotFound
- func (o *CreateProjectFavoriteNotFound) Code() int
- func (o *CreateProjectFavoriteNotFound) Error() string
- func (o *CreateProjectFavoriteNotFound) GetPayload() *models.ErrorPayload
- func (o *CreateProjectFavoriteNotFound) IsClientError() bool
- func (o *CreateProjectFavoriteNotFound) IsCode(code int) bool
- func (o *CreateProjectFavoriteNotFound) IsRedirect() bool
- func (o *CreateProjectFavoriteNotFound) IsServerError() bool
- func (o *CreateProjectFavoriteNotFound) IsSuccess() bool
- func (o *CreateProjectFavoriteNotFound) String() string
- type CreateProjectFavoriteParams
- func NewCreateProjectFavoriteParams() *CreateProjectFavoriteParams
- func NewCreateProjectFavoriteParamsWithContext(ctx context.Context) *CreateProjectFavoriteParams
- func NewCreateProjectFavoriteParamsWithHTTPClient(client *http.Client) *CreateProjectFavoriteParams
- func NewCreateProjectFavoriteParamsWithTimeout(timeout time.Duration) *CreateProjectFavoriteParams
- func (o *CreateProjectFavoriteParams) SetContext(ctx context.Context)
- func (o *CreateProjectFavoriteParams) SetDefaults()
- func (o *CreateProjectFavoriteParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectFavoriteParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateProjectFavoriteParams) SetProjectCanonical(projectCanonical string)
- func (o *CreateProjectFavoriteParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectFavoriteParams) WithContext(ctx context.Context) *CreateProjectFavoriteParams
- func (o *CreateProjectFavoriteParams) WithDefaults() *CreateProjectFavoriteParams
- func (o *CreateProjectFavoriteParams) WithHTTPClient(client *http.Client) *CreateProjectFavoriteParams
- func (o *CreateProjectFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *CreateProjectFavoriteParams
- func (o *CreateProjectFavoriteParams) WithProjectCanonical(projectCanonical string) *CreateProjectFavoriteParams
- func (o *CreateProjectFavoriteParams) WithTimeout(timeout time.Duration) *CreateProjectFavoriteParams
- func (o *CreateProjectFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectFavoriteReader
- type CreateProjectFavoriteUnprocessableEntity
- func (o *CreateProjectFavoriteUnprocessableEntity) Code() int
- func (o *CreateProjectFavoriteUnprocessableEntity) Error() string
- func (o *CreateProjectFavoriteUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *CreateProjectFavoriteUnprocessableEntity) IsClientError() bool
- func (o *CreateProjectFavoriteUnprocessableEntity) IsCode(code int) bool
- func (o *CreateProjectFavoriteUnprocessableEntity) IsRedirect() bool
- func (o *CreateProjectFavoriteUnprocessableEntity) IsServerError() bool
- func (o *CreateProjectFavoriteUnprocessableEntity) IsSuccess() bool
- func (o *CreateProjectFavoriteUnprocessableEntity) String() string
- type CreateProjectLengthRequired
- func (o *CreateProjectLengthRequired) Code() int
- func (o *CreateProjectLengthRequired) Error() string
- func (o *CreateProjectLengthRequired) IsClientError() bool
- func (o *CreateProjectLengthRequired) IsCode(code int) bool
- func (o *CreateProjectLengthRequired) IsRedirect() bool
- func (o *CreateProjectLengthRequired) IsServerError() bool
- func (o *CreateProjectLengthRequired) IsSuccess() bool
- func (o *CreateProjectLengthRequired) String() string
- type CreateProjectNotFound
- func (o *CreateProjectNotFound) Code() int
- func (o *CreateProjectNotFound) Error() string
- func (o *CreateProjectNotFound) GetPayload() *models.ErrorPayload
- func (o *CreateProjectNotFound) IsClientError() bool
- func (o *CreateProjectNotFound) IsCode(code int) bool
- func (o *CreateProjectNotFound) IsRedirect() bool
- func (o *CreateProjectNotFound) IsServerError() bool
- func (o *CreateProjectNotFound) IsSuccess() bool
- func (o *CreateProjectNotFound) String() string
- type CreateProjectOK
- func (o *CreateProjectOK) Code() int
- func (o *CreateProjectOK) Error() string
- func (o *CreateProjectOK) GetPayload() *CreateProjectOKBody
- func (o *CreateProjectOK) IsClientError() bool
- func (o *CreateProjectOK) IsCode(code int) bool
- func (o *CreateProjectOK) IsRedirect() bool
- func (o *CreateProjectOK) IsServerError() bool
- func (o *CreateProjectOK) IsSuccess() bool
- func (o *CreateProjectOK) String() string
- type CreateProjectOKBody
- type CreateProjectParams
- func (o *CreateProjectParams) SetBody(body *models.NewProject)
- func (o *CreateProjectParams) SetContext(ctx context.Context)
- func (o *CreateProjectParams) SetDefaults()
- func (o *CreateProjectParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateProjectParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectParams) WithBody(body *models.NewProject) *CreateProjectParams
- func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
- func (o *CreateProjectParams) WithDefaults() *CreateProjectParams
- func (o *CreateProjectParams) WithHTTPClient(client *http.Client) *CreateProjectParams
- func (o *CreateProjectParams) WithOrganizationCanonical(organizationCanonical string) *CreateProjectParams
- func (o *CreateProjectParams) WithTimeout(timeout time.Duration) *CreateProjectParams
- func (o *CreateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectReader
- type CreateProjectUnprocessableEntity
- func (o *CreateProjectUnprocessableEntity) Code() int
- func (o *CreateProjectUnprocessableEntity) Error() string
- func (o *CreateProjectUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *CreateProjectUnprocessableEntity) IsClientError() bool
- func (o *CreateProjectUnprocessableEntity) IsCode(code int) bool
- func (o *CreateProjectUnprocessableEntity) IsRedirect() bool
- func (o *CreateProjectUnprocessableEntity) IsServerError() bool
- func (o *CreateProjectUnprocessableEntity) IsSuccess() bool
- func (o *CreateProjectUnprocessableEntity) String() string
- type DeleteEnvironmentDefault
- func (o *DeleteEnvironmentDefault) Code() int
- func (o *DeleteEnvironmentDefault) Error() string
- func (o *DeleteEnvironmentDefault) GetPayload() *models.ErrorPayload
- func (o *DeleteEnvironmentDefault) IsClientError() bool
- func (o *DeleteEnvironmentDefault) IsCode(code int) bool
- func (o *DeleteEnvironmentDefault) IsRedirect() bool
- func (o *DeleteEnvironmentDefault) IsServerError() bool
- func (o *DeleteEnvironmentDefault) IsSuccess() bool
- func (o *DeleteEnvironmentDefault) String() string
- type DeleteEnvironmentForbidden
- func (o *DeleteEnvironmentForbidden) Code() int
- func (o *DeleteEnvironmentForbidden) Error() string
- func (o *DeleteEnvironmentForbidden) GetPayload() *models.ErrorPayload
- func (o *DeleteEnvironmentForbidden) IsClientError() bool
- func (o *DeleteEnvironmentForbidden) IsCode(code int) bool
- func (o *DeleteEnvironmentForbidden) IsRedirect() bool
- func (o *DeleteEnvironmentForbidden) IsServerError() bool
- func (o *DeleteEnvironmentForbidden) IsSuccess() bool
- func (o *DeleteEnvironmentForbidden) String() string
- type DeleteEnvironmentNoContent
- func (o *DeleteEnvironmentNoContent) Code() int
- func (o *DeleteEnvironmentNoContent) Error() string
- func (o *DeleteEnvironmentNoContent) IsClientError() bool
- func (o *DeleteEnvironmentNoContent) IsCode(code int) bool
- func (o *DeleteEnvironmentNoContent) IsRedirect() bool
- func (o *DeleteEnvironmentNoContent) IsServerError() bool
- func (o *DeleteEnvironmentNoContent) IsSuccess() bool
- func (o *DeleteEnvironmentNoContent) String() string
- type DeleteEnvironmentNotFound
- func (o *DeleteEnvironmentNotFound) Code() int
- func (o *DeleteEnvironmentNotFound) Error() string
- func (o *DeleteEnvironmentNotFound) GetPayload() *models.ErrorPayload
- func (o *DeleteEnvironmentNotFound) IsClientError() bool
- func (o *DeleteEnvironmentNotFound) IsCode(code int) bool
- func (o *DeleteEnvironmentNotFound) IsRedirect() bool
- func (o *DeleteEnvironmentNotFound) IsServerError() bool
- func (o *DeleteEnvironmentNotFound) IsSuccess() bool
- func (o *DeleteEnvironmentNotFound) String() string
- type DeleteEnvironmentParams
- func NewDeleteEnvironmentParams() *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithContext(ctx context.Context) *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentParams
- func NewDeleteEnvironmentParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) SetContext(ctx context.Context)
- func (o *DeleteEnvironmentParams) SetDefaults()
- func (o *DeleteEnvironmentParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *DeleteEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteEnvironmentParams) SetProjectCanonical(projectCanonical string)
- func (o *DeleteEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEnvironmentParams) WithContext(ctx context.Context) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithDefaults() *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithEnvironmentCanonical(environmentCanonical string) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithHTTPClient(client *http.Client) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithOrganizationCanonical(organizationCanonical string) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithProjectCanonical(projectCanonical string) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentParams
- func (o *DeleteEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEnvironmentReader
- type DeleteProjectDefault
- func (o *DeleteProjectDefault) Code() int
- func (o *DeleteProjectDefault) Error() string
- func (o *DeleteProjectDefault) GetPayload() *models.ErrorPayload
- func (o *DeleteProjectDefault) IsClientError() bool
- func (o *DeleteProjectDefault) IsCode(code int) bool
- func (o *DeleteProjectDefault) IsRedirect() bool
- func (o *DeleteProjectDefault) IsServerError() bool
- func (o *DeleteProjectDefault) IsSuccess() bool
- func (o *DeleteProjectDefault) String() string
- type DeleteProjectFavoriteDefault
- func (o *DeleteProjectFavoriteDefault) Code() int
- func (o *DeleteProjectFavoriteDefault) Error() string
- func (o *DeleteProjectFavoriteDefault) GetPayload() *models.ErrorPayload
- func (o *DeleteProjectFavoriteDefault) IsClientError() bool
- func (o *DeleteProjectFavoriteDefault) IsCode(code int) bool
- func (o *DeleteProjectFavoriteDefault) IsRedirect() bool
- func (o *DeleteProjectFavoriteDefault) IsServerError() bool
- func (o *DeleteProjectFavoriteDefault) IsSuccess() bool
- func (o *DeleteProjectFavoriteDefault) String() string
- type DeleteProjectFavoriteForbidden
- func (o *DeleteProjectFavoriteForbidden) Code() int
- func (o *DeleteProjectFavoriteForbidden) Error() string
- func (o *DeleteProjectFavoriteForbidden) GetPayload() *models.ErrorPayload
- func (o *DeleteProjectFavoriteForbidden) IsClientError() bool
- func (o *DeleteProjectFavoriteForbidden) IsCode(code int) bool
- func (o *DeleteProjectFavoriteForbidden) IsRedirect() bool
- func (o *DeleteProjectFavoriteForbidden) IsServerError() bool
- func (o *DeleteProjectFavoriteForbidden) IsSuccess() bool
- func (o *DeleteProjectFavoriteForbidden) String() string
- type DeleteProjectFavoriteNoContent
- func (o *DeleteProjectFavoriteNoContent) Code() int
- func (o *DeleteProjectFavoriteNoContent) Error() string
- func (o *DeleteProjectFavoriteNoContent) IsClientError() bool
- func (o *DeleteProjectFavoriteNoContent) IsCode(code int) bool
- func (o *DeleteProjectFavoriteNoContent) IsRedirect() bool
- func (o *DeleteProjectFavoriteNoContent) IsServerError() bool
- func (o *DeleteProjectFavoriteNoContent) IsSuccess() bool
- func (o *DeleteProjectFavoriteNoContent) String() string
- type DeleteProjectFavoriteNotFound
- func (o *DeleteProjectFavoriteNotFound) Code() int
- func (o *DeleteProjectFavoriteNotFound) Error() string
- func (o *DeleteProjectFavoriteNotFound) GetPayload() *models.ErrorPayload
- func (o *DeleteProjectFavoriteNotFound) IsClientError() bool
- func (o *DeleteProjectFavoriteNotFound) IsCode(code int) bool
- func (o *DeleteProjectFavoriteNotFound) IsRedirect() bool
- func (o *DeleteProjectFavoriteNotFound) IsServerError() bool
- func (o *DeleteProjectFavoriteNotFound) IsSuccess() bool
- func (o *DeleteProjectFavoriteNotFound) String() string
- type DeleteProjectFavoriteParams
- func NewDeleteProjectFavoriteParams() *DeleteProjectFavoriteParams
- func NewDeleteProjectFavoriteParamsWithContext(ctx context.Context) *DeleteProjectFavoriteParams
- func NewDeleteProjectFavoriteParamsWithHTTPClient(client *http.Client) *DeleteProjectFavoriteParams
- func NewDeleteProjectFavoriteParamsWithTimeout(timeout time.Duration) *DeleteProjectFavoriteParams
- func (o *DeleteProjectFavoriteParams) SetContext(ctx context.Context)
- func (o *DeleteProjectFavoriteParams) SetDefaults()
- func (o *DeleteProjectFavoriteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectFavoriteParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteProjectFavoriteParams) SetProjectCanonical(projectCanonical string)
- func (o *DeleteProjectFavoriteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectFavoriteParams) WithContext(ctx context.Context) *DeleteProjectFavoriteParams
- func (o *DeleteProjectFavoriteParams) WithDefaults() *DeleteProjectFavoriteParams
- func (o *DeleteProjectFavoriteParams) WithHTTPClient(client *http.Client) *DeleteProjectFavoriteParams
- func (o *DeleteProjectFavoriteParams) WithOrganizationCanonical(organizationCanonical string) *DeleteProjectFavoriteParams
- func (o *DeleteProjectFavoriteParams) WithProjectCanonical(projectCanonical string) *DeleteProjectFavoriteParams
- func (o *DeleteProjectFavoriteParams) WithTimeout(timeout time.Duration) *DeleteProjectFavoriteParams
- func (o *DeleteProjectFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectFavoriteReader
- type DeleteProjectForbidden
- func (o *DeleteProjectForbidden) Code() int
- func (o *DeleteProjectForbidden) Error() string
- func (o *DeleteProjectForbidden) GetPayload() *models.ErrorPayload
- func (o *DeleteProjectForbidden) IsClientError() bool
- func (o *DeleteProjectForbidden) IsCode(code int) bool
- func (o *DeleteProjectForbidden) IsRedirect() bool
- func (o *DeleteProjectForbidden) IsServerError() bool
- func (o *DeleteProjectForbidden) IsSuccess() bool
- func (o *DeleteProjectForbidden) String() string
- type DeleteProjectNoContent
- func (o *DeleteProjectNoContent) Code() int
- func (o *DeleteProjectNoContent) Error() string
- func (o *DeleteProjectNoContent) IsClientError() bool
- func (o *DeleteProjectNoContent) IsCode(code int) bool
- func (o *DeleteProjectNoContent) IsRedirect() bool
- func (o *DeleteProjectNoContent) IsServerError() bool
- func (o *DeleteProjectNoContent) IsSuccess() bool
- func (o *DeleteProjectNoContent) String() string
- type DeleteProjectNotFound
- func (o *DeleteProjectNotFound) Code() int
- func (o *DeleteProjectNotFound) Error() string
- func (o *DeleteProjectNotFound) GetPayload() *models.ErrorPayload
- func (o *DeleteProjectNotFound) IsClientError() bool
- func (o *DeleteProjectNotFound) IsCode(code int) bool
- func (o *DeleteProjectNotFound) IsRedirect() bool
- func (o *DeleteProjectNotFound) IsServerError() bool
- func (o *DeleteProjectNotFound) IsSuccess() bool
- func (o *DeleteProjectNotFound) String() string
- type DeleteProjectParams
- func (o *DeleteProjectParams) SetContext(ctx context.Context)
- func (o *DeleteProjectParams) SetDefaults()
- func (o *DeleteProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteProjectParams) SetProjectCanonical(projectCanonical string)
- func (o *DeleteProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
- func (o *DeleteProjectParams) WithDefaults() *DeleteProjectParams
- func (o *DeleteProjectParams) WithHTTPClient(client *http.Client) *DeleteProjectParams
- func (o *DeleteProjectParams) WithOrganizationCanonical(organizationCanonical string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithProjectCanonical(projectCanonical string) *DeleteProjectParams
- func (o *DeleteProjectParams) WithTimeout(timeout time.Duration) *DeleteProjectParams
- func (o *DeleteProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectReader
- type GetEnvironmentDefault
- func (o *GetEnvironmentDefault) Code() int
- func (o *GetEnvironmentDefault) Error() string
- func (o *GetEnvironmentDefault) GetPayload() *models.ErrorPayload
- func (o *GetEnvironmentDefault) IsClientError() bool
- func (o *GetEnvironmentDefault) IsCode(code int) bool
- func (o *GetEnvironmentDefault) IsRedirect() bool
- func (o *GetEnvironmentDefault) IsServerError() bool
- func (o *GetEnvironmentDefault) IsSuccess() bool
- func (o *GetEnvironmentDefault) String() string
- type GetEnvironmentForbidden
- func (o *GetEnvironmentForbidden) Code() int
- func (o *GetEnvironmentForbidden) Error() string
- func (o *GetEnvironmentForbidden) GetPayload() *models.ErrorPayload
- func (o *GetEnvironmentForbidden) IsClientError() bool
- func (o *GetEnvironmentForbidden) IsCode(code int) bool
- func (o *GetEnvironmentForbidden) IsRedirect() bool
- func (o *GetEnvironmentForbidden) IsServerError() bool
- func (o *GetEnvironmentForbidden) IsSuccess() bool
- func (o *GetEnvironmentForbidden) String() string
- type GetEnvironmentNotFound
- func (o *GetEnvironmentNotFound) Code() int
- func (o *GetEnvironmentNotFound) Error() string
- func (o *GetEnvironmentNotFound) GetPayload() *models.ErrorPayload
- func (o *GetEnvironmentNotFound) IsClientError() bool
- func (o *GetEnvironmentNotFound) IsCode(code int) bool
- func (o *GetEnvironmentNotFound) IsRedirect() bool
- func (o *GetEnvironmentNotFound) IsServerError() bool
- func (o *GetEnvironmentNotFound) IsSuccess() bool
- func (o *GetEnvironmentNotFound) String() string
- type GetEnvironmentOK
- func (o *GetEnvironmentOK) Code() int
- func (o *GetEnvironmentOK) Error() string
- func (o *GetEnvironmentOK) GetPayload() *GetEnvironmentOKBody
- func (o *GetEnvironmentOK) IsClientError() bool
- func (o *GetEnvironmentOK) IsCode(code int) bool
- func (o *GetEnvironmentOK) IsRedirect() bool
- func (o *GetEnvironmentOK) IsServerError() bool
- func (o *GetEnvironmentOK) IsSuccess() bool
- func (o *GetEnvironmentOK) String() string
- type GetEnvironmentOKBody
- type GetEnvironmentParams
- func NewGetEnvironmentParams() *GetEnvironmentParams
- func NewGetEnvironmentParamsWithContext(ctx context.Context) *GetEnvironmentParams
- func NewGetEnvironmentParamsWithHTTPClient(client *http.Client) *GetEnvironmentParams
- func NewGetEnvironmentParamsWithTimeout(timeout time.Duration) *GetEnvironmentParams
- func (o *GetEnvironmentParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentParams) SetDefaults()
- func (o *GetEnvironmentParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *GetEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetEnvironmentParams) SetProjectCanonical(projectCanonical string)
- func (o *GetEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentParams) WithContext(ctx context.Context) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithDefaults() *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithEnvironmentCanonical(environmentCanonical string) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithHTTPClient(client *http.Client) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithOrganizationCanonical(organizationCanonical string) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithProjectCanonical(projectCanonical string) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WithTimeout(timeout time.Duration) *GetEnvironmentParams
- func (o *GetEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentReader
- type GetProjectDefault
- func (o *GetProjectDefault) Code() int
- func (o *GetProjectDefault) Error() string
- func (o *GetProjectDefault) GetPayload() *models.ErrorPayload
- func (o *GetProjectDefault) IsClientError() bool
- func (o *GetProjectDefault) IsCode(code int) bool
- func (o *GetProjectDefault) IsRedirect() bool
- func (o *GetProjectDefault) IsServerError() bool
- func (o *GetProjectDefault) IsSuccess() bool
- func (o *GetProjectDefault) String() string
- type GetProjectEnvironmentsDefault
- func (o *GetProjectEnvironmentsDefault) Code() int
- func (o *GetProjectEnvironmentsDefault) Error() string
- func (o *GetProjectEnvironmentsDefault) GetPayload() *models.ErrorPayload
- func (o *GetProjectEnvironmentsDefault) IsClientError() bool
- func (o *GetProjectEnvironmentsDefault) IsCode(code int) bool
- func (o *GetProjectEnvironmentsDefault) IsRedirect() bool
- func (o *GetProjectEnvironmentsDefault) IsServerError() bool
- func (o *GetProjectEnvironmentsDefault) IsSuccess() bool
- func (o *GetProjectEnvironmentsDefault) String() string
- type GetProjectEnvironmentsForbidden
- func (o *GetProjectEnvironmentsForbidden) Code() int
- func (o *GetProjectEnvironmentsForbidden) Error() string
- func (o *GetProjectEnvironmentsForbidden) GetPayload() *models.ErrorPayload
- func (o *GetProjectEnvironmentsForbidden) IsClientError() bool
- func (o *GetProjectEnvironmentsForbidden) IsCode(code int) bool
- func (o *GetProjectEnvironmentsForbidden) IsRedirect() bool
- func (o *GetProjectEnvironmentsForbidden) IsServerError() bool
- func (o *GetProjectEnvironmentsForbidden) IsSuccess() bool
- func (o *GetProjectEnvironmentsForbidden) String() string
- type GetProjectEnvironmentsNotFound
- func (o *GetProjectEnvironmentsNotFound) Code() int
- func (o *GetProjectEnvironmentsNotFound) Error() string
- func (o *GetProjectEnvironmentsNotFound) GetPayload() *models.ErrorPayload
- func (o *GetProjectEnvironmentsNotFound) IsClientError() bool
- func (o *GetProjectEnvironmentsNotFound) IsCode(code int) bool
- func (o *GetProjectEnvironmentsNotFound) IsRedirect() bool
- func (o *GetProjectEnvironmentsNotFound) IsServerError() bool
- func (o *GetProjectEnvironmentsNotFound) IsSuccess() bool
- func (o *GetProjectEnvironmentsNotFound) String() string
- type GetProjectEnvironmentsOK
- func (o *GetProjectEnvironmentsOK) Code() int
- func (o *GetProjectEnvironmentsOK) Error() string
- func (o *GetProjectEnvironmentsOK) GetPayload() *GetProjectEnvironmentsOKBody
- func (o *GetProjectEnvironmentsOK) IsClientError() bool
- func (o *GetProjectEnvironmentsOK) IsCode(code int) bool
- func (o *GetProjectEnvironmentsOK) IsRedirect() bool
- func (o *GetProjectEnvironmentsOK) IsServerError() bool
- func (o *GetProjectEnvironmentsOK) IsSuccess() bool
- func (o *GetProjectEnvironmentsOK) String() string
- type GetProjectEnvironmentsOKBody
- func (o *GetProjectEnvironmentsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjectEnvironmentsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetProjectEnvironmentsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetProjectEnvironmentsOKBody) Validate(formats strfmt.Registry) error
- type GetProjectEnvironmentsParams
- func NewGetProjectEnvironmentsParams() *GetProjectEnvironmentsParams
- func NewGetProjectEnvironmentsParamsWithContext(ctx context.Context) *GetProjectEnvironmentsParams
- func NewGetProjectEnvironmentsParamsWithHTTPClient(client *http.Client) *GetProjectEnvironmentsParams
- func NewGetProjectEnvironmentsParamsWithTimeout(timeout time.Duration) *GetProjectEnvironmentsParams
- func (o *GetProjectEnvironmentsParams) SetContext(ctx context.Context)
- func (o *GetProjectEnvironmentsParams) SetDefaults()
- func (o *GetProjectEnvironmentsParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectEnvironmentsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetProjectEnvironmentsParams) SetProjectCanonical(projectCanonical string)
- func (o *GetProjectEnvironmentsParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectEnvironmentsParams) WithContext(ctx context.Context) *GetProjectEnvironmentsParams
- func (o *GetProjectEnvironmentsParams) WithDefaults() *GetProjectEnvironmentsParams
- func (o *GetProjectEnvironmentsParams) WithHTTPClient(client *http.Client) *GetProjectEnvironmentsParams
- func (o *GetProjectEnvironmentsParams) WithOrganizationCanonical(organizationCanonical string) *GetProjectEnvironmentsParams
- func (o *GetProjectEnvironmentsParams) WithProjectCanonical(projectCanonical string) *GetProjectEnvironmentsParams
- func (o *GetProjectEnvironmentsParams) WithTimeout(timeout time.Duration) *GetProjectEnvironmentsParams
- func (o *GetProjectEnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectEnvironmentsReader
- type GetProjectEnvironmentsUnprocessableEntity
- func (o *GetProjectEnvironmentsUnprocessableEntity) Code() int
- func (o *GetProjectEnvironmentsUnprocessableEntity) Error() string
- func (o *GetProjectEnvironmentsUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *GetProjectEnvironmentsUnprocessableEntity) IsClientError() bool
- func (o *GetProjectEnvironmentsUnprocessableEntity) IsCode(code int) bool
- func (o *GetProjectEnvironmentsUnprocessableEntity) IsRedirect() bool
- func (o *GetProjectEnvironmentsUnprocessableEntity) IsServerError() bool
- func (o *GetProjectEnvironmentsUnprocessableEntity) IsSuccess() bool
- func (o *GetProjectEnvironmentsUnprocessableEntity) String() string
- type GetProjectForbidden
- func (o *GetProjectForbidden) Code() int
- func (o *GetProjectForbidden) Error() string
- func (o *GetProjectForbidden) GetPayload() *models.ErrorPayload
- func (o *GetProjectForbidden) IsClientError() bool
- func (o *GetProjectForbidden) IsCode(code int) bool
- func (o *GetProjectForbidden) IsRedirect() bool
- func (o *GetProjectForbidden) IsServerError() bool
- func (o *GetProjectForbidden) IsSuccess() bool
- func (o *GetProjectForbidden) String() string
- type GetProjectNotFound
- func (o *GetProjectNotFound) Code() int
- func (o *GetProjectNotFound) Error() string
- func (o *GetProjectNotFound) GetPayload() *models.ErrorPayload
- func (o *GetProjectNotFound) IsClientError() bool
- func (o *GetProjectNotFound) IsCode(code int) bool
- func (o *GetProjectNotFound) IsRedirect() bool
- func (o *GetProjectNotFound) IsServerError() bool
- func (o *GetProjectNotFound) IsSuccess() bool
- func (o *GetProjectNotFound) String() string
- type GetProjectOK
- func (o *GetProjectOK) Code() int
- func (o *GetProjectOK) Error() string
- func (o *GetProjectOK) GetPayload() *GetProjectOKBody
- func (o *GetProjectOK) IsClientError() bool
- func (o *GetProjectOK) IsCode(code int) bool
- func (o *GetProjectOK) IsRedirect() bool
- func (o *GetProjectOK) IsServerError() bool
- func (o *GetProjectOK) IsSuccess() bool
- func (o *GetProjectOK) String() string
- type GetProjectOKBody
- type GetProjectParams
- func (o *GetProjectParams) SetContext(ctx context.Context)
- func (o *GetProjectParams) SetDefaults()
- func (o *GetProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetProjectParams) SetProjectCanonical(projectCanonical string)
- func (o *GetProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectParams) WithContext(ctx context.Context) *GetProjectParams
- func (o *GetProjectParams) WithDefaults() *GetProjectParams
- func (o *GetProjectParams) WithHTTPClient(client *http.Client) *GetProjectParams
- func (o *GetProjectParams) WithOrganizationCanonical(organizationCanonical string) *GetProjectParams
- func (o *GetProjectParams) WithProjectCanonical(projectCanonical string) *GetProjectParams
- func (o *GetProjectParams) WithTimeout(timeout time.Duration) *GetProjectParams
- func (o *GetProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectReader
- type GetProjectsDefault
- func (o *GetProjectsDefault) Code() int
- func (o *GetProjectsDefault) Error() string
- func (o *GetProjectsDefault) GetPayload() *models.ErrorPayload
- func (o *GetProjectsDefault) IsClientError() bool
- func (o *GetProjectsDefault) IsCode(code int) bool
- func (o *GetProjectsDefault) IsRedirect() bool
- func (o *GetProjectsDefault) IsServerError() bool
- func (o *GetProjectsDefault) IsSuccess() bool
- func (o *GetProjectsDefault) String() string
- type GetProjectsForbidden
- func (o *GetProjectsForbidden) Code() int
- func (o *GetProjectsForbidden) Error() string
- func (o *GetProjectsForbidden) GetPayload() *models.ErrorPayload
- func (o *GetProjectsForbidden) IsClientError() bool
- func (o *GetProjectsForbidden) IsCode(code int) bool
- func (o *GetProjectsForbidden) IsRedirect() bool
- func (o *GetProjectsForbidden) IsServerError() bool
- func (o *GetProjectsForbidden) IsSuccess() bool
- func (o *GetProjectsForbidden) String() string
- type GetProjectsNotFound
- func (o *GetProjectsNotFound) Code() int
- func (o *GetProjectsNotFound) Error() string
- func (o *GetProjectsNotFound) GetPayload() *models.ErrorPayload
- func (o *GetProjectsNotFound) IsClientError() bool
- func (o *GetProjectsNotFound) IsCode(code int) bool
- func (o *GetProjectsNotFound) IsRedirect() bool
- func (o *GetProjectsNotFound) IsServerError() bool
- func (o *GetProjectsNotFound) IsSuccess() bool
- func (o *GetProjectsNotFound) String() string
- type GetProjectsOK
- func (o *GetProjectsOK) Code() int
- func (o *GetProjectsOK) Error() string
- func (o *GetProjectsOK) GetPayload() *GetProjectsOKBody
- func (o *GetProjectsOK) IsClientError() bool
- func (o *GetProjectsOK) IsCode(code int) bool
- func (o *GetProjectsOK) IsRedirect() bool
- func (o *GetProjectsOK) IsServerError() bool
- func (o *GetProjectsOK) IsSuccess() bool
- func (o *GetProjectsOK) String() string
- type GetProjectsOKBody
- type GetProjectsParams
- func (o *GetProjectsParams) SetContext(ctx context.Context)
- func (o *GetProjectsParams) SetDefaults()
- func (o *GetProjectsParams) SetEnvironmentCanonical(environmentCanonical *string)
- func (o *GetProjectsParams) SetFavorite(favorite *bool)
- func (o *GetProjectsParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectsParams) SetMemberID(memberID *uint32)
- func (o *GetProjectsParams) SetOrderBy(orderBy *string)
- func (o *GetProjectsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetProjectsParams) SetPageIndex(pageIndex *uint32)
- func (o *GetProjectsParams) SetPageSize(pageSize *uint32)
- func (o *GetProjectsParams) SetProjectConfigRepositoryCanonical(projectConfigRepositoryCanonical *string)
- func (o *GetProjectsParams) SetProjectCreatedAt(projectCreatedAt *uint64)
- func (o *GetProjectsParams) SetProjectDescription(projectDescription *string)
- func (o *GetProjectsParams) SetProjectName(projectName *string)
- func (o *GetProjectsParams) SetServiceCatalogSourceCanonical(serviceCatalogSourceCanonical *string)
- func (o *GetProjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectsParams) WithContext(ctx context.Context) *GetProjectsParams
- func (o *GetProjectsParams) WithDefaults() *GetProjectsParams
- func (o *GetProjectsParams) WithEnvironmentCanonical(environmentCanonical *string) *GetProjectsParams
- func (o *GetProjectsParams) WithFavorite(favorite *bool) *GetProjectsParams
- func (o *GetProjectsParams) WithHTTPClient(client *http.Client) *GetProjectsParams
- func (o *GetProjectsParams) WithMemberID(memberID *uint32) *GetProjectsParams
- func (o *GetProjectsParams) WithOrderBy(orderBy *string) *GetProjectsParams
- func (o *GetProjectsParams) WithOrganizationCanonical(organizationCanonical string) *GetProjectsParams
- func (o *GetProjectsParams) WithPageIndex(pageIndex *uint32) *GetProjectsParams
- func (o *GetProjectsParams) WithPageSize(pageSize *uint32) *GetProjectsParams
- func (o *GetProjectsParams) WithProjectConfigRepositoryCanonical(projectConfigRepositoryCanonical *string) *GetProjectsParams
- func (o *GetProjectsParams) WithProjectCreatedAt(projectCreatedAt *uint64) *GetProjectsParams
- func (o *GetProjectsParams) WithProjectDescription(projectDescription *string) *GetProjectsParams
- func (o *GetProjectsParams) WithProjectName(projectName *string) *GetProjectsParams
- func (o *GetProjectsParams) WithServiceCatalogSourceCanonical(serviceCatalogSourceCanonical *string) *GetProjectsParams
- func (o *GetProjectsParams) WithTimeout(timeout time.Duration) *GetProjectsParams
- func (o *GetProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectsReader
- type GetProjectsUnprocessableEntity
- func (o *GetProjectsUnprocessableEntity) Code() int
- func (o *GetProjectsUnprocessableEntity) Error() string
- func (o *GetProjectsUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *GetProjectsUnprocessableEntity) IsClientError() bool
- func (o *GetProjectsUnprocessableEntity) IsCode(code int) bool
- func (o *GetProjectsUnprocessableEntity) IsRedirect() bool
- func (o *GetProjectsUnprocessableEntity) IsServerError() bool
- func (o *GetProjectsUnprocessableEntity) IsSuccess() bool
- func (o *GetProjectsUnprocessableEntity) String() string
- type UpdateEnvironmentDefault
- func (o *UpdateEnvironmentDefault) Code() int
- func (o *UpdateEnvironmentDefault) Error() string
- func (o *UpdateEnvironmentDefault) GetPayload() *models.ErrorPayload
- func (o *UpdateEnvironmentDefault) IsClientError() bool
- func (o *UpdateEnvironmentDefault) IsCode(code int) bool
- func (o *UpdateEnvironmentDefault) IsRedirect() bool
- func (o *UpdateEnvironmentDefault) IsServerError() bool
- func (o *UpdateEnvironmentDefault) IsSuccess() bool
- func (o *UpdateEnvironmentDefault) String() string
- type UpdateEnvironmentForbidden
- func (o *UpdateEnvironmentForbidden) Code() int
- func (o *UpdateEnvironmentForbidden) Error() string
- func (o *UpdateEnvironmentForbidden) GetPayload() *models.ErrorPayload
- func (o *UpdateEnvironmentForbidden) IsClientError() bool
- func (o *UpdateEnvironmentForbidden) IsCode(code int) bool
- func (o *UpdateEnvironmentForbidden) IsRedirect() bool
- func (o *UpdateEnvironmentForbidden) IsServerError() bool
- func (o *UpdateEnvironmentForbidden) IsSuccess() bool
- func (o *UpdateEnvironmentForbidden) String() string
- type UpdateEnvironmentNotFound
- func (o *UpdateEnvironmentNotFound) Code() int
- func (o *UpdateEnvironmentNotFound) Error() string
- func (o *UpdateEnvironmentNotFound) GetPayload() *models.ErrorPayload
- func (o *UpdateEnvironmentNotFound) IsClientError() bool
- func (o *UpdateEnvironmentNotFound) IsCode(code int) bool
- func (o *UpdateEnvironmentNotFound) IsRedirect() bool
- func (o *UpdateEnvironmentNotFound) IsServerError() bool
- func (o *UpdateEnvironmentNotFound) IsSuccess() bool
- func (o *UpdateEnvironmentNotFound) String() string
- type UpdateEnvironmentOK
- func (o *UpdateEnvironmentOK) Code() int
- func (o *UpdateEnvironmentOK) Error() string
- func (o *UpdateEnvironmentOK) GetPayload() *UpdateEnvironmentOKBody
- func (o *UpdateEnvironmentOK) IsClientError() bool
- func (o *UpdateEnvironmentOK) IsCode(code int) bool
- func (o *UpdateEnvironmentOK) IsRedirect() bool
- func (o *UpdateEnvironmentOK) IsServerError() bool
- func (o *UpdateEnvironmentOK) IsSuccess() bool
- func (o *UpdateEnvironmentOK) String() string
- type UpdateEnvironmentOKBody
- func (o *UpdateEnvironmentOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateEnvironmentOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateEnvironmentOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateEnvironmentOKBody) Validate(formats strfmt.Registry) error
- type UpdateEnvironmentParams
- func NewUpdateEnvironmentParams() *UpdateEnvironmentParams
- func NewUpdateEnvironmentParamsWithContext(ctx context.Context) *UpdateEnvironmentParams
- func NewUpdateEnvironmentParamsWithHTTPClient(client *http.Client) *UpdateEnvironmentParams
- func NewUpdateEnvironmentParamsWithTimeout(timeout time.Duration) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) SetBody(body *models.UpdateEnvironment)
- func (o *UpdateEnvironmentParams) SetContext(ctx context.Context)
- func (o *UpdateEnvironmentParams) SetDefaults()
- func (o *UpdateEnvironmentParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *UpdateEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEnvironmentParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateEnvironmentParams) SetProjectCanonical(projectCanonical string)
- func (o *UpdateEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEnvironmentParams) WithBody(body *models.UpdateEnvironment) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithContext(ctx context.Context) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithDefaults() *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithEnvironmentCanonical(environmentCanonical string) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithHTTPClient(client *http.Client) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithOrganizationCanonical(organizationCanonical string) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithProjectCanonical(projectCanonical string) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WithTimeout(timeout time.Duration) *UpdateEnvironmentParams
- func (o *UpdateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEnvironmentReader
- type UpdateProjectDefault
- func (o *UpdateProjectDefault) Code() int
- func (o *UpdateProjectDefault) Error() string
- func (o *UpdateProjectDefault) GetPayload() *models.ErrorPayload
- func (o *UpdateProjectDefault) IsClientError() bool
- func (o *UpdateProjectDefault) IsCode(code int) bool
- func (o *UpdateProjectDefault) IsRedirect() bool
- func (o *UpdateProjectDefault) IsServerError() bool
- func (o *UpdateProjectDefault) IsSuccess() bool
- func (o *UpdateProjectDefault) String() string
- type UpdateProjectForbidden
- func (o *UpdateProjectForbidden) Code() int
- func (o *UpdateProjectForbidden) Error() string
- func (o *UpdateProjectForbidden) GetPayload() *models.ErrorPayload
- func (o *UpdateProjectForbidden) IsClientError() bool
- func (o *UpdateProjectForbidden) IsCode(code int) bool
- func (o *UpdateProjectForbidden) IsRedirect() bool
- func (o *UpdateProjectForbidden) IsServerError() bool
- func (o *UpdateProjectForbidden) IsSuccess() bool
- func (o *UpdateProjectForbidden) String() string
- type UpdateProjectLengthRequired
- func (o *UpdateProjectLengthRequired) Code() int
- func (o *UpdateProjectLengthRequired) Error() string
- func (o *UpdateProjectLengthRequired) IsClientError() bool
- func (o *UpdateProjectLengthRequired) IsCode(code int) bool
- func (o *UpdateProjectLengthRequired) IsRedirect() bool
- func (o *UpdateProjectLengthRequired) IsServerError() bool
- func (o *UpdateProjectLengthRequired) IsSuccess() bool
- func (o *UpdateProjectLengthRequired) String() string
- type UpdateProjectNotFound
- func (o *UpdateProjectNotFound) Code() int
- func (o *UpdateProjectNotFound) Error() string
- func (o *UpdateProjectNotFound) GetPayload() *models.ErrorPayload
- func (o *UpdateProjectNotFound) IsClientError() bool
- func (o *UpdateProjectNotFound) IsCode(code int) bool
- func (o *UpdateProjectNotFound) IsRedirect() bool
- func (o *UpdateProjectNotFound) IsServerError() bool
- func (o *UpdateProjectNotFound) IsSuccess() bool
- func (o *UpdateProjectNotFound) String() string
- type UpdateProjectOK
- func (o *UpdateProjectOK) Code() int
- func (o *UpdateProjectOK) Error() string
- func (o *UpdateProjectOK) GetPayload() *UpdateProjectOKBody
- func (o *UpdateProjectOK) IsClientError() bool
- func (o *UpdateProjectOK) IsCode(code int) bool
- func (o *UpdateProjectOK) IsRedirect() bool
- func (o *UpdateProjectOK) IsServerError() bool
- func (o *UpdateProjectOK) IsSuccess() bool
- func (o *UpdateProjectOK) String() string
- type UpdateProjectOKBody
- type UpdateProjectParams
- func (o *UpdateProjectParams) SetBody(body *models.UpdateProject)
- func (o *UpdateProjectParams) SetContext(ctx context.Context)
- func (o *UpdateProjectParams) SetDefaults()
- func (o *UpdateProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateProjectParams) SetProjectCanonical(projectCanonical string)
- func (o *UpdateProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectParams) WithBody(body *models.UpdateProject) *UpdateProjectParams
- func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
- func (o *UpdateProjectParams) WithDefaults() *UpdateProjectParams
- func (o *UpdateProjectParams) WithHTTPClient(client *http.Client) *UpdateProjectParams
- func (o *UpdateProjectParams) WithOrganizationCanonical(organizationCanonical string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithProjectCanonical(projectCanonical string) *UpdateProjectParams
- func (o *UpdateProjectParams) WithTimeout(timeout time.Duration) *UpdateProjectParams
- func (o *UpdateProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectReader
- type UpdateProjectUnprocessableEntity
- func (o *UpdateProjectUnprocessableEntity) Code() int
- func (o *UpdateProjectUnprocessableEntity) Error() string
- func (o *UpdateProjectUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *UpdateProjectUnprocessableEntity) IsClientError() bool
- func (o *UpdateProjectUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateProjectUnprocessableEntity) IsRedirect() bool
- func (o *UpdateProjectUnprocessableEntity) IsServerError() bool
- func (o *UpdateProjectUnprocessableEntity) IsSuccess() bool
- func (o *UpdateProjectUnprocessableEntity) String() string
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 ¶
func (o *CreateEnvironmentLengthRequired) Code() int
Code gets the status code for the create environment length required response
func (*CreateEnvironmentLengthRequired) Error ¶
func (o *CreateEnvironmentLengthRequired) Error() string
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 ¶
func (o *CreateEnvironmentLengthRequired) String() 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 (o *CreateEnvironmentNotFound) GetPayload() *models.ErrorPayload
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 (o *CreateEnvironmentOK) GetPayload() *CreateEnvironmentOKBody
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
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 ¶
func (o *CreateEnvironmentParams) WithBody(body *models.NewEnvironment) *CreateEnvironmentParams
WithBody adds the body to the create environment params
func (*CreateEnvironmentParams) WithContext ¶
func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
WithContext adds the context to the create environment params
func (*CreateEnvironmentParams) WithDefaults ¶
func (o *CreateEnvironmentParams) WithDefaults() *CreateEnvironmentParams
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 ¶
func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
WithTimeout adds the timeout to the create environment params
func (*CreateEnvironmentParams) WriteToRequest ¶
func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateEnvironmentUnprocessableEntity) Code() int
Code gets the status code for the create environment unprocessable entity response
func (*CreateEnvironmentUnprocessableEntity) Error ¶
func (o *CreateEnvironmentUnprocessableEntity) Error() string
func (*CreateEnvironmentUnprocessableEntity) GetPayload ¶
func (o *CreateEnvironmentUnprocessableEntity) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateEnvironmentUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create environment unprocessable entity response a status code equal to that given
func (*CreateEnvironmentUnprocessableEntity) IsRedirect ¶
func (o *CreateEnvironmentUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *CreateEnvironmentUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create environment unprocessable entity response has a 2xx status code
func (*CreateEnvironmentUnprocessableEntity) String ¶
func (o *CreateEnvironmentUnprocessableEntity) String() 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 ¶
func (o *CreateProjectFavoriteDefault) Code() int
Code gets the status code for the create project favorite default response
func (*CreateProjectFavoriteDefault) Error ¶
func (o *CreateProjectFavoriteDefault) Error() string
func (*CreateProjectFavoriteDefault) GetPayload ¶
func (o *CreateProjectFavoriteDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateProjectFavoriteDefault) String() 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 ¶
func (o *CreateProjectFavoriteForbidden) Code() int
Code gets the status code for the create project favorite forbidden response
func (*CreateProjectFavoriteForbidden) Error ¶
func (o *CreateProjectFavoriteForbidden) Error() string
func (*CreateProjectFavoriteForbidden) GetPayload ¶
func (o *CreateProjectFavoriteForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateProjectFavoriteForbidden) String() 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 ¶
func (o *CreateProjectFavoriteNoContent) Code() int
Code gets the status code for the create project favorite no content response
func (*CreateProjectFavoriteNoContent) Error ¶
func (o *CreateProjectFavoriteNoContent) Error() string
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 ¶
func (o *CreateProjectFavoriteNoContent) String() 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 ¶
func (o *CreateProjectFavoriteNotFound) Code() int
Code gets the status code for the create project favorite not found response
func (*CreateProjectFavoriteNotFound) Error ¶
func (o *CreateProjectFavoriteNotFound) Error() string
func (*CreateProjectFavoriteNotFound) GetPayload ¶
func (o *CreateProjectFavoriteNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateProjectFavoriteNotFound) String() 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 ¶
func (o *CreateProjectFavoriteParams) WithContext(ctx context.Context) *CreateProjectFavoriteParams
WithContext adds the context to the create project favorite params
func (*CreateProjectFavoriteParams) WithDefaults ¶
func (o *CreateProjectFavoriteParams) WithDefaults() *CreateProjectFavoriteParams
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 ¶
func (o *CreateProjectFavoriteParams) WithHTTPClient(client *http.Client) *CreateProjectFavoriteParams
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 ¶
func (o *CreateProjectFavoriteParams) WithTimeout(timeout time.Duration) *CreateProjectFavoriteParams
WithTimeout adds the timeout to the create project favorite params
func (*CreateProjectFavoriteParams) WriteToRequest ¶
func (o *CreateProjectFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateProjectFavoriteUnprocessableEntity) Code() int
Code gets the status code for the create project favorite unprocessable entity response
func (*CreateProjectFavoriteUnprocessableEntity) Error ¶
func (o *CreateProjectFavoriteUnprocessableEntity) Error() string
func (*CreateProjectFavoriteUnprocessableEntity) GetPayload ¶
func (o *CreateProjectFavoriteUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*CreateProjectFavoriteUnprocessableEntity) IsClientError ¶
func (o *CreateProjectFavoriteUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create project favorite unprocessable entity response has a 4xx status code
func (*CreateProjectFavoriteUnprocessableEntity) IsCode ¶
func (o *CreateProjectFavoriteUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create project favorite unprocessable entity response a status code equal to that given
func (*CreateProjectFavoriteUnprocessableEntity) IsRedirect ¶
func (o *CreateProjectFavoriteUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create project favorite unprocessable entity response has a 3xx status code
func (*CreateProjectFavoriteUnprocessableEntity) IsServerError ¶
func (o *CreateProjectFavoriteUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create project favorite unprocessable entity response has a 5xx status code
func (*CreateProjectFavoriteUnprocessableEntity) IsSuccess ¶
func (o *CreateProjectFavoriteUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create project favorite unprocessable entity response has a 2xx status code
func (*CreateProjectFavoriteUnprocessableEntity) String ¶
func (o *CreateProjectFavoriteUnprocessableEntity) String() 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 (o *CreateProjectLengthRequired) Error() string
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 ¶
CreateProjectOKBody create project o k body swagger:model CreateProjectOKBody
func (*CreateProjectOKBody) ContextValidate ¶
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
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 ¶
func (o *CreateProjectParams) WithBody(body *models.NewProject) *CreateProjectParams
WithBody adds the body to the create project params
func (*CreateProjectParams) WithContext ¶
func (o *CreateProjectParams) WithContext(ctx context.Context) *CreateProjectParams
WithContext adds the context to the create project params
func (*CreateProjectParams) 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 ¶
func (o *CreateProjectUnprocessableEntity) Code() int
Code gets the status code for the create project unprocessable entity response
func (*CreateProjectUnprocessableEntity) Error ¶
func (o *CreateProjectUnprocessableEntity) Error() string
func (*CreateProjectUnprocessableEntity) GetPayload ¶
func (o *CreateProjectUnprocessableEntity) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateProjectUnprocessableEntity) String() 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 (o *DeleteEnvironmentForbidden) Error() string
func (*DeleteEnvironmentForbidden) GetPayload ¶
func (o *DeleteEnvironmentForbidden) GetPayload() *models.ErrorPayload
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 (o *DeleteEnvironmentNoContent) Error() string
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 (o *DeleteEnvironmentNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *DeleteEnvironmentParams) WithContext(ctx context.Context) *DeleteEnvironmentParams
WithContext adds the context to the delete environment params
func (*DeleteEnvironmentParams) WithDefaults ¶
func (o *DeleteEnvironmentParams) WithDefaults() *DeleteEnvironmentParams
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 ¶
func (o *DeleteEnvironmentParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentParams
WithTimeout adds the timeout to the delete environment params
func (*DeleteEnvironmentParams) WriteToRequest ¶
func (o *DeleteEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteProjectFavoriteDefault) Code() int
Code gets the status code for the delete project favorite default response
func (*DeleteProjectFavoriteDefault) Error ¶
func (o *DeleteProjectFavoriteDefault) Error() string
func (*DeleteProjectFavoriteDefault) GetPayload ¶
func (o *DeleteProjectFavoriteDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *DeleteProjectFavoriteDefault) String() 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 ¶
func (o *DeleteProjectFavoriteForbidden) Code() int
Code gets the status code for the delete project favorite forbidden response
func (*DeleteProjectFavoriteForbidden) Error ¶
func (o *DeleteProjectFavoriteForbidden) Error() string
func (*DeleteProjectFavoriteForbidden) GetPayload ¶
func (o *DeleteProjectFavoriteForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *DeleteProjectFavoriteForbidden) String() 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 ¶
func (o *DeleteProjectFavoriteNoContent) Code() int
Code gets the status code for the delete project favorite no content response
func (*DeleteProjectFavoriteNoContent) Error ¶
func (o *DeleteProjectFavoriteNoContent) Error() string
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 ¶
func (o *DeleteProjectFavoriteNoContent) String() 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 ¶
func (o *DeleteProjectFavoriteNotFound) Code() int
Code gets the status code for the delete project favorite not found response
func (*DeleteProjectFavoriteNotFound) Error ¶
func (o *DeleteProjectFavoriteNotFound) Error() string
func (*DeleteProjectFavoriteNotFound) GetPayload ¶
func (o *DeleteProjectFavoriteNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *DeleteProjectFavoriteNotFound) String() 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 ¶
func (o *DeleteProjectFavoriteParams) WithContext(ctx context.Context) *DeleteProjectFavoriteParams
WithContext adds the context to the delete project favorite params
func (*DeleteProjectFavoriteParams) WithDefaults ¶
func (o *DeleteProjectFavoriteParams) WithDefaults() *DeleteProjectFavoriteParams
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 ¶
func (o *DeleteProjectFavoriteParams) WithHTTPClient(client *http.Client) *DeleteProjectFavoriteParams
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 ¶
func (o *DeleteProjectFavoriteParams) WithTimeout(timeout time.Duration) *DeleteProjectFavoriteParams
WithTimeout adds the timeout to the delete project favorite params
func (*DeleteProjectFavoriteParams) WriteToRequest ¶
func (o *DeleteProjectFavoriteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteProjectParams) WithContext(ctx context.Context) *DeleteProjectParams
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 ¶
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
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 ¶
func (o *GetEnvironmentParams) WithContext(ctx context.Context) *GetEnvironmentParams
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 ¶
func (o *GetProjectEnvironmentsDefault) Code() int
Code gets the status code for the get project environments default response
func (*GetProjectEnvironmentsDefault) Error ¶
func (o *GetProjectEnvironmentsDefault) Error() string
func (*GetProjectEnvironmentsDefault) GetPayload ¶
func (o *GetProjectEnvironmentsDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetProjectEnvironmentsDefault) String() 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 ¶
func (o *GetProjectEnvironmentsForbidden) Code() int
Code gets the status code for the get project environments forbidden response
func (*GetProjectEnvironmentsForbidden) Error ¶
func (o *GetProjectEnvironmentsForbidden) Error() string
func (*GetProjectEnvironmentsForbidden) GetPayload ¶
func (o *GetProjectEnvironmentsForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetProjectEnvironmentsForbidden) String() 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 ¶
func (o *GetProjectEnvironmentsNotFound) Code() int
Code gets the status code for the get project environments not found response
func (*GetProjectEnvironmentsNotFound) Error ¶
func (o *GetProjectEnvironmentsNotFound) Error() string
func (*GetProjectEnvironmentsNotFound) GetPayload ¶
func (o *GetProjectEnvironmentsNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetProjectEnvironmentsNotFound) String() 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 (o *GetProjectEnvironmentsOK) GetPayload() *GetProjectEnvironmentsOKBody
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
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 ¶
func (o *GetProjectEnvironmentsParams) WithContext(ctx context.Context) *GetProjectEnvironmentsParams
WithContext adds the context to the get project environments params
func (*GetProjectEnvironmentsParams) WithDefaults ¶
func (o *GetProjectEnvironmentsParams) WithDefaults() *GetProjectEnvironmentsParams
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 ¶
func (o *GetProjectEnvironmentsParams) WithHTTPClient(client *http.Client) *GetProjectEnvironmentsParams
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 ¶
func (o *GetProjectEnvironmentsParams) WithTimeout(timeout time.Duration) *GetProjectEnvironmentsParams
WithTimeout adds the timeout to the get project environments params
func (*GetProjectEnvironmentsParams) WriteToRequest ¶
func (o *GetProjectEnvironmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) Code() int
Code gets the status code for the get project environments unprocessable entity response
func (*GetProjectEnvironmentsUnprocessableEntity) Error ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) Error() string
func (*GetProjectEnvironmentsUnprocessableEntity) GetPayload ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*GetProjectEnvironmentsUnprocessableEntity) IsClientError ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get project environments unprocessable entity response has a 4xx status code
func (*GetProjectEnvironmentsUnprocessableEntity) IsCode ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get project environments unprocessable entity response a status code equal to that given
func (*GetProjectEnvironmentsUnprocessableEntity) IsRedirect ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get project environments unprocessable entity response has a 3xx status code
func (*GetProjectEnvironmentsUnprocessableEntity) IsServerError ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get project environments unprocessable entity response has a 5xx status code
func (*GetProjectEnvironmentsUnprocessableEntity) IsSuccess ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get project environments unprocessable entity response has a 2xx status code
func (*GetProjectEnvironmentsUnprocessableEntity) String ¶
func (o *GetProjectEnvironmentsUnprocessableEntity) String() 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 ¶
GetProjectOKBody get project o k body swagger:model GetProjectOKBody
func (*GetProjectOKBody) ContextValidate ¶
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
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 ¶
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
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 ¶
func (o *GetProjectsUnprocessableEntity) Code() int
Code gets the status code for the get projects unprocessable entity response
func (*GetProjectsUnprocessableEntity) Error ¶
func (o *GetProjectsUnprocessableEntity) Error() string
func (*GetProjectsUnprocessableEntity) GetPayload ¶
func (o *GetProjectsUnprocessableEntity) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetProjectsUnprocessableEntity) String() 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 (o *UpdateEnvironmentForbidden) Error() string
func (*UpdateEnvironmentForbidden) GetPayload ¶
func (o *UpdateEnvironmentForbidden) GetPayload() *models.ErrorPayload
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 (o *UpdateEnvironmentNotFound) GetPayload() *models.ErrorPayload
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 (o *UpdateEnvironmentOK) GetPayload() *UpdateEnvironmentOKBody
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
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 ¶
func (o *UpdateEnvironmentParams) SetBody(body *models.UpdateEnvironment)
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 ¶
func (o *UpdateEnvironmentParams) WithBody(body *models.UpdateEnvironment) *UpdateEnvironmentParams
WithBody adds the body to the update environment params
func (*UpdateEnvironmentParams) WithContext ¶
func (o *UpdateEnvironmentParams) WithContext(ctx context.Context) *UpdateEnvironmentParams
WithContext adds the context to the update environment params
func (*UpdateEnvironmentParams) WithDefaults ¶
func (o *UpdateEnvironmentParams) WithDefaults() *UpdateEnvironmentParams
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 ¶
func (o *UpdateEnvironmentParams) WithTimeout(timeout time.Duration) *UpdateEnvironmentParams
WithTimeout adds the timeout to the update environment params
func (*UpdateEnvironmentParams) WriteToRequest ¶
func (o *UpdateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateProjectLengthRequired) Error() string
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 ¶
UpdateProjectOKBody update project o k body swagger:model UpdateProjectOKBody
func (*UpdateProjectOKBody) ContextValidate ¶
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
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 ¶
func (o *UpdateProjectParams) WithBody(body *models.UpdateProject) *UpdateProjectParams
WithBody adds the body to the update project params
func (*UpdateProjectParams) WithContext ¶
func (o *UpdateProjectParams) WithContext(ctx context.Context) *UpdateProjectParams
WithContext adds the context to the update project params
func (*UpdateProjectParams) 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 ¶
func (o *UpdateProjectUnprocessableEntity) Code() int
Code gets the status code for the update project unprocessable entity response
func (*UpdateProjectUnprocessableEntity) Error ¶
func (o *UpdateProjectUnprocessableEntity) Error() string
func (*UpdateProjectUnprocessableEntity) GetPayload ¶
func (o *UpdateProjectUnprocessableEntity) GetPayload() *models.ErrorPayload
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 ¶
func (o *UpdateProjectUnprocessableEntity) String() string
Source Files
¶
- create_environment_parameters.go
- create_environment_responses.go
- create_project_favorite_parameters.go
- create_project_favorite_responses.go
- create_project_parameters.go
- create_project_responses.go
- delete_environment_parameters.go
- delete_environment_responses.go
- delete_project_favorite_parameters.go
- delete_project_favorite_responses.go
- delete_project_parameters.go
- delete_project_responses.go
- get_environment_parameters.go
- get_environment_responses.go
- get_project_environments_parameters.go
- get_project_environments_responses.go
- get_project_parameters.go
- get_project_responses.go
- get_projects_parameters.go
- get_projects_responses.go
- organization_projects_client.go
- update_environment_parameters.go
- update_environment_responses.go
- update_project_parameters.go
- update_project_responses.go