extend_files

package
v0.89.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 15 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 extend files API

func (*Client) GetExtendFile deprecated

Deprecated: 2022-08-10 - Use GetExtendFileShort instead.

GetExtendFile retrieve extend hosted static files Serves static files provided for extend features, for example: serving App UI files. Files are served with immutable caching headers.

func (*Client) GetExtendFileShort

func (a *Client) GetExtendFileShort(params *GetExtendFileParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtendFileOK, error)

GetExtendFileShort retrieve extend hosted static files Serves static files provided for extend features, for example: serving App UI files. Files are served with immutable caching headers.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetExtendFile(params *GetExtendFileParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtendFileOK, *GetExtendFileBadRequest, *GetExtendFileNotFound, *GetExtendFileBadGateway, error)
	GetExtendFileShort(params *GetExtendFileParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtendFileOK, 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 extend files API client.

type GetExtendFileBadGateway

type GetExtendFileBadGateway struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetExtendFileBadGateway handles this case with default header values.

Bad Gateway

func NewGetExtendFileBadGateway

func NewGetExtendFileBadGateway() *GetExtendFileBadGateway

NewGetExtendFileBadGateway creates a GetExtendFileBadGateway with default headers values

func (*GetExtendFileBadGateway) Error

func (o *GetExtendFileBadGateway) Error() string

func (*GetExtendFileBadGateway) GetPayload

func (*GetExtendFileBadGateway) ToJSONString

func (o *GetExtendFileBadGateway) ToJSONString() string

type GetExtendFileBadRequest

type GetExtendFileBadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetExtendFileBadRequest handles this case with default header values.

Bad Request

func NewGetExtendFileBadRequest

func NewGetExtendFileBadRequest() *GetExtendFileBadRequest

NewGetExtendFileBadRequest creates a GetExtendFileBadRequest with default headers values

func (*GetExtendFileBadRequest) Error

func (o *GetExtendFileBadRequest) Error() string

func (*GetExtendFileBadRequest) GetPayload

func (*GetExtendFileBadRequest) ToJSONString

func (o *GetExtendFileBadRequest) ToJSONString() string

type GetExtendFileNotFound

type GetExtendFileNotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetExtendFileNotFound handles this case with default header values.

Not Found

func NewGetExtendFileNotFound

func NewGetExtendFileNotFound() *GetExtendFileNotFound

NewGetExtendFileNotFound creates a GetExtendFileNotFound with default headers values

func (*GetExtendFileNotFound) Error

func (o *GetExtendFileNotFound) Error() string

func (*GetExtendFileNotFound) GetPayload

func (*GetExtendFileNotFound) ToJSONString

func (o *GetExtendFileNotFound) ToJSONString() string

type GetExtendFileOK

type GetExtendFileOK struct {
}

GetExtendFileOK handles this case with default header values.

OK

func NewGetExtendFileOK

func NewGetExtendFileOK() *GetExtendFileOK

NewGetExtendFileOK creates a GetExtendFileOK with default headers values

func (*GetExtendFileOK) Error

func (o *GetExtendFileOK) Error() string

type GetExtendFileParams

type GetExtendFileParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*FilePath
	  Path to file under namespace assets

	*/
	FilePath string
	/*Namespace
	  Game Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetExtendFileParams contains all the parameters to send to the API endpoint for the get extend file operation typically these are written to a http.Request

func NewGetExtendFileParams

func NewGetExtendFileParams() *GetExtendFileParams

NewGetExtendFileParams creates a new GetExtendFileParams object with the default values initialized.

func NewGetExtendFileParamsWithContext

func NewGetExtendFileParamsWithContext(ctx context.Context) *GetExtendFileParams

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

func NewGetExtendFileParamsWithHTTPClient

func NewGetExtendFileParamsWithHTTPClient(client *http.Client) *GetExtendFileParams

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

func NewGetExtendFileParamsWithTimeout

func NewGetExtendFileParamsWithTimeout(timeout time.Duration) *GetExtendFileParams

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

func (*GetExtendFileParams) SetAuthInfoWriter

func (o *GetExtendFileParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get extend file params

func (*GetExtendFileParams) SetContext

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

SetContext adds the context to the get extend file params

func (*GetExtendFileParams) SetFilePath

func (o *GetExtendFileParams) SetFilePath(filePath string)

SetFilePath adds the filePath to the get extend file params

func (*GetExtendFileParams) SetFlightId

func (o *GetExtendFileParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetExtendFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get extend file params

func (*GetExtendFileParams) SetHTTPClientTransport

func (o *GetExtendFileParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get extend file params

func (*GetExtendFileParams) SetNamespace

func (o *GetExtendFileParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get extend file params

func (*GetExtendFileParams) SetTimeout

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

SetTimeout adds the timeout to the get extend file params

func (*GetExtendFileParams) WithContext

WithContext adds the context to the get extend file params

func (*GetExtendFileParams) WithFilePath

func (o *GetExtendFileParams) WithFilePath(filePath string) *GetExtendFileParams

WithFilePath adds the filePath to the get extend file params

func (*GetExtendFileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get extend file params

func (*GetExtendFileParams) WithNamespace

func (o *GetExtendFileParams) WithNamespace(namespace string) *GetExtendFileParams

WithNamespace adds the namespace to the get extend file params

func (*GetExtendFileParams) WithTimeout

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

WithTimeout adds the timeout to the get extend file params

func (*GetExtendFileParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetExtendFileReader

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

GetExtendFileReader is a Reader for the GetExtendFile structure.

func (*GetExtendFileReader) ReadResponse

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