systeminfo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GetSysteminfoGetcertInternalServerErrorCode int = 500

GetSysteminfoGetcertInternalServerErrorCode is the HTTP code returned for type GetSysteminfoGetcertInternalServerError

View Source
const GetSysteminfoGetcertNotFoundCode int = 404

GetSysteminfoGetcertNotFoundCode is the HTTP code returned for type GetSysteminfoGetcertNotFound

View Source
const GetSysteminfoGetcertOKCode int = 200

GetSysteminfoGetcertOKCode is the HTTP code returned for type GetSysteminfoGetcertOK

View Source
const GetSysteminfoInternalServerErrorCode int = 500

GetSysteminfoInternalServerErrorCode is the HTTP code returned for type GetSysteminfoInternalServerError

View Source
const GetSysteminfoOKCode int = 200

GetSysteminfoOKCode is the HTTP code returned for type GetSysteminfoOK

View Source
const GetSysteminfoVolumesForbiddenCode int = 403

GetSysteminfoVolumesForbiddenCode is the HTTP code returned for type GetSysteminfoVolumesForbidden

View Source
const GetSysteminfoVolumesInternalServerErrorCode int = 500

GetSysteminfoVolumesInternalServerErrorCode is the HTTP code returned for type GetSysteminfoVolumesInternalServerError

View Source
const GetSysteminfoVolumesNotFoundCode int = 404

GetSysteminfoVolumesNotFoundCode is the HTTP code returned for type GetSysteminfoVolumesNotFound

View Source
const GetSysteminfoVolumesOKCode int = 200

GetSysteminfoVolumesOKCode is the HTTP code returned for type GetSysteminfoVolumesOK

View Source
const GetSysteminfoVolumesUnauthorizedCode int = 401

GetSysteminfoVolumesUnauthorizedCode is the HTTP code returned for type GetSysteminfoVolumesUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSysteminfo

type GetSysteminfo struct {
	Context *middleware.Context
	Handler GetSysteminfoHandler
}

GetSysteminfo swagger:route GET /systeminfo systeminfo getSysteminfo

Get general system info

This API is for retrieving general system info, this can be called by anonymous request. Some attributes will be omitted in the response when this API is called by anonymous request.

func NewGetSysteminfo

func NewGetSysteminfo(ctx *middleware.Context, handler GetSysteminfoHandler) *GetSysteminfo

NewGetSysteminfo creates a new http.Handler for the get systeminfo operation

func (*GetSysteminfo) ServeHTTP

func (o *GetSysteminfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetSysteminfoGetcert

type GetSysteminfoGetcert struct {
	Context *middleware.Context
	Handler GetSysteminfoGetcertHandler
}

GetSysteminfoGetcert swagger:route GET /systeminfo/getcert systeminfo getSysteminfoGetcert

Get default root certificate.

This endpoint is for downloading a default root certificate.

func NewGetSysteminfoGetcert

func NewGetSysteminfoGetcert(ctx *middleware.Context, handler GetSysteminfoGetcertHandler) *GetSysteminfoGetcert

NewGetSysteminfoGetcert creates a new http.Handler for the get systeminfo getcert operation

func (*GetSysteminfoGetcert) ServeHTTP

func (o *GetSysteminfoGetcert) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetSysteminfoGetcertHandler

type GetSysteminfoGetcertHandler interface {
	Handle(GetSysteminfoGetcertParams, interface{}) middleware.Responder
}

GetSysteminfoGetcertHandler interface for that can handle valid get systeminfo getcert params

type GetSysteminfoGetcertHandlerFunc

type GetSysteminfoGetcertHandlerFunc func(GetSysteminfoGetcertParams, interface{}) middleware.Responder

GetSysteminfoGetcertHandlerFunc turns a function with the right signature into a get systeminfo getcert handler

func (GetSysteminfoGetcertHandlerFunc) Handle

func (fn GetSysteminfoGetcertHandlerFunc) Handle(params GetSysteminfoGetcertParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetSysteminfoGetcertInternalServerError

type GetSysteminfoGetcertInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetSysteminfoGetcertInternalServerError Internal server error

swagger:response getSysteminfoGetcertInternalServerError

func NewGetSysteminfoGetcertInternalServerError

func NewGetSysteminfoGetcertInternalServerError() *GetSysteminfoGetcertInternalServerError

NewGetSysteminfoGetcertInternalServerError creates GetSysteminfoGetcertInternalServerError with default headers values

func (*GetSysteminfoGetcertInternalServerError) SetPayload

func (o *GetSysteminfoGetcertInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get systeminfo getcert internal server error response

func (*GetSysteminfoGetcertInternalServerError) SetXRequestID

func (o *GetSysteminfoGetcertInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get systeminfo getcert internal server error response

func (*GetSysteminfoGetcertInternalServerError) WithPayload

WithPayload adds the payload to the get systeminfo getcert internal server error response

func (*GetSysteminfoGetcertInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get systeminfo getcert internal server error response

func (*GetSysteminfoGetcertInternalServerError) WriteResponse

WriteResponse to the client

type GetSysteminfoGetcertNotFound

type GetSysteminfoGetcertNotFound struct {
}

GetSysteminfoGetcertNotFound Not found the default root certificate.

swagger:response getSysteminfoGetcertNotFound

func NewGetSysteminfoGetcertNotFound

func NewGetSysteminfoGetcertNotFound() *GetSysteminfoGetcertNotFound

NewGetSysteminfoGetcertNotFound creates GetSysteminfoGetcertNotFound with default headers values

func (*GetSysteminfoGetcertNotFound) WriteResponse

func (o *GetSysteminfoGetcertNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetSysteminfoGetcertOK

type GetSysteminfoGetcertOK struct {
	/*To set the filename of the downloaded file.

	 */
	ContentDisposition string `json:"Content-Disposition"`

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

GetSysteminfoGetcertOK Get default root certificate successfully.

swagger:response getSysteminfoGetcertOK

func NewGetSysteminfoGetcertOK

func NewGetSysteminfoGetcertOK() *GetSysteminfoGetcertOK

NewGetSysteminfoGetcertOK creates GetSysteminfoGetcertOK with default headers values

func (*GetSysteminfoGetcertOK) SetContentDisposition

func (o *GetSysteminfoGetcertOK) SetContentDisposition(contentDisposition string)

SetContentDisposition sets the contentDisposition to the get systeminfo getcert o k response

func (*GetSysteminfoGetcertOK) SetPayload

func (o *GetSysteminfoGetcertOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the get systeminfo getcert o k response

func (*GetSysteminfoGetcertOK) WithContentDisposition

func (o *GetSysteminfoGetcertOK) WithContentDisposition(contentDisposition string) *GetSysteminfoGetcertOK

WithContentDisposition adds the contentDisposition to the get systeminfo getcert o k response

func (*GetSysteminfoGetcertOK) WithPayload

WithPayload adds the payload to the get systeminfo getcert o k response

func (*GetSysteminfoGetcertOK) WriteResponse

func (o *GetSysteminfoGetcertOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetSysteminfoGetcertParams

type GetSysteminfoGetcertParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetSysteminfoGetcertParams contains all the bound params for the get systeminfo getcert operation typically these are obtained from a http.Request

swagger:parameters GetSysteminfoGetcert

func NewGetSysteminfoGetcertParams

func NewGetSysteminfoGetcertParams() GetSysteminfoGetcertParams

NewGetSysteminfoGetcertParams creates a new GetSysteminfoGetcertParams object no default values defined in spec.

func (*GetSysteminfoGetcertParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetSysteminfoGetcertParams() beforehand.

type GetSysteminfoGetcertURL

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

GetSysteminfoGetcertURL generates an URL for the get systeminfo getcert operation

func (*GetSysteminfoGetcertURL) Build

func (o *GetSysteminfoGetcertURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetSysteminfoGetcertURL) BuildFull

func (o *GetSysteminfoGetcertURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetSysteminfoGetcertURL) Must

func (o *GetSysteminfoGetcertURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetSysteminfoGetcertURL) SetBasePath

func (o *GetSysteminfoGetcertURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetSysteminfoGetcertURL) String

func (o *GetSysteminfoGetcertURL) String() string

String returns the string representation of the path with query string

func (*GetSysteminfoGetcertURL) StringFull

func (o *GetSysteminfoGetcertURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetSysteminfoGetcertURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetSysteminfoHandler

type GetSysteminfoHandler interface {
	Handle(GetSysteminfoParams, interface{}) middleware.Responder
}

GetSysteminfoHandler interface for that can handle valid get systeminfo params

type GetSysteminfoHandlerFunc

type GetSysteminfoHandlerFunc func(GetSysteminfoParams, interface{}) middleware.Responder

GetSysteminfoHandlerFunc turns a function with the right signature into a get systeminfo handler

func (GetSysteminfoHandlerFunc) Handle

func (fn GetSysteminfoHandlerFunc) Handle(params GetSysteminfoParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetSysteminfoInternalServerError

type GetSysteminfoInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetSysteminfoInternalServerError Internal server error

swagger:response getSysteminfoInternalServerError

func NewGetSysteminfoInternalServerError

func NewGetSysteminfoInternalServerError() *GetSysteminfoInternalServerError

NewGetSysteminfoInternalServerError creates GetSysteminfoInternalServerError with default headers values

func (*GetSysteminfoInternalServerError) SetPayload

func (o *GetSysteminfoInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get systeminfo internal server error response

func (*GetSysteminfoInternalServerError) SetXRequestID

func (o *GetSysteminfoInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get systeminfo internal server error response

func (*GetSysteminfoInternalServerError) WithPayload

WithPayload adds the payload to the get systeminfo internal server error response

func (*GetSysteminfoInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get systeminfo internal server error response

func (*GetSysteminfoInternalServerError) WriteResponse

func (o *GetSysteminfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetSysteminfoOK

type GetSysteminfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.GeneralInfo `json:"body,omitempty"`
}

GetSysteminfoOK Get general info successfully.

swagger:response getSysteminfoOK

func NewGetSysteminfoOK

func NewGetSysteminfoOK() *GetSysteminfoOK

NewGetSysteminfoOK creates GetSysteminfoOK with default headers values

func (*GetSysteminfoOK) SetPayload

func (o *GetSysteminfoOK) SetPayload(payload *models.GeneralInfo)

SetPayload sets the payload to the get systeminfo o k response

func (*GetSysteminfoOK) WithPayload

func (o *GetSysteminfoOK) WithPayload(payload *models.GeneralInfo) *GetSysteminfoOK

WithPayload adds the payload to the get systeminfo o k response

func (*GetSysteminfoOK) WriteResponse

func (o *GetSysteminfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetSysteminfoParams

type GetSysteminfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetSysteminfoParams contains all the bound params for the get systeminfo operation typically these are obtained from a http.Request

swagger:parameters GetSysteminfo

func NewGetSysteminfoParams

func NewGetSysteminfoParams() GetSysteminfoParams

NewGetSysteminfoParams creates a new GetSysteminfoParams object no default values defined in spec.

func (*GetSysteminfoParams) BindRequest

func (o *GetSysteminfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetSysteminfoParams() beforehand.

type GetSysteminfoURL

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

GetSysteminfoURL generates an URL for the get systeminfo operation

func (*GetSysteminfoURL) Build

func (o *GetSysteminfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetSysteminfoURL) BuildFull

func (o *GetSysteminfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetSysteminfoURL) Must

func (o *GetSysteminfoURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetSysteminfoURL) SetBasePath

func (o *GetSysteminfoURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetSysteminfoURL) String

func (o *GetSysteminfoURL) String() string

String returns the string representation of the path with query string

func (*GetSysteminfoURL) StringFull

func (o *GetSysteminfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetSysteminfoURL) WithBasePath

func (o *GetSysteminfoURL) WithBasePath(bp string) *GetSysteminfoURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetSysteminfoVolumes

type GetSysteminfoVolumes struct {
	Context *middleware.Context
	Handler GetSysteminfoVolumesHandler
}

GetSysteminfoVolumes swagger:route GET /systeminfo/volumes systeminfo getSysteminfoVolumes

Get system volume info (total/free size).

This endpoint is for retrieving system volume info that only provides for admin user. Note that the response only reflects the storage status of local disk.

func NewGetSysteminfoVolumes

func NewGetSysteminfoVolumes(ctx *middleware.Context, handler GetSysteminfoVolumesHandler) *GetSysteminfoVolumes

NewGetSysteminfoVolumes creates a new http.Handler for the get systeminfo volumes operation

func (*GetSysteminfoVolumes) ServeHTTP

func (o *GetSysteminfoVolumes) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetSysteminfoVolumesForbidden

type GetSysteminfoVolumesForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetSysteminfoVolumesForbidden Forbidden

swagger:response getSysteminfoVolumesForbidden

func NewGetSysteminfoVolumesForbidden

func NewGetSysteminfoVolumesForbidden() *GetSysteminfoVolumesForbidden

NewGetSysteminfoVolumesForbidden creates GetSysteminfoVolumesForbidden with default headers values

func (*GetSysteminfoVolumesForbidden) SetPayload

func (o *GetSysteminfoVolumesForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get systeminfo volumes forbidden response

func (*GetSysteminfoVolumesForbidden) SetXRequestID

func (o *GetSysteminfoVolumesForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get systeminfo volumes forbidden response

func (*GetSysteminfoVolumesForbidden) WithPayload

WithPayload adds the payload to the get systeminfo volumes forbidden response

func (*GetSysteminfoVolumesForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the get systeminfo volumes forbidden response

func (*GetSysteminfoVolumesForbidden) WriteResponse

func (o *GetSysteminfoVolumesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetSysteminfoVolumesHandler

type GetSysteminfoVolumesHandler interface {
	Handle(GetSysteminfoVolumesParams, interface{}) middleware.Responder
}

GetSysteminfoVolumesHandler interface for that can handle valid get systeminfo volumes params

type GetSysteminfoVolumesHandlerFunc

type GetSysteminfoVolumesHandlerFunc func(GetSysteminfoVolumesParams, interface{}) middleware.Responder

GetSysteminfoVolumesHandlerFunc turns a function with the right signature into a get systeminfo volumes handler

func (GetSysteminfoVolumesHandlerFunc) Handle

func (fn GetSysteminfoVolumesHandlerFunc) Handle(params GetSysteminfoVolumesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetSysteminfoVolumesInternalServerError

type GetSysteminfoVolumesInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetSysteminfoVolumesInternalServerError Internal server error

swagger:response getSysteminfoVolumesInternalServerError

func NewGetSysteminfoVolumesInternalServerError

func NewGetSysteminfoVolumesInternalServerError() *GetSysteminfoVolumesInternalServerError

NewGetSysteminfoVolumesInternalServerError creates GetSysteminfoVolumesInternalServerError with default headers values

func (*GetSysteminfoVolumesInternalServerError) SetPayload

func (o *GetSysteminfoVolumesInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get systeminfo volumes internal server error response

func (*GetSysteminfoVolumesInternalServerError) SetXRequestID

func (o *GetSysteminfoVolumesInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get systeminfo volumes internal server error response

func (*GetSysteminfoVolumesInternalServerError) WithPayload

WithPayload adds the payload to the get systeminfo volumes internal server error response

func (*GetSysteminfoVolumesInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get systeminfo volumes internal server error response

func (*GetSysteminfoVolumesInternalServerError) WriteResponse

WriteResponse to the client

type GetSysteminfoVolumesNotFound

type GetSysteminfoVolumesNotFound struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetSysteminfoVolumesNotFound Not found

swagger:response getSysteminfoVolumesNotFound

func NewGetSysteminfoVolumesNotFound

func NewGetSysteminfoVolumesNotFound() *GetSysteminfoVolumesNotFound

NewGetSysteminfoVolumesNotFound creates GetSysteminfoVolumesNotFound with default headers values

func (*GetSysteminfoVolumesNotFound) SetPayload

func (o *GetSysteminfoVolumesNotFound) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get systeminfo volumes not found response

func (*GetSysteminfoVolumesNotFound) SetXRequestID

func (o *GetSysteminfoVolumesNotFound) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get systeminfo volumes not found response

func (*GetSysteminfoVolumesNotFound) WithPayload

WithPayload adds the payload to the get systeminfo volumes not found response

func (*GetSysteminfoVolumesNotFound) WithXRequestID

func (o *GetSysteminfoVolumesNotFound) WithXRequestID(xRequestID string) *GetSysteminfoVolumesNotFound

WithXRequestID adds the xRequestId to the get systeminfo volumes not found response

func (*GetSysteminfoVolumesNotFound) WriteResponse

func (o *GetSysteminfoVolumesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetSysteminfoVolumesOK

type GetSysteminfoVolumesOK struct {

	/*
	  In: Body
	*/
	Payload *models.SystemInfo `json:"body,omitempty"`
}

GetSysteminfoVolumesOK Get system volumes successfully.

swagger:response getSysteminfoVolumesOK

func NewGetSysteminfoVolumesOK

func NewGetSysteminfoVolumesOK() *GetSysteminfoVolumesOK

NewGetSysteminfoVolumesOK creates GetSysteminfoVolumesOK with default headers values

func (*GetSysteminfoVolumesOK) SetPayload

func (o *GetSysteminfoVolumesOK) SetPayload(payload *models.SystemInfo)

SetPayload sets the payload to the get systeminfo volumes o k response

func (*GetSysteminfoVolumesOK) WithPayload

WithPayload adds the payload to the get systeminfo volumes o k response

func (*GetSysteminfoVolumesOK) WriteResponse

func (o *GetSysteminfoVolumesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetSysteminfoVolumesParams

type GetSysteminfoVolumesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetSysteminfoVolumesParams contains all the bound params for the get systeminfo volumes operation typically these are obtained from a http.Request

swagger:parameters GetSysteminfoVolumes

func NewGetSysteminfoVolumesParams

func NewGetSysteminfoVolumesParams() GetSysteminfoVolumesParams

NewGetSysteminfoVolumesParams creates a new GetSysteminfoVolumesParams object no default values defined in spec.

func (*GetSysteminfoVolumesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetSysteminfoVolumesParams() beforehand.

type GetSysteminfoVolumesURL

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

GetSysteminfoVolumesURL generates an URL for the get systeminfo volumes operation

func (*GetSysteminfoVolumesURL) Build

func (o *GetSysteminfoVolumesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetSysteminfoVolumesURL) BuildFull

func (o *GetSysteminfoVolumesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetSysteminfoVolumesURL) Must

func (o *GetSysteminfoVolumesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetSysteminfoVolumesURL) SetBasePath

func (o *GetSysteminfoVolumesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetSysteminfoVolumesURL) String

func (o *GetSysteminfoVolumesURL) String() string

String returns the string representation of the path with query string

func (*GetSysteminfoVolumesURL) StringFull

func (o *GetSysteminfoVolumesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetSysteminfoVolumesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetSysteminfoVolumesUnauthorized

type GetSysteminfoVolumesUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetSysteminfoVolumesUnauthorized Unauthorized

swagger:response getSysteminfoVolumesUnauthorized

func NewGetSysteminfoVolumesUnauthorized

func NewGetSysteminfoVolumesUnauthorized() *GetSysteminfoVolumesUnauthorized

NewGetSysteminfoVolumesUnauthorized creates GetSysteminfoVolumesUnauthorized with default headers values

func (*GetSysteminfoVolumesUnauthorized) SetPayload

func (o *GetSysteminfoVolumesUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get systeminfo volumes unauthorized response

func (*GetSysteminfoVolumesUnauthorized) SetXRequestID

func (o *GetSysteminfoVolumesUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get systeminfo volumes unauthorized response

func (*GetSysteminfoVolumesUnauthorized) WithPayload

WithPayload adds the payload to the get systeminfo volumes unauthorized response

func (*GetSysteminfoVolumesUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the get systeminfo volumes unauthorized response

func (*GetSysteminfoVolumesUnauthorized) WriteResponse

func (o *GetSysteminfoVolumesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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