support

package
v2.31.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

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

func WithAcceptApplicationOctetStream

func WithAcceptApplicationOctetStream(r *runtime.ClientOperation)

WithAcceptApplicationOctetStream sets the Accept header to "application/octet-stream".

Types

type Client

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

Client for support API

func (*Client) GetDebugLogStatus

func (a *Client) GetDebugLogStatus(params *GetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDebugLogStatusOK, error)
GetDebugLogStatus gets status of the global debug log

Checks if the global log level is enabled

**Access policy**: administrator

func (*Client) SetDebugLogStatus

func (a *Client) SetDebugLogStatus(params *SetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetDebugLogStatusOK, error)
SetDebugLogStatus enables or disables the global debug log

Enables the debug log by setting the global log level to debug or info if disabled

**Access policy**: administrator

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SupportBundleDownload

func (a *Client) SupportBundleDownload(params *SupportBundleDownloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportBundleDownloadOK, error)

SupportBundleDownload downloads a bundle of files to help support diagnose issues

**Access policy**: administrator

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	GetDebugLogStatus(params *GetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDebugLogStatusOK, error)

	SetDebugLogStatus(params *SetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetDebugLogStatusOK, error)

	SupportBundleDownload(params *SupportBundleDownloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportBundleDownloadOK, 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 API client.

func NewClientWithBasicAuth

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

New creates a new support API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new support API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type GetDebugLogStatusInternalServerError

type GetDebugLogStatusInternalServerError struct {
}

GetDebugLogStatusInternalServerError describes a response with status code 500, with default header values.

Server error occurred.

func NewGetDebugLogStatusInternalServerError

func NewGetDebugLogStatusInternalServerError() *GetDebugLogStatusInternalServerError

NewGetDebugLogStatusInternalServerError creates a GetDebugLogStatusInternalServerError with default headers values

func (*GetDebugLogStatusInternalServerError) Code

Code gets the status code for the get debug log status internal server error response

func (*GetDebugLogStatusInternalServerError) Error

func (*GetDebugLogStatusInternalServerError) IsClientError

func (o *GetDebugLogStatusInternalServerError) IsClientError() bool

IsClientError returns true when this get debug log status internal server error response has a 4xx status code

func (*GetDebugLogStatusInternalServerError) IsCode

IsCode returns true when this get debug log status internal server error response a status code equal to that given

func (*GetDebugLogStatusInternalServerError) IsRedirect

IsRedirect returns true when this get debug log status internal server error response has a 3xx status code

func (*GetDebugLogStatusInternalServerError) IsServerError

func (o *GetDebugLogStatusInternalServerError) IsServerError() bool

IsServerError returns true when this get debug log status internal server error response has a 5xx status code

func (*GetDebugLogStatusInternalServerError) IsSuccess

IsSuccess returns true when this get debug log status internal server error response has a 2xx status code

func (*GetDebugLogStatusInternalServerError) String

type GetDebugLogStatusOK

type GetDebugLogStatusOK struct {
	Payload *models.SupportDebugLogPayload
}

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

Success

func NewGetDebugLogStatusOK

func NewGetDebugLogStatusOK() *GetDebugLogStatusOK

NewGetDebugLogStatusOK creates a GetDebugLogStatusOK with default headers values

func (*GetDebugLogStatusOK) Code

func (o *GetDebugLogStatusOK) Code() int

Code gets the status code for the get debug log status o k response

func (*GetDebugLogStatusOK) Error

func (o *GetDebugLogStatusOK) Error() string

func (*GetDebugLogStatusOK) GetPayload

func (*GetDebugLogStatusOK) IsClientError

func (o *GetDebugLogStatusOK) IsClientError() bool

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

func (*GetDebugLogStatusOK) IsCode

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

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

func (*GetDebugLogStatusOK) IsRedirect

func (o *GetDebugLogStatusOK) IsRedirect() bool

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

func (*GetDebugLogStatusOK) IsServerError

func (o *GetDebugLogStatusOK) IsServerError() bool

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

func (*GetDebugLogStatusOK) IsSuccess

func (o *GetDebugLogStatusOK) IsSuccess() bool

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

func (*GetDebugLogStatusOK) String

func (o *GetDebugLogStatusOK) String() string

type GetDebugLogStatusParams

type GetDebugLogStatusParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDebugLogStatusParams contains all the parameters to send to the API endpoint

for the get debug log status operation.

Typically these are written to a http.Request.

func NewGetDebugLogStatusParams

func NewGetDebugLogStatusParams() *GetDebugLogStatusParams

NewGetDebugLogStatusParams creates a new GetDebugLogStatusParams 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 NewGetDebugLogStatusParamsWithContext

func NewGetDebugLogStatusParamsWithContext(ctx context.Context) *GetDebugLogStatusParams

NewGetDebugLogStatusParamsWithContext creates a new GetDebugLogStatusParams object with the ability to set a context for a request.

func NewGetDebugLogStatusParamsWithHTTPClient

func NewGetDebugLogStatusParamsWithHTTPClient(client *http.Client) *GetDebugLogStatusParams

NewGetDebugLogStatusParamsWithHTTPClient creates a new GetDebugLogStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetDebugLogStatusParamsWithTimeout

func NewGetDebugLogStatusParamsWithTimeout(timeout time.Duration) *GetDebugLogStatusParams

NewGetDebugLogStatusParamsWithTimeout creates a new GetDebugLogStatusParams object with the ability to set a timeout on a request.

func (*GetDebugLogStatusParams) SetContext

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

SetContext adds the context to the get debug log status params

func (*GetDebugLogStatusParams) SetDefaults

func (o *GetDebugLogStatusParams) SetDefaults()

SetDefaults hydrates default values in the get debug log status params (not the query body).

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

func (*GetDebugLogStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get debug log status params

func (*GetDebugLogStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get debug log status params

func (*GetDebugLogStatusParams) WithContext

WithContext adds the context to the get debug log status params

func (*GetDebugLogStatusParams) WithDefaults

WithDefaults hydrates default values in the get debug log status params (not the query body).

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

func (*GetDebugLogStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get debug log status params

func (*GetDebugLogStatusParams) WithTimeout

WithTimeout adds the timeout to the get debug log status params

func (*GetDebugLogStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDebugLogStatusReader

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

GetDebugLogStatusReader is a Reader for the GetDebugLogStatus structure.

func (*GetDebugLogStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDebugLogStatusBadRequest

type SetDebugLogStatusBadRequest struct {
}

SetDebugLogStatusBadRequest describes a response with status code 400, with default header values.

Invalid request payload

func NewSetDebugLogStatusBadRequest

func NewSetDebugLogStatusBadRequest() *SetDebugLogStatusBadRequest

NewSetDebugLogStatusBadRequest creates a SetDebugLogStatusBadRequest with default headers values

func (*SetDebugLogStatusBadRequest) Code

func (o *SetDebugLogStatusBadRequest) Code() int

Code gets the status code for the set debug log status bad request response

func (*SetDebugLogStatusBadRequest) Error

func (*SetDebugLogStatusBadRequest) IsClientError

func (o *SetDebugLogStatusBadRequest) IsClientError() bool

IsClientError returns true when this set debug log status bad request response has a 4xx status code

func (*SetDebugLogStatusBadRequest) IsCode

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

IsCode returns true when this set debug log status bad request response a status code equal to that given

func (*SetDebugLogStatusBadRequest) IsRedirect

func (o *SetDebugLogStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this set debug log status bad request response has a 3xx status code

func (*SetDebugLogStatusBadRequest) IsServerError

func (o *SetDebugLogStatusBadRequest) IsServerError() bool

IsServerError returns true when this set debug log status bad request response has a 5xx status code

func (*SetDebugLogStatusBadRequest) IsSuccess

func (o *SetDebugLogStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this set debug log status bad request response has a 2xx status code

func (*SetDebugLogStatusBadRequest) String

func (o *SetDebugLogStatusBadRequest) String() string

type SetDebugLogStatusInternalServerError

type SetDebugLogStatusInternalServerError struct {
}

SetDebugLogStatusInternalServerError describes a response with status code 500, with default header values.

Server error occurred.

func NewSetDebugLogStatusInternalServerError

func NewSetDebugLogStatusInternalServerError() *SetDebugLogStatusInternalServerError

NewSetDebugLogStatusInternalServerError creates a SetDebugLogStatusInternalServerError with default headers values

func (*SetDebugLogStatusInternalServerError) Code

Code gets the status code for the set debug log status internal server error response

func (*SetDebugLogStatusInternalServerError) Error

func (*SetDebugLogStatusInternalServerError) IsClientError

func (o *SetDebugLogStatusInternalServerError) IsClientError() bool

IsClientError returns true when this set debug log status internal server error response has a 4xx status code

func (*SetDebugLogStatusInternalServerError) IsCode

IsCode returns true when this set debug log status internal server error response a status code equal to that given

func (*SetDebugLogStatusInternalServerError) IsRedirect

IsRedirect returns true when this set debug log status internal server error response has a 3xx status code

func (*SetDebugLogStatusInternalServerError) IsServerError

func (o *SetDebugLogStatusInternalServerError) IsServerError() bool

IsServerError returns true when this set debug log status internal server error response has a 5xx status code

func (*SetDebugLogStatusInternalServerError) IsSuccess

IsSuccess returns true when this set debug log status internal server error response has a 2xx status code

func (*SetDebugLogStatusInternalServerError) String

type SetDebugLogStatusOK

type SetDebugLogStatusOK struct {
	Payload *models.SupportDebugLogPayload
}

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

Success

func NewSetDebugLogStatusOK

func NewSetDebugLogStatusOK() *SetDebugLogStatusOK

NewSetDebugLogStatusOK creates a SetDebugLogStatusOK with default headers values

func (*SetDebugLogStatusOK) Code

func (o *SetDebugLogStatusOK) Code() int

Code gets the status code for the set debug log status o k response

func (*SetDebugLogStatusOK) Error

func (o *SetDebugLogStatusOK) Error() string

func (*SetDebugLogStatusOK) GetPayload

func (*SetDebugLogStatusOK) IsClientError

func (o *SetDebugLogStatusOK) IsClientError() bool

IsClientError returns true when this set debug log status o k response has a 4xx status code

func (*SetDebugLogStatusOK) IsCode

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

IsCode returns true when this set debug log status o k response a status code equal to that given

func (*SetDebugLogStatusOK) IsRedirect

func (o *SetDebugLogStatusOK) IsRedirect() bool

IsRedirect returns true when this set debug log status o k response has a 3xx status code

func (*SetDebugLogStatusOK) IsServerError

func (o *SetDebugLogStatusOK) IsServerError() bool

IsServerError returns true when this set debug log status o k response has a 5xx status code

func (*SetDebugLogStatusOK) IsSuccess

func (o *SetDebugLogStatusOK) IsSuccess() bool

IsSuccess returns true when this set debug log status o k response has a 2xx status code

func (*SetDebugLogStatusOK) String

func (o *SetDebugLogStatusOK) String() string

type SetDebugLogStatusParams

type SetDebugLogStatusParams struct {

	/* Body.

	   Debug log should be set to enabled or disabled
	*/
	Body *models.SupportDebugLogPayload

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

SetDebugLogStatusParams contains all the parameters to send to the API endpoint

for the set debug log status operation.

Typically these are written to a http.Request.

func NewSetDebugLogStatusParams

func NewSetDebugLogStatusParams() *SetDebugLogStatusParams

NewSetDebugLogStatusParams creates a new SetDebugLogStatusParams 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 NewSetDebugLogStatusParamsWithContext

func NewSetDebugLogStatusParamsWithContext(ctx context.Context) *SetDebugLogStatusParams

NewSetDebugLogStatusParamsWithContext creates a new SetDebugLogStatusParams object with the ability to set a context for a request.

func NewSetDebugLogStatusParamsWithHTTPClient

func NewSetDebugLogStatusParamsWithHTTPClient(client *http.Client) *SetDebugLogStatusParams

NewSetDebugLogStatusParamsWithHTTPClient creates a new SetDebugLogStatusParams object with the ability to set a custom HTTPClient for a request.

func NewSetDebugLogStatusParamsWithTimeout

func NewSetDebugLogStatusParamsWithTimeout(timeout time.Duration) *SetDebugLogStatusParams

NewSetDebugLogStatusParamsWithTimeout creates a new SetDebugLogStatusParams object with the ability to set a timeout on a request.

func (*SetDebugLogStatusParams) SetBody

SetBody adds the body to the set debug log status params

func (*SetDebugLogStatusParams) SetContext

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

SetContext adds the context to the set debug log status params

func (*SetDebugLogStatusParams) SetDefaults

func (o *SetDebugLogStatusParams) SetDefaults()

SetDefaults hydrates default values in the set debug log status params (not the query body).

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

func (*SetDebugLogStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set debug log status params

func (*SetDebugLogStatusParams) SetTimeout

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

SetTimeout adds the timeout to the set debug log status params

func (*SetDebugLogStatusParams) WithBody

WithBody adds the body to the set debug log status params

func (*SetDebugLogStatusParams) WithContext

WithContext adds the context to the set debug log status params

func (*SetDebugLogStatusParams) WithDefaults

WithDefaults hydrates default values in the set debug log status params (not the query body).

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

func (*SetDebugLogStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set debug log status params

func (*SetDebugLogStatusParams) WithTimeout

WithTimeout adds the timeout to the set debug log status params

func (*SetDebugLogStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDebugLogStatusReader

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

SetDebugLogStatusReader is a Reader for the SetDebugLogStatus structure.

func (*SetDebugLogStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupportBundleDownloadBadRequest

type SupportBundleDownloadBadRequest struct {
}

SupportBundleDownloadBadRequest describes a response with status code 400, with default header values.

Invalid request payload, such as missing required fields or fields not meeting validation criteria.

func NewSupportBundleDownloadBadRequest

func NewSupportBundleDownloadBadRequest() *SupportBundleDownloadBadRequest

NewSupportBundleDownloadBadRequest creates a SupportBundleDownloadBadRequest with default headers values

func (*SupportBundleDownloadBadRequest) Code

Code gets the status code for the support bundle download bad request response

func (*SupportBundleDownloadBadRequest) Error

func (*SupportBundleDownloadBadRequest) IsClientError

func (o *SupportBundleDownloadBadRequest) IsClientError() bool

IsClientError returns true when this support bundle download bad request response has a 4xx status code

func (*SupportBundleDownloadBadRequest) IsCode

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

IsCode returns true when this support bundle download bad request response a status code equal to that given

func (*SupportBundleDownloadBadRequest) IsRedirect

func (o *SupportBundleDownloadBadRequest) IsRedirect() bool

IsRedirect returns true when this support bundle download bad request response has a 3xx status code

func (*SupportBundleDownloadBadRequest) IsServerError

func (o *SupportBundleDownloadBadRequest) IsServerError() bool

IsServerError returns true when this support bundle download bad request response has a 5xx status code

func (*SupportBundleDownloadBadRequest) IsSuccess

func (o *SupportBundleDownloadBadRequest) IsSuccess() bool

IsSuccess returns true when this support bundle download bad request response has a 2xx status code

func (*SupportBundleDownloadBadRequest) String

type SupportBundleDownloadForbidden

type SupportBundleDownloadForbidden struct {
}

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

Permission denied - the user is authenticated but does not have the necessary permissions to access the requested resource or perform the specified operation. Check your user roles and permissions.

func NewSupportBundleDownloadForbidden

func NewSupportBundleDownloadForbidden() *SupportBundleDownloadForbidden

NewSupportBundleDownloadForbidden creates a SupportBundleDownloadForbidden with default headers values

func (*SupportBundleDownloadForbidden) Code

Code gets the status code for the support bundle download forbidden response

func (*SupportBundleDownloadForbidden) Error

func (*SupportBundleDownloadForbidden) IsClientError

func (o *SupportBundleDownloadForbidden) IsClientError() bool

IsClientError returns true when this support bundle download forbidden response has a 4xx status code

func (*SupportBundleDownloadForbidden) IsCode

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

IsCode returns true when this support bundle download forbidden response a status code equal to that given

func (*SupportBundleDownloadForbidden) IsRedirect

func (o *SupportBundleDownloadForbidden) IsRedirect() bool

IsRedirect returns true when this support bundle download forbidden response has a 3xx status code

func (*SupportBundleDownloadForbidden) IsServerError

func (o *SupportBundleDownloadForbidden) IsServerError() bool

IsServerError returns true when this support bundle download forbidden response has a 5xx status code

func (*SupportBundleDownloadForbidden) IsSuccess

func (o *SupportBundleDownloadForbidden) IsSuccess() bool

IsSuccess returns true when this support bundle download forbidden response has a 2xx status code

func (*SupportBundleDownloadForbidden) String

type SupportBundleDownloadInternalServerError

type SupportBundleDownloadInternalServerError struct {
}

SupportBundleDownloadInternalServerError describes a response with status code 500, with default header values.

Failed to create support archive

func NewSupportBundleDownloadInternalServerError

func NewSupportBundleDownloadInternalServerError() *SupportBundleDownloadInternalServerError

NewSupportBundleDownloadInternalServerError creates a SupportBundleDownloadInternalServerError with default headers values

func (*SupportBundleDownloadInternalServerError) Code

Code gets the status code for the support bundle download internal server error response

func (*SupportBundleDownloadInternalServerError) Error

func (*SupportBundleDownloadInternalServerError) IsClientError

IsClientError returns true when this support bundle download internal server error response has a 4xx status code

func (*SupportBundleDownloadInternalServerError) IsCode

IsCode returns true when this support bundle download internal server error response a status code equal to that given

func (*SupportBundleDownloadInternalServerError) IsRedirect

IsRedirect returns true when this support bundle download internal server error response has a 3xx status code

func (*SupportBundleDownloadInternalServerError) IsServerError

IsServerError returns true when this support bundle download internal server error response has a 5xx status code

func (*SupportBundleDownloadInternalServerError) IsSuccess

IsSuccess returns true when this support bundle download internal server error response has a 2xx status code

func (*SupportBundleDownloadInternalServerError) String

type SupportBundleDownloadOK

type SupportBundleDownloadOK struct {
}

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

Success

func NewSupportBundleDownloadOK

func NewSupportBundleDownloadOK() *SupportBundleDownloadOK

NewSupportBundleDownloadOK creates a SupportBundleDownloadOK with default headers values

func (*SupportBundleDownloadOK) Code

func (o *SupportBundleDownloadOK) Code() int

Code gets the status code for the support bundle download o k response

func (*SupportBundleDownloadOK) Error

func (o *SupportBundleDownloadOK) Error() string

func (*SupportBundleDownloadOK) IsClientError

func (o *SupportBundleDownloadOK) IsClientError() bool

IsClientError returns true when this support bundle download o k response has a 4xx status code

func (*SupportBundleDownloadOK) IsCode

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

IsCode returns true when this support bundle download o k response a status code equal to that given

func (*SupportBundleDownloadOK) IsRedirect

func (o *SupportBundleDownloadOK) IsRedirect() bool

IsRedirect returns true when this support bundle download o k response has a 3xx status code

func (*SupportBundleDownloadOK) IsServerError

func (o *SupportBundleDownloadOK) IsServerError() bool

IsServerError returns true when this support bundle download o k response has a 5xx status code

func (*SupportBundleDownloadOK) IsSuccess

func (o *SupportBundleDownloadOK) IsSuccess() bool

IsSuccess returns true when this support bundle download o k response has a 2xx status code

func (*SupportBundleDownloadOK) String

func (o *SupportBundleDownloadOK) String() string

type SupportBundleDownloadParams

type SupportBundleDownloadParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SupportBundleDownloadParams contains all the parameters to send to the API endpoint

for the support bundle download operation.

Typically these are written to a http.Request.

func NewSupportBundleDownloadParams

func NewSupportBundleDownloadParams() *SupportBundleDownloadParams

NewSupportBundleDownloadParams creates a new SupportBundleDownloadParams 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 NewSupportBundleDownloadParamsWithContext

func NewSupportBundleDownloadParamsWithContext(ctx context.Context) *SupportBundleDownloadParams

NewSupportBundleDownloadParamsWithContext creates a new SupportBundleDownloadParams object with the ability to set a context for a request.

func NewSupportBundleDownloadParamsWithHTTPClient

func NewSupportBundleDownloadParamsWithHTTPClient(client *http.Client) *SupportBundleDownloadParams

NewSupportBundleDownloadParamsWithHTTPClient creates a new SupportBundleDownloadParams object with the ability to set a custom HTTPClient for a request.

func NewSupportBundleDownloadParamsWithTimeout

func NewSupportBundleDownloadParamsWithTimeout(timeout time.Duration) *SupportBundleDownloadParams

NewSupportBundleDownloadParamsWithTimeout creates a new SupportBundleDownloadParams object with the ability to set a timeout on a request.

func (*SupportBundleDownloadParams) SetContext

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

SetContext adds the context to the support bundle download params

func (*SupportBundleDownloadParams) SetDefaults

func (o *SupportBundleDownloadParams) SetDefaults()

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

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

func (*SupportBundleDownloadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the support bundle download params

func (*SupportBundleDownloadParams) SetTimeout

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

SetTimeout adds the timeout to the support bundle download params

func (*SupportBundleDownloadParams) WithContext

WithContext adds the context to the support bundle download params

func (*SupportBundleDownloadParams) WithDefaults

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

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

func (*SupportBundleDownloadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the support bundle download params

func (*SupportBundleDownloadParams) WithTimeout

WithTimeout adds the timeout to the support bundle download params

func (*SupportBundleDownloadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SupportBundleDownloadReader

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

SupportBundleDownloadReader is a Reader for the SupportBundleDownload structure.

func (*SupportBundleDownloadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupportBundleDownloadUnauthorized

type SupportBundleDownloadUnauthorized struct {
}

SupportBundleDownloadUnauthorized describes a response with status code 401, with default header values.

Unauthorized access - the user is not authenticated or does not have the necessary permissions. Ensure that you have provided a valid API key or JWT token, and that you have the required permissions.

func NewSupportBundleDownloadUnauthorized

func NewSupportBundleDownloadUnauthorized() *SupportBundleDownloadUnauthorized

NewSupportBundleDownloadUnauthorized creates a SupportBundleDownloadUnauthorized with default headers values

func (*SupportBundleDownloadUnauthorized) Code

Code gets the status code for the support bundle download unauthorized response

func (*SupportBundleDownloadUnauthorized) Error

func (*SupportBundleDownloadUnauthorized) IsClientError

func (o *SupportBundleDownloadUnauthorized) IsClientError() bool

IsClientError returns true when this support bundle download unauthorized response has a 4xx status code

func (*SupportBundleDownloadUnauthorized) IsCode

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

IsCode returns true when this support bundle download unauthorized response a status code equal to that given

func (*SupportBundleDownloadUnauthorized) IsRedirect

func (o *SupportBundleDownloadUnauthorized) IsRedirect() bool

IsRedirect returns true when this support bundle download unauthorized response has a 3xx status code

func (*SupportBundleDownloadUnauthorized) IsServerError

func (o *SupportBundleDownloadUnauthorized) IsServerError() bool

IsServerError returns true when this support bundle download unauthorized response has a 5xx status code

func (*SupportBundleDownloadUnauthorized) IsSuccess

func (o *SupportBundleDownloadUnauthorized) IsSuccess() bool

IsSuccess returns true when this support bundle download unauthorized response has a 2xx status code

func (*SupportBundleDownloadUnauthorized) String

Jump to

Keyboard shortcuts

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