components

package
v0.0.0-...-f4869d1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for components API

func (*Client) DeleteComponent

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

DeleteComponent deletes a single component

func (*Client) GetComponentByID

func (a *Client) GetComponentByID(params *GetComponentByIDParams, opts ...ClientOption) (*GetComponentByIDOK, error)

GetComponentByID gets a single component

func (*Client) GetComponents

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

GetComponents lists components

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadComponent

func (a *Client) UploadComponent(params *UploadComponentParams, opts ...ClientOption) error

UploadComponent uploads a single component

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteComponent(params *DeleteComponentParams, opts ...ClientOption) (*DeleteComponentNoContent, error)

	GetComponentByID(params *GetComponentByIDParams, opts ...ClientOption) (*GetComponentByIDOK, error)

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

	UploadComponent(params *UploadComponentParams, opts ...ClientOption) 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 components API client.

type DeleteComponentForbidden

type DeleteComponentForbidden struct {
}

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

Insufficient permissions to delete component

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

Component was 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 {
}

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

Component 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) 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 {

	/* ID.

	   ID of the component to delete
	*/
	ID 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) 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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete component params

func (*DeleteComponentParams) SetID

func (o *DeleteComponentParams) SetID(id string)

SetID adds the id 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) 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete component params

func (*DeleteComponentParams) WithID

WithID adds the id 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 {
}

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

Malformed ID

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

type GetComponentByIDForbidden struct {
}

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

Insufficient permissions to get component

func NewGetComponentByIDForbidden

func NewGetComponentByIDForbidden() *GetComponentByIDForbidden

NewGetComponentByIDForbidden creates a GetComponentByIDForbidden with default headers values

func (*GetComponentByIDForbidden) Code

func (o *GetComponentByIDForbidden) Code() int

Code gets the status code for the get component by Id forbidden response

func (*GetComponentByIDForbidden) Error

func (o *GetComponentByIDForbidden) Error() string

func (*GetComponentByIDForbidden) IsClientError

func (o *GetComponentByIDForbidden) IsClientError() bool

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

func (*GetComponentByIDForbidden) IsCode

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

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

func (*GetComponentByIDForbidden) IsRedirect

func (o *GetComponentByIDForbidden) IsRedirect() bool

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

func (*GetComponentByIDForbidden) IsServerError

func (o *GetComponentByIDForbidden) IsServerError() bool

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

func (*GetComponentByIDForbidden) IsSuccess

func (o *GetComponentByIDForbidden) IsSuccess() bool

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

func (*GetComponentByIDForbidden) String

func (o *GetComponentByIDForbidden) String() string

type GetComponentByIDNotFound

type GetComponentByIDNotFound struct {
}

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

Component not found

func NewGetComponentByIDNotFound

func NewGetComponentByIDNotFound() *GetComponentByIDNotFound

NewGetComponentByIDNotFound creates a GetComponentByIDNotFound with default headers values

func (*GetComponentByIDNotFound) Code

func (o *GetComponentByIDNotFound) Code() int

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

func (*GetComponentByIDNotFound) Error

func (o *GetComponentByIDNotFound) Error() string

func (*GetComponentByIDNotFound) IsClientError

func (o *GetComponentByIDNotFound) IsClientError() bool

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

func (*GetComponentByIDNotFound) IsCode

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

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

func (*GetComponentByIDNotFound) IsRedirect

func (o *GetComponentByIDNotFound) IsRedirect() bool

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

func (*GetComponentByIDNotFound) IsServerError

func (o *GetComponentByIDNotFound) IsServerError() bool

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

func (*GetComponentByIDNotFound) IsSuccess

func (o *GetComponentByIDNotFound) IsSuccess() bool

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

func (*GetComponentByIDNotFound) String

func (o *GetComponentByIDNotFound) String() string

type GetComponentByIDOK

type GetComponentByIDOK struct {
	Payload *models.ComponentXO
}

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

successful operation

func NewGetComponentByIDOK

func NewGetComponentByIDOK() *GetComponentByIDOK

NewGetComponentByIDOK creates a GetComponentByIDOK with default headers values

func (*GetComponentByIDOK) Code

func (o *GetComponentByIDOK) Code() int

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

func (*GetComponentByIDOK) Error

func (o *GetComponentByIDOK) Error() string

func (*GetComponentByIDOK) GetPayload

func (o *GetComponentByIDOK) GetPayload() *models.ComponentXO

func (*GetComponentByIDOK) IsClientError

func (o *GetComponentByIDOK) IsClientError() bool

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

func (*GetComponentByIDOK) IsCode

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

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

func (*GetComponentByIDOK) IsRedirect

func (o *GetComponentByIDOK) IsRedirect() bool

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

func (*GetComponentByIDOK) IsServerError

func (o *GetComponentByIDOK) IsServerError() bool

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

func (*GetComponentByIDOK) IsSuccess

func (o *GetComponentByIDOK) IsSuccess() bool

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

func (*GetComponentByIDOK) String

func (o *GetComponentByIDOK) String() string

type GetComponentByIDParams

type GetComponentByIDParams struct {

	/* ID.

	   ID of the component to retrieve
	*/
	ID string

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

GetComponentByIDParams contains all the parameters to send to the API endpoint

for the get component by Id operation.

Typically these are written to a http.Request.

func NewGetComponentByIDParams

func NewGetComponentByIDParams() *GetComponentByIDParams

NewGetComponentByIDParams creates a new GetComponentByIDParams 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 NewGetComponentByIDParamsWithContext

func NewGetComponentByIDParamsWithContext(ctx context.Context) *GetComponentByIDParams

NewGetComponentByIDParamsWithContext creates a new GetComponentByIDParams object with the ability to set a context for a request.

func NewGetComponentByIDParamsWithHTTPClient

func NewGetComponentByIDParamsWithHTTPClient(client *http.Client) *GetComponentByIDParams

NewGetComponentByIDParamsWithHTTPClient creates a new GetComponentByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetComponentByIDParamsWithTimeout

func NewGetComponentByIDParamsWithTimeout(timeout time.Duration) *GetComponentByIDParams

NewGetComponentByIDParamsWithTimeout creates a new GetComponentByIDParams object with the ability to set a timeout on a request.

func (*GetComponentByIDParams) SetContext

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

SetContext adds the context to the get component by Id params

func (*GetComponentByIDParams) SetDefaults

func (o *GetComponentByIDParams) SetDefaults()

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

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

func (*GetComponentByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get component by Id params

func (*GetComponentByIDParams) SetID

func (o *GetComponentByIDParams) SetID(id string)

SetID adds the id to the get component by Id params

func (*GetComponentByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get component by Id params

func (*GetComponentByIDParams) WithContext

WithContext adds the context to the get component by Id params

func (*GetComponentByIDParams) WithDefaults

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

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

func (*GetComponentByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get component by Id params

func (*GetComponentByIDParams) WithID

WithID adds the id to the get component by Id params

func (*GetComponentByIDParams) WithTimeout

WithTimeout adds the timeout to the get component by Id params

func (*GetComponentByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetComponentByIDReader

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

GetComponentByIDReader is a Reader for the GetComponentByID structure.

func (*GetComponentByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetComponentByIDUnprocessableEntity

type GetComponentByIDUnprocessableEntity struct {
}

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

Malformed ID

func NewGetComponentByIDUnprocessableEntity

func NewGetComponentByIDUnprocessableEntity() *GetComponentByIDUnprocessableEntity

NewGetComponentByIDUnprocessableEntity creates a GetComponentByIDUnprocessableEntity with default headers values

func (*GetComponentByIDUnprocessableEntity) Code

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

func (*GetComponentByIDUnprocessableEntity) Error

func (*GetComponentByIDUnprocessableEntity) IsClientError

func (o *GetComponentByIDUnprocessableEntity) IsClientError() bool

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

func (*GetComponentByIDUnprocessableEntity) IsCode

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

func (*GetComponentByIDUnprocessableEntity) IsRedirect

func (o *GetComponentByIDUnprocessableEntity) IsRedirect() bool

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

func (*GetComponentByIDUnprocessableEntity) IsServerError

func (o *GetComponentByIDUnprocessableEntity) IsServerError() bool

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

func (*GetComponentByIDUnprocessableEntity) IsSuccess

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

func (*GetComponentByIDUnprocessableEntity) String

type GetComponentsForbidden

type GetComponentsForbidden struct {
}

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

Insufficient permissions to list components

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

type GetComponentsOK struct {
	Payload *models.PageComponentXO
}

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

successful operation

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() *models.PageComponentXO

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 GetComponentsParams

type GetComponentsParams struct {

	/* ContinuationToken.

	   A token returned by a prior request. If present, the next page of results are returned
	*/
	ContinuationToken *string

	/* Repository.

	   Repository from which you would like to retrieve components
	*/
	Repository 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) SetContinuationToken

func (o *GetComponentsParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken 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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get components params

func (*GetComponentsParams) SetRepository

func (o *GetComponentsParams) SetRepository(repository string)

SetRepository adds the repository 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) WithContinuationToken

func (o *GetComponentsParams) WithContinuationToken(continuationToken *string) *GetComponentsParams

WithContinuationToken adds the continuationToken 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get components params

func (*GetComponentsParams) WithRepository

func (o *GetComponentsParams) WithRepository(repository string) *GetComponentsParams

WithRepository adds the repository 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 {
}

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

Parameter 'repository' is required

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

type UploadComponentForbidden struct {
}

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

Insufficient permissions to upload a component

func NewUploadComponentForbidden

func NewUploadComponentForbidden() *UploadComponentForbidden

NewUploadComponentForbidden creates a UploadComponentForbidden with default headers values

func (*UploadComponentForbidden) Code

func (o *UploadComponentForbidden) Code() int

Code gets the status code for the upload component forbidden response

func (*UploadComponentForbidden) Error

func (o *UploadComponentForbidden) Error() string

func (*UploadComponentForbidden) IsClientError

func (o *UploadComponentForbidden) IsClientError() bool

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

func (*UploadComponentForbidden) IsCode

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

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

func (*UploadComponentForbidden) IsRedirect

func (o *UploadComponentForbidden) IsRedirect() bool

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

func (*UploadComponentForbidden) IsServerError

func (o *UploadComponentForbidden) IsServerError() bool

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

func (*UploadComponentForbidden) IsSuccess

func (o *UploadComponentForbidden) IsSuccess() bool

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

func (*UploadComponentForbidden) String

func (o *UploadComponentForbidden) String() string

type UploadComponentParams

type UploadComponentParams struct {

	/* AptAsset.

	   apt Asset
	*/
	AptAsset runtime.NamedReadCloser

	/* DockerAsset.

	   docker Asset
	*/
	DockerAsset runtime.NamedReadCloser

	/* HelmAsset.

	   helm Asset
	*/
	HelmAsset runtime.NamedReadCloser

	/* Maven2ArtifactID.

	   maven2 Artifact ID
	*/
	Maven2ArtifactID *string

	/* Maven2Asset1.

	   maven2 Asset 1
	*/
	Maven2Asset1 runtime.NamedReadCloser

	/* Maven2Asset1Classifier.

	   maven2 Asset 1 Classifier
	*/
	Maven2Asset1Classifier *string

	/* Maven2Asset1Extension.

	   maven2 Asset 1 Extension
	*/
	Maven2Asset1Extension *string

	/* Maven2Asset10.

	   maven2 Asset 10
	*/
	Maven2Asset10 runtime.NamedReadCloser

	/* Maven2Asset10Classifier.

	   maven2 Asset 10 Classifier
	*/
	Maven2Asset10Classifier *string

	/* Maven2Asset10Extension.

	   maven2 Asset 10 Extension
	*/
	Maven2Asset10Extension *string

	/* Maven2Asset2.

	   maven2 Asset 2
	*/
	Maven2Asset2 runtime.NamedReadCloser

	/* Maven2Asset2Classifier.

	   maven2 Asset 2 Classifier
	*/
	Maven2Asset2Classifier *string

	/* Maven2Asset2Extension.

	   maven2 Asset 2 Extension
	*/
	Maven2Asset2Extension *string

	/* Maven2Asset3.

	   maven2 Asset 3
	*/
	Maven2Asset3 runtime.NamedReadCloser

	/* Maven2Asset3Classifier.

	   maven2 Asset 3 Classifier
	*/
	Maven2Asset3Classifier *string

	/* Maven2Asset3Extension.

	   maven2 Asset 3 Extension
	*/
	Maven2Asset3Extension *string

	/* Maven2Asset4.

	   maven2 Asset 4
	*/
	Maven2Asset4 runtime.NamedReadCloser

	/* Maven2Asset4Classifier.

	   maven2 Asset 4 Classifier
	*/
	Maven2Asset4Classifier *string

	/* Maven2Asset4Extension.

	   maven2 Asset 4 Extension
	*/
	Maven2Asset4Extension *string

	/* Maven2Asset5.

	   maven2 Asset 5
	*/
	Maven2Asset5 runtime.NamedReadCloser

	/* Maven2Asset5Classifier.

	   maven2 Asset 5 Classifier
	*/
	Maven2Asset5Classifier *string

	/* Maven2Asset5Extension.

	   maven2 Asset 5 Extension
	*/
	Maven2Asset5Extension *string

	/* Maven2Asset6.

	   maven2 Asset 6
	*/
	Maven2Asset6 runtime.NamedReadCloser

	/* Maven2Asset6Classifier.

	   maven2 Asset 6 Classifier
	*/
	Maven2Asset6Classifier *string

	/* Maven2Asset6Extension.

	   maven2 Asset 6 Extension
	*/
	Maven2Asset6Extension *string

	/* Maven2Asset7.

	   maven2 Asset 7
	*/
	Maven2Asset7 runtime.NamedReadCloser

	/* Maven2Asset7Classifier.

	   maven2 Asset 7 Classifier
	*/
	Maven2Asset7Classifier *string

	/* Maven2Asset7Extension.

	   maven2 Asset 7 Extension
	*/
	Maven2Asset7Extension *string

	/* Maven2Asset8.

	   maven2 Asset 8
	*/
	Maven2Asset8 runtime.NamedReadCloser

	/* Maven2Asset8Classifier.

	   maven2 Asset 8 Classifier
	*/
	Maven2Asset8Classifier *string

	/* Maven2Asset8Extension.

	   maven2 Asset 8 Extension
	*/
	Maven2Asset8Extension *string

	/* Maven2Asset9.

	   maven2 Asset 9
	*/
	Maven2Asset9 runtime.NamedReadCloser

	/* Maven2Asset9Classifier.

	   maven2 Asset 9 Classifier
	*/
	Maven2Asset9Classifier *string

	/* Maven2Asset9Extension.

	   maven2 Asset 9 Extension
	*/
	Maven2Asset9Extension *string

	/* Maven2GeneratePom.

	   maven2 Generate a POM file with these coordinates
	*/
	Maven2GeneratePom *bool

	/* Maven2GroupID.

	   maven2 Group ID
	*/
	Maven2GroupID *string

	/* Maven2Packaging.

	   maven2 Packaging
	*/
	Maven2Packaging *string

	/* Maven2Version.

	   maven2 Version
	*/
	Maven2Version *string

	/* NpmAsset.

	   npm Asset
	*/
	NpmAsset runtime.NamedReadCloser

	/* NugetAsset.

	   nuget Asset
	*/
	NugetAsset runtime.NamedReadCloser

	/* PypiAsset.

	   pypi Asset
	*/
	PypiAsset runtime.NamedReadCloser

	/* RAsset.

	   r Asset
	*/
	RAsset runtime.NamedReadCloser

	/* RAssetPathID.

	   r Asset  Package Path
	*/
	RAssetPathID *string

	/* RawAsset1.

	   raw Asset 1
	*/
	RawAsset1 runtime.NamedReadCloser

	/* RawAsset1Filename.

	   raw Asset 1 Filename
	*/
	RawAsset1Filename *string

	/* RawAsset2.

	   raw Asset 2
	*/
	RawAsset2 runtime.NamedReadCloser

	/* RawAsset2Filename.

	   raw Asset 2 Filename
	*/
	RawAsset2Filename *string

	/* RawAsset3.

	   raw Asset 3
	*/
	RawAsset3 runtime.NamedReadCloser

	/* RawAsset3Filename.

	   raw Asset 3 Filename
	*/
	RawAsset3Filename *string

	/* RawDirectory.

	   raw Directory
	*/
	RawDirectory *string

	/* Repository.

	   Name of the repository to which you would like to upload the component
	*/
	Repository string

	/* RubygemsAsset.

	   rubygems Asset
	*/
	RubygemsAsset runtime.NamedReadCloser

	/* YumAsset.

	   yum Asset
	*/
	YumAsset runtime.NamedReadCloser

	/* YumAssetFilename.

	   yum Asset  Filename
	*/
	YumAssetFilename *string

	/* YumDirectory.

	   yum Directory
	*/
	YumDirectory *string

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

UploadComponentParams contains all the parameters to send to the API endpoint

for the upload component operation.

Typically these are written to a http.Request.

func NewUploadComponentParams

func NewUploadComponentParams() *UploadComponentParams

NewUploadComponentParams creates a new UploadComponentParams 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 NewUploadComponentParamsWithContext

func NewUploadComponentParamsWithContext(ctx context.Context) *UploadComponentParams

NewUploadComponentParamsWithContext creates a new UploadComponentParams object with the ability to set a context for a request.

func NewUploadComponentParamsWithHTTPClient

func NewUploadComponentParamsWithHTTPClient(client *http.Client) *UploadComponentParams

NewUploadComponentParamsWithHTTPClient creates a new UploadComponentParams object with the ability to set a custom HTTPClient for a request.

func NewUploadComponentParamsWithTimeout

func NewUploadComponentParamsWithTimeout(timeout time.Duration) *UploadComponentParams

NewUploadComponentParamsWithTimeout creates a new UploadComponentParams object with the ability to set a timeout on a request.

func (*UploadComponentParams) SetAptAsset

func (o *UploadComponentParams) SetAptAsset(aptAsset runtime.NamedReadCloser)

SetAptAsset adds the aptAsset to the upload component params

func (*UploadComponentParams) SetContext

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

SetContext adds the context to the upload component params

func (*UploadComponentParams) SetDefaults

func (o *UploadComponentParams) SetDefaults()

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

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

func (*UploadComponentParams) SetDockerAsset

func (o *UploadComponentParams) SetDockerAsset(dockerAsset runtime.NamedReadCloser)

SetDockerAsset adds the dockerAsset to the upload component params

func (*UploadComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload component params

func (*UploadComponentParams) SetHelmAsset

func (o *UploadComponentParams) SetHelmAsset(helmAsset runtime.NamedReadCloser)

SetHelmAsset adds the helmAsset to the upload component params

func (*UploadComponentParams) SetMaven2ArtifactID

func (o *UploadComponentParams) SetMaven2ArtifactID(maven2ArtifactID *string)

SetMaven2ArtifactID adds the maven2ArtifactId to the upload component params

func (*UploadComponentParams) SetMaven2Asset1

func (o *UploadComponentParams) SetMaven2Asset1(maven2Asset1 runtime.NamedReadCloser)

SetMaven2Asset1 adds the maven2Asset1 to the upload component params

func (*UploadComponentParams) SetMaven2Asset10

func (o *UploadComponentParams) SetMaven2Asset10(maven2Asset10 runtime.NamedReadCloser)

SetMaven2Asset10 adds the maven2Asset10 to the upload component params

func (*UploadComponentParams) SetMaven2Asset10Classifier

func (o *UploadComponentParams) SetMaven2Asset10Classifier(maven2Asset10Classifier *string)

SetMaven2Asset10Classifier adds the maven2Asset10Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset10Extension

func (o *UploadComponentParams) SetMaven2Asset10Extension(maven2Asset10Extension *string)

SetMaven2Asset10Extension adds the maven2Asset10Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset1Classifier

func (o *UploadComponentParams) SetMaven2Asset1Classifier(maven2Asset1Classifier *string)

SetMaven2Asset1Classifier adds the maven2Asset1Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset1Extension

func (o *UploadComponentParams) SetMaven2Asset1Extension(maven2Asset1Extension *string)

SetMaven2Asset1Extension adds the maven2Asset1Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset2

func (o *UploadComponentParams) SetMaven2Asset2(maven2Asset2 runtime.NamedReadCloser)

SetMaven2Asset2 adds the maven2Asset2 to the upload component params

func (*UploadComponentParams) SetMaven2Asset2Classifier

func (o *UploadComponentParams) SetMaven2Asset2Classifier(maven2Asset2Classifier *string)

SetMaven2Asset2Classifier adds the maven2Asset2Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset2Extension

func (o *UploadComponentParams) SetMaven2Asset2Extension(maven2Asset2Extension *string)

SetMaven2Asset2Extension adds the maven2Asset2Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset3

func (o *UploadComponentParams) SetMaven2Asset3(maven2Asset3 runtime.NamedReadCloser)

SetMaven2Asset3 adds the maven2Asset3 to the upload component params

func (*UploadComponentParams) SetMaven2Asset3Classifier

func (o *UploadComponentParams) SetMaven2Asset3Classifier(maven2Asset3Classifier *string)

SetMaven2Asset3Classifier adds the maven2Asset3Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset3Extension

func (o *UploadComponentParams) SetMaven2Asset3Extension(maven2Asset3Extension *string)

SetMaven2Asset3Extension adds the maven2Asset3Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset4

func (o *UploadComponentParams) SetMaven2Asset4(maven2Asset4 runtime.NamedReadCloser)

SetMaven2Asset4 adds the maven2Asset4 to the upload component params

func (*UploadComponentParams) SetMaven2Asset4Classifier

func (o *UploadComponentParams) SetMaven2Asset4Classifier(maven2Asset4Classifier *string)

SetMaven2Asset4Classifier adds the maven2Asset4Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset4Extension

func (o *UploadComponentParams) SetMaven2Asset4Extension(maven2Asset4Extension *string)

SetMaven2Asset4Extension adds the maven2Asset4Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset5

func (o *UploadComponentParams) SetMaven2Asset5(maven2Asset5 runtime.NamedReadCloser)

SetMaven2Asset5 adds the maven2Asset5 to the upload component params

func (*UploadComponentParams) SetMaven2Asset5Classifier

func (o *UploadComponentParams) SetMaven2Asset5Classifier(maven2Asset5Classifier *string)

SetMaven2Asset5Classifier adds the maven2Asset5Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset5Extension

func (o *UploadComponentParams) SetMaven2Asset5Extension(maven2Asset5Extension *string)

SetMaven2Asset5Extension adds the maven2Asset5Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset6

func (o *UploadComponentParams) SetMaven2Asset6(maven2Asset6 runtime.NamedReadCloser)

SetMaven2Asset6 adds the maven2Asset6 to the upload component params

func (*UploadComponentParams) SetMaven2Asset6Classifier

func (o *UploadComponentParams) SetMaven2Asset6Classifier(maven2Asset6Classifier *string)

SetMaven2Asset6Classifier adds the maven2Asset6Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset6Extension

func (o *UploadComponentParams) SetMaven2Asset6Extension(maven2Asset6Extension *string)

SetMaven2Asset6Extension adds the maven2Asset6Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset7

func (o *UploadComponentParams) SetMaven2Asset7(maven2Asset7 runtime.NamedReadCloser)

SetMaven2Asset7 adds the maven2Asset7 to the upload component params

func (*UploadComponentParams) SetMaven2Asset7Classifier

func (o *UploadComponentParams) SetMaven2Asset7Classifier(maven2Asset7Classifier *string)

SetMaven2Asset7Classifier adds the maven2Asset7Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset7Extension

func (o *UploadComponentParams) SetMaven2Asset7Extension(maven2Asset7Extension *string)

SetMaven2Asset7Extension adds the maven2Asset7Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset8

func (o *UploadComponentParams) SetMaven2Asset8(maven2Asset8 runtime.NamedReadCloser)

SetMaven2Asset8 adds the maven2Asset8 to the upload component params

func (*UploadComponentParams) SetMaven2Asset8Classifier

func (o *UploadComponentParams) SetMaven2Asset8Classifier(maven2Asset8Classifier *string)

SetMaven2Asset8Classifier adds the maven2Asset8Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset8Extension

func (o *UploadComponentParams) SetMaven2Asset8Extension(maven2Asset8Extension *string)

SetMaven2Asset8Extension adds the maven2Asset8Extension to the upload component params

func (*UploadComponentParams) SetMaven2Asset9

func (o *UploadComponentParams) SetMaven2Asset9(maven2Asset9 runtime.NamedReadCloser)

SetMaven2Asset9 adds the maven2Asset9 to the upload component params

func (*UploadComponentParams) SetMaven2Asset9Classifier

func (o *UploadComponentParams) SetMaven2Asset9Classifier(maven2Asset9Classifier *string)

SetMaven2Asset9Classifier adds the maven2Asset9Classifier to the upload component params

func (*UploadComponentParams) SetMaven2Asset9Extension

func (o *UploadComponentParams) SetMaven2Asset9Extension(maven2Asset9Extension *string)

SetMaven2Asset9Extension adds the maven2Asset9Extension to the upload component params

func (*UploadComponentParams) SetMaven2GeneratePom

func (o *UploadComponentParams) SetMaven2GeneratePom(maven2GeneratePom *bool)

SetMaven2GeneratePom adds the maven2GeneratePom to the upload component params

func (*UploadComponentParams) SetMaven2GroupID

func (o *UploadComponentParams) SetMaven2GroupID(maven2GroupID *string)

SetMaven2GroupID adds the maven2GroupId to the upload component params

func (*UploadComponentParams) SetMaven2Packaging

func (o *UploadComponentParams) SetMaven2Packaging(maven2Packaging *string)

SetMaven2Packaging adds the maven2Packaging to the upload component params

func (*UploadComponentParams) SetMaven2Version

func (o *UploadComponentParams) SetMaven2Version(maven2Version *string)

SetMaven2Version adds the maven2Version to the upload component params

func (*UploadComponentParams) SetNpmAsset

func (o *UploadComponentParams) SetNpmAsset(npmAsset runtime.NamedReadCloser)

SetNpmAsset adds the npmAsset to the upload component params

func (*UploadComponentParams) SetNugetAsset

func (o *UploadComponentParams) SetNugetAsset(nugetAsset runtime.NamedReadCloser)

SetNugetAsset adds the nugetAsset to the upload component params

func (*UploadComponentParams) SetPypiAsset

func (o *UploadComponentParams) SetPypiAsset(pypiAsset runtime.NamedReadCloser)

SetPypiAsset adds the pypiAsset to the upload component params

func (*UploadComponentParams) SetRAsset

func (o *UploadComponentParams) SetRAsset(rAsset runtime.NamedReadCloser)

SetRAsset adds the rAsset to the upload component params

func (*UploadComponentParams) SetRAssetPathID

func (o *UploadComponentParams) SetRAssetPathID(rAssetPathID *string)

SetRAssetPathID adds the rAssetPathId to the upload component params

func (*UploadComponentParams) SetRawAsset1

func (o *UploadComponentParams) SetRawAsset1(rawAsset1 runtime.NamedReadCloser)

SetRawAsset1 adds the rawAsset1 to the upload component params

func (*UploadComponentParams) SetRawAsset1Filename

func (o *UploadComponentParams) SetRawAsset1Filename(rawAsset1Filename *string)

SetRawAsset1Filename adds the rawAsset1Filename to the upload component params

func (*UploadComponentParams) SetRawAsset2

func (o *UploadComponentParams) SetRawAsset2(rawAsset2 runtime.NamedReadCloser)

SetRawAsset2 adds the rawAsset2 to the upload component params

func (*UploadComponentParams) SetRawAsset2Filename

func (o *UploadComponentParams) SetRawAsset2Filename(rawAsset2Filename *string)

SetRawAsset2Filename adds the rawAsset2Filename to the upload component params

func (*UploadComponentParams) SetRawAsset3

func (o *UploadComponentParams) SetRawAsset3(rawAsset3 runtime.NamedReadCloser)

SetRawAsset3 adds the rawAsset3 to the upload component params

func (*UploadComponentParams) SetRawAsset3Filename

func (o *UploadComponentParams) SetRawAsset3Filename(rawAsset3Filename *string)

SetRawAsset3Filename adds the rawAsset3Filename to the upload component params

func (*UploadComponentParams) SetRawDirectory

func (o *UploadComponentParams) SetRawDirectory(rawDirectory *string)

SetRawDirectory adds the rawDirectory to the upload component params

func (*UploadComponentParams) SetRepository

func (o *UploadComponentParams) SetRepository(repository string)

SetRepository adds the repository to the upload component params

func (*UploadComponentParams) SetRubygemsAsset

func (o *UploadComponentParams) SetRubygemsAsset(rubygemsAsset runtime.NamedReadCloser)

SetRubygemsAsset adds the rubygemsAsset to the upload component params

func (*UploadComponentParams) SetTimeout

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

SetTimeout adds the timeout to the upload component params

func (*UploadComponentParams) SetYumAsset

func (o *UploadComponentParams) SetYumAsset(yumAsset runtime.NamedReadCloser)

SetYumAsset adds the yumAsset to the upload component params

func (*UploadComponentParams) SetYumAssetFilename

func (o *UploadComponentParams) SetYumAssetFilename(yumAssetFilename *string)

SetYumAssetFilename adds the yumAssetFilename to the upload component params

func (*UploadComponentParams) SetYumDirectory

func (o *UploadComponentParams) SetYumDirectory(yumDirectory *string)

SetYumDirectory adds the yumDirectory to the upload component params

func (*UploadComponentParams) WithAptAsset

WithAptAsset adds the aptAsset to the upload component params

func (*UploadComponentParams) WithContext

WithContext adds the context to the upload component params

func (*UploadComponentParams) WithDefaults

func (o *UploadComponentParams) WithDefaults() *UploadComponentParams

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

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

func (*UploadComponentParams) WithDockerAsset

func (o *UploadComponentParams) WithDockerAsset(dockerAsset runtime.NamedReadCloser) *UploadComponentParams

WithDockerAsset adds the dockerAsset to the upload component params

func (*UploadComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload component params

func (*UploadComponentParams) WithHelmAsset

WithHelmAsset adds the helmAsset to the upload component params

func (*UploadComponentParams) WithMaven2ArtifactID

func (o *UploadComponentParams) WithMaven2ArtifactID(maven2ArtifactID *string) *UploadComponentParams

WithMaven2ArtifactID adds the maven2ArtifactID to the upload component params

func (*UploadComponentParams) WithMaven2Asset1

func (o *UploadComponentParams) WithMaven2Asset1(maven2Asset1 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset1 adds the maven2Asset1 to the upload component params

func (*UploadComponentParams) WithMaven2Asset10

func (o *UploadComponentParams) WithMaven2Asset10(maven2Asset10 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset10 adds the maven2Asset10 to the upload component params

func (*UploadComponentParams) WithMaven2Asset10Classifier

func (o *UploadComponentParams) WithMaven2Asset10Classifier(maven2Asset10Classifier *string) *UploadComponentParams

WithMaven2Asset10Classifier adds the maven2Asset10Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset10Extension

func (o *UploadComponentParams) WithMaven2Asset10Extension(maven2Asset10Extension *string) *UploadComponentParams

WithMaven2Asset10Extension adds the maven2Asset10Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset1Classifier

func (o *UploadComponentParams) WithMaven2Asset1Classifier(maven2Asset1Classifier *string) *UploadComponentParams

WithMaven2Asset1Classifier adds the maven2Asset1Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset1Extension

func (o *UploadComponentParams) WithMaven2Asset1Extension(maven2Asset1Extension *string) *UploadComponentParams

WithMaven2Asset1Extension adds the maven2Asset1Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset2

func (o *UploadComponentParams) WithMaven2Asset2(maven2Asset2 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset2 adds the maven2Asset2 to the upload component params

func (*UploadComponentParams) WithMaven2Asset2Classifier

func (o *UploadComponentParams) WithMaven2Asset2Classifier(maven2Asset2Classifier *string) *UploadComponentParams

WithMaven2Asset2Classifier adds the maven2Asset2Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset2Extension

func (o *UploadComponentParams) WithMaven2Asset2Extension(maven2Asset2Extension *string) *UploadComponentParams

WithMaven2Asset2Extension adds the maven2Asset2Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset3

func (o *UploadComponentParams) WithMaven2Asset3(maven2Asset3 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset3 adds the maven2Asset3 to the upload component params

func (*UploadComponentParams) WithMaven2Asset3Classifier

func (o *UploadComponentParams) WithMaven2Asset3Classifier(maven2Asset3Classifier *string) *UploadComponentParams

WithMaven2Asset3Classifier adds the maven2Asset3Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset3Extension

func (o *UploadComponentParams) WithMaven2Asset3Extension(maven2Asset3Extension *string) *UploadComponentParams

WithMaven2Asset3Extension adds the maven2Asset3Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset4

func (o *UploadComponentParams) WithMaven2Asset4(maven2Asset4 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset4 adds the maven2Asset4 to the upload component params

func (*UploadComponentParams) WithMaven2Asset4Classifier

func (o *UploadComponentParams) WithMaven2Asset4Classifier(maven2Asset4Classifier *string) *UploadComponentParams

WithMaven2Asset4Classifier adds the maven2Asset4Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset4Extension

func (o *UploadComponentParams) WithMaven2Asset4Extension(maven2Asset4Extension *string) *UploadComponentParams

WithMaven2Asset4Extension adds the maven2Asset4Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset5

func (o *UploadComponentParams) WithMaven2Asset5(maven2Asset5 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset5 adds the maven2Asset5 to the upload component params

func (*UploadComponentParams) WithMaven2Asset5Classifier

func (o *UploadComponentParams) WithMaven2Asset5Classifier(maven2Asset5Classifier *string) *UploadComponentParams

WithMaven2Asset5Classifier adds the maven2Asset5Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset5Extension

func (o *UploadComponentParams) WithMaven2Asset5Extension(maven2Asset5Extension *string) *UploadComponentParams

WithMaven2Asset5Extension adds the maven2Asset5Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset6

func (o *UploadComponentParams) WithMaven2Asset6(maven2Asset6 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset6 adds the maven2Asset6 to the upload component params

func (*UploadComponentParams) WithMaven2Asset6Classifier

func (o *UploadComponentParams) WithMaven2Asset6Classifier(maven2Asset6Classifier *string) *UploadComponentParams

WithMaven2Asset6Classifier adds the maven2Asset6Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset6Extension

func (o *UploadComponentParams) WithMaven2Asset6Extension(maven2Asset6Extension *string) *UploadComponentParams

WithMaven2Asset6Extension adds the maven2Asset6Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset7

func (o *UploadComponentParams) WithMaven2Asset7(maven2Asset7 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset7 adds the maven2Asset7 to the upload component params

func (*UploadComponentParams) WithMaven2Asset7Classifier

func (o *UploadComponentParams) WithMaven2Asset7Classifier(maven2Asset7Classifier *string) *UploadComponentParams

WithMaven2Asset7Classifier adds the maven2Asset7Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset7Extension

func (o *UploadComponentParams) WithMaven2Asset7Extension(maven2Asset7Extension *string) *UploadComponentParams

WithMaven2Asset7Extension adds the maven2Asset7Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset8

func (o *UploadComponentParams) WithMaven2Asset8(maven2Asset8 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset8 adds the maven2Asset8 to the upload component params

func (*UploadComponentParams) WithMaven2Asset8Classifier

func (o *UploadComponentParams) WithMaven2Asset8Classifier(maven2Asset8Classifier *string) *UploadComponentParams

WithMaven2Asset8Classifier adds the maven2Asset8Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset8Extension

func (o *UploadComponentParams) WithMaven2Asset8Extension(maven2Asset8Extension *string) *UploadComponentParams

WithMaven2Asset8Extension adds the maven2Asset8Extension to the upload component params

func (*UploadComponentParams) WithMaven2Asset9

func (o *UploadComponentParams) WithMaven2Asset9(maven2Asset9 runtime.NamedReadCloser) *UploadComponentParams

WithMaven2Asset9 adds the maven2Asset9 to the upload component params

func (*UploadComponentParams) WithMaven2Asset9Classifier

func (o *UploadComponentParams) WithMaven2Asset9Classifier(maven2Asset9Classifier *string) *UploadComponentParams

WithMaven2Asset9Classifier adds the maven2Asset9Classifier to the upload component params

func (*UploadComponentParams) WithMaven2Asset9Extension

func (o *UploadComponentParams) WithMaven2Asset9Extension(maven2Asset9Extension *string) *UploadComponentParams

WithMaven2Asset9Extension adds the maven2Asset9Extension to the upload component params

func (*UploadComponentParams) WithMaven2GeneratePom

func (o *UploadComponentParams) WithMaven2GeneratePom(maven2GeneratePom *bool) *UploadComponentParams

WithMaven2GeneratePom adds the maven2GeneratePom to the upload component params

func (*UploadComponentParams) WithMaven2GroupID

func (o *UploadComponentParams) WithMaven2GroupID(maven2GroupID *string) *UploadComponentParams

WithMaven2GroupID adds the maven2GroupID to the upload component params

func (*UploadComponentParams) WithMaven2Packaging

func (o *UploadComponentParams) WithMaven2Packaging(maven2Packaging *string) *UploadComponentParams

WithMaven2Packaging adds the maven2Packaging to the upload component params

func (*UploadComponentParams) WithMaven2Version

func (o *UploadComponentParams) WithMaven2Version(maven2Version *string) *UploadComponentParams

WithMaven2Version adds the maven2Version to the upload component params

func (*UploadComponentParams) WithNpmAsset

WithNpmAsset adds the npmAsset to the upload component params

func (*UploadComponentParams) WithNugetAsset

func (o *UploadComponentParams) WithNugetAsset(nugetAsset runtime.NamedReadCloser) *UploadComponentParams

WithNugetAsset adds the nugetAsset to the upload component params

func (*UploadComponentParams) WithPypiAsset

WithPypiAsset adds the pypiAsset to the upload component params

func (*UploadComponentParams) WithRAsset

WithRAsset adds the rAsset to the upload component params

func (*UploadComponentParams) WithRAssetPathID

func (o *UploadComponentParams) WithRAssetPathID(rAssetPathID *string) *UploadComponentParams

WithRAssetPathID adds the rAssetPathID to the upload component params

func (*UploadComponentParams) WithRawAsset1

WithRawAsset1 adds the rawAsset1 to the upload component params

func (*UploadComponentParams) WithRawAsset1Filename

func (o *UploadComponentParams) WithRawAsset1Filename(rawAsset1Filename *string) *UploadComponentParams

WithRawAsset1Filename adds the rawAsset1Filename to the upload component params

func (*UploadComponentParams) WithRawAsset2

WithRawAsset2 adds the rawAsset2 to the upload component params

func (*UploadComponentParams) WithRawAsset2Filename

func (o *UploadComponentParams) WithRawAsset2Filename(rawAsset2Filename *string) *UploadComponentParams

WithRawAsset2Filename adds the rawAsset2Filename to the upload component params

func (*UploadComponentParams) WithRawAsset3

WithRawAsset3 adds the rawAsset3 to the upload component params

func (*UploadComponentParams) WithRawAsset3Filename

func (o *UploadComponentParams) WithRawAsset3Filename(rawAsset3Filename *string) *UploadComponentParams

WithRawAsset3Filename adds the rawAsset3Filename to the upload component params

func (*UploadComponentParams) WithRawDirectory

func (o *UploadComponentParams) WithRawDirectory(rawDirectory *string) *UploadComponentParams

WithRawDirectory adds the rawDirectory to the upload component params

func (*UploadComponentParams) WithRepository

func (o *UploadComponentParams) WithRepository(repository string) *UploadComponentParams

WithRepository adds the repository to the upload component params

func (*UploadComponentParams) WithRubygemsAsset

func (o *UploadComponentParams) WithRubygemsAsset(rubygemsAsset runtime.NamedReadCloser) *UploadComponentParams

WithRubygemsAsset adds the rubygemsAsset to the upload component params

func (*UploadComponentParams) WithTimeout

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

WithTimeout adds the timeout to the upload component params

func (*UploadComponentParams) WithYumAsset

WithYumAsset adds the yumAsset to the upload component params

func (*UploadComponentParams) WithYumAssetFilename

func (o *UploadComponentParams) WithYumAssetFilename(yumAssetFilename *string) *UploadComponentParams

WithYumAssetFilename adds the yumAssetFilename to the upload component params

func (*UploadComponentParams) WithYumDirectory

func (o *UploadComponentParams) WithYumDirectory(yumDirectory *string) *UploadComponentParams

WithYumDirectory adds the yumDirectory to the upload component params

func (*UploadComponentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadComponentReader

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

UploadComponentReader is a Reader for the UploadComponent structure.

func (*UploadComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadComponentUnprocessableEntity

type UploadComponentUnprocessableEntity struct {
}

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

Parameter 'repository' is required

func NewUploadComponentUnprocessableEntity

func NewUploadComponentUnprocessableEntity() *UploadComponentUnprocessableEntity

NewUploadComponentUnprocessableEntity creates a UploadComponentUnprocessableEntity with default headers values

func (*UploadComponentUnprocessableEntity) Code

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

func (*UploadComponentUnprocessableEntity) Error

func (*UploadComponentUnprocessableEntity) IsClientError

func (o *UploadComponentUnprocessableEntity) IsClientError() bool

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

func (*UploadComponentUnprocessableEntity) IsCode

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

func (*UploadComponentUnprocessableEntity) IsRedirect

func (o *UploadComponentUnprocessableEntity) IsRedirect() bool

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

func (*UploadComponentUnprocessableEntity) IsServerError

func (o *UploadComponentUnprocessableEntity) IsServerError() bool

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

func (*UploadComponentUnprocessableEntity) IsSuccess

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

func (*UploadComponentUnprocessableEntity) String

Jump to

Keyboard shortcuts

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