organization_service_catalog_sources

package
v1.0.97-rc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for organization service catalog sources API

func New

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

New creates a new organization service catalog sources API client.

func (*Client) CreateServiceCatalogSource

func (a *Client) CreateServiceCatalogSource(params *CreateServiceCatalogSourceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateServiceCatalogSourceOK, error)

CreateServiceCatalogSource Creates a Service catalog source

func (*Client) DeleteServiceCatalogSource

DeleteServiceCatalogSource delete a Service catalog source

func (*Client) GetServiceCatalogSource

func (a *Client) GetServiceCatalogSource(params *GetServiceCatalogSourceParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceCatalogSourceOK, error)

GetServiceCatalogSource Return the Service Catalog Source

func (*Client) GetServiceCatalogSources

func (a *Client) GetServiceCatalogSources(params *GetServiceCatalogSourcesParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceCatalogSourcesOK, error)

GetServiceCatalogSources Return all the private service catalogs

func (*Client) RefreshServiceCatalogSource

func (a *Client) RefreshServiceCatalogSource(params *RefreshServiceCatalogSourceParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshServiceCatalogSourceOK, error)

RefreshServiceCatalogSource Refresh a Service catalog source

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateServiceCatalogSource

func (a *Client) UpdateServiceCatalogSource(params *UpdateServiceCatalogSourceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServiceCatalogSourceOK, error)

UpdateServiceCatalogSource Update a Service catalog source

func (*Client) ValidateServiceCatalogSource

ValidateServiceCatalogSource Validate a Service catalog source

type CreateServiceCatalogSourceDefault

type CreateServiceCatalogSourceDefault struct {

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

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

CreateServiceCatalogSourceDefault handles this case with default header values.

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

func NewCreateServiceCatalogSourceDefault

func NewCreateServiceCatalogSourceDefault(code int) *CreateServiceCatalogSourceDefault

NewCreateServiceCatalogSourceDefault creates a CreateServiceCatalogSourceDefault with default headers values

func (*CreateServiceCatalogSourceDefault) Code

Code gets the status code for the create service catalog source default response

func (*CreateServiceCatalogSourceDefault) Error

func (*CreateServiceCatalogSourceDefault) GetPayload

type CreateServiceCatalogSourceLengthRequired

type CreateServiceCatalogSourceLengthRequired struct {
}

CreateServiceCatalogSourceLengthRequired handles this case with default header values.

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

func NewCreateServiceCatalogSourceLengthRequired

func NewCreateServiceCatalogSourceLengthRequired() *CreateServiceCatalogSourceLengthRequired

NewCreateServiceCatalogSourceLengthRequired creates a CreateServiceCatalogSourceLengthRequired with default headers values

func (*CreateServiceCatalogSourceLengthRequired) Error

type CreateServiceCatalogSourceNotFound

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

	Payload *models.ErrorPayload
}

CreateServiceCatalogSourceNotFound handles this case with default header values.

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

func NewCreateServiceCatalogSourceNotFound

func NewCreateServiceCatalogSourceNotFound() *CreateServiceCatalogSourceNotFound

NewCreateServiceCatalogSourceNotFound creates a CreateServiceCatalogSourceNotFound with default headers values

func (*CreateServiceCatalogSourceNotFound) Error

func (*CreateServiceCatalogSourceNotFound) GetPayload

type CreateServiceCatalogSourceOK

type CreateServiceCatalogSourceOK struct {
	Payload *CreateServiceCatalogSourceOKBody
}

CreateServiceCatalogSourceOK handles this case with default header values.

Success creation

func NewCreateServiceCatalogSourceOK

func NewCreateServiceCatalogSourceOK() *CreateServiceCatalogSourceOK

NewCreateServiceCatalogSourceOK creates a CreateServiceCatalogSourceOK with default headers values

func (*CreateServiceCatalogSourceOK) Error

func (*CreateServiceCatalogSourceOK) GetPayload

type CreateServiceCatalogSourceOKBody

type CreateServiceCatalogSourceOKBody struct {

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

CreateServiceCatalogSourceOKBody create service catalog source o k body swagger:model CreateServiceCatalogSourceOKBody

func (*CreateServiceCatalogSourceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateServiceCatalogSourceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateServiceCatalogSourceOKBody) Validate

Validate validates this create service catalog source o k body

type CreateServiceCatalogSourceParams

type CreateServiceCatalogSourceParams struct {

	/*Body
	  The information of the organization to create.

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

	*/
	OrganizationCanonical string

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

CreateServiceCatalogSourceParams contains all the parameters to send to the API endpoint for the create service catalog source operation typically these are written to a http.Request

func NewCreateServiceCatalogSourceParams

func NewCreateServiceCatalogSourceParams() *CreateServiceCatalogSourceParams

NewCreateServiceCatalogSourceParams creates a new CreateServiceCatalogSourceParams object with the default values initialized.

func NewCreateServiceCatalogSourceParamsWithContext

func NewCreateServiceCatalogSourceParamsWithContext(ctx context.Context) *CreateServiceCatalogSourceParams

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

func NewCreateServiceCatalogSourceParamsWithHTTPClient

func NewCreateServiceCatalogSourceParamsWithHTTPClient(client *http.Client) *CreateServiceCatalogSourceParams

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

func NewCreateServiceCatalogSourceParamsWithTimeout

func NewCreateServiceCatalogSourceParamsWithTimeout(timeout time.Duration) *CreateServiceCatalogSourceParams

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

func (*CreateServiceCatalogSourceParams) SetBody

SetBody adds the body to the create service catalog source params

func (*CreateServiceCatalogSourceParams) SetContext

SetContext adds the context to the create service catalog source params

func (*CreateServiceCatalogSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create service catalog source params

func (*CreateServiceCatalogSourceParams) SetOrganizationCanonical

func (o *CreateServiceCatalogSourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create service catalog source params

func (*CreateServiceCatalogSourceParams) SetTimeout

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

SetTimeout adds the timeout to the create service catalog source params

func (*CreateServiceCatalogSourceParams) WithBody

WithBody adds the body to the create service catalog source params

func (*CreateServiceCatalogSourceParams) WithContext

WithContext adds the context to the create service catalog source params

func (*CreateServiceCatalogSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create service catalog source params

func (*CreateServiceCatalogSourceParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the create service catalog source params

func (*CreateServiceCatalogSourceParams) WithTimeout

WithTimeout adds the timeout to the create service catalog source params

func (*CreateServiceCatalogSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateServiceCatalogSourceReader

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

CreateServiceCatalogSourceReader is a Reader for the CreateServiceCatalogSource structure.

func (*CreateServiceCatalogSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateServiceCatalogSourceUnprocessableEntity

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

	Payload *models.ErrorPayload
}

CreateServiceCatalogSourceUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewCreateServiceCatalogSourceUnprocessableEntity

func NewCreateServiceCatalogSourceUnprocessableEntity() *CreateServiceCatalogSourceUnprocessableEntity

NewCreateServiceCatalogSourceUnprocessableEntity creates a CreateServiceCatalogSourceUnprocessableEntity with default headers values

func (*CreateServiceCatalogSourceUnprocessableEntity) Error

func (*CreateServiceCatalogSourceUnprocessableEntity) GetPayload

type DeleteServiceCatalogSourceDefault

type DeleteServiceCatalogSourceDefault struct {

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

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

DeleteServiceCatalogSourceDefault handles this case with default header values.

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

func NewDeleteServiceCatalogSourceDefault

func NewDeleteServiceCatalogSourceDefault(code int) *DeleteServiceCatalogSourceDefault

NewDeleteServiceCatalogSourceDefault creates a DeleteServiceCatalogSourceDefault with default headers values

func (*DeleteServiceCatalogSourceDefault) Code

Code gets the status code for the delete service catalog source default response

func (*DeleteServiceCatalogSourceDefault) Error

func (*DeleteServiceCatalogSourceDefault) GetPayload

type DeleteServiceCatalogSourceNoContent

type DeleteServiceCatalogSourceNoContent struct {
}

DeleteServiceCatalogSourceNoContent handles this case with default header values.

Organization Service Catalog Sources has been deleted

func NewDeleteServiceCatalogSourceNoContent

func NewDeleteServiceCatalogSourceNoContent() *DeleteServiceCatalogSourceNoContent

NewDeleteServiceCatalogSourceNoContent creates a DeleteServiceCatalogSourceNoContent with default headers values

func (*DeleteServiceCatalogSourceNoContent) Error

type DeleteServiceCatalogSourceParams

type DeleteServiceCatalogSourceParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

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

	*/
	ServiceCatalogSourceCanonical string

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

DeleteServiceCatalogSourceParams contains all the parameters to send to the API endpoint for the delete service catalog source operation typically these are written to a http.Request

func NewDeleteServiceCatalogSourceParams

func NewDeleteServiceCatalogSourceParams() *DeleteServiceCatalogSourceParams

NewDeleteServiceCatalogSourceParams creates a new DeleteServiceCatalogSourceParams object with the default values initialized.

func NewDeleteServiceCatalogSourceParamsWithContext

func NewDeleteServiceCatalogSourceParamsWithContext(ctx context.Context) *DeleteServiceCatalogSourceParams

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

func NewDeleteServiceCatalogSourceParamsWithHTTPClient

func NewDeleteServiceCatalogSourceParamsWithHTTPClient(client *http.Client) *DeleteServiceCatalogSourceParams

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

func NewDeleteServiceCatalogSourceParamsWithTimeout

func NewDeleteServiceCatalogSourceParamsWithTimeout(timeout time.Duration) *DeleteServiceCatalogSourceParams

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

func (*DeleteServiceCatalogSourceParams) SetContext

SetContext adds the context to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) SetOrganizationCanonical

func (o *DeleteServiceCatalogSourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) SetServiceCatalogSourceCanonical added in v1.0.58

func (o *DeleteServiceCatalogSourceParams) SetServiceCatalogSourceCanonical(serviceCatalogSourceCanonical string)

SetServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) SetTimeout

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

SetTimeout adds the timeout to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) WithContext

WithContext adds the context to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) WithServiceCatalogSourceCanonical added in v1.0.58

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

WithServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) WithTimeout

WithTimeout adds the timeout to the delete service catalog source params

func (*DeleteServiceCatalogSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceCatalogSourceReader

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

DeleteServiceCatalogSourceReader is a Reader for the DeleteServiceCatalogSource structure.

func (*DeleteServiceCatalogSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceCatalogSourceDefault

type GetServiceCatalogSourceDefault struct {

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

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

GetServiceCatalogSourceDefault handles this case with default header values.

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

func NewGetServiceCatalogSourceDefault

func NewGetServiceCatalogSourceDefault(code int) *GetServiceCatalogSourceDefault

NewGetServiceCatalogSourceDefault creates a GetServiceCatalogSourceDefault with default headers values

func (*GetServiceCatalogSourceDefault) Code

Code gets the status code for the get service catalog source default response

func (*GetServiceCatalogSourceDefault) Error

func (*GetServiceCatalogSourceDefault) GetPayload

type GetServiceCatalogSourceForbidden

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

	Payload *models.ErrorPayload
}

GetServiceCatalogSourceForbidden handles this case with default header values.

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

func NewGetServiceCatalogSourceForbidden

func NewGetServiceCatalogSourceForbidden() *GetServiceCatalogSourceForbidden

NewGetServiceCatalogSourceForbidden creates a GetServiceCatalogSourceForbidden with default headers values

func (*GetServiceCatalogSourceForbidden) Error

func (*GetServiceCatalogSourceForbidden) GetPayload

type GetServiceCatalogSourceOK

type GetServiceCatalogSourceOK struct {
	Payload *GetServiceCatalogSourceOKBody
}

GetServiceCatalogSourceOK handles this case with default header values.

Organization Service Catalog Sources.

func NewGetServiceCatalogSourceOK

func NewGetServiceCatalogSourceOK() *GetServiceCatalogSourceOK

NewGetServiceCatalogSourceOK creates a GetServiceCatalogSourceOK with default headers values

func (*GetServiceCatalogSourceOK) Error

func (o *GetServiceCatalogSourceOK) Error() string

func (*GetServiceCatalogSourceOK) GetPayload

type GetServiceCatalogSourceOKBody

type GetServiceCatalogSourceOKBody struct {

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

GetServiceCatalogSourceOKBody get service catalog source o k body swagger:model GetServiceCatalogSourceOKBody

func (*GetServiceCatalogSourceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceCatalogSourceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceCatalogSourceOKBody) Validate

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

Validate validates this get service catalog source o k body

type GetServiceCatalogSourceParams

type GetServiceCatalogSourceParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

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

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

	*/
	PageSize *uint32
	/*ServiceCatalogSourceCanonical
	  Organization Service Catalog Sources canonical

	*/
	ServiceCatalogSourceCanonical string

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

GetServiceCatalogSourceParams contains all the parameters to send to the API endpoint for the get service catalog source operation typically these are written to a http.Request

func NewGetServiceCatalogSourceParams

func NewGetServiceCatalogSourceParams() *GetServiceCatalogSourceParams

NewGetServiceCatalogSourceParams creates a new GetServiceCatalogSourceParams object with the default values initialized.

func NewGetServiceCatalogSourceParamsWithContext

func NewGetServiceCatalogSourceParamsWithContext(ctx context.Context) *GetServiceCatalogSourceParams

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

func NewGetServiceCatalogSourceParamsWithHTTPClient

func NewGetServiceCatalogSourceParamsWithHTTPClient(client *http.Client) *GetServiceCatalogSourceParams

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

func NewGetServiceCatalogSourceParamsWithTimeout

func NewGetServiceCatalogSourceParamsWithTimeout(timeout time.Duration) *GetServiceCatalogSourceParams

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

func (*GetServiceCatalogSourceParams) SetContext

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

SetContext adds the context to the get service catalog source params

func (*GetServiceCatalogSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service catalog source params

func (*GetServiceCatalogSourceParams) SetOrganizationCanonical

func (o *GetServiceCatalogSourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get service catalog source params

func (*GetServiceCatalogSourceParams) SetPageIndex

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

SetPageIndex adds the pageIndex to the get service catalog source params

func (*GetServiceCatalogSourceParams) SetPageSize

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

SetPageSize adds the pageSize to the get service catalog source params

func (*GetServiceCatalogSourceParams) SetServiceCatalogSourceCanonical added in v1.0.58

func (o *GetServiceCatalogSourceParams) SetServiceCatalogSourceCanonical(serviceCatalogSourceCanonical string)

SetServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the get service catalog source params

func (*GetServiceCatalogSourceParams) SetTimeout

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

SetTimeout adds the timeout to the get service catalog source params

func (*GetServiceCatalogSourceParams) WithContext

WithContext adds the context to the get service catalog source params

func (*GetServiceCatalogSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get service catalog source params

func (*GetServiceCatalogSourceParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get service catalog source params

func (*GetServiceCatalogSourceParams) WithPageIndex

WithPageIndex adds the pageIndex to the get service catalog source params

func (*GetServiceCatalogSourceParams) WithPageSize

WithPageSize adds the pageSize to the get service catalog source params

func (*GetServiceCatalogSourceParams) WithServiceCatalogSourceCanonical added in v1.0.58

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

WithServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the get service catalog source params

func (*GetServiceCatalogSourceParams) WithTimeout

WithTimeout adds the timeout to the get service catalog source params

func (*GetServiceCatalogSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceCatalogSourceReader

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

GetServiceCatalogSourceReader is a Reader for the GetServiceCatalogSource structure.

func (*GetServiceCatalogSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceCatalogSourceUnprocessableEntity

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

	Payload *models.ErrorPayload
}

GetServiceCatalogSourceUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetServiceCatalogSourceUnprocessableEntity

func NewGetServiceCatalogSourceUnprocessableEntity() *GetServiceCatalogSourceUnprocessableEntity

NewGetServiceCatalogSourceUnprocessableEntity creates a GetServiceCatalogSourceUnprocessableEntity with default headers values

func (*GetServiceCatalogSourceUnprocessableEntity) Error

func (*GetServiceCatalogSourceUnprocessableEntity) GetPayload

type GetServiceCatalogSourcesDefault

type GetServiceCatalogSourcesDefault struct {

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

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

GetServiceCatalogSourcesDefault handles this case with default header values.

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

func NewGetServiceCatalogSourcesDefault

func NewGetServiceCatalogSourcesDefault(code int) *GetServiceCatalogSourcesDefault

NewGetServiceCatalogSourcesDefault creates a GetServiceCatalogSourcesDefault with default headers values

func (*GetServiceCatalogSourcesDefault) Code

Code gets the status code for the get service catalog sources default response

func (*GetServiceCatalogSourcesDefault) Error

func (*GetServiceCatalogSourcesDefault) GetPayload

type GetServiceCatalogSourcesForbidden

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

	Payload *models.ErrorPayload
}

GetServiceCatalogSourcesForbidden handles this case with default header values.

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

func NewGetServiceCatalogSourcesForbidden

func NewGetServiceCatalogSourcesForbidden() *GetServiceCatalogSourcesForbidden

NewGetServiceCatalogSourcesForbidden creates a GetServiceCatalogSourcesForbidden with default headers values

func (*GetServiceCatalogSourcesForbidden) Error

func (*GetServiceCatalogSourcesForbidden) GetPayload

type GetServiceCatalogSourcesOK

type GetServiceCatalogSourcesOK struct {
	Payload *GetServiceCatalogSourcesOKBody
}

GetServiceCatalogSourcesOK handles this case with default header values.

List of the private service catalogs.

func NewGetServiceCatalogSourcesOK

func NewGetServiceCatalogSourcesOK() *GetServiceCatalogSourcesOK

NewGetServiceCatalogSourcesOK creates a GetServiceCatalogSourcesOK with default headers values

func (*GetServiceCatalogSourcesOK) Error

func (*GetServiceCatalogSourcesOK) GetPayload

type GetServiceCatalogSourcesOKBody

type GetServiceCatalogSourcesOKBody struct {

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

GetServiceCatalogSourcesOKBody get service catalog sources o k body swagger:model GetServiceCatalogSourcesOKBody

func (*GetServiceCatalogSourcesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceCatalogSourcesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceCatalogSourcesOKBody) Validate

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

Validate validates this get service catalog sources o k body

type GetServiceCatalogSourcesParams

type GetServiceCatalogSourcesParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

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

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

	*/
	PageSize *uint32

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

GetServiceCatalogSourcesParams contains all the parameters to send to the API endpoint for the get service catalog sources operation typically these are written to a http.Request

func NewGetServiceCatalogSourcesParams

func NewGetServiceCatalogSourcesParams() *GetServiceCatalogSourcesParams

NewGetServiceCatalogSourcesParams creates a new GetServiceCatalogSourcesParams object with the default values initialized.

func NewGetServiceCatalogSourcesParamsWithContext

func NewGetServiceCatalogSourcesParamsWithContext(ctx context.Context) *GetServiceCatalogSourcesParams

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

func NewGetServiceCatalogSourcesParamsWithHTTPClient

func NewGetServiceCatalogSourcesParamsWithHTTPClient(client *http.Client) *GetServiceCatalogSourcesParams

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

func NewGetServiceCatalogSourcesParamsWithTimeout

func NewGetServiceCatalogSourcesParamsWithTimeout(timeout time.Duration) *GetServiceCatalogSourcesParams

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

func (*GetServiceCatalogSourcesParams) SetContext

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

SetContext adds the context to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) SetOrganizationCanonical

func (o *GetServiceCatalogSourcesParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) SetPageIndex

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

SetPageIndex adds the pageIndex to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) SetPageSize

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

SetPageSize adds the pageSize to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) WithContext

WithContext adds the context to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) WithPageIndex

WithPageIndex adds the pageIndex to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) WithPageSize

WithPageSize adds the pageSize to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) WithTimeout

WithTimeout adds the timeout to the get service catalog sources params

func (*GetServiceCatalogSourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceCatalogSourcesReader

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

GetServiceCatalogSourcesReader is a Reader for the GetServiceCatalogSources structure.

func (*GetServiceCatalogSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServiceCatalogSourcesUnprocessableEntity

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

	Payload *models.ErrorPayload
}

GetServiceCatalogSourcesUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetServiceCatalogSourcesUnprocessableEntity

func NewGetServiceCatalogSourcesUnprocessableEntity() *GetServiceCatalogSourcesUnprocessableEntity

NewGetServiceCatalogSourcesUnprocessableEntity creates a GetServiceCatalogSourcesUnprocessableEntity with default headers values

func (*GetServiceCatalogSourcesUnprocessableEntity) Error

func (*GetServiceCatalogSourcesUnprocessableEntity) GetPayload

type RefreshServiceCatalogSourceDefault

type RefreshServiceCatalogSourceDefault struct {

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

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

RefreshServiceCatalogSourceDefault handles this case with default header values.

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

func NewRefreshServiceCatalogSourceDefault

func NewRefreshServiceCatalogSourceDefault(code int) *RefreshServiceCatalogSourceDefault

NewRefreshServiceCatalogSourceDefault creates a RefreshServiceCatalogSourceDefault with default headers values

func (*RefreshServiceCatalogSourceDefault) Code

Code gets the status code for the refresh service catalog source default response

func (*RefreshServiceCatalogSourceDefault) Error

func (*RefreshServiceCatalogSourceDefault) GetPayload

type RefreshServiceCatalogSourceLengthRequired

type RefreshServiceCatalogSourceLengthRequired struct {
}

RefreshServiceCatalogSourceLengthRequired handles this case with default header values.

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

func NewRefreshServiceCatalogSourceLengthRequired

func NewRefreshServiceCatalogSourceLengthRequired() *RefreshServiceCatalogSourceLengthRequired

NewRefreshServiceCatalogSourceLengthRequired creates a RefreshServiceCatalogSourceLengthRequired with default headers values

func (*RefreshServiceCatalogSourceLengthRequired) Error

type RefreshServiceCatalogSourceNotFound

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

	Payload *models.ErrorPayload
}

RefreshServiceCatalogSourceNotFound handles this case with default header values.

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

func NewRefreshServiceCatalogSourceNotFound

func NewRefreshServiceCatalogSourceNotFound() *RefreshServiceCatalogSourceNotFound

NewRefreshServiceCatalogSourceNotFound creates a RefreshServiceCatalogSourceNotFound with default headers values

func (*RefreshServiceCatalogSourceNotFound) Error

func (*RefreshServiceCatalogSourceNotFound) GetPayload

type RefreshServiceCatalogSourceOK

type RefreshServiceCatalogSourceOK struct {
	Payload *RefreshServiceCatalogSourceOKBody
}

RefreshServiceCatalogSourceOK handles this case with default header values.

Success refresh

func NewRefreshServiceCatalogSourceOK

func NewRefreshServiceCatalogSourceOK() *RefreshServiceCatalogSourceOK

NewRefreshServiceCatalogSourceOK creates a RefreshServiceCatalogSourceOK with default headers values

func (*RefreshServiceCatalogSourceOK) Error

func (*RefreshServiceCatalogSourceOK) GetPayload

type RefreshServiceCatalogSourceOKBody

type RefreshServiceCatalogSourceOKBody struct {

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

RefreshServiceCatalogSourceOKBody refresh service catalog source o k body swagger:model RefreshServiceCatalogSourceOKBody

func (*RefreshServiceCatalogSourceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RefreshServiceCatalogSourceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RefreshServiceCatalogSourceOKBody) Validate

Validate validates this refresh service catalog source o k body

type RefreshServiceCatalogSourceParams

type RefreshServiceCatalogSourceParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

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

	*/
	ServiceCatalogSourceCanonical string

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

RefreshServiceCatalogSourceParams contains all the parameters to send to the API endpoint for the refresh service catalog source operation typically these are written to a http.Request

func NewRefreshServiceCatalogSourceParams

func NewRefreshServiceCatalogSourceParams() *RefreshServiceCatalogSourceParams

NewRefreshServiceCatalogSourceParams creates a new RefreshServiceCatalogSourceParams object with the default values initialized.

func NewRefreshServiceCatalogSourceParamsWithContext

func NewRefreshServiceCatalogSourceParamsWithContext(ctx context.Context) *RefreshServiceCatalogSourceParams

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

func NewRefreshServiceCatalogSourceParamsWithHTTPClient

func NewRefreshServiceCatalogSourceParamsWithHTTPClient(client *http.Client) *RefreshServiceCatalogSourceParams

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

func NewRefreshServiceCatalogSourceParamsWithTimeout

func NewRefreshServiceCatalogSourceParamsWithTimeout(timeout time.Duration) *RefreshServiceCatalogSourceParams

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

func (*RefreshServiceCatalogSourceParams) SetContext

SetContext adds the context to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) SetOrganizationCanonical

func (o *RefreshServiceCatalogSourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) SetServiceCatalogSourceCanonical added in v1.0.58

func (o *RefreshServiceCatalogSourceParams) SetServiceCatalogSourceCanonical(serviceCatalogSourceCanonical string)

SetServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) SetTimeout

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

SetTimeout adds the timeout to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) WithContext

WithContext adds the context to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) WithServiceCatalogSourceCanonical added in v1.0.58

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

WithServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) WithTimeout

WithTimeout adds the timeout to the refresh service catalog source params

func (*RefreshServiceCatalogSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefreshServiceCatalogSourceReader

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

RefreshServiceCatalogSourceReader is a Reader for the RefreshServiceCatalogSource structure.

func (*RefreshServiceCatalogSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefreshServiceCatalogSourceUnprocessableEntity

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

	Payload *models.ErrorPayload
}

RefreshServiceCatalogSourceUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewRefreshServiceCatalogSourceUnprocessableEntity

func NewRefreshServiceCatalogSourceUnprocessableEntity() *RefreshServiceCatalogSourceUnprocessableEntity

NewRefreshServiceCatalogSourceUnprocessableEntity creates a RefreshServiceCatalogSourceUnprocessableEntity with default headers values

func (*RefreshServiceCatalogSourceUnprocessableEntity) Error

func (*RefreshServiceCatalogSourceUnprocessableEntity) GetPayload

type UpdateServiceCatalogSourceDefault

type UpdateServiceCatalogSourceDefault struct {

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

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

UpdateServiceCatalogSourceDefault handles this case with default header values.

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

func NewUpdateServiceCatalogSourceDefault

func NewUpdateServiceCatalogSourceDefault(code int) *UpdateServiceCatalogSourceDefault

NewUpdateServiceCatalogSourceDefault creates a UpdateServiceCatalogSourceDefault with default headers values

func (*UpdateServiceCatalogSourceDefault) Code

Code gets the status code for the update service catalog source default response

func (*UpdateServiceCatalogSourceDefault) Error

func (*UpdateServiceCatalogSourceDefault) GetPayload

type UpdateServiceCatalogSourceLengthRequired

type UpdateServiceCatalogSourceLengthRequired struct {
}

UpdateServiceCatalogSourceLengthRequired handles this case with default header values.

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

func NewUpdateServiceCatalogSourceLengthRequired

func NewUpdateServiceCatalogSourceLengthRequired() *UpdateServiceCatalogSourceLengthRequired

NewUpdateServiceCatalogSourceLengthRequired creates a UpdateServiceCatalogSourceLengthRequired with default headers values

func (*UpdateServiceCatalogSourceLengthRequired) Error

type UpdateServiceCatalogSourceNotFound

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

	Payload *models.ErrorPayload
}

UpdateServiceCatalogSourceNotFound handles this case with default header values.

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

func NewUpdateServiceCatalogSourceNotFound

func NewUpdateServiceCatalogSourceNotFound() *UpdateServiceCatalogSourceNotFound

NewUpdateServiceCatalogSourceNotFound creates a UpdateServiceCatalogSourceNotFound with default headers values

func (*UpdateServiceCatalogSourceNotFound) Error

func (*UpdateServiceCatalogSourceNotFound) GetPayload

type UpdateServiceCatalogSourceOK

type UpdateServiceCatalogSourceOK struct {
	Payload *UpdateServiceCatalogSourceOKBody
}

UpdateServiceCatalogSourceOK handles this case with default header values.

Success update

func NewUpdateServiceCatalogSourceOK

func NewUpdateServiceCatalogSourceOK() *UpdateServiceCatalogSourceOK

NewUpdateServiceCatalogSourceOK creates a UpdateServiceCatalogSourceOK with default headers values

func (*UpdateServiceCatalogSourceOK) Error

func (*UpdateServiceCatalogSourceOK) GetPayload

type UpdateServiceCatalogSourceOKBody

type UpdateServiceCatalogSourceOKBody struct {

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

UpdateServiceCatalogSourceOKBody update service catalog source o k body swagger:model UpdateServiceCatalogSourceOKBody

func (*UpdateServiceCatalogSourceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateServiceCatalogSourceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateServiceCatalogSourceOKBody) Validate

Validate validates this update service catalog source o k body

type UpdateServiceCatalogSourceParams

type UpdateServiceCatalogSourceParams struct {

	/*Body
	  The information of the organization to create.

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

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

	*/
	ServiceCatalogSourceCanonical string

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

UpdateServiceCatalogSourceParams contains all the parameters to send to the API endpoint for the update service catalog source operation typically these are written to a http.Request

func NewUpdateServiceCatalogSourceParams

func NewUpdateServiceCatalogSourceParams() *UpdateServiceCatalogSourceParams

NewUpdateServiceCatalogSourceParams creates a new UpdateServiceCatalogSourceParams object with the default values initialized.

func NewUpdateServiceCatalogSourceParamsWithContext

func NewUpdateServiceCatalogSourceParamsWithContext(ctx context.Context) *UpdateServiceCatalogSourceParams

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

func NewUpdateServiceCatalogSourceParamsWithHTTPClient

func NewUpdateServiceCatalogSourceParamsWithHTTPClient(client *http.Client) *UpdateServiceCatalogSourceParams

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

func NewUpdateServiceCatalogSourceParamsWithTimeout

func NewUpdateServiceCatalogSourceParamsWithTimeout(timeout time.Duration) *UpdateServiceCatalogSourceParams

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

func (*UpdateServiceCatalogSourceParams) SetBody

SetBody adds the body to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) SetContext

SetContext adds the context to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) SetOrganizationCanonical

func (o *UpdateServiceCatalogSourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) SetServiceCatalogSourceCanonical added in v1.0.58

func (o *UpdateServiceCatalogSourceParams) SetServiceCatalogSourceCanonical(serviceCatalogSourceCanonical string)

SetServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) SetTimeout

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

SetTimeout adds the timeout to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) WithBody

WithBody adds the body to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) WithContext

WithContext adds the context to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) WithServiceCatalogSourceCanonical added in v1.0.58

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

WithServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) WithTimeout

WithTimeout adds the timeout to the update service catalog source params

func (*UpdateServiceCatalogSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServiceCatalogSourceReader

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

UpdateServiceCatalogSourceReader is a Reader for the UpdateServiceCatalogSource structure.

func (*UpdateServiceCatalogSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateServiceCatalogSourceDefault

type ValidateServiceCatalogSourceDefault struct {

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

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

ValidateServiceCatalogSourceDefault handles this case with default header values.

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

func NewValidateServiceCatalogSourceDefault

func NewValidateServiceCatalogSourceDefault(code int) *ValidateServiceCatalogSourceDefault

NewValidateServiceCatalogSourceDefault creates a ValidateServiceCatalogSourceDefault with default headers values

func (*ValidateServiceCatalogSourceDefault) Code

Code gets the status code for the validate service catalog source default response

func (*ValidateServiceCatalogSourceDefault) Error

func (*ValidateServiceCatalogSourceDefault) GetPayload

type ValidateServiceCatalogSourceForbidden

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

	Payload *models.ErrorPayload
}

ValidateServiceCatalogSourceForbidden handles this case with default header values.

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

func NewValidateServiceCatalogSourceForbidden

func NewValidateServiceCatalogSourceForbidden() *ValidateServiceCatalogSourceForbidden

NewValidateServiceCatalogSourceForbidden creates a ValidateServiceCatalogSourceForbidden with default headers values

func (*ValidateServiceCatalogSourceForbidden) Error

func (*ValidateServiceCatalogSourceForbidden) GetPayload

type ValidateServiceCatalogSourceLengthRequired

type ValidateServiceCatalogSourceLengthRequired struct {
}

ValidateServiceCatalogSourceLengthRequired handles this case with default header values.

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

func NewValidateServiceCatalogSourceLengthRequired

func NewValidateServiceCatalogSourceLengthRequired() *ValidateServiceCatalogSourceLengthRequired

NewValidateServiceCatalogSourceLengthRequired creates a ValidateServiceCatalogSourceLengthRequired with default headers values

func (*ValidateServiceCatalogSourceLengthRequired) Error

type ValidateServiceCatalogSourceNoContent

type ValidateServiceCatalogSourceNoContent struct {
}

ValidateServiceCatalogSourceNoContent handles this case with default header values.

The SCS has been validated

func NewValidateServiceCatalogSourceNoContent

func NewValidateServiceCatalogSourceNoContent() *ValidateServiceCatalogSourceNoContent

NewValidateServiceCatalogSourceNoContent creates a ValidateServiceCatalogSourceNoContent with default headers values

func (*ValidateServiceCatalogSourceNoContent) Error

type ValidateServiceCatalogSourceNotFound

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

	Payload *models.ErrorPayload
}

ValidateServiceCatalogSourceNotFound handles this case with default header values.

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

func NewValidateServiceCatalogSourceNotFound

func NewValidateServiceCatalogSourceNotFound() *ValidateServiceCatalogSourceNotFound

NewValidateServiceCatalogSourceNotFound creates a ValidateServiceCatalogSourceNotFound with default headers values

func (*ValidateServiceCatalogSourceNotFound) Error

func (*ValidateServiceCatalogSourceNotFound) GetPayload

type ValidateServiceCatalogSourceParams

type ValidateServiceCatalogSourceParams struct {

	/*OrganizationCanonical
	  A canonical of an organization.

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

	*/
	ServiceCatalogSourceCanonical string

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

ValidateServiceCatalogSourceParams contains all the parameters to send to the API endpoint for the validate service catalog source operation typically these are written to a http.Request

func NewValidateServiceCatalogSourceParams

func NewValidateServiceCatalogSourceParams() *ValidateServiceCatalogSourceParams

NewValidateServiceCatalogSourceParams creates a new ValidateServiceCatalogSourceParams object with the default values initialized.

func NewValidateServiceCatalogSourceParamsWithContext

func NewValidateServiceCatalogSourceParamsWithContext(ctx context.Context) *ValidateServiceCatalogSourceParams

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

func NewValidateServiceCatalogSourceParamsWithHTTPClient

func NewValidateServiceCatalogSourceParamsWithHTTPClient(client *http.Client) *ValidateServiceCatalogSourceParams

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

func NewValidateServiceCatalogSourceParamsWithTimeout

func NewValidateServiceCatalogSourceParamsWithTimeout(timeout time.Duration) *ValidateServiceCatalogSourceParams

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

func (*ValidateServiceCatalogSourceParams) SetContext

SetContext adds the context to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) SetOrganizationCanonical

func (o *ValidateServiceCatalogSourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) SetServiceCatalogSourceCanonical added in v1.0.58

func (o *ValidateServiceCatalogSourceParams) SetServiceCatalogSourceCanonical(serviceCatalogSourceCanonical string)

SetServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) SetTimeout

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

SetTimeout adds the timeout to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) WithContext

WithContext adds the context to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) WithOrganizationCanonical

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

WithOrganizationCanonical adds the organizationCanonical to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) WithServiceCatalogSourceCanonical added in v1.0.58

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

WithServiceCatalogSourceCanonical adds the serviceCatalogSourceCanonical to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) WithTimeout

WithTimeout adds the timeout to the validate service catalog source params

func (*ValidateServiceCatalogSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateServiceCatalogSourceReader

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

ValidateServiceCatalogSourceReader is a Reader for the ValidateServiceCatalogSource structure.

func (*ValidateServiceCatalogSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateServiceCatalogSourceUnprocessableEntity

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

	Payload *models.ErrorPayload
}

ValidateServiceCatalogSourceUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewValidateServiceCatalogSourceUnprocessableEntity

func NewValidateServiceCatalogSourceUnprocessableEntity() *ValidateServiceCatalogSourceUnprocessableEntity

NewValidateServiceCatalogSourceUnprocessableEntity creates a ValidateServiceCatalogSourceUnprocessableEntity with default headers values

func (*ValidateServiceCatalogSourceUnprocessableEntity) Error

func (*ValidateServiceCatalogSourceUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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