schema

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: LGPL-3.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 schema API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new schema API client.

func (*Client) SchemaGet

func (a *Client) SchemaGet(params *SchemaGetParams) (*SchemaGetOK, error)

SchemaGet gets model schemata for data objects returned by this API

func (*Client) SchemaWebsocketHelp

func (a *Client) SchemaWebsocketHelp(params *SchemaWebsocketHelpParams) (*SchemaWebsocketHelpOK, error)

SchemaWebsocketHelp returns help text and subject list for websocket usage

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type SchemaGetBadRequest

type SchemaGetBadRequest struct {
	Payload *models.Error
}

SchemaGetBadRequest handles this case with default header values.

Parameter Error

func NewSchemaGetBadRequest

func NewSchemaGetBadRequest() *SchemaGetBadRequest

NewSchemaGetBadRequest creates a SchemaGetBadRequest with default headers values

func (*SchemaGetBadRequest) Error

func (o *SchemaGetBadRequest) Error() string

type SchemaGetNotFound

type SchemaGetNotFound struct {
	Payload *models.Error
}

SchemaGetNotFound handles this case with default header values.

Not Found

func NewSchemaGetNotFound

func NewSchemaGetNotFound() *SchemaGetNotFound

NewSchemaGetNotFound creates a SchemaGetNotFound with default headers values

func (*SchemaGetNotFound) Error

func (o *SchemaGetNotFound) Error() string

type SchemaGetOK

type SchemaGetOK struct {
	Payload interface{}
}

SchemaGetOK handles this case with default header values.

Request was successful

func NewSchemaGetOK

func NewSchemaGetOK() *SchemaGetOK

NewSchemaGetOK creates a SchemaGetOK with default headers values

func (*SchemaGetOK) Error

func (o *SchemaGetOK) Error() string

type SchemaGetParams

type SchemaGetParams struct {

	/*Model
	  Optional model filter. If omitted, will return all models.

	*/
	Model *string

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

SchemaGetParams contains all the parameters to send to the API endpoint for the schema get operation typically these are written to a http.Request

func NewSchemaGetParams

func NewSchemaGetParams() *SchemaGetParams

NewSchemaGetParams creates a new SchemaGetParams object with the default values initialized.

func NewSchemaGetParamsWithContext

func NewSchemaGetParamsWithContext(ctx context.Context) *SchemaGetParams

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

func NewSchemaGetParamsWithHTTPClient

func NewSchemaGetParamsWithHTTPClient(client *http.Client) *SchemaGetParams

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

func NewSchemaGetParamsWithTimeout

func NewSchemaGetParamsWithTimeout(timeout time.Duration) *SchemaGetParams

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

func (*SchemaGetParams) SetContext

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

SetContext adds the context to the schema get params

func (*SchemaGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema get params

func (*SchemaGetParams) SetModel

func (o *SchemaGetParams) SetModel(model *string)

SetModel adds the model to the schema get params

func (*SchemaGetParams) SetTimeout

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

SetTimeout adds the timeout to the schema get params

func (*SchemaGetParams) WithContext

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

WithContext adds the context to the schema get params

func (*SchemaGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schema get params

func (*SchemaGetParams) WithModel

func (o *SchemaGetParams) WithModel(model *string) *SchemaGetParams

WithModel adds the model to the schema get params

func (*SchemaGetParams) WithTimeout

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

WithTimeout adds the timeout to the schema get params

func (*SchemaGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SchemaGetReader

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

SchemaGetReader is a Reader for the SchemaGet structure.

func (*SchemaGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaGetUnauthorized

type SchemaGetUnauthorized struct {
	Payload *models.Error
}

SchemaGetUnauthorized handles this case with default header values.

Unauthorized

func NewSchemaGetUnauthorized

func NewSchemaGetUnauthorized() *SchemaGetUnauthorized

NewSchemaGetUnauthorized creates a SchemaGetUnauthorized with default headers values

func (*SchemaGetUnauthorized) Error

func (o *SchemaGetUnauthorized) Error() string

type SchemaWebsocketHelpBadRequest

type SchemaWebsocketHelpBadRequest struct {
	Payload *models.Error
}

SchemaWebsocketHelpBadRequest handles this case with default header values.

Parameter Error

func NewSchemaWebsocketHelpBadRequest

func NewSchemaWebsocketHelpBadRequest() *SchemaWebsocketHelpBadRequest

NewSchemaWebsocketHelpBadRequest creates a SchemaWebsocketHelpBadRequest with default headers values

func (*SchemaWebsocketHelpBadRequest) Error

type SchemaWebsocketHelpNotFound

type SchemaWebsocketHelpNotFound struct {
	Payload *models.Error
}

SchemaWebsocketHelpNotFound handles this case with default header values.

Not Found

func NewSchemaWebsocketHelpNotFound

func NewSchemaWebsocketHelpNotFound() *SchemaWebsocketHelpNotFound

NewSchemaWebsocketHelpNotFound creates a SchemaWebsocketHelpNotFound with default headers values

func (*SchemaWebsocketHelpNotFound) Error

type SchemaWebsocketHelpOK

type SchemaWebsocketHelpOK struct {
	Payload interface{}
}

SchemaWebsocketHelpOK handles this case with default header values.

Request was successful

func NewSchemaWebsocketHelpOK

func NewSchemaWebsocketHelpOK() *SchemaWebsocketHelpOK

NewSchemaWebsocketHelpOK creates a SchemaWebsocketHelpOK with default headers values

func (*SchemaWebsocketHelpOK) Error

func (o *SchemaWebsocketHelpOK) Error() string

type SchemaWebsocketHelpParams

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

SchemaWebsocketHelpParams contains all the parameters to send to the API endpoint for the schema websocket help operation typically these are written to a http.Request

func NewSchemaWebsocketHelpParams

func NewSchemaWebsocketHelpParams() *SchemaWebsocketHelpParams

NewSchemaWebsocketHelpParams creates a new SchemaWebsocketHelpParams object with the default values initialized.

func NewSchemaWebsocketHelpParamsWithContext

func NewSchemaWebsocketHelpParamsWithContext(ctx context.Context) *SchemaWebsocketHelpParams

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

func NewSchemaWebsocketHelpParamsWithHTTPClient

func NewSchemaWebsocketHelpParamsWithHTTPClient(client *http.Client) *SchemaWebsocketHelpParams

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

func NewSchemaWebsocketHelpParamsWithTimeout

func NewSchemaWebsocketHelpParamsWithTimeout(timeout time.Duration) *SchemaWebsocketHelpParams

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

func (*SchemaWebsocketHelpParams) SetContext

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

SetContext adds the context to the schema websocket help params

func (*SchemaWebsocketHelpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schema websocket help params

func (*SchemaWebsocketHelpParams) SetTimeout

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

SetTimeout adds the timeout to the schema websocket help params

func (*SchemaWebsocketHelpParams) WithContext

WithContext adds the context to the schema websocket help params

func (*SchemaWebsocketHelpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schema websocket help params

func (*SchemaWebsocketHelpParams) WithTimeout

WithTimeout adds the timeout to the schema websocket help params

func (*SchemaWebsocketHelpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SchemaWebsocketHelpReader

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

SchemaWebsocketHelpReader is a Reader for the SchemaWebsocketHelp structure.

func (*SchemaWebsocketHelpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SchemaWebsocketHelpUnauthorized

type SchemaWebsocketHelpUnauthorized struct {
	Payload *models.Error
}

SchemaWebsocketHelpUnauthorized handles this case with default header values.

Unauthorized

func NewSchemaWebsocketHelpUnauthorized

func NewSchemaWebsocketHelpUnauthorized() *SchemaWebsocketHelpUnauthorized

NewSchemaWebsocketHelpUnauthorized creates a SchemaWebsocketHelpUnauthorized with default headers values

func (*SchemaWebsocketHelpUnauthorized) Error

Jump to

Keyboard shortcuts

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