organization_components

package
v1.0.99 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

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

func WithAcceptApplicationVndCycloidIoV1JSON

func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationVndCycloidIoV1JSON

func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

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

Types

type Client

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

Client for organization components API

func (*Client) CreateComponent

func (a *Client) CreateComponent(params *CreateComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateComponentOK, error)

CreateComponent Create a new Component

func (*Client) DeleteComponent

func (a *Client) DeleteComponent(params *DeleteComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteComponentNoContent, error)

DeleteComponent Delete the component that's part of the environment

func (*Client) GetComponent

func (a *Client) GetComponent(params *GetComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentOK, error)

GetComponent Fetch the component that's part of the environment

func (*Client) GetComponentConfig

func (a *Client) GetComponentConfig(params *GetComponentConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentConfigOK, error)

GetComponentConfig Fetch the current component infrastructure

func (*Client) GetComponentInfrastructure

func (a *Client) GetComponentInfrastructure(params *GetComponentInfrastructureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentInfrastructureOK, error)

GetComponentInfrastructure Get the infrastructure of the Component

func (*Client) GetComponents

func (a *Client) GetComponents(params *GetComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentsOK, error)

GetComponents Fetch the components that are part of the environment

func (*Client) GetOrganizationComponents

func (a *Client) GetOrganizationComponents(params *GetOrganizationComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationComponentsOK, error)

GetOrganizationComponents Fetch the components within the organization

func (*Client) MigrateComponent

func (a *Client) MigrateComponent(params *MigrateComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MigrateComponentOK, error)

MigrateComponent Migrate the component that's part of the environment

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateComponent

func (a *Client) UpdateComponent(params *UpdateComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateComponentOK, error)

UpdateComponent Update the component that's part of the environment

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 {
	CreateComponent(params *CreateComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateComponentOK, error)

	DeleteComponent(params *DeleteComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteComponentNoContent, error)

	GetComponent(params *GetComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentOK, error)

	GetComponentConfig(params *GetComponentConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentConfigOK, error)

	GetComponentInfrastructure(params *GetComponentInfrastructureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentInfrastructureOK, error)

	GetComponents(params *GetComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentsOK, error)

	GetOrganizationComponents(params *GetOrganizationComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationComponentsOK, error)

	MigrateComponent(params *MigrateComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MigrateComponentOK, error)

	UpdateComponent(params *UpdateComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateComponentOK, 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 components API client.

func NewClientWithBasicAuth

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

New creates a new organization components 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 components 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 CreateComponentDefault

type CreateComponentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

CreateComponentDefault 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 NewCreateComponentDefault

func NewCreateComponentDefault(code int) *CreateComponentDefault

NewCreateComponentDefault creates a CreateComponentDefault with default headers values

func (*CreateComponentDefault) Code

func (o *CreateComponentDefault) Code() int

Code gets the status code for the create component default response

func (*CreateComponentDefault) Error

func (o *CreateComponentDefault) Error() string

func (*CreateComponentDefault) GetPayload

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

func (*CreateComponentDefault) IsClientError

func (o *CreateComponentDefault) IsClientError() bool

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

func (*CreateComponentDefault) IsCode

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

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

func (*CreateComponentDefault) IsRedirect

func (o *CreateComponentDefault) IsRedirect() bool

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

func (*CreateComponentDefault) IsServerError

func (o *CreateComponentDefault) IsServerError() bool

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

func (*CreateComponentDefault) IsSuccess

func (o *CreateComponentDefault) IsSuccess() bool

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

func (*CreateComponentDefault) String

func (o *CreateComponentDefault) String() string

type CreateComponentForbidden

type CreateComponentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateComponentForbidden 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 NewCreateComponentForbidden

func NewCreateComponentForbidden() *CreateComponentForbidden

NewCreateComponentForbidden creates a CreateComponentForbidden with default headers values

func (*CreateComponentForbidden) Code

func (o *CreateComponentForbidden) Code() int

Code gets the status code for the create component forbidden response

func (*CreateComponentForbidden) Error

func (o *CreateComponentForbidden) Error() string

func (*CreateComponentForbidden) GetPayload

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

func (*CreateComponentForbidden) IsClientError

func (o *CreateComponentForbidden) IsClientError() bool

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

func (*CreateComponentForbidden) IsCode

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

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

func (*CreateComponentForbidden) IsRedirect

func (o *CreateComponentForbidden) IsRedirect() bool

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

func (*CreateComponentForbidden) IsServerError

func (o *CreateComponentForbidden) IsServerError() bool

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

func (*CreateComponentForbidden) IsSuccess

func (o *CreateComponentForbidden) IsSuccess() bool

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

func (*CreateComponentForbidden) String

func (o *CreateComponentForbidden) String() string

type CreateComponentNotFound

type CreateComponentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateComponentNotFound 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 NewCreateComponentNotFound

func NewCreateComponentNotFound() *CreateComponentNotFound

NewCreateComponentNotFound creates a CreateComponentNotFound with default headers values

func (*CreateComponentNotFound) Code

func (o *CreateComponentNotFound) Code() int

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

func (*CreateComponentNotFound) Error

func (o *CreateComponentNotFound) Error() string

func (*CreateComponentNotFound) GetPayload

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

func (*CreateComponentNotFound) IsClientError

func (o *CreateComponentNotFound) IsClientError() bool

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

func (*CreateComponentNotFound) IsCode

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

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

func (*CreateComponentNotFound) IsRedirect

func (o *CreateComponentNotFound) IsRedirect() bool

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

func (*CreateComponentNotFound) IsServerError

func (o *CreateComponentNotFound) IsServerError() bool

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

func (*CreateComponentNotFound) IsSuccess

func (o *CreateComponentNotFound) IsSuccess() bool

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

func (*CreateComponentNotFound) String

func (o *CreateComponentNotFound) String() string

type CreateComponentOK

type CreateComponentOK struct {
	Payload *CreateComponentOKBody
}

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

Component created. The body contains the information of the new created Component.

func NewCreateComponentOK

func NewCreateComponentOK() *CreateComponentOK

NewCreateComponentOK creates a CreateComponentOK with default headers values

func (*CreateComponentOK) Code

func (o *CreateComponentOK) Code() int

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

func (*CreateComponentOK) Error

func (o *CreateComponentOK) Error() string

func (*CreateComponentOK) GetPayload

func (o *CreateComponentOK) GetPayload() *CreateComponentOKBody

func (*CreateComponentOK) IsClientError

func (o *CreateComponentOK) IsClientError() bool

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

func (*CreateComponentOK) IsCode

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

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

func (*CreateComponentOK) IsRedirect

func (o *CreateComponentOK) IsRedirect() bool

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

func (*CreateComponentOK) IsServerError

func (o *CreateComponentOK) IsServerError() bool

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

func (*CreateComponentOK) IsSuccess

func (o *CreateComponentOK) IsSuccess() bool

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

func (*CreateComponentOK) String

func (o *CreateComponentOK) String() string

type CreateComponentOKBody

type CreateComponentOKBody struct {

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

CreateComponentOKBody create component o k body swagger:model CreateComponentOKBody

func (*CreateComponentOKBody) ContextValidate

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

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

func (*CreateComponentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateComponentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateComponentOKBody) Validate

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

Validate validates this create component o k body

type CreateComponentParams

type CreateComponentParams struct {

	/* Body.

	   The information of the component to create.
	*/
	Body *models.NewComponent

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

CreateComponentParams contains all the parameters to send to the API endpoint

for the create component operation.

Typically these are written to a http.Request.

func NewCreateComponentParams

func NewCreateComponentParams() *CreateComponentParams

NewCreateComponentParams creates a new CreateComponentParams 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 NewCreateComponentParamsWithContext

func NewCreateComponentParamsWithContext(ctx context.Context) *CreateComponentParams

NewCreateComponentParamsWithContext creates a new CreateComponentParams object with the ability to set a context for a request.

func NewCreateComponentParamsWithHTTPClient

func NewCreateComponentParamsWithHTTPClient(client *http.Client) *CreateComponentParams

NewCreateComponentParamsWithHTTPClient creates a new CreateComponentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateComponentParamsWithTimeout

func NewCreateComponentParamsWithTimeout(timeout time.Duration) *CreateComponentParams

NewCreateComponentParamsWithTimeout creates a new CreateComponentParams object with the ability to set a timeout on a request.

func (*CreateComponentParams) SetBody

func (o *CreateComponentParams) SetBody(body *models.NewComponent)

SetBody adds the body to the create component params

func (*CreateComponentParams) SetContext

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

SetContext adds the context to the create component params

func (*CreateComponentParams) SetDefaults

func (o *CreateComponentParams) SetDefaults()

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

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

func (*CreateComponentParams) SetEnvironmentCanonical

func (o *CreateComponentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the create component params

func (*CreateComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create component params

func (*CreateComponentParams) SetOrganizationCanonical

func (o *CreateComponentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create component params

func (*CreateComponentParams) SetProjectCanonical

func (o *CreateComponentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the create component params

func (*CreateComponentParams) SetTimeout

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

SetTimeout adds the timeout to the create component params

func (*CreateComponentParams) WithBody

WithBody adds the body to the create component params

func (*CreateComponentParams) WithContext

WithContext adds the context to the create component params

func (*CreateComponentParams) WithDefaults

func (o *CreateComponentParams) WithDefaults() *CreateComponentParams

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

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

func (*CreateComponentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the create component params

func (*CreateComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create component params

func (*CreateComponentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the create component params

func (*CreateComponentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the create component params

func (*CreateComponentParams) WithTimeout

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

WithTimeout adds the timeout to the create component params

func (*CreateComponentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateComponentReader

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

CreateComponentReader is a Reader for the CreateComponent structure.

func (*CreateComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateComponentUnprocessableEntity

type CreateComponentUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewCreateComponentUnprocessableEntity

func NewCreateComponentUnprocessableEntity() *CreateComponentUnprocessableEntity

NewCreateComponentUnprocessableEntity creates a CreateComponentUnprocessableEntity with default headers values

func (*CreateComponentUnprocessableEntity) Code

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

func (*CreateComponentUnprocessableEntity) Error

func (*CreateComponentUnprocessableEntity) GetPayload

func (*CreateComponentUnprocessableEntity) IsClientError

func (o *CreateComponentUnprocessableEntity) IsClientError() bool

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

func (*CreateComponentUnprocessableEntity) IsCode

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

func (*CreateComponentUnprocessableEntity) IsRedirect

func (o *CreateComponentUnprocessableEntity) IsRedirect() bool

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

func (*CreateComponentUnprocessableEntity) IsServerError

func (o *CreateComponentUnprocessableEntity) IsServerError() bool

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

func (*CreateComponentUnprocessableEntity) IsSuccess

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

func (*CreateComponentUnprocessableEntity) String

type DeleteComponentDefault

type DeleteComponentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

DeleteComponentDefault 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 NewDeleteComponentDefault

func NewDeleteComponentDefault(code int) *DeleteComponentDefault

NewDeleteComponentDefault creates a DeleteComponentDefault with default headers values

func (*DeleteComponentDefault) Code

func (o *DeleteComponentDefault) Code() int

Code gets the status code for the delete component default response

func (*DeleteComponentDefault) Error

func (o *DeleteComponentDefault) Error() string

func (*DeleteComponentDefault) GetPayload

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

func (*DeleteComponentDefault) IsClientError

func (o *DeleteComponentDefault) IsClientError() bool

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

func (*DeleteComponentDefault) IsCode

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

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

func (*DeleteComponentDefault) IsRedirect

func (o *DeleteComponentDefault) IsRedirect() bool

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

func (*DeleteComponentDefault) IsServerError

func (o *DeleteComponentDefault) IsServerError() bool

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

func (*DeleteComponentDefault) IsSuccess

func (o *DeleteComponentDefault) IsSuccess() bool

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

func (*DeleteComponentDefault) String

func (o *DeleteComponentDefault) String() string

type DeleteComponentForbidden

type DeleteComponentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteComponentForbidden 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 NewDeleteComponentForbidden

func NewDeleteComponentForbidden() *DeleteComponentForbidden

NewDeleteComponentForbidden creates a DeleteComponentForbidden with default headers values

func (*DeleteComponentForbidden) Code

func (o *DeleteComponentForbidden) Code() int

Code gets the status code for the delete component forbidden response

func (*DeleteComponentForbidden) Error

func (o *DeleteComponentForbidden) Error() string

func (*DeleteComponentForbidden) GetPayload

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

func (*DeleteComponentForbidden) IsClientError

func (o *DeleteComponentForbidden) IsClientError() bool

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

func (*DeleteComponentForbidden) IsCode

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

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

func (*DeleteComponentForbidden) IsRedirect

func (o *DeleteComponentForbidden) IsRedirect() bool

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

func (*DeleteComponentForbidden) IsServerError

func (o *DeleteComponentForbidden) IsServerError() bool

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

func (*DeleteComponentForbidden) IsSuccess

func (o *DeleteComponentForbidden) IsSuccess() bool

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

func (*DeleteComponentForbidden) String

func (o *DeleteComponentForbidden) String() string

type DeleteComponentNoContent

type DeleteComponentNoContent struct {
}

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

No content, successfully deleted

func NewDeleteComponentNoContent

func NewDeleteComponentNoContent() *DeleteComponentNoContent

NewDeleteComponentNoContent creates a DeleteComponentNoContent with default headers values

func (*DeleteComponentNoContent) Code

func (o *DeleteComponentNoContent) Code() int

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

func (*DeleteComponentNoContent) Error

func (o *DeleteComponentNoContent) Error() string

func (*DeleteComponentNoContent) IsClientError

func (o *DeleteComponentNoContent) IsClientError() bool

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

func (*DeleteComponentNoContent) IsCode

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

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

func (*DeleteComponentNoContent) IsRedirect

func (o *DeleteComponentNoContent) IsRedirect() bool

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

func (*DeleteComponentNoContent) IsServerError

func (o *DeleteComponentNoContent) IsServerError() bool

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

func (*DeleteComponentNoContent) IsSuccess

func (o *DeleteComponentNoContent) IsSuccess() bool

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

func (*DeleteComponentNoContent) String

func (o *DeleteComponentNoContent) String() string

type DeleteComponentNotFound

type DeleteComponentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

DeleteComponentNotFound 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 NewDeleteComponentNotFound

func NewDeleteComponentNotFound() *DeleteComponentNotFound

NewDeleteComponentNotFound creates a DeleteComponentNotFound with default headers values

func (*DeleteComponentNotFound) Code

func (o *DeleteComponentNotFound) Code() int

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

func (*DeleteComponentNotFound) Error

func (o *DeleteComponentNotFound) Error() string

func (*DeleteComponentNotFound) GetPayload

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

func (*DeleteComponentNotFound) IsClientError

func (o *DeleteComponentNotFound) IsClientError() bool

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

func (*DeleteComponentNotFound) IsCode

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

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

func (*DeleteComponentNotFound) IsRedirect

func (o *DeleteComponentNotFound) IsRedirect() bool

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

func (*DeleteComponentNotFound) IsServerError

func (o *DeleteComponentNotFound) IsServerError() bool

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

func (*DeleteComponentNotFound) IsSuccess

func (o *DeleteComponentNotFound) IsSuccess() bool

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

func (*DeleteComponentNotFound) String

func (o *DeleteComponentNotFound) String() string

type DeleteComponentParams

type DeleteComponentParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

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

DeleteComponentParams contains all the parameters to send to the API endpoint

for the delete component operation.

Typically these are written to a http.Request.

func NewDeleteComponentParams

func NewDeleteComponentParams() *DeleteComponentParams

NewDeleteComponentParams creates a new DeleteComponentParams 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 NewDeleteComponentParamsWithContext

func NewDeleteComponentParamsWithContext(ctx context.Context) *DeleteComponentParams

NewDeleteComponentParamsWithContext creates a new DeleteComponentParams object with the ability to set a context for a request.

func NewDeleteComponentParamsWithHTTPClient

func NewDeleteComponentParamsWithHTTPClient(client *http.Client) *DeleteComponentParams

NewDeleteComponentParamsWithHTTPClient creates a new DeleteComponentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteComponentParamsWithTimeout

func NewDeleteComponentParamsWithTimeout(timeout time.Duration) *DeleteComponentParams

NewDeleteComponentParamsWithTimeout creates a new DeleteComponentParams object with the ability to set a timeout on a request.

func (*DeleteComponentParams) SetComponentCanonical

func (o *DeleteComponentParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the delete component params

func (*DeleteComponentParams) SetContext

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

SetContext adds the context to the delete component params

func (*DeleteComponentParams) SetDefaults

func (o *DeleteComponentParams) SetDefaults()

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

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

func (*DeleteComponentParams) SetEnvironmentCanonical

func (o *DeleteComponentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the delete component params

func (*DeleteComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete component params

func (*DeleteComponentParams) SetOrganizationCanonical

func (o *DeleteComponentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete component params

func (*DeleteComponentParams) SetProjectCanonical

func (o *DeleteComponentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the delete component params

func (*DeleteComponentParams) SetTimeout

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

SetTimeout adds the timeout to the delete component params

func (*DeleteComponentParams) WithComponentCanonical

func (o *DeleteComponentParams) WithComponentCanonical(componentCanonical string) *DeleteComponentParams

WithComponentCanonical adds the componentCanonical to the delete component params

func (*DeleteComponentParams) WithContext

WithContext adds the context to the delete component params

func (*DeleteComponentParams) WithDefaults

func (o *DeleteComponentParams) WithDefaults() *DeleteComponentParams

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

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

func (*DeleteComponentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the delete component params

func (*DeleteComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete component params

func (*DeleteComponentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the delete component params

func (*DeleteComponentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the delete component params

func (*DeleteComponentParams) WithTimeout

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

WithTimeout adds the timeout to the delete component params

func (*DeleteComponentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteComponentReader

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

DeleteComponentReader is a Reader for the DeleteComponent structure.

func (*DeleteComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteComponentUnprocessableEntity

type DeleteComponentUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewDeleteComponentUnprocessableEntity

func NewDeleteComponentUnprocessableEntity() *DeleteComponentUnprocessableEntity

NewDeleteComponentUnprocessableEntity creates a DeleteComponentUnprocessableEntity with default headers values

func (*DeleteComponentUnprocessableEntity) Code

Code gets the status code for the delete component unprocessable entity response

func (*DeleteComponentUnprocessableEntity) Error

func (*DeleteComponentUnprocessableEntity) GetPayload

func (*DeleteComponentUnprocessableEntity) IsClientError

func (o *DeleteComponentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this delete component unprocessable entity response has a 4xx status code

func (*DeleteComponentUnprocessableEntity) IsCode

IsCode returns true when this delete component unprocessable entity response a status code equal to that given

func (*DeleteComponentUnprocessableEntity) IsRedirect

func (o *DeleteComponentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this delete component unprocessable entity response has a 3xx status code

func (*DeleteComponentUnprocessableEntity) IsServerError

func (o *DeleteComponentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this delete component unprocessable entity response has a 5xx status code

func (*DeleteComponentUnprocessableEntity) IsSuccess

IsSuccess returns true when this delete component unprocessable entity response has a 2xx status code

func (*DeleteComponentUnprocessableEntity) String

type GetComponentConfigDefault

type GetComponentConfigDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetComponentConfigDefault 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 NewGetComponentConfigDefault

func NewGetComponentConfigDefault(code int) *GetComponentConfigDefault

NewGetComponentConfigDefault creates a GetComponentConfigDefault with default headers values

func (*GetComponentConfigDefault) Code

func (o *GetComponentConfigDefault) Code() int

Code gets the status code for the get component config default response

func (*GetComponentConfigDefault) Error

func (o *GetComponentConfigDefault) Error() string

func (*GetComponentConfigDefault) GetPayload

func (*GetComponentConfigDefault) IsClientError

func (o *GetComponentConfigDefault) IsClientError() bool

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

func (*GetComponentConfigDefault) IsCode

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

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

func (*GetComponentConfigDefault) IsRedirect

func (o *GetComponentConfigDefault) IsRedirect() bool

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

func (*GetComponentConfigDefault) IsServerError

func (o *GetComponentConfigDefault) IsServerError() bool

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

func (*GetComponentConfigDefault) IsSuccess

func (o *GetComponentConfigDefault) IsSuccess() bool

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

func (*GetComponentConfigDefault) String

func (o *GetComponentConfigDefault) String() string

type GetComponentConfigForbidden

type GetComponentConfigForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentConfigForbidden 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 NewGetComponentConfigForbidden

func NewGetComponentConfigForbidden() *GetComponentConfigForbidden

NewGetComponentConfigForbidden creates a GetComponentConfigForbidden with default headers values

func (*GetComponentConfigForbidden) Code

func (o *GetComponentConfigForbidden) Code() int

Code gets the status code for the get component config forbidden response

func (*GetComponentConfigForbidden) Error

func (*GetComponentConfigForbidden) GetPayload

func (*GetComponentConfigForbidden) IsClientError

func (o *GetComponentConfigForbidden) IsClientError() bool

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

func (*GetComponentConfigForbidden) IsCode

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

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

func (*GetComponentConfigForbidden) IsRedirect

func (o *GetComponentConfigForbidden) IsRedirect() bool

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

func (*GetComponentConfigForbidden) IsServerError

func (o *GetComponentConfigForbidden) IsServerError() bool

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

func (*GetComponentConfigForbidden) IsSuccess

func (o *GetComponentConfigForbidden) IsSuccess() bool

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

func (*GetComponentConfigForbidden) String

func (o *GetComponentConfigForbidden) String() string

type GetComponentConfigNotFound

type GetComponentConfigNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentConfigNotFound 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 NewGetComponentConfigNotFound

func NewGetComponentConfigNotFound() *GetComponentConfigNotFound

NewGetComponentConfigNotFound creates a GetComponentConfigNotFound with default headers values

func (*GetComponentConfigNotFound) Code

func (o *GetComponentConfigNotFound) Code() int

Code gets the status code for the get component config not found response

func (*GetComponentConfigNotFound) Error

func (*GetComponentConfigNotFound) GetPayload

func (*GetComponentConfigNotFound) IsClientError

func (o *GetComponentConfigNotFound) IsClientError() bool

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

func (*GetComponentConfigNotFound) IsCode

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

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

func (*GetComponentConfigNotFound) IsRedirect

func (o *GetComponentConfigNotFound) IsRedirect() bool

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

func (*GetComponentConfigNotFound) IsServerError

func (o *GetComponentConfigNotFound) IsServerError() bool

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

func (*GetComponentConfigNotFound) IsSuccess

func (o *GetComponentConfigNotFound) IsSuccess() bool

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

func (*GetComponentConfigNotFound) String

func (o *GetComponentConfigNotFound) String() string

type GetComponentConfigOK

type GetComponentConfigOK struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *GetComponentConfigOKBody
}

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

Config that's used by the component

func NewGetComponentConfigOK

func NewGetComponentConfigOK() *GetComponentConfigOK

NewGetComponentConfigOK creates a GetComponentConfigOK with default headers values

func (*GetComponentConfigOK) Code

func (o *GetComponentConfigOK) Code() int

Code gets the status code for the get component config o k response

func (*GetComponentConfigOK) Error

func (o *GetComponentConfigOK) Error() string

func (*GetComponentConfigOK) GetPayload

func (*GetComponentConfigOK) IsClientError

func (o *GetComponentConfigOK) IsClientError() bool

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

func (*GetComponentConfigOK) IsCode

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

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

func (*GetComponentConfigOK) IsRedirect

func (o *GetComponentConfigOK) IsRedirect() bool

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

func (*GetComponentConfigOK) IsServerError

func (o *GetComponentConfigOK) IsServerError() bool

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

func (*GetComponentConfigOK) IsSuccess

func (o *GetComponentConfigOK) IsSuccess() bool

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

func (*GetComponentConfigOK) String

func (o *GetComponentConfigOK) String() string

type GetComponentConfigOKBody

type GetComponentConfigOKBody struct {

	// data
	Data models.FormVariables `json:"data,omitempty"`
}

GetComponentConfigOKBody get component config o k body swagger:model GetComponentConfigOKBody

func (*GetComponentConfigOKBody) ContextValidate

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

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

func (*GetComponentConfigOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetComponentConfigOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetComponentConfigOKBody) Validate

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

Validate validates this get component config o k body

type GetComponentConfigParams

type GetComponentConfigParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

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

GetComponentConfigParams contains all the parameters to send to the API endpoint

for the get component config operation.

Typically these are written to a http.Request.

func NewGetComponentConfigParams

func NewGetComponentConfigParams() *GetComponentConfigParams

NewGetComponentConfigParams creates a new GetComponentConfigParams 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 NewGetComponentConfigParamsWithContext

func NewGetComponentConfigParamsWithContext(ctx context.Context) *GetComponentConfigParams

NewGetComponentConfigParamsWithContext creates a new GetComponentConfigParams object with the ability to set a context for a request.

func NewGetComponentConfigParamsWithHTTPClient

func NewGetComponentConfigParamsWithHTTPClient(client *http.Client) *GetComponentConfigParams

NewGetComponentConfigParamsWithHTTPClient creates a new GetComponentConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetComponentConfigParamsWithTimeout

func NewGetComponentConfigParamsWithTimeout(timeout time.Duration) *GetComponentConfigParams

NewGetComponentConfigParamsWithTimeout creates a new GetComponentConfigParams object with the ability to set a timeout on a request.

func (*GetComponentConfigParams) SetComponentCanonical

func (o *GetComponentConfigParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the get component config params

func (*GetComponentConfigParams) SetContext

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

SetContext adds the context to the get component config params

func (*GetComponentConfigParams) SetDefaults

func (o *GetComponentConfigParams) SetDefaults()

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

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

func (*GetComponentConfigParams) SetEnvironmentCanonical

func (o *GetComponentConfigParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get component config params

func (*GetComponentConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get component config params

func (*GetComponentConfigParams) SetOrganizationCanonical

func (o *GetComponentConfigParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get component config params

func (*GetComponentConfigParams) SetProjectCanonical

func (o *GetComponentConfigParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get component config params

func (*GetComponentConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get component config params

func (*GetComponentConfigParams) WithComponentCanonical

func (o *GetComponentConfigParams) WithComponentCanonical(componentCanonical string) *GetComponentConfigParams

WithComponentCanonical adds the componentCanonical to the get component config params

func (*GetComponentConfigParams) WithContext

WithContext adds the context to the get component config params

func (*GetComponentConfigParams) WithDefaults

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

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

func (*GetComponentConfigParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the get component config params

func (*GetComponentConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get component config params

func (*GetComponentConfigParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get component config params

func (*GetComponentConfigParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get component config params

func (*GetComponentConfigParams) WithTimeout

WithTimeout adds the timeout to the get component config params

func (*GetComponentConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetComponentConfigReader

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

GetComponentConfigReader is a Reader for the GetComponentConfig structure.

func (*GetComponentConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetComponentConfigUnprocessableEntity

type GetComponentConfigUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewGetComponentConfigUnprocessableEntity

func NewGetComponentConfigUnprocessableEntity() *GetComponentConfigUnprocessableEntity

NewGetComponentConfigUnprocessableEntity creates a GetComponentConfigUnprocessableEntity with default headers values

func (*GetComponentConfigUnprocessableEntity) Code

Code gets the status code for the get component config unprocessable entity response

func (*GetComponentConfigUnprocessableEntity) Error

func (*GetComponentConfigUnprocessableEntity) GetPayload

func (*GetComponentConfigUnprocessableEntity) IsClientError

func (o *GetComponentConfigUnprocessableEntity) IsClientError() bool

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

func (*GetComponentConfigUnprocessableEntity) IsCode

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

func (*GetComponentConfigUnprocessableEntity) IsRedirect

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

func (*GetComponentConfigUnprocessableEntity) IsServerError

func (o *GetComponentConfigUnprocessableEntity) IsServerError() bool

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

func (*GetComponentConfigUnprocessableEntity) IsSuccess

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

func (*GetComponentConfigUnprocessableEntity) String

type GetComponentDefault

type GetComponentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetComponentDefault 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 NewGetComponentDefault

func NewGetComponentDefault(code int) *GetComponentDefault

NewGetComponentDefault creates a GetComponentDefault with default headers values

func (*GetComponentDefault) Code

func (o *GetComponentDefault) Code() int

Code gets the status code for the get component default response

func (*GetComponentDefault) Error

func (o *GetComponentDefault) Error() string

func (*GetComponentDefault) GetPayload

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

func (*GetComponentDefault) IsClientError

func (o *GetComponentDefault) IsClientError() bool

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

func (*GetComponentDefault) IsCode

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

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

func (*GetComponentDefault) IsRedirect

func (o *GetComponentDefault) IsRedirect() bool

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

func (*GetComponentDefault) IsServerError

func (o *GetComponentDefault) IsServerError() bool

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

func (*GetComponentDefault) IsSuccess

func (o *GetComponentDefault) IsSuccess() bool

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

func (*GetComponentDefault) String

func (o *GetComponentDefault) String() string

type GetComponentForbidden

type GetComponentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentForbidden 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 NewGetComponentForbidden

func NewGetComponentForbidden() *GetComponentForbidden

NewGetComponentForbidden creates a GetComponentForbidden with default headers values

func (*GetComponentForbidden) Code

func (o *GetComponentForbidden) Code() int

Code gets the status code for the get component forbidden response

func (*GetComponentForbidden) Error

func (o *GetComponentForbidden) Error() string

func (*GetComponentForbidden) GetPayload

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

func (*GetComponentForbidden) IsClientError

func (o *GetComponentForbidden) IsClientError() bool

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

func (*GetComponentForbidden) IsCode

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

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

func (*GetComponentForbidden) IsRedirect

func (o *GetComponentForbidden) IsRedirect() bool

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

func (*GetComponentForbidden) IsServerError

func (o *GetComponentForbidden) IsServerError() bool

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

func (*GetComponentForbidden) IsSuccess

func (o *GetComponentForbidden) IsSuccess() bool

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

func (*GetComponentForbidden) String

func (o *GetComponentForbidden) String() string

type GetComponentInfrastructureDefault

type GetComponentInfrastructureDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetComponentInfrastructureDefault 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 NewGetComponentInfrastructureDefault

func NewGetComponentInfrastructureDefault(code int) *GetComponentInfrastructureDefault

NewGetComponentInfrastructureDefault creates a GetComponentInfrastructureDefault with default headers values

func (*GetComponentInfrastructureDefault) Code

Code gets the status code for the get component infrastructure default response

func (*GetComponentInfrastructureDefault) Error

func (*GetComponentInfrastructureDefault) GetPayload

func (*GetComponentInfrastructureDefault) IsClientError

func (o *GetComponentInfrastructureDefault) IsClientError() bool

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

func (*GetComponentInfrastructureDefault) IsCode

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

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

func (*GetComponentInfrastructureDefault) IsRedirect

func (o *GetComponentInfrastructureDefault) IsRedirect() bool

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

func (*GetComponentInfrastructureDefault) IsServerError

func (o *GetComponentInfrastructureDefault) IsServerError() bool

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

func (*GetComponentInfrastructureDefault) IsSuccess

func (o *GetComponentInfrastructureDefault) IsSuccess() bool

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

func (*GetComponentInfrastructureDefault) String

type GetComponentInfrastructureForbidden

type GetComponentInfrastructureForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentInfrastructureForbidden 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 NewGetComponentInfrastructureForbidden

func NewGetComponentInfrastructureForbidden() *GetComponentInfrastructureForbidden

NewGetComponentInfrastructureForbidden creates a GetComponentInfrastructureForbidden with default headers values

func (*GetComponentInfrastructureForbidden) Code

Code gets the status code for the get component infrastructure forbidden response

func (*GetComponentInfrastructureForbidden) Error

func (*GetComponentInfrastructureForbidden) GetPayload

func (*GetComponentInfrastructureForbidden) IsClientError

func (o *GetComponentInfrastructureForbidden) IsClientError() bool

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

func (*GetComponentInfrastructureForbidden) IsCode

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

func (*GetComponentInfrastructureForbidden) IsRedirect

func (o *GetComponentInfrastructureForbidden) IsRedirect() bool

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

func (*GetComponentInfrastructureForbidden) IsServerError

func (o *GetComponentInfrastructureForbidden) IsServerError() bool

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

func (*GetComponentInfrastructureForbidden) IsSuccess

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

func (*GetComponentInfrastructureForbidden) String

type GetComponentInfrastructureNotFound

type GetComponentInfrastructureNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentInfrastructureNotFound 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 NewGetComponentInfrastructureNotFound

func NewGetComponentInfrastructureNotFound() *GetComponentInfrastructureNotFound

NewGetComponentInfrastructureNotFound creates a GetComponentInfrastructureNotFound with default headers values

func (*GetComponentInfrastructureNotFound) Code

Code gets the status code for the get component infrastructure not found response

func (*GetComponentInfrastructureNotFound) Error

func (*GetComponentInfrastructureNotFound) GetPayload

func (*GetComponentInfrastructureNotFound) IsClientError

func (o *GetComponentInfrastructureNotFound) IsClientError() bool

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

func (*GetComponentInfrastructureNotFound) IsCode

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

func (*GetComponentInfrastructureNotFound) IsRedirect

func (o *GetComponentInfrastructureNotFound) IsRedirect() bool

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

func (*GetComponentInfrastructureNotFound) IsServerError

func (o *GetComponentInfrastructureNotFound) IsServerError() bool

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

func (*GetComponentInfrastructureNotFound) IsSuccess

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

func (*GetComponentInfrastructureNotFound) String

type GetComponentInfrastructureOK

type GetComponentInfrastructureOK struct {
	Payload *GetComponentInfrastructureOKBody
}

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

The infrastructure of the Component

func NewGetComponentInfrastructureOK

func NewGetComponentInfrastructureOK() *GetComponentInfrastructureOK

NewGetComponentInfrastructureOK creates a GetComponentInfrastructureOK with default headers values

func (*GetComponentInfrastructureOK) Code

Code gets the status code for the get component infrastructure o k response

func (*GetComponentInfrastructureOK) Error

func (*GetComponentInfrastructureOK) GetPayload

func (*GetComponentInfrastructureOK) IsClientError

func (o *GetComponentInfrastructureOK) IsClientError() bool

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

func (*GetComponentInfrastructureOK) IsCode

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

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

func (*GetComponentInfrastructureOK) IsRedirect

func (o *GetComponentInfrastructureOK) IsRedirect() bool

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

func (*GetComponentInfrastructureOK) IsServerError

func (o *GetComponentInfrastructureOK) IsServerError() bool

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

func (*GetComponentInfrastructureOK) IsSuccess

func (o *GetComponentInfrastructureOK) IsSuccess() bool

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

func (*GetComponentInfrastructureOK) String

type GetComponentInfrastructureOKBody

type GetComponentInfrastructureOKBody struct {

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

GetComponentInfrastructureOKBody get component infrastructure o k body swagger:model GetComponentInfrastructureOKBody

func (*GetComponentInfrastructureOKBody) ContextValidate

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

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

func (*GetComponentInfrastructureOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetComponentInfrastructureOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetComponentInfrastructureOKBody) Validate

Validate validates this get component infrastructure o k body

type GetComponentInfrastructureParams

type GetComponentInfrastructureParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

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

GetComponentInfrastructureParams contains all the parameters to send to the API endpoint

for the get component infrastructure operation.

Typically these are written to a http.Request.

func NewGetComponentInfrastructureParams

func NewGetComponentInfrastructureParams() *GetComponentInfrastructureParams

NewGetComponentInfrastructureParams creates a new GetComponentInfrastructureParams 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 NewGetComponentInfrastructureParamsWithContext

func NewGetComponentInfrastructureParamsWithContext(ctx context.Context) *GetComponentInfrastructureParams

NewGetComponentInfrastructureParamsWithContext creates a new GetComponentInfrastructureParams object with the ability to set a context for a request.

func NewGetComponentInfrastructureParamsWithHTTPClient

func NewGetComponentInfrastructureParamsWithHTTPClient(client *http.Client) *GetComponentInfrastructureParams

NewGetComponentInfrastructureParamsWithHTTPClient creates a new GetComponentInfrastructureParams object with the ability to set a custom HTTPClient for a request.

func NewGetComponentInfrastructureParamsWithTimeout

func NewGetComponentInfrastructureParamsWithTimeout(timeout time.Duration) *GetComponentInfrastructureParams

NewGetComponentInfrastructureParamsWithTimeout creates a new GetComponentInfrastructureParams object with the ability to set a timeout on a request.

func (*GetComponentInfrastructureParams) SetComponentCanonical

func (o *GetComponentInfrastructureParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) SetContext

SetContext adds the context to the get component infrastructure params

func (*GetComponentInfrastructureParams) SetDefaults

func (o *GetComponentInfrastructureParams) SetDefaults()

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

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

func (*GetComponentInfrastructureParams) SetEnvironmentCanonical

func (o *GetComponentInfrastructureParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get component infrastructure params

func (*GetComponentInfrastructureParams) SetOrganizationCanonical

func (o *GetComponentInfrastructureParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) SetProjectCanonical

func (o *GetComponentInfrastructureParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) SetTimeout

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

SetTimeout adds the timeout to the get component infrastructure params

func (*GetComponentInfrastructureParams) WithComponentCanonical

func (o *GetComponentInfrastructureParams) WithComponentCanonical(componentCanonical string) *GetComponentInfrastructureParams

WithComponentCanonical adds the componentCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) WithContext

WithContext adds the context to the get component infrastructure params

func (*GetComponentInfrastructureParams) WithDefaults

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

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

func (*GetComponentInfrastructureParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get component infrastructure params

func (*GetComponentInfrastructureParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get component infrastructure params

func (*GetComponentInfrastructureParams) WithTimeout

WithTimeout adds the timeout to the get component infrastructure params

func (*GetComponentInfrastructureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetComponentInfrastructureReader

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

GetComponentInfrastructureReader is a Reader for the GetComponentInfrastructure structure.

func (*GetComponentInfrastructureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetComponentNotFound

type GetComponentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentNotFound 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 NewGetComponentNotFound

func NewGetComponentNotFound() *GetComponentNotFound

NewGetComponentNotFound creates a GetComponentNotFound with default headers values

func (*GetComponentNotFound) Code

func (o *GetComponentNotFound) Code() int

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

func (*GetComponentNotFound) Error

func (o *GetComponentNotFound) Error() string

func (*GetComponentNotFound) GetPayload

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

func (*GetComponentNotFound) IsClientError

func (o *GetComponentNotFound) IsClientError() bool

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

func (*GetComponentNotFound) IsCode

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

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

func (*GetComponentNotFound) IsRedirect

func (o *GetComponentNotFound) IsRedirect() bool

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

func (*GetComponentNotFound) IsServerError

func (o *GetComponentNotFound) IsServerError() bool

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

func (*GetComponentNotFound) IsSuccess

func (o *GetComponentNotFound) IsSuccess() bool

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

func (*GetComponentNotFound) String

func (o *GetComponentNotFound) String() string

type GetComponentOK

type GetComponentOK struct {
	Payload *GetComponentOKBody
}

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

Component

func NewGetComponentOK

func NewGetComponentOK() *GetComponentOK

NewGetComponentOK creates a GetComponentOK with default headers values

func (*GetComponentOK) Code

func (o *GetComponentOK) Code() int

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

func (*GetComponentOK) Error

func (o *GetComponentOK) Error() string

func (*GetComponentOK) GetPayload

func (o *GetComponentOK) GetPayload() *GetComponentOKBody

func (*GetComponentOK) IsClientError

func (o *GetComponentOK) IsClientError() bool

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

func (*GetComponentOK) IsCode

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

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

func (*GetComponentOK) IsRedirect

func (o *GetComponentOK) IsRedirect() bool

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

func (*GetComponentOK) IsServerError

func (o *GetComponentOK) IsServerError() bool

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

func (*GetComponentOK) IsSuccess

func (o *GetComponentOK) IsSuccess() bool

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

func (*GetComponentOK) String

func (o *GetComponentOK) String() string

type GetComponentOKBody

type GetComponentOKBody struct {

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

GetComponentOKBody get component o k body swagger:model GetComponentOKBody

func (*GetComponentOKBody) ContextValidate

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

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

func (*GetComponentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetComponentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetComponentOKBody) Validate

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

Validate validates this get component o k body

type GetComponentParams

type GetComponentParams struct {

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

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

GetComponentParams contains all the parameters to send to the API endpoint

for the get component operation.

Typically these are written to a http.Request.

func NewGetComponentParams

func NewGetComponentParams() *GetComponentParams

NewGetComponentParams creates a new GetComponentParams 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 NewGetComponentParamsWithContext

func NewGetComponentParamsWithContext(ctx context.Context) *GetComponentParams

NewGetComponentParamsWithContext creates a new GetComponentParams object with the ability to set a context for a request.

func NewGetComponentParamsWithHTTPClient

func NewGetComponentParamsWithHTTPClient(client *http.Client) *GetComponentParams

NewGetComponentParamsWithHTTPClient creates a new GetComponentParams object with the ability to set a custom HTTPClient for a request.

func NewGetComponentParamsWithTimeout

func NewGetComponentParamsWithTimeout(timeout time.Duration) *GetComponentParams

NewGetComponentParamsWithTimeout creates a new GetComponentParams object with the ability to set a timeout on a request.

func (*GetComponentParams) SetComponentCanonical

func (o *GetComponentParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the get component params

func (*GetComponentParams) SetContext

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

SetContext adds the context to the get component params

func (*GetComponentParams) SetDefaults

func (o *GetComponentParams) SetDefaults()

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

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

func (*GetComponentParams) SetEnvironmentCanonical

func (o *GetComponentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get component params

func (*GetComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get component params

func (*GetComponentParams) SetOrganizationCanonical

func (o *GetComponentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get component params

func (*GetComponentParams) SetProjectCanonical

func (o *GetComponentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get component params

func (*GetComponentParams) SetTimeout

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

SetTimeout adds the timeout to the get component params

func (*GetComponentParams) WithComponentCanonical

func (o *GetComponentParams) WithComponentCanonical(componentCanonical string) *GetComponentParams

WithComponentCanonical adds the componentCanonical to the get component params

func (*GetComponentParams) WithContext

WithContext adds the context to the get component params

func (*GetComponentParams) WithDefaults

func (o *GetComponentParams) WithDefaults() *GetComponentParams

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

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

func (*GetComponentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the get component params

func (*GetComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get component params

func (*GetComponentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get component params

func (*GetComponentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get component params

func (*GetComponentParams) WithTimeout

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

WithTimeout adds the timeout to the get component params

func (*GetComponentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetComponentReader

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

GetComponentReader is a Reader for the GetComponent structure.

func (*GetComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetComponentUnprocessableEntity

type GetComponentUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewGetComponentUnprocessableEntity

func NewGetComponentUnprocessableEntity() *GetComponentUnprocessableEntity

NewGetComponentUnprocessableEntity creates a GetComponentUnprocessableEntity with default headers values

func (*GetComponentUnprocessableEntity) Code

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

func (*GetComponentUnprocessableEntity) Error

func (*GetComponentUnprocessableEntity) GetPayload

func (*GetComponentUnprocessableEntity) IsClientError

func (o *GetComponentUnprocessableEntity) IsClientError() bool

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

func (*GetComponentUnprocessableEntity) IsCode

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

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

func (*GetComponentUnprocessableEntity) IsRedirect

func (o *GetComponentUnprocessableEntity) IsRedirect() bool

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

func (*GetComponentUnprocessableEntity) IsServerError

func (o *GetComponentUnprocessableEntity) IsServerError() bool

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

func (*GetComponentUnprocessableEntity) IsSuccess

func (o *GetComponentUnprocessableEntity) IsSuccess() bool

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

func (*GetComponentUnprocessableEntity) String

type GetComponentsDefault

type GetComponentsDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetComponentsDefault 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 NewGetComponentsDefault

func NewGetComponentsDefault(code int) *GetComponentsDefault

NewGetComponentsDefault creates a GetComponentsDefault with default headers values

func (*GetComponentsDefault) Code

func (o *GetComponentsDefault) Code() int

Code gets the status code for the get components default response

func (*GetComponentsDefault) Error

func (o *GetComponentsDefault) Error() string

func (*GetComponentsDefault) GetPayload

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

func (*GetComponentsDefault) IsClientError

func (o *GetComponentsDefault) IsClientError() bool

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

func (*GetComponentsDefault) IsCode

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

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

func (*GetComponentsDefault) IsRedirect

func (o *GetComponentsDefault) IsRedirect() bool

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

func (*GetComponentsDefault) IsServerError

func (o *GetComponentsDefault) IsServerError() bool

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

func (*GetComponentsDefault) IsSuccess

func (o *GetComponentsDefault) IsSuccess() bool

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

func (*GetComponentsDefault) String

func (o *GetComponentsDefault) String() string

type GetComponentsForbidden

type GetComponentsForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentsForbidden 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 NewGetComponentsForbidden

func NewGetComponentsForbidden() *GetComponentsForbidden

NewGetComponentsForbidden creates a GetComponentsForbidden with default headers values

func (*GetComponentsForbidden) Code

func (o *GetComponentsForbidden) Code() int

Code gets the status code for the get components forbidden response

func (*GetComponentsForbidden) Error

func (o *GetComponentsForbidden) Error() string

func (*GetComponentsForbidden) GetPayload

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

func (*GetComponentsForbidden) IsClientError

func (o *GetComponentsForbidden) IsClientError() bool

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

func (*GetComponentsForbidden) IsCode

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

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

func (*GetComponentsForbidden) IsRedirect

func (o *GetComponentsForbidden) IsRedirect() bool

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

func (*GetComponentsForbidden) IsServerError

func (o *GetComponentsForbidden) IsServerError() bool

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

func (*GetComponentsForbidden) IsSuccess

func (o *GetComponentsForbidden) IsSuccess() bool

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

func (*GetComponentsForbidden) String

func (o *GetComponentsForbidden) String() string

type GetComponentsNotFound

type GetComponentsNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetComponentsNotFound 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 NewGetComponentsNotFound

func NewGetComponentsNotFound() *GetComponentsNotFound

NewGetComponentsNotFound creates a GetComponentsNotFound with default headers values

func (*GetComponentsNotFound) Code

func (o *GetComponentsNotFound) Code() int

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

func (*GetComponentsNotFound) Error

func (o *GetComponentsNotFound) Error() string

func (*GetComponentsNotFound) GetPayload

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

func (*GetComponentsNotFound) IsClientError

func (o *GetComponentsNotFound) IsClientError() bool

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

func (*GetComponentsNotFound) IsCode

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

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

func (*GetComponentsNotFound) IsRedirect

func (o *GetComponentsNotFound) IsRedirect() bool

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

func (*GetComponentsNotFound) IsServerError

func (o *GetComponentsNotFound) IsServerError() bool

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

func (*GetComponentsNotFound) IsSuccess

func (o *GetComponentsNotFound) IsSuccess() bool

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

func (*GetComponentsNotFound) String

func (o *GetComponentsNotFound) String() string

type GetComponentsOK

type GetComponentsOK struct {
	Payload *GetComponentsOKBody
}

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

List of the Components

func NewGetComponentsOK

func NewGetComponentsOK() *GetComponentsOK

NewGetComponentsOK creates a GetComponentsOK with default headers values

func (*GetComponentsOK) Code

func (o *GetComponentsOK) Code() int

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

func (*GetComponentsOK) Error

func (o *GetComponentsOK) Error() string

func (*GetComponentsOK) GetPayload

func (o *GetComponentsOK) GetPayload() *GetComponentsOKBody

func (*GetComponentsOK) IsClientError

func (o *GetComponentsOK) IsClientError() bool

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

func (*GetComponentsOK) IsCode

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

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

func (*GetComponentsOK) IsRedirect

func (o *GetComponentsOK) IsRedirect() bool

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

func (*GetComponentsOK) IsServerError

func (o *GetComponentsOK) IsServerError() bool

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

func (*GetComponentsOK) IsSuccess

func (o *GetComponentsOK) IsSuccess() bool

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

func (*GetComponentsOK) String

func (o *GetComponentsOK) String() string

type GetComponentsOKBody

type GetComponentsOKBody struct {

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

GetComponentsOKBody get components o k body swagger:model GetComponentsOKBody

func (*GetComponentsOKBody) ContextValidate

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

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

func (*GetComponentsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetComponentsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetComponentsOKBody) Validate

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

Validate validates this get components o k body

type GetComponentsParams

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

GetComponentsParams contains all the parameters to send to the API endpoint

for the get components operation.

Typically these are written to a http.Request.

func NewGetComponentsParams

func NewGetComponentsParams() *GetComponentsParams

NewGetComponentsParams creates a new GetComponentsParams 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 NewGetComponentsParamsWithContext

func NewGetComponentsParamsWithContext(ctx context.Context) *GetComponentsParams

NewGetComponentsParamsWithContext creates a new GetComponentsParams object with the ability to set a context for a request.

func NewGetComponentsParamsWithHTTPClient

func NewGetComponentsParamsWithHTTPClient(client *http.Client) *GetComponentsParams

NewGetComponentsParamsWithHTTPClient creates a new GetComponentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetComponentsParamsWithTimeout

func NewGetComponentsParamsWithTimeout(timeout time.Duration) *GetComponentsParams

NewGetComponentsParamsWithTimeout creates a new GetComponentsParams object with the ability to set a timeout on a request.

func (*GetComponentsParams) SetContext

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

SetContext adds the context to the get components params

func (*GetComponentsParams) SetDefaults

func (o *GetComponentsParams) SetDefaults()

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

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

func (*GetComponentsParams) SetEnvironmentCanonical

func (o *GetComponentsParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the get components params

func (*GetComponentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get components params

func (*GetComponentsParams) SetOrganizationCanonical

func (o *GetComponentsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get components params

func (*GetComponentsParams) SetProjectCanonical

func (o *GetComponentsParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the get components params

func (*GetComponentsParams) SetTimeout

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

SetTimeout adds the timeout to the get components params

func (*GetComponentsParams) WithContext

WithContext adds the context to the get components params

func (*GetComponentsParams) WithDefaults

func (o *GetComponentsParams) WithDefaults() *GetComponentsParams

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

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

func (*GetComponentsParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the get components params

func (*GetComponentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get components params

func (*GetComponentsParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get components params

func (*GetComponentsParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the get components params

func (*GetComponentsParams) WithTimeout

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

WithTimeout adds the timeout to the get components params

func (*GetComponentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetComponentsReader

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

GetComponentsReader is a Reader for the GetComponents structure.

func (*GetComponentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetComponentsUnprocessableEntity

type GetComponentsUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewGetComponentsUnprocessableEntity

func NewGetComponentsUnprocessableEntity() *GetComponentsUnprocessableEntity

NewGetComponentsUnprocessableEntity creates a GetComponentsUnprocessableEntity with default headers values

func (*GetComponentsUnprocessableEntity) Code

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

func (*GetComponentsUnprocessableEntity) Error

func (*GetComponentsUnprocessableEntity) GetPayload

func (*GetComponentsUnprocessableEntity) IsClientError

func (o *GetComponentsUnprocessableEntity) IsClientError() bool

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

func (*GetComponentsUnprocessableEntity) IsCode

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

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

func (*GetComponentsUnprocessableEntity) IsRedirect

func (o *GetComponentsUnprocessableEntity) IsRedirect() bool

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

func (*GetComponentsUnprocessableEntity) IsServerError

func (o *GetComponentsUnprocessableEntity) IsServerError() bool

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

func (*GetComponentsUnprocessableEntity) IsSuccess

func (o *GetComponentsUnprocessableEntity) IsSuccess() bool

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

func (*GetComponentsUnprocessableEntity) String

type GetOrganizationComponentsDefault

type GetOrganizationComponentsDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

GetOrganizationComponentsDefault 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 NewGetOrganizationComponentsDefault

func NewGetOrganizationComponentsDefault(code int) *GetOrganizationComponentsDefault

NewGetOrganizationComponentsDefault creates a GetOrganizationComponentsDefault with default headers values

func (*GetOrganizationComponentsDefault) Code

Code gets the status code for the get organization components default response

func (*GetOrganizationComponentsDefault) Error

func (*GetOrganizationComponentsDefault) GetPayload

func (*GetOrganizationComponentsDefault) IsClientError

func (o *GetOrganizationComponentsDefault) IsClientError() bool

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

func (*GetOrganizationComponentsDefault) IsCode

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

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

func (*GetOrganizationComponentsDefault) IsRedirect

func (o *GetOrganizationComponentsDefault) IsRedirect() bool

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

func (*GetOrganizationComponentsDefault) IsServerError

func (o *GetOrganizationComponentsDefault) IsServerError() bool

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

func (*GetOrganizationComponentsDefault) IsSuccess

func (o *GetOrganizationComponentsDefault) IsSuccess() bool

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

func (*GetOrganizationComponentsDefault) String

type GetOrganizationComponentsForbidden

type GetOrganizationComponentsForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetOrganizationComponentsForbidden 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 NewGetOrganizationComponentsForbidden

func NewGetOrganizationComponentsForbidden() *GetOrganizationComponentsForbidden

NewGetOrganizationComponentsForbidden creates a GetOrganizationComponentsForbidden with default headers values

func (*GetOrganizationComponentsForbidden) Code

Code gets the status code for the get organization components forbidden response

func (*GetOrganizationComponentsForbidden) Error

func (*GetOrganizationComponentsForbidden) GetPayload

func (*GetOrganizationComponentsForbidden) IsClientError

func (o *GetOrganizationComponentsForbidden) IsClientError() bool

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

func (*GetOrganizationComponentsForbidden) IsCode

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

func (*GetOrganizationComponentsForbidden) IsRedirect

func (o *GetOrganizationComponentsForbidden) IsRedirect() bool

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

func (*GetOrganizationComponentsForbidden) IsServerError

func (o *GetOrganizationComponentsForbidden) IsServerError() bool

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

func (*GetOrganizationComponentsForbidden) IsSuccess

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

func (*GetOrganizationComponentsForbidden) String

type GetOrganizationComponentsNotFound

type GetOrganizationComponentsNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetOrganizationComponentsNotFound 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 NewGetOrganizationComponentsNotFound

func NewGetOrganizationComponentsNotFound() *GetOrganizationComponentsNotFound

NewGetOrganizationComponentsNotFound creates a GetOrganizationComponentsNotFound with default headers values

func (*GetOrganizationComponentsNotFound) Code

Code gets the status code for the get organization components not found response

func (*GetOrganizationComponentsNotFound) Error

func (*GetOrganizationComponentsNotFound) GetPayload

func (*GetOrganizationComponentsNotFound) IsClientError

func (o *GetOrganizationComponentsNotFound) IsClientError() bool

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

func (*GetOrganizationComponentsNotFound) IsCode

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

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

func (*GetOrganizationComponentsNotFound) IsRedirect

func (o *GetOrganizationComponentsNotFound) IsRedirect() bool

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

func (*GetOrganizationComponentsNotFound) IsServerError

func (o *GetOrganizationComponentsNotFound) IsServerError() bool

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

func (*GetOrganizationComponentsNotFound) IsSuccess

func (o *GetOrganizationComponentsNotFound) IsSuccess() bool

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

func (*GetOrganizationComponentsNotFound) String

type GetOrganizationComponentsOK

type GetOrganizationComponentsOK struct {
	Payload *GetOrganizationComponentsOKBody
}

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

List of the Components

func NewGetOrganizationComponentsOK

func NewGetOrganizationComponentsOK() *GetOrganizationComponentsOK

NewGetOrganizationComponentsOK creates a GetOrganizationComponentsOK with default headers values

func (*GetOrganizationComponentsOK) Code

func (o *GetOrganizationComponentsOK) Code() int

Code gets the status code for the get organization components o k response

func (*GetOrganizationComponentsOK) Error

func (*GetOrganizationComponentsOK) GetPayload

func (*GetOrganizationComponentsOK) IsClientError

func (o *GetOrganizationComponentsOK) IsClientError() bool

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

func (*GetOrganizationComponentsOK) IsCode

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

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

func (*GetOrganizationComponentsOK) IsRedirect

func (o *GetOrganizationComponentsOK) IsRedirect() bool

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

func (*GetOrganizationComponentsOK) IsServerError

func (o *GetOrganizationComponentsOK) IsServerError() bool

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

func (*GetOrganizationComponentsOK) IsSuccess

func (o *GetOrganizationComponentsOK) IsSuccess() bool

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

func (*GetOrganizationComponentsOK) String

func (o *GetOrganizationComponentsOK) String() string

type GetOrganizationComponentsOKBody

type GetOrganizationComponentsOKBody struct {

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

GetOrganizationComponentsOKBody get organization components o k body swagger:model GetOrganizationComponentsOKBody

func (*GetOrganizationComponentsOKBody) ContextValidate

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

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

func (*GetOrganizationComponentsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetOrganizationComponentsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetOrganizationComponentsOKBody) Validate

Validate validates this get organization components o k body

type GetOrganizationComponentsParams

type GetOrganizationComponentsParams struct {

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

GetOrganizationComponentsParams contains all the parameters to send to the API endpoint

for the get organization components operation.

Typically these are written to a http.Request.

func NewGetOrganizationComponentsParams

func NewGetOrganizationComponentsParams() *GetOrganizationComponentsParams

NewGetOrganizationComponentsParams creates a new GetOrganizationComponentsParams 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 NewGetOrganizationComponentsParamsWithContext

func NewGetOrganizationComponentsParamsWithContext(ctx context.Context) *GetOrganizationComponentsParams

NewGetOrganizationComponentsParamsWithContext creates a new GetOrganizationComponentsParams object with the ability to set a context for a request.

func NewGetOrganizationComponentsParamsWithHTTPClient

func NewGetOrganizationComponentsParamsWithHTTPClient(client *http.Client) *GetOrganizationComponentsParams

NewGetOrganizationComponentsParamsWithHTTPClient creates a new GetOrganizationComponentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationComponentsParamsWithTimeout

func NewGetOrganizationComponentsParamsWithTimeout(timeout time.Duration) *GetOrganizationComponentsParams

NewGetOrganizationComponentsParamsWithTimeout creates a new GetOrganizationComponentsParams object with the ability to set a timeout on a request.

func (*GetOrganizationComponentsParams) SetContext

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

SetContext adds the context to the get organization components params

func (*GetOrganizationComponentsParams) SetDefaults

func (o *GetOrganizationComponentsParams) SetDefaults()

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

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

func (*GetOrganizationComponentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization components params

func (*GetOrganizationComponentsParams) SetOrganizationCanonical

func (o *GetOrganizationComponentsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get organization components params

func (*GetOrganizationComponentsParams) SetTimeout

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

SetTimeout adds the timeout to the get organization components params

func (*GetOrganizationComponentsParams) WithContext

WithContext adds the context to the get organization components params

func (*GetOrganizationComponentsParams) WithDefaults

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

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

func (*GetOrganizationComponentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization components params

func (*GetOrganizationComponentsParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get organization components params

func (*GetOrganizationComponentsParams) WithTimeout

WithTimeout adds the timeout to the get organization components params

func (*GetOrganizationComponentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationComponentsReader

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

GetOrganizationComponentsReader is a Reader for the GetOrganizationComponents structure.

func (*GetOrganizationComponentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationComponentsUnprocessableEntity

type GetOrganizationComponentsUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewGetOrganizationComponentsUnprocessableEntity

func NewGetOrganizationComponentsUnprocessableEntity() *GetOrganizationComponentsUnprocessableEntity

NewGetOrganizationComponentsUnprocessableEntity creates a GetOrganizationComponentsUnprocessableEntity with default headers values

func (*GetOrganizationComponentsUnprocessableEntity) Code

Code gets the status code for the get organization components unprocessable entity response

func (*GetOrganizationComponentsUnprocessableEntity) Error

func (*GetOrganizationComponentsUnprocessableEntity) GetPayload

func (*GetOrganizationComponentsUnprocessableEntity) IsClientError

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

func (*GetOrganizationComponentsUnprocessableEntity) IsCode

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

func (*GetOrganizationComponentsUnprocessableEntity) IsRedirect

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

func (*GetOrganizationComponentsUnprocessableEntity) IsServerError

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

func (*GetOrganizationComponentsUnprocessableEntity) IsSuccess

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

func (*GetOrganizationComponentsUnprocessableEntity) String

type MigrateComponentDefault

type MigrateComponentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

MigrateComponentDefault 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 NewMigrateComponentDefault

func NewMigrateComponentDefault(code int) *MigrateComponentDefault

NewMigrateComponentDefault creates a MigrateComponentDefault with default headers values

func (*MigrateComponentDefault) Code

func (o *MigrateComponentDefault) Code() int

Code gets the status code for the migrate component default response

func (*MigrateComponentDefault) Error

func (o *MigrateComponentDefault) Error() string

func (*MigrateComponentDefault) GetPayload

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

func (*MigrateComponentDefault) IsClientError

func (o *MigrateComponentDefault) IsClientError() bool

IsClientError returns true when this migrate component default response has a 4xx status code

func (*MigrateComponentDefault) IsCode

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

IsCode returns true when this migrate component default response a status code equal to that given

func (*MigrateComponentDefault) IsRedirect

func (o *MigrateComponentDefault) IsRedirect() bool

IsRedirect returns true when this migrate component default response has a 3xx status code

func (*MigrateComponentDefault) IsServerError

func (o *MigrateComponentDefault) IsServerError() bool

IsServerError returns true when this migrate component default response has a 5xx status code

func (*MigrateComponentDefault) IsSuccess

func (o *MigrateComponentDefault) IsSuccess() bool

IsSuccess returns true when this migrate component default response has a 2xx status code

func (*MigrateComponentDefault) String

func (o *MigrateComponentDefault) String() string

type MigrateComponentForbidden

type MigrateComponentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

MigrateComponentForbidden 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 NewMigrateComponentForbidden

func NewMigrateComponentForbidden() *MigrateComponentForbidden

NewMigrateComponentForbidden creates a MigrateComponentForbidden with default headers values

func (*MigrateComponentForbidden) Code

func (o *MigrateComponentForbidden) Code() int

Code gets the status code for the migrate component forbidden response

func (*MigrateComponentForbidden) Error

func (o *MigrateComponentForbidden) Error() string

func (*MigrateComponentForbidden) GetPayload

func (*MigrateComponentForbidden) IsClientError

func (o *MigrateComponentForbidden) IsClientError() bool

IsClientError returns true when this migrate component forbidden response has a 4xx status code

func (*MigrateComponentForbidden) IsCode

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

IsCode returns true when this migrate component forbidden response a status code equal to that given

func (*MigrateComponentForbidden) IsRedirect

func (o *MigrateComponentForbidden) IsRedirect() bool

IsRedirect returns true when this migrate component forbidden response has a 3xx status code

func (*MigrateComponentForbidden) IsServerError

func (o *MigrateComponentForbidden) IsServerError() bool

IsServerError returns true when this migrate component forbidden response has a 5xx status code

func (*MigrateComponentForbidden) IsSuccess

func (o *MigrateComponentForbidden) IsSuccess() bool

IsSuccess returns true when this migrate component forbidden response has a 2xx status code

func (*MigrateComponentForbidden) String

func (o *MigrateComponentForbidden) String() string

type MigrateComponentNotFound

type MigrateComponentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

MigrateComponentNotFound 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 NewMigrateComponentNotFound

func NewMigrateComponentNotFound() *MigrateComponentNotFound

NewMigrateComponentNotFound creates a MigrateComponentNotFound with default headers values

func (*MigrateComponentNotFound) Code

func (o *MigrateComponentNotFound) Code() int

Code gets the status code for the migrate component not found response

func (*MigrateComponentNotFound) Error

func (o *MigrateComponentNotFound) Error() string

func (*MigrateComponentNotFound) GetPayload

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

func (*MigrateComponentNotFound) IsClientError

func (o *MigrateComponentNotFound) IsClientError() bool

IsClientError returns true when this migrate component not found response has a 4xx status code

func (*MigrateComponentNotFound) IsCode

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

IsCode returns true when this migrate component not found response a status code equal to that given

func (*MigrateComponentNotFound) IsRedirect

func (o *MigrateComponentNotFound) IsRedirect() bool

IsRedirect returns true when this migrate component not found response has a 3xx status code

func (*MigrateComponentNotFound) IsServerError

func (o *MigrateComponentNotFound) IsServerError() bool

IsServerError returns true when this migrate component not found response has a 5xx status code

func (*MigrateComponentNotFound) IsSuccess

func (o *MigrateComponentNotFound) IsSuccess() bool

IsSuccess returns true when this migrate component not found response has a 2xx status code

func (*MigrateComponentNotFound) String

func (o *MigrateComponentNotFound) String() string

type MigrateComponentOK

type MigrateComponentOK struct {
	Payload *MigrateComponentOKBody
}

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

Component

func NewMigrateComponentOK

func NewMigrateComponentOK() *MigrateComponentOK

NewMigrateComponentOK creates a MigrateComponentOK with default headers values

func (*MigrateComponentOK) Code

func (o *MigrateComponentOK) Code() int

Code gets the status code for the migrate component o k response

func (*MigrateComponentOK) Error

func (o *MigrateComponentOK) Error() string

func (*MigrateComponentOK) GetPayload

func (o *MigrateComponentOK) GetPayload() *MigrateComponentOKBody

func (*MigrateComponentOK) IsClientError

func (o *MigrateComponentOK) IsClientError() bool

IsClientError returns true when this migrate component o k response has a 4xx status code

func (*MigrateComponentOK) IsCode

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

IsCode returns true when this migrate component o k response a status code equal to that given

func (*MigrateComponentOK) IsRedirect

func (o *MigrateComponentOK) IsRedirect() bool

IsRedirect returns true when this migrate component o k response has a 3xx status code

func (*MigrateComponentOK) IsServerError

func (o *MigrateComponentOK) IsServerError() bool

IsServerError returns true when this migrate component o k response has a 5xx status code

func (*MigrateComponentOK) IsSuccess

func (o *MigrateComponentOK) IsSuccess() bool

IsSuccess returns true when this migrate component o k response has a 2xx status code

func (*MigrateComponentOK) String

func (o *MigrateComponentOK) String() string

type MigrateComponentOKBody

type MigrateComponentOKBody struct {

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

MigrateComponentOKBody migrate component o k body swagger:model MigrateComponentOKBody

func (*MigrateComponentOKBody) ContextValidate

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

ContextValidate validate this migrate component o k body based on the context it is used

func (*MigrateComponentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*MigrateComponentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MigrateComponentOKBody) Validate

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

Validate validates this migrate component o k body

type MigrateComponentParams

type MigrateComponentParams struct {

	/* Body.

	   Component object that needs to be migrated
	*/
	Body *models.MigrateComponent

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

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

MigrateComponentParams contains all the parameters to send to the API endpoint

for the migrate component operation.

Typically these are written to a http.Request.

func NewMigrateComponentParams

func NewMigrateComponentParams() *MigrateComponentParams

NewMigrateComponentParams creates a new MigrateComponentParams 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 NewMigrateComponentParamsWithContext

func NewMigrateComponentParamsWithContext(ctx context.Context) *MigrateComponentParams

NewMigrateComponentParamsWithContext creates a new MigrateComponentParams object with the ability to set a context for a request.

func NewMigrateComponentParamsWithHTTPClient

func NewMigrateComponentParamsWithHTTPClient(client *http.Client) *MigrateComponentParams

NewMigrateComponentParamsWithHTTPClient creates a new MigrateComponentParams object with the ability to set a custom HTTPClient for a request.

func NewMigrateComponentParamsWithTimeout

func NewMigrateComponentParamsWithTimeout(timeout time.Duration) *MigrateComponentParams

NewMigrateComponentParamsWithTimeout creates a new MigrateComponentParams object with the ability to set a timeout on a request.

func (*MigrateComponentParams) SetBody

SetBody adds the body to the migrate component params

func (*MigrateComponentParams) SetComponentCanonical

func (o *MigrateComponentParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the migrate component params

func (*MigrateComponentParams) SetContext

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

SetContext adds the context to the migrate component params

func (*MigrateComponentParams) SetDefaults

func (o *MigrateComponentParams) SetDefaults()

SetDefaults hydrates default values in the migrate component params (not the query body).

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

func (*MigrateComponentParams) SetEnvironmentCanonical

func (o *MigrateComponentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the migrate component params

func (*MigrateComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the migrate component params

func (*MigrateComponentParams) SetOrganizationCanonical

func (o *MigrateComponentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the migrate component params

func (*MigrateComponentParams) SetProjectCanonical

func (o *MigrateComponentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the migrate component params

func (*MigrateComponentParams) SetTimeout

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

SetTimeout adds the timeout to the migrate component params

func (*MigrateComponentParams) WithBody

WithBody adds the body to the migrate component params

func (*MigrateComponentParams) WithComponentCanonical

func (o *MigrateComponentParams) WithComponentCanonical(componentCanonical string) *MigrateComponentParams

WithComponentCanonical adds the componentCanonical to the migrate component params

func (*MigrateComponentParams) WithContext

WithContext adds the context to the migrate component params

func (*MigrateComponentParams) WithDefaults

WithDefaults hydrates default values in the migrate component params (not the query body).

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

func (*MigrateComponentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the migrate component params

func (*MigrateComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the migrate component params

func (*MigrateComponentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the migrate component params

func (*MigrateComponentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the migrate component params

func (*MigrateComponentParams) WithTimeout

WithTimeout adds the timeout to the migrate component params

func (*MigrateComponentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MigrateComponentReader

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

MigrateComponentReader is a Reader for the MigrateComponent structure.

func (*MigrateComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MigrateComponentUnprocessableEntity

type MigrateComponentUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewMigrateComponentUnprocessableEntity

func NewMigrateComponentUnprocessableEntity() *MigrateComponentUnprocessableEntity

NewMigrateComponentUnprocessableEntity creates a MigrateComponentUnprocessableEntity with default headers values

func (*MigrateComponentUnprocessableEntity) Code

Code gets the status code for the migrate component unprocessable entity response

func (*MigrateComponentUnprocessableEntity) Error

func (*MigrateComponentUnprocessableEntity) GetPayload

func (*MigrateComponentUnprocessableEntity) IsClientError

func (o *MigrateComponentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this migrate component unprocessable entity response has a 4xx status code

func (*MigrateComponentUnprocessableEntity) IsCode

IsCode returns true when this migrate component unprocessable entity response a status code equal to that given

func (*MigrateComponentUnprocessableEntity) IsRedirect

func (o *MigrateComponentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this migrate component unprocessable entity response has a 3xx status code

func (*MigrateComponentUnprocessableEntity) IsServerError

func (o *MigrateComponentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this migrate component unprocessable entity response has a 5xx status code

func (*MigrateComponentUnprocessableEntity) IsSuccess

IsSuccess returns true when this migrate component unprocessable entity response has a 2xx status code

func (*MigrateComponentUnprocessableEntity) String

type UpdateComponentDefault

type UpdateComponentDefault struct {

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

	   Format: uint64
	*/
	ContentLength uint64

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

UpdateComponentDefault 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 NewUpdateComponentDefault

func NewUpdateComponentDefault(code int) *UpdateComponentDefault

NewUpdateComponentDefault creates a UpdateComponentDefault with default headers values

func (*UpdateComponentDefault) Code

func (o *UpdateComponentDefault) Code() int

Code gets the status code for the update component default response

func (*UpdateComponentDefault) Error

func (o *UpdateComponentDefault) Error() string

func (*UpdateComponentDefault) GetPayload

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

func (*UpdateComponentDefault) IsClientError

func (o *UpdateComponentDefault) IsClientError() bool

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

func (*UpdateComponentDefault) IsCode

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

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

func (*UpdateComponentDefault) IsRedirect

func (o *UpdateComponentDefault) IsRedirect() bool

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

func (*UpdateComponentDefault) IsServerError

func (o *UpdateComponentDefault) IsServerError() bool

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

func (*UpdateComponentDefault) IsSuccess

func (o *UpdateComponentDefault) IsSuccess() bool

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

func (*UpdateComponentDefault) String

func (o *UpdateComponentDefault) String() string

type UpdateComponentForbidden

type UpdateComponentForbidden struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateComponentForbidden 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 NewUpdateComponentForbidden

func NewUpdateComponentForbidden() *UpdateComponentForbidden

NewUpdateComponentForbidden creates a UpdateComponentForbidden with default headers values

func (*UpdateComponentForbidden) Code

func (o *UpdateComponentForbidden) Code() int

Code gets the status code for the update component forbidden response

func (*UpdateComponentForbidden) Error

func (o *UpdateComponentForbidden) Error() string

func (*UpdateComponentForbidden) GetPayload

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

func (*UpdateComponentForbidden) IsClientError

func (o *UpdateComponentForbidden) IsClientError() bool

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

func (*UpdateComponentForbidden) IsCode

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

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

func (*UpdateComponentForbidden) IsRedirect

func (o *UpdateComponentForbidden) IsRedirect() bool

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

func (*UpdateComponentForbidden) IsServerError

func (o *UpdateComponentForbidden) IsServerError() bool

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

func (*UpdateComponentForbidden) IsSuccess

func (o *UpdateComponentForbidden) IsSuccess() bool

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

func (*UpdateComponentForbidden) String

func (o *UpdateComponentForbidden) String() string

type UpdateComponentNotFound

type UpdateComponentNotFound struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

UpdateComponentNotFound 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 NewUpdateComponentNotFound

func NewUpdateComponentNotFound() *UpdateComponentNotFound

NewUpdateComponentNotFound creates a UpdateComponentNotFound with default headers values

func (*UpdateComponentNotFound) Code

func (o *UpdateComponentNotFound) Code() int

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

func (*UpdateComponentNotFound) Error

func (o *UpdateComponentNotFound) Error() string

func (*UpdateComponentNotFound) GetPayload

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

func (*UpdateComponentNotFound) IsClientError

func (o *UpdateComponentNotFound) IsClientError() bool

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

func (*UpdateComponentNotFound) IsCode

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

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

func (*UpdateComponentNotFound) IsRedirect

func (o *UpdateComponentNotFound) IsRedirect() bool

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

func (*UpdateComponentNotFound) IsServerError

func (o *UpdateComponentNotFound) IsServerError() bool

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

func (*UpdateComponentNotFound) IsSuccess

func (o *UpdateComponentNotFound) IsSuccess() bool

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

func (*UpdateComponentNotFound) String

func (o *UpdateComponentNotFound) String() string

type UpdateComponentOK

type UpdateComponentOK struct {
	Payload *UpdateComponentOKBody
}

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

Component

func NewUpdateComponentOK

func NewUpdateComponentOK() *UpdateComponentOK

NewUpdateComponentOK creates a UpdateComponentOK with default headers values

func (*UpdateComponentOK) Code

func (o *UpdateComponentOK) Code() int

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

func (*UpdateComponentOK) Error

func (o *UpdateComponentOK) Error() string

func (*UpdateComponentOK) GetPayload

func (o *UpdateComponentOK) GetPayload() *UpdateComponentOKBody

func (*UpdateComponentOK) IsClientError

func (o *UpdateComponentOK) IsClientError() bool

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

func (*UpdateComponentOK) IsCode

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

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

func (*UpdateComponentOK) IsRedirect

func (o *UpdateComponentOK) IsRedirect() bool

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

func (*UpdateComponentOK) IsServerError

func (o *UpdateComponentOK) IsServerError() bool

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

func (*UpdateComponentOK) IsSuccess

func (o *UpdateComponentOK) IsSuccess() bool

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

func (*UpdateComponentOK) String

func (o *UpdateComponentOK) String() string

type UpdateComponentOKBody

type UpdateComponentOKBody struct {

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

UpdateComponentOKBody update component o k body swagger:model UpdateComponentOKBody

func (*UpdateComponentOKBody) ContextValidate

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

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

func (*UpdateComponentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateComponentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateComponentOKBody) Validate

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

Validate validates this update component o k body

type UpdateComponentParams

type UpdateComponentParams struct {

	/* Body.

	   Component object that needs to be updated
	*/
	Body *models.UpdateComponent

	/* ComponentCanonical.

	   A canonical of a component.
	*/
	ComponentCanonical string

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

UpdateComponentParams contains all the parameters to send to the API endpoint

for the update component operation.

Typically these are written to a http.Request.

func NewUpdateComponentParams

func NewUpdateComponentParams() *UpdateComponentParams

NewUpdateComponentParams creates a new UpdateComponentParams 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 NewUpdateComponentParamsWithContext

func NewUpdateComponentParamsWithContext(ctx context.Context) *UpdateComponentParams

NewUpdateComponentParamsWithContext creates a new UpdateComponentParams object with the ability to set a context for a request.

func NewUpdateComponentParamsWithHTTPClient

func NewUpdateComponentParamsWithHTTPClient(client *http.Client) *UpdateComponentParams

NewUpdateComponentParamsWithHTTPClient creates a new UpdateComponentParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateComponentParamsWithTimeout

func NewUpdateComponentParamsWithTimeout(timeout time.Duration) *UpdateComponentParams

NewUpdateComponentParamsWithTimeout creates a new UpdateComponentParams object with the ability to set a timeout on a request.

func (*UpdateComponentParams) SetBody

func (o *UpdateComponentParams) SetBody(body *models.UpdateComponent)

SetBody adds the body to the update component params

func (*UpdateComponentParams) SetComponentCanonical

func (o *UpdateComponentParams) SetComponentCanonical(componentCanonical string)

SetComponentCanonical adds the componentCanonical to the update component params

func (*UpdateComponentParams) SetContext

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

SetContext adds the context to the update component params

func (*UpdateComponentParams) SetDefaults

func (o *UpdateComponentParams) SetDefaults()

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

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

func (*UpdateComponentParams) SetEnvironmentCanonical

func (o *UpdateComponentParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the update component params

func (*UpdateComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update component params

func (*UpdateComponentParams) SetOrganizationCanonical

func (o *UpdateComponentParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the update component params

func (*UpdateComponentParams) SetProjectCanonical

func (o *UpdateComponentParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the update component params

func (*UpdateComponentParams) SetTimeout

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

SetTimeout adds the timeout to the update component params

func (*UpdateComponentParams) WithBody

WithBody adds the body to the update component params

func (*UpdateComponentParams) WithComponentCanonical

func (o *UpdateComponentParams) WithComponentCanonical(componentCanonical string) *UpdateComponentParams

WithComponentCanonical adds the componentCanonical to the update component params

func (*UpdateComponentParams) WithContext

WithContext adds the context to the update component params

func (*UpdateComponentParams) WithDefaults

func (o *UpdateComponentParams) WithDefaults() *UpdateComponentParams

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

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

func (*UpdateComponentParams) WithEnvironmentCanonical

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

WithEnvironmentCanonical adds the environmentCanonical to the update component params

func (*UpdateComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update component params

func (*UpdateComponentParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the update component params

func (*UpdateComponentParams) WithProjectCanonical

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

WithProjectCanonical adds the projectCanonical to the update component params

func (*UpdateComponentParams) WithTimeout

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

WithTimeout adds the timeout to the update component params

func (*UpdateComponentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateComponentReader

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

UpdateComponentReader is a Reader for the UpdateComponent structure.

func (*UpdateComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateComponentUnprocessableEntity

type UpdateComponentUnprocessableEntity struct {

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

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

All the custom errors that are generated from the Cycloid API

func NewUpdateComponentUnprocessableEntity

func NewUpdateComponentUnprocessableEntity() *UpdateComponentUnprocessableEntity

NewUpdateComponentUnprocessableEntity creates a UpdateComponentUnprocessableEntity with default headers values

func (*UpdateComponentUnprocessableEntity) Code

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

func (*UpdateComponentUnprocessableEntity) Error

func (*UpdateComponentUnprocessableEntity) GetPayload

func (*UpdateComponentUnprocessableEntity) IsClientError

func (o *UpdateComponentUnprocessableEntity) IsClientError() bool

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

func (*UpdateComponentUnprocessableEntity) IsCode

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

func (*UpdateComponentUnprocessableEntity) IsRedirect

func (o *UpdateComponentUnprocessableEntity) IsRedirect() bool

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

func (*UpdateComponentUnprocessableEntity) IsServerError

func (o *UpdateComponentUnprocessableEntity) IsServerError() bool

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

func (*UpdateComponentUnprocessableEntity) IsSuccess

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

func (*UpdateComponentUnprocessableEntity) String

Jump to

Keyboard shortcuts

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