support_bundle_management

package
v0.0.0-...-57b3dfa Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 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 support bundle management API

func (*Client) CreateSupportBundle

func (a *Client) CreateSupportBundle(params *CreateSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSupportBundleOK, error)

CreateSupportBundle creates support bundle for specific universe

func (*Client) DeleteSupportBundle

func (a *Client) DeleteSupportBundle(params *DeleteSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSupportBundleOK, error)

DeleteSupportBundle deletes a support bundle

func (*Client) DownloadSupportBundle

func (a *Client) DownloadSupportBundle(params *DownloadSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DownloadSupportBundleOK, error)

DownloadSupportBundle downloads support bundle

func (*Client) GetSupportBundle

func (a *Client) GetSupportBundle(params *GetSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSupportBundleOK, error)

GetSupportBundle gets a support bundle from a universe

func (*Client) ListSupportBundle

func (a *Client) ListSupportBundle(params *ListSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSupportBundleOK, error)

ListSupportBundle lists all support bundles from a universe

func (*Client) ListSupportBundleComponents

func (a *Client) ListSupportBundleComponents(params *ListSupportBundleComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSupportBundleComponentsOK, error)

ListSupportBundleComponents lists all components available in support bundle

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateSupportBundle(params *CreateSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSupportBundleOK, error)

	DeleteSupportBundle(params *DeleteSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSupportBundleOK, error)

	DownloadSupportBundle(params *DownloadSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DownloadSupportBundleOK, error)

	GetSupportBundle(params *GetSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSupportBundleOK, error)

	ListSupportBundle(params *ListSupportBundleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSupportBundleOK, error)

	ListSupportBundleComponents(params *ListSupportBundleComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSupportBundleComponentsOK, 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 support bundle management API client.

type CreateSupportBundleOK

type CreateSupportBundleOK struct {
	Payload *models.YBPTask
}
CreateSupportBundleOK describes a response with status code 200, with default header values.

successful operation

func NewCreateSupportBundleOK

func NewCreateSupportBundleOK() *CreateSupportBundleOK

NewCreateSupportBundleOK creates a CreateSupportBundleOK with default headers values

func (*CreateSupportBundleOK) Error

func (o *CreateSupportBundleOK) Error() string

func (*CreateSupportBundleOK) GetPayload

func (o *CreateSupportBundleOK) GetPayload() *models.YBPTask

type CreateSupportBundleParams

type CreateSupportBundleParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	/* SupportBundle.

	   post support bundle info
	*/
	SupportBundle *models.SupportBundleFormData

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

CreateSupportBundleParams contains all the parameters to send to the API endpoint

for the create support bundle operation.

Typically these are written to a http.Request.

func NewCreateSupportBundleParams

func NewCreateSupportBundleParams() *CreateSupportBundleParams

NewCreateSupportBundleParams creates a new CreateSupportBundleParams 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 NewCreateSupportBundleParamsWithContext

func NewCreateSupportBundleParamsWithContext(ctx context.Context) *CreateSupportBundleParams

NewCreateSupportBundleParamsWithContext creates a new CreateSupportBundleParams object with the ability to set a context for a request.

func NewCreateSupportBundleParamsWithHTTPClient

func NewCreateSupportBundleParamsWithHTTPClient(client *http.Client) *CreateSupportBundleParams

NewCreateSupportBundleParamsWithHTTPClient creates a new CreateSupportBundleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSupportBundleParamsWithTimeout

func NewCreateSupportBundleParamsWithTimeout(timeout time.Duration) *CreateSupportBundleParams

NewCreateSupportBundleParamsWithTimeout creates a new CreateSupportBundleParams object with the ability to set a timeout on a request.

func (*CreateSupportBundleParams) SetCUUID

func (o *CreateSupportBundleParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the create support bundle params

func (*CreateSupportBundleParams) SetContext

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

SetContext adds the context to the create support bundle params

func (*CreateSupportBundleParams) SetDefaults

func (o *CreateSupportBundleParams) SetDefaults()

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

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

func (*CreateSupportBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create support bundle params

func (*CreateSupportBundleParams) SetSupportBundle

func (o *CreateSupportBundleParams) SetSupportBundle(supportBundle *models.SupportBundleFormData)

SetSupportBundle adds the supportBundle to the create support bundle params

func (*CreateSupportBundleParams) SetTimeout

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

SetTimeout adds the timeout to the create support bundle params

func (*CreateSupportBundleParams) SetUniUUID

func (o *CreateSupportBundleParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the create support bundle params

func (*CreateSupportBundleParams) WithCUUID

WithCUUID adds the cUUID to the create support bundle params

func (*CreateSupportBundleParams) WithContext

WithContext adds the context to the create support bundle params

func (*CreateSupportBundleParams) WithDefaults

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

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

func (*CreateSupportBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create support bundle params

func (*CreateSupportBundleParams) WithSupportBundle

WithSupportBundle adds the supportBundle to the create support bundle params

func (*CreateSupportBundleParams) WithTimeout

WithTimeout adds the timeout to the create support bundle params

func (*CreateSupportBundleParams) WithUniUUID

WithUniUUID adds the uniUUID to the create support bundle params

func (*CreateSupportBundleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSupportBundleReader

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

CreateSupportBundleReader is a Reader for the CreateSupportBundle structure.

func (*CreateSupportBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSupportBundleOK

type DeleteSupportBundleOK struct {
	Payload *models.YBPSuccess
}
DeleteSupportBundleOK describes a response with status code 200, with default header values.

successful operation

func NewDeleteSupportBundleOK

func NewDeleteSupportBundleOK() *DeleteSupportBundleOK

NewDeleteSupportBundleOK creates a DeleteSupportBundleOK with default headers values

func (*DeleteSupportBundleOK) Error

func (o *DeleteSupportBundleOK) Error() string

func (*DeleteSupportBundleOK) GetPayload

func (o *DeleteSupportBundleOK) GetPayload() *models.YBPSuccess

type DeleteSupportBundleParams

type DeleteSupportBundleParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// SbUUID.
	//
	// Format: uuid
	SbUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

DeleteSupportBundleParams contains all the parameters to send to the API endpoint

for the delete support bundle operation.

Typically these are written to a http.Request.

func NewDeleteSupportBundleParams

func NewDeleteSupportBundleParams() *DeleteSupportBundleParams

NewDeleteSupportBundleParams creates a new DeleteSupportBundleParams 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 NewDeleteSupportBundleParamsWithContext

func NewDeleteSupportBundleParamsWithContext(ctx context.Context) *DeleteSupportBundleParams

NewDeleteSupportBundleParamsWithContext creates a new DeleteSupportBundleParams object with the ability to set a context for a request.

func NewDeleteSupportBundleParamsWithHTTPClient

func NewDeleteSupportBundleParamsWithHTTPClient(client *http.Client) *DeleteSupportBundleParams

NewDeleteSupportBundleParamsWithHTTPClient creates a new DeleteSupportBundleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSupportBundleParamsWithTimeout

func NewDeleteSupportBundleParamsWithTimeout(timeout time.Duration) *DeleteSupportBundleParams

NewDeleteSupportBundleParamsWithTimeout creates a new DeleteSupportBundleParams object with the ability to set a timeout on a request.

func (*DeleteSupportBundleParams) SetCUUID

func (o *DeleteSupportBundleParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the delete support bundle params

func (*DeleteSupportBundleParams) SetContext

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

SetContext adds the context to the delete support bundle params

func (*DeleteSupportBundleParams) SetDefaults

func (o *DeleteSupportBundleParams) SetDefaults()

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

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

func (*DeleteSupportBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete support bundle params

func (*DeleteSupportBundleParams) SetSbUUID

func (o *DeleteSupportBundleParams) SetSbUUID(sbUUID strfmt.UUID)

SetSbUUID adds the sbUuid to the delete support bundle params

func (*DeleteSupportBundleParams) SetTimeout

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

SetTimeout adds the timeout to the delete support bundle params

func (*DeleteSupportBundleParams) SetUniUUID

func (o *DeleteSupportBundleParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the delete support bundle params

func (*DeleteSupportBundleParams) WithCUUID

WithCUUID adds the cUUID to the delete support bundle params

func (*DeleteSupportBundleParams) WithContext

WithContext adds the context to the delete support bundle params

func (*DeleteSupportBundleParams) WithDefaults

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

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

func (*DeleteSupportBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete support bundle params

func (*DeleteSupportBundleParams) WithSbUUID

WithSbUUID adds the sbUUID to the delete support bundle params

func (*DeleteSupportBundleParams) WithTimeout

WithTimeout adds the timeout to the delete support bundle params

func (*DeleteSupportBundleParams) WithUniUUID

WithUniUUID adds the uniUUID to the delete support bundle params

func (*DeleteSupportBundleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSupportBundleReader

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

DeleteSupportBundleReader is a Reader for the DeleteSupportBundle structure.

func (*DeleteSupportBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadSupportBundleOK

type DownloadSupportBundleOK struct {
	Payload string
}
DownloadSupportBundleOK describes a response with status code 200, with default header values.

successful operation

func NewDownloadSupportBundleOK

func NewDownloadSupportBundleOK() *DownloadSupportBundleOK

NewDownloadSupportBundleOK creates a DownloadSupportBundleOK with default headers values

func (*DownloadSupportBundleOK) Error

func (o *DownloadSupportBundleOK) Error() string

func (*DownloadSupportBundleOK) GetPayload

func (o *DownloadSupportBundleOK) GetPayload() string

type DownloadSupportBundleParams

type DownloadSupportBundleParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// SbUUID.
	//
	// Format: uuid
	SbUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

DownloadSupportBundleParams contains all the parameters to send to the API endpoint

for the download support bundle operation.

Typically these are written to a http.Request.

func NewDownloadSupportBundleParams

func NewDownloadSupportBundleParams() *DownloadSupportBundleParams

NewDownloadSupportBundleParams creates a new DownloadSupportBundleParams 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 NewDownloadSupportBundleParamsWithContext

func NewDownloadSupportBundleParamsWithContext(ctx context.Context) *DownloadSupportBundleParams

NewDownloadSupportBundleParamsWithContext creates a new DownloadSupportBundleParams object with the ability to set a context for a request.

func NewDownloadSupportBundleParamsWithHTTPClient

func NewDownloadSupportBundleParamsWithHTTPClient(client *http.Client) *DownloadSupportBundleParams

NewDownloadSupportBundleParamsWithHTTPClient creates a new DownloadSupportBundleParams object with the ability to set a custom HTTPClient for a request.

func NewDownloadSupportBundleParamsWithTimeout

func NewDownloadSupportBundleParamsWithTimeout(timeout time.Duration) *DownloadSupportBundleParams

NewDownloadSupportBundleParamsWithTimeout creates a new DownloadSupportBundleParams object with the ability to set a timeout on a request.

func (*DownloadSupportBundleParams) SetCUUID

func (o *DownloadSupportBundleParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the download support bundle params

func (*DownloadSupportBundleParams) SetContext

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

SetContext adds the context to the download support bundle params

func (*DownloadSupportBundleParams) SetDefaults

func (o *DownloadSupportBundleParams) SetDefaults()

SetDefaults hydrates default values in the download support bundle params (not the query body).

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

func (*DownloadSupportBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download support bundle params

func (*DownloadSupportBundleParams) SetSbUUID

func (o *DownloadSupportBundleParams) SetSbUUID(sbUUID strfmt.UUID)

SetSbUUID adds the sbUuid to the download support bundle params

func (*DownloadSupportBundleParams) SetTimeout

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

SetTimeout adds the timeout to the download support bundle params

func (*DownloadSupportBundleParams) SetUniUUID

func (o *DownloadSupportBundleParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the download support bundle params

func (*DownloadSupportBundleParams) WithCUUID

WithCUUID adds the cUUID to the download support bundle params

func (*DownloadSupportBundleParams) WithContext

WithContext adds the context to the download support bundle params

func (*DownloadSupportBundleParams) WithDefaults

WithDefaults hydrates default values in the download support bundle params (not the query body).

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

func (*DownloadSupportBundleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download support bundle params

func (*DownloadSupportBundleParams) WithSbUUID

WithSbUUID adds the sbUUID to the download support bundle params

func (*DownloadSupportBundleParams) WithTimeout

WithTimeout adds the timeout to the download support bundle params

func (*DownloadSupportBundleParams) WithUniUUID

WithUniUUID adds the uniUUID to the download support bundle params

func (*DownloadSupportBundleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadSupportBundleReader

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

DownloadSupportBundleReader is a Reader for the DownloadSupportBundle structure.

func (*DownloadSupportBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSupportBundleOK

type GetSupportBundleOK struct {
	Payload *models.SupportBundle
}
GetSupportBundleOK describes a response with status code 200, with default header values.

successful operation

func NewGetSupportBundleOK

func NewGetSupportBundleOK() *GetSupportBundleOK

NewGetSupportBundleOK creates a GetSupportBundleOK with default headers values

func (*GetSupportBundleOK) Error

func (o *GetSupportBundleOK) Error() string

func (*GetSupportBundleOK) GetPayload

func (o *GetSupportBundleOK) GetPayload() *models.SupportBundle

type GetSupportBundleParams

type GetSupportBundleParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// SbUUID.
	//
	// Format: uuid
	SbUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

GetSupportBundleParams contains all the parameters to send to the API endpoint

for the get support bundle operation.

Typically these are written to a http.Request.

func NewGetSupportBundleParams

func NewGetSupportBundleParams() *GetSupportBundleParams

NewGetSupportBundleParams creates a new GetSupportBundleParams 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 NewGetSupportBundleParamsWithContext

func NewGetSupportBundleParamsWithContext(ctx context.Context) *GetSupportBundleParams

NewGetSupportBundleParamsWithContext creates a new GetSupportBundleParams object with the ability to set a context for a request.

func NewGetSupportBundleParamsWithHTTPClient

func NewGetSupportBundleParamsWithHTTPClient(client *http.Client) *GetSupportBundleParams

NewGetSupportBundleParamsWithHTTPClient creates a new GetSupportBundleParams object with the ability to set a custom HTTPClient for a request.

func NewGetSupportBundleParamsWithTimeout

func NewGetSupportBundleParamsWithTimeout(timeout time.Duration) *GetSupportBundleParams

NewGetSupportBundleParamsWithTimeout creates a new GetSupportBundleParams object with the ability to set a timeout on a request.

func (*GetSupportBundleParams) SetCUUID

func (o *GetSupportBundleParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get support bundle params

func (*GetSupportBundleParams) SetContext

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

SetContext adds the context to the get support bundle params

func (*GetSupportBundleParams) SetDefaults

func (o *GetSupportBundleParams) SetDefaults()

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

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

func (*GetSupportBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get support bundle params

func (*GetSupportBundleParams) SetSbUUID

func (o *GetSupportBundleParams) SetSbUUID(sbUUID strfmt.UUID)

SetSbUUID adds the sbUuid to the get support bundle params

func (*GetSupportBundleParams) SetTimeout

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

SetTimeout adds the timeout to the get support bundle params

func (*GetSupportBundleParams) SetUniUUID

func (o *GetSupportBundleParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the get support bundle params

func (*GetSupportBundleParams) WithCUUID

WithCUUID adds the cUUID to the get support bundle params

func (*GetSupportBundleParams) WithContext

WithContext adds the context to the get support bundle params

func (*GetSupportBundleParams) WithDefaults

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

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

func (*GetSupportBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get support bundle params

func (*GetSupportBundleParams) WithSbUUID

WithSbUUID adds the sbUUID to the get support bundle params

func (*GetSupportBundleParams) WithTimeout

WithTimeout adds the timeout to the get support bundle params

func (*GetSupportBundleParams) WithUniUUID

func (o *GetSupportBundleParams) WithUniUUID(uniUUID strfmt.UUID) *GetSupportBundleParams

WithUniUUID adds the uniUUID to the get support bundle params

func (*GetSupportBundleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSupportBundleReader

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

GetSupportBundleReader is a Reader for the GetSupportBundle structure.

func (*GetSupportBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSupportBundleComponentsOK

type ListSupportBundleComponentsOK struct {
	Payload []string
}
ListSupportBundleComponentsOK describes a response with status code 200, with default header values.

successful operation

func NewListSupportBundleComponentsOK

func NewListSupportBundleComponentsOK() *ListSupportBundleComponentsOK

NewListSupportBundleComponentsOK creates a ListSupportBundleComponentsOK with default headers values

func (*ListSupportBundleComponentsOK) Error

func (*ListSupportBundleComponentsOK) GetPayload

func (o *ListSupportBundleComponentsOK) GetPayload() []string

type ListSupportBundleComponentsParams

type ListSupportBundleComponentsParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

ListSupportBundleComponentsParams contains all the parameters to send to the API endpoint

for the list support bundle components operation.

Typically these are written to a http.Request.

func NewListSupportBundleComponentsParams

func NewListSupportBundleComponentsParams() *ListSupportBundleComponentsParams

NewListSupportBundleComponentsParams creates a new ListSupportBundleComponentsParams 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 NewListSupportBundleComponentsParamsWithContext

func NewListSupportBundleComponentsParamsWithContext(ctx context.Context) *ListSupportBundleComponentsParams

NewListSupportBundleComponentsParamsWithContext creates a new ListSupportBundleComponentsParams object with the ability to set a context for a request.

func NewListSupportBundleComponentsParamsWithHTTPClient

func NewListSupportBundleComponentsParamsWithHTTPClient(client *http.Client) *ListSupportBundleComponentsParams

NewListSupportBundleComponentsParamsWithHTTPClient creates a new ListSupportBundleComponentsParams object with the ability to set a custom HTTPClient for a request.

func NewListSupportBundleComponentsParamsWithTimeout

func NewListSupportBundleComponentsParamsWithTimeout(timeout time.Duration) *ListSupportBundleComponentsParams

NewListSupportBundleComponentsParamsWithTimeout creates a new ListSupportBundleComponentsParams object with the ability to set a timeout on a request.

func (*ListSupportBundleComponentsParams) SetCUUID

func (o *ListSupportBundleComponentsParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the list support bundle components params

func (*ListSupportBundleComponentsParams) SetContext

SetContext adds the context to the list support bundle components params

func (*ListSupportBundleComponentsParams) SetDefaults

func (o *ListSupportBundleComponentsParams) SetDefaults()

SetDefaults hydrates default values in the list support bundle components params (not the query body).

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

func (*ListSupportBundleComponentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list support bundle components params

func (*ListSupportBundleComponentsParams) SetTimeout

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

SetTimeout adds the timeout to the list support bundle components params

func (*ListSupportBundleComponentsParams) WithCUUID

WithCUUID adds the cUUID to the list support bundle components params

func (*ListSupportBundleComponentsParams) WithContext

WithContext adds the context to the list support bundle components params

func (*ListSupportBundleComponentsParams) WithDefaults

WithDefaults hydrates default values in the list support bundle components params (not the query body).

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

func (*ListSupportBundleComponentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list support bundle components params

func (*ListSupportBundleComponentsParams) WithTimeout

WithTimeout adds the timeout to the list support bundle components params

func (*ListSupportBundleComponentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSupportBundleComponentsReader

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

ListSupportBundleComponentsReader is a Reader for the ListSupportBundleComponents structure.

func (*ListSupportBundleComponentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSupportBundleOK

type ListSupportBundleOK struct {
	Payload []*models.SupportBundle
}
ListSupportBundleOK describes a response with status code 200, with default header values.

successful operation

func NewListSupportBundleOK

func NewListSupportBundleOK() *ListSupportBundleOK

NewListSupportBundleOK creates a ListSupportBundleOK with default headers values

func (*ListSupportBundleOK) Error

func (o *ListSupportBundleOK) Error() string

func (*ListSupportBundleOK) GetPayload

func (o *ListSupportBundleOK) GetPayload() []*models.SupportBundle

type ListSupportBundleParams

type ListSupportBundleParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// UniUUID.
	//
	// Format: uuid
	UniUUID strfmt.UUID

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

ListSupportBundleParams contains all the parameters to send to the API endpoint

for the list support bundle operation.

Typically these are written to a http.Request.

func NewListSupportBundleParams

func NewListSupportBundleParams() *ListSupportBundleParams

NewListSupportBundleParams creates a new ListSupportBundleParams 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 NewListSupportBundleParamsWithContext

func NewListSupportBundleParamsWithContext(ctx context.Context) *ListSupportBundleParams

NewListSupportBundleParamsWithContext creates a new ListSupportBundleParams object with the ability to set a context for a request.

func NewListSupportBundleParamsWithHTTPClient

func NewListSupportBundleParamsWithHTTPClient(client *http.Client) *ListSupportBundleParams

NewListSupportBundleParamsWithHTTPClient creates a new ListSupportBundleParams object with the ability to set a custom HTTPClient for a request.

func NewListSupportBundleParamsWithTimeout

func NewListSupportBundleParamsWithTimeout(timeout time.Duration) *ListSupportBundleParams

NewListSupportBundleParamsWithTimeout creates a new ListSupportBundleParams object with the ability to set a timeout on a request.

func (*ListSupportBundleParams) SetCUUID

func (o *ListSupportBundleParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the list support bundle params

func (*ListSupportBundleParams) SetContext

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

SetContext adds the context to the list support bundle params

func (*ListSupportBundleParams) SetDefaults

func (o *ListSupportBundleParams) SetDefaults()

SetDefaults hydrates default values in the list support bundle params (not the query body).

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

func (*ListSupportBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list support bundle params

func (*ListSupportBundleParams) SetTimeout

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

SetTimeout adds the timeout to the list support bundle params

func (*ListSupportBundleParams) SetUniUUID

func (o *ListSupportBundleParams) SetUniUUID(uniUUID strfmt.UUID)

SetUniUUID adds the uniUuid to the list support bundle params

func (*ListSupportBundleParams) WithCUUID

WithCUUID adds the cUUID to the list support bundle params

func (*ListSupportBundleParams) WithContext

WithContext adds the context to the list support bundle params

func (*ListSupportBundleParams) WithDefaults

WithDefaults hydrates default values in the list support bundle params (not the query body).

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

func (*ListSupportBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list support bundle params

func (*ListSupportBundleParams) WithTimeout

WithTimeout adds the timeout to the list support bundle params

func (*ListSupportBundleParams) WithUniUUID

WithUniUUID adds the uniUUID to the list support bundle params

func (*ListSupportBundleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSupportBundleReader

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

ListSupportBundleReader is a Reader for the ListSupportBundle structure.

func (*ListSupportBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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