support

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

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 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 API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Supportzip

func (a *Client) Supportzip(params *SupportzipParams, opts ...ClientOption) error

Supportzip creates and downloads a support zip

func (*Client) Supportzippath

func (a *Client) Supportzippath(params *SupportzippathParams, opts ...ClientOption) (*SupportzippathOK, error)

Supportzippath creates a support zip and returns the path

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	Supportzip(params *SupportzipParams, opts ...ClientOption) error

	Supportzippath(params *SupportzippathParams, opts ...ClientOption) (*SupportzippathOK, 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.

type SupportzipDefault

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

SupportzipDefault describes a response with status code -1, with default header values.

successful operation

func NewSupportzipDefault

func NewSupportzipDefault(code int) *SupportzipDefault

NewSupportzipDefault creates a SupportzipDefault with default headers values

func (*SupportzipDefault) Code

func (o *SupportzipDefault) Code() int

Code gets the status code for the supportzip default response

func (*SupportzipDefault) Error

func (o *SupportzipDefault) Error() string

func (*SupportzipDefault) IsClientError

func (o *SupportzipDefault) IsClientError() bool

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

func (*SupportzipDefault) IsCode

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

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

func (*SupportzipDefault) IsRedirect

func (o *SupportzipDefault) IsRedirect() bool

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

func (*SupportzipDefault) IsServerError

func (o *SupportzipDefault) IsServerError() bool

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

func (*SupportzipDefault) IsSuccess

func (o *SupportzipDefault) IsSuccess() bool

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

func (*SupportzipDefault) String

func (o *SupportzipDefault) String() string

type SupportzipParams

type SupportzipParams struct {

	// Body.
	Body *models.SupportZipGeneratorRequest

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

SupportzipParams contains all the parameters to send to the API endpoint

for the supportzip operation.

Typically these are written to a http.Request.

func NewSupportzipParams

func NewSupportzipParams() *SupportzipParams

NewSupportzipParams creates a new SupportzipParams 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 NewSupportzipParamsWithContext

func NewSupportzipParamsWithContext(ctx context.Context) *SupportzipParams

NewSupportzipParamsWithContext creates a new SupportzipParams object with the ability to set a context for a request.

func NewSupportzipParamsWithHTTPClient

func NewSupportzipParamsWithHTTPClient(client *http.Client) *SupportzipParams

NewSupportzipParamsWithHTTPClient creates a new SupportzipParams object with the ability to set a custom HTTPClient for a request.

func NewSupportzipParamsWithTimeout

func NewSupportzipParamsWithTimeout(timeout time.Duration) *SupportzipParams

NewSupportzipParamsWithTimeout creates a new SupportzipParams object with the ability to set a timeout on a request.

func (*SupportzipParams) SetBody

SetBody adds the body to the supportzip params

func (*SupportzipParams) SetContext

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

SetContext adds the context to the supportzip params

func (*SupportzipParams) SetDefaults

func (o *SupportzipParams) SetDefaults()

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

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

func (*SupportzipParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the supportzip params

func (*SupportzipParams) SetTimeout

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

SetTimeout adds the timeout to the supportzip params

func (*SupportzipParams) WithBody

WithBody adds the body to the supportzip params

func (*SupportzipParams) WithContext

func (o *SupportzipParams) WithContext(ctx context.Context) *SupportzipParams

WithContext adds the context to the supportzip params

func (*SupportzipParams) WithDefaults

func (o *SupportzipParams) WithDefaults() *SupportzipParams

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

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

func (*SupportzipParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the supportzip params

func (*SupportzipParams) WithTimeout

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

WithTimeout adds the timeout to the supportzip params

func (*SupportzipParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SupportzipReader

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

SupportzipReader is a Reader for the Supportzip structure.

func (*SupportzipReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SupportzippathOK

type SupportzippathOK struct {
	Payload *models.SupportZipXO
}

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

successful operation

func NewSupportzippathOK

func NewSupportzippathOK() *SupportzippathOK

NewSupportzippathOK creates a SupportzippathOK with default headers values

func (*SupportzippathOK) Code

func (o *SupportzippathOK) Code() int

Code gets the status code for the supportzippath o k response

func (*SupportzippathOK) Error

func (o *SupportzippathOK) Error() string

func (*SupportzippathOK) GetPayload

func (o *SupportzippathOK) GetPayload() *models.SupportZipXO

func (*SupportzippathOK) IsClientError

func (o *SupportzippathOK) IsClientError() bool

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

func (*SupportzippathOK) IsCode

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

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

func (*SupportzippathOK) IsRedirect

func (o *SupportzippathOK) IsRedirect() bool

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

func (*SupportzippathOK) IsServerError

func (o *SupportzippathOK) IsServerError() bool

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

func (*SupportzippathOK) IsSuccess

func (o *SupportzippathOK) IsSuccess() bool

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

func (*SupportzippathOK) String

func (o *SupportzippathOK) String() string

type SupportzippathParams

type SupportzippathParams struct {

	// Body.
	Body *models.SupportZipGeneratorRequest

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

SupportzippathParams contains all the parameters to send to the API endpoint

for the supportzippath operation.

Typically these are written to a http.Request.

func NewSupportzippathParams

func NewSupportzippathParams() *SupportzippathParams

NewSupportzippathParams creates a new SupportzippathParams 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 NewSupportzippathParamsWithContext

func NewSupportzippathParamsWithContext(ctx context.Context) *SupportzippathParams

NewSupportzippathParamsWithContext creates a new SupportzippathParams object with the ability to set a context for a request.

func NewSupportzippathParamsWithHTTPClient

func NewSupportzippathParamsWithHTTPClient(client *http.Client) *SupportzippathParams

NewSupportzippathParamsWithHTTPClient creates a new SupportzippathParams object with the ability to set a custom HTTPClient for a request.

func NewSupportzippathParamsWithTimeout

func NewSupportzippathParamsWithTimeout(timeout time.Duration) *SupportzippathParams

NewSupportzippathParamsWithTimeout creates a new SupportzippathParams object with the ability to set a timeout on a request.

func (*SupportzippathParams) SetBody

SetBody adds the body to the supportzippath params

func (*SupportzippathParams) SetContext

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

SetContext adds the context to the supportzippath params

func (*SupportzippathParams) SetDefaults

func (o *SupportzippathParams) SetDefaults()

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

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

func (*SupportzippathParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the supportzippath params

func (*SupportzippathParams) SetTimeout

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

SetTimeout adds the timeout to the supportzippath params

func (*SupportzippathParams) WithBody

WithBody adds the body to the supportzippath params

func (*SupportzippathParams) WithContext

WithContext adds the context to the supportzippath params

func (*SupportzippathParams) WithDefaults

func (o *SupportzippathParams) WithDefaults() *SupportzippathParams

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

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

func (*SupportzippathParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the supportzippath params

func (*SupportzippathParams) WithTimeout

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

WithTimeout adds the timeout to the supportzippath params

func (*SupportzippathParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SupportzippathReader

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

SupportzippathReader is a Reader for the Supportzippath structure.

func (*SupportzippathReader) ReadResponse

func (o *SupportzippathReader) 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