schemas

package
v0.0.0-...-b7c6b38 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.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 schemas API

func (*Client) CreateSchema

func (a *Client) CreateSchema(params *CreateSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSchemaCreated, error)

CreateSchema creates schema

Create a schema. Set the `system` flag to prevent the schema from deletion or modifications.

func (*Client) DeleteSchema

func (a *Client) DeleteSchema(params *DeleteSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSchemaNoContent, error)

DeleteSchema deletes schema

Delete a schema. Schemas marked with the `system` flag aren't available for deletion.

func (*Client) GetSchema

func (a *Client) GetSchema(params *GetSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSchemaOK, error)

GetSchema gets schema

Retrieve information about a specified identity schema.

func (*Client) GetWorkspaceSchema

func (a *Client) GetWorkspaceSchema(params *GetWorkspaceSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkspaceSchemaOK, error)

GetWorkspaceSchema gets workspace schema

Retrieve information about a specified identity schema.

func (*Client) ListSchemas

func (a *Client) ListSchemas(params *ListSchemasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSchemasOK, error)

ListSchemas lists schemas

List schemas available for the current administrator.

func (*Client) ListWorkspaceSchemas

func (a *Client) ListWorkspaceSchemas(params *ListWorkspaceSchemasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspaceSchemasOK, error)

ListWorkspaceSchemas lists workspace schemas

List schemas available for the workspace.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSchema

func (a *Client) UpdateSchema(params *UpdateSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSchemaOK, error)

UpdateSchema updates schema

Update a schema. Schemas marked with the `system` flag aren't available for update.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateSchema(params *CreateSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSchemaCreated, error)

	DeleteSchema(params *DeleteSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSchemaNoContent, error)

	GetSchema(params *GetSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSchemaOK, error)

	GetWorkspaceSchema(params *GetWorkspaceSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkspaceSchemaOK, error)

	ListSchemas(params *ListSchemasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSchemasOK, error)

	ListWorkspaceSchemas(params *ListWorkspaceSchemasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListWorkspaceSchemasOK, error)

	UpdateSchema(params *UpdateSchemaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSchemaOK, 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 schemas API client.

type CreateSchemaBadRequest

type CreateSchemaBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewCreateSchemaBadRequest

func NewCreateSchemaBadRequest() *CreateSchemaBadRequest

NewCreateSchemaBadRequest creates a CreateSchemaBadRequest with default headers values

func (*CreateSchemaBadRequest) Code

func (o *CreateSchemaBadRequest) Code() int

Code gets the status code for the create schema bad request response

func (*CreateSchemaBadRequest) Error

func (o *CreateSchemaBadRequest) Error() string

func (*CreateSchemaBadRequest) GetPayload

func (o *CreateSchemaBadRequest) GetPayload() *models.Error

func (*CreateSchemaBadRequest) IsClientError

func (o *CreateSchemaBadRequest) IsClientError() bool

IsClientError returns true when this create schema bad request response has a 4xx status code

func (*CreateSchemaBadRequest) IsCode

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

IsCode returns true when this create schema bad request response a status code equal to that given

func (*CreateSchemaBadRequest) IsRedirect

func (o *CreateSchemaBadRequest) IsRedirect() bool

IsRedirect returns true when this create schema bad request response has a 3xx status code

func (*CreateSchemaBadRequest) IsServerError

func (o *CreateSchemaBadRequest) IsServerError() bool

IsServerError returns true when this create schema bad request response has a 5xx status code

func (*CreateSchemaBadRequest) IsSuccess

func (o *CreateSchemaBadRequest) IsSuccess() bool

IsSuccess returns true when this create schema bad request response has a 2xx status code

func (*CreateSchemaBadRequest) String

func (o *CreateSchemaBadRequest) String() string

type CreateSchemaConflict

type CreateSchemaConflict struct {
	Payload *models.Error
}

CreateSchemaConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateSchemaConflict

func NewCreateSchemaConflict() *CreateSchemaConflict

NewCreateSchemaConflict creates a CreateSchemaConflict with default headers values

func (*CreateSchemaConflict) Code

func (o *CreateSchemaConflict) Code() int

Code gets the status code for the create schema conflict response

func (*CreateSchemaConflict) Error

func (o *CreateSchemaConflict) Error() string

func (*CreateSchemaConflict) GetPayload

func (o *CreateSchemaConflict) GetPayload() *models.Error

func (*CreateSchemaConflict) IsClientError

func (o *CreateSchemaConflict) IsClientError() bool

IsClientError returns true when this create schema conflict response has a 4xx status code

func (*CreateSchemaConflict) IsCode

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

IsCode returns true when this create schema conflict response a status code equal to that given

func (*CreateSchemaConflict) IsRedirect

func (o *CreateSchemaConflict) IsRedirect() bool

IsRedirect returns true when this create schema conflict response has a 3xx status code

func (*CreateSchemaConflict) IsServerError

func (o *CreateSchemaConflict) IsServerError() bool

IsServerError returns true when this create schema conflict response has a 5xx status code

func (*CreateSchemaConflict) IsSuccess

func (o *CreateSchemaConflict) IsSuccess() bool

IsSuccess returns true when this create schema conflict response has a 2xx status code

func (*CreateSchemaConflict) String

func (o *CreateSchemaConflict) String() string

type CreateSchemaCreated

type CreateSchemaCreated struct {
	Payload *models.Schema
}

CreateSchemaCreated describes a response with status code 201, with default header values.

Schema

func NewCreateSchemaCreated

func NewCreateSchemaCreated() *CreateSchemaCreated

NewCreateSchemaCreated creates a CreateSchemaCreated with default headers values

func (*CreateSchemaCreated) Code

func (o *CreateSchemaCreated) Code() int

Code gets the status code for the create schema created response

func (*CreateSchemaCreated) Error

func (o *CreateSchemaCreated) Error() string

func (*CreateSchemaCreated) GetPayload

func (o *CreateSchemaCreated) GetPayload() *models.Schema

func (*CreateSchemaCreated) IsClientError

func (o *CreateSchemaCreated) IsClientError() bool

IsClientError returns true when this create schema created response has a 4xx status code

func (*CreateSchemaCreated) IsCode

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

IsCode returns true when this create schema created response a status code equal to that given

func (*CreateSchemaCreated) IsRedirect

func (o *CreateSchemaCreated) IsRedirect() bool

IsRedirect returns true when this create schema created response has a 3xx status code

func (*CreateSchemaCreated) IsServerError

func (o *CreateSchemaCreated) IsServerError() bool

IsServerError returns true when this create schema created response has a 5xx status code

func (*CreateSchemaCreated) IsSuccess

func (o *CreateSchemaCreated) IsSuccess() bool

IsSuccess returns true when this create schema created response has a 2xx status code

func (*CreateSchemaCreated) String

func (o *CreateSchemaCreated) String() string

type CreateSchemaForbidden

type CreateSchemaForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateSchemaForbidden

func NewCreateSchemaForbidden() *CreateSchemaForbidden

NewCreateSchemaForbidden creates a CreateSchemaForbidden with default headers values

func (*CreateSchemaForbidden) Code

func (o *CreateSchemaForbidden) Code() int

Code gets the status code for the create schema forbidden response

func (*CreateSchemaForbidden) Error

func (o *CreateSchemaForbidden) Error() string

func (*CreateSchemaForbidden) GetPayload

func (o *CreateSchemaForbidden) GetPayload() *models.Error

func (*CreateSchemaForbidden) IsClientError

func (o *CreateSchemaForbidden) IsClientError() bool

IsClientError returns true when this create schema forbidden response has a 4xx status code

func (*CreateSchemaForbidden) IsCode

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

IsCode returns true when this create schema forbidden response a status code equal to that given

func (*CreateSchemaForbidden) IsRedirect

func (o *CreateSchemaForbidden) IsRedirect() bool

IsRedirect returns true when this create schema forbidden response has a 3xx status code

func (*CreateSchemaForbidden) IsServerError

func (o *CreateSchemaForbidden) IsServerError() bool

IsServerError returns true when this create schema forbidden response has a 5xx status code

func (*CreateSchemaForbidden) IsSuccess

func (o *CreateSchemaForbidden) IsSuccess() bool

IsSuccess returns true when this create schema forbidden response has a 2xx status code

func (*CreateSchemaForbidden) String

func (o *CreateSchemaForbidden) String() string

type CreateSchemaNotFound

type CreateSchemaNotFound struct {
	Payload *models.Error
}

CreateSchemaNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateSchemaNotFound

func NewCreateSchemaNotFound() *CreateSchemaNotFound

NewCreateSchemaNotFound creates a CreateSchemaNotFound with default headers values

func (*CreateSchemaNotFound) Code

func (o *CreateSchemaNotFound) Code() int

Code gets the status code for the create schema not found response

func (*CreateSchemaNotFound) Error

func (o *CreateSchemaNotFound) Error() string

func (*CreateSchemaNotFound) GetPayload

func (o *CreateSchemaNotFound) GetPayload() *models.Error

func (*CreateSchemaNotFound) IsClientError

func (o *CreateSchemaNotFound) IsClientError() bool

IsClientError returns true when this create schema not found response has a 4xx status code

func (*CreateSchemaNotFound) IsCode

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

IsCode returns true when this create schema not found response a status code equal to that given

func (*CreateSchemaNotFound) IsRedirect

func (o *CreateSchemaNotFound) IsRedirect() bool

IsRedirect returns true when this create schema not found response has a 3xx status code

func (*CreateSchemaNotFound) IsServerError

func (o *CreateSchemaNotFound) IsServerError() bool

IsServerError returns true when this create schema not found response has a 5xx status code

func (*CreateSchemaNotFound) IsSuccess

func (o *CreateSchemaNotFound) IsSuccess() bool

IsSuccess returns true when this create schema not found response has a 2xx status code

func (*CreateSchemaNotFound) String

func (o *CreateSchemaNotFound) String() string

type CreateSchemaParams

type CreateSchemaParams struct {

	// Schema.
	Schema *models.Schema

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

CreateSchemaParams contains all the parameters to send to the API endpoint

for the create schema operation.

Typically these are written to a http.Request.

func NewCreateSchemaParams

func NewCreateSchemaParams() *CreateSchemaParams

NewCreateSchemaParams creates a new CreateSchemaParams 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 NewCreateSchemaParamsWithContext

func NewCreateSchemaParamsWithContext(ctx context.Context) *CreateSchemaParams

NewCreateSchemaParamsWithContext creates a new CreateSchemaParams object with the ability to set a context for a request.

func NewCreateSchemaParamsWithHTTPClient

func NewCreateSchemaParamsWithHTTPClient(client *http.Client) *CreateSchemaParams

NewCreateSchemaParamsWithHTTPClient creates a new CreateSchemaParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSchemaParamsWithTimeout

func NewCreateSchemaParamsWithTimeout(timeout time.Duration) *CreateSchemaParams

NewCreateSchemaParamsWithTimeout creates a new CreateSchemaParams object with the ability to set a timeout on a request.

func (*CreateSchemaParams) SetContext

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

SetContext adds the context to the create schema params

func (*CreateSchemaParams) SetDefaults

func (o *CreateSchemaParams) SetDefaults()

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

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

func (*CreateSchemaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create schema params

func (*CreateSchemaParams) SetIfMatch

func (o *CreateSchemaParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create schema params

func (*CreateSchemaParams) SetSchema

func (o *CreateSchemaParams) SetSchema(schema *models.Schema)

SetSchema adds the schema to the create schema params

func (*CreateSchemaParams) SetTimeout

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

SetTimeout adds the timeout to the create schema params

func (*CreateSchemaParams) WithContext

WithContext adds the context to the create schema params

func (*CreateSchemaParams) WithDefaults

func (o *CreateSchemaParams) WithDefaults() *CreateSchemaParams

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

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

func (*CreateSchemaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create schema params

func (*CreateSchemaParams) WithIfMatch

func (o *CreateSchemaParams) WithIfMatch(ifMatch *string) *CreateSchemaParams

WithIfMatch adds the ifMatch to the create schema params

func (*CreateSchemaParams) WithSchema

func (o *CreateSchemaParams) WithSchema(schema *models.Schema) *CreateSchemaParams

WithSchema adds the schema to the create schema params

func (*CreateSchemaParams) WithTimeout

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

WithTimeout adds the timeout to the create schema params

func (*CreateSchemaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateSchemaReader

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

CreateSchemaReader is a Reader for the CreateSchema structure.

func (*CreateSchemaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSchemaTooManyRequests

type CreateSchemaTooManyRequests struct {
	Payload *models.Error
}

CreateSchemaTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCreateSchemaTooManyRequests

func NewCreateSchemaTooManyRequests() *CreateSchemaTooManyRequests

NewCreateSchemaTooManyRequests creates a CreateSchemaTooManyRequests with default headers values

func (*CreateSchemaTooManyRequests) Code

func (o *CreateSchemaTooManyRequests) Code() int

Code gets the status code for the create schema too many requests response

func (*CreateSchemaTooManyRequests) Error

func (*CreateSchemaTooManyRequests) GetPayload

func (o *CreateSchemaTooManyRequests) GetPayload() *models.Error

func (*CreateSchemaTooManyRequests) IsClientError

func (o *CreateSchemaTooManyRequests) IsClientError() bool

IsClientError returns true when this create schema too many requests response has a 4xx status code

func (*CreateSchemaTooManyRequests) IsCode

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

IsCode returns true when this create schema too many requests response a status code equal to that given

func (*CreateSchemaTooManyRequests) IsRedirect

func (o *CreateSchemaTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create schema too many requests response has a 3xx status code

func (*CreateSchemaTooManyRequests) IsServerError

func (o *CreateSchemaTooManyRequests) IsServerError() bool

IsServerError returns true when this create schema too many requests response has a 5xx status code

func (*CreateSchemaTooManyRequests) IsSuccess

func (o *CreateSchemaTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create schema too many requests response has a 2xx status code

func (*CreateSchemaTooManyRequests) String

func (o *CreateSchemaTooManyRequests) String() string

type CreateSchemaUnauthorized

type CreateSchemaUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateSchemaUnauthorized

func NewCreateSchemaUnauthorized() *CreateSchemaUnauthorized

NewCreateSchemaUnauthorized creates a CreateSchemaUnauthorized with default headers values

func (*CreateSchemaUnauthorized) Code

func (o *CreateSchemaUnauthorized) Code() int

Code gets the status code for the create schema unauthorized response

func (*CreateSchemaUnauthorized) Error

func (o *CreateSchemaUnauthorized) Error() string

func (*CreateSchemaUnauthorized) GetPayload

func (o *CreateSchemaUnauthorized) GetPayload() *models.Error

func (*CreateSchemaUnauthorized) IsClientError

func (o *CreateSchemaUnauthorized) IsClientError() bool

IsClientError returns true when this create schema unauthorized response has a 4xx status code

func (*CreateSchemaUnauthorized) IsCode

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

IsCode returns true when this create schema unauthorized response a status code equal to that given

func (*CreateSchemaUnauthorized) IsRedirect

func (o *CreateSchemaUnauthorized) IsRedirect() bool

IsRedirect returns true when this create schema unauthorized response has a 3xx status code

func (*CreateSchemaUnauthorized) IsServerError

func (o *CreateSchemaUnauthorized) IsServerError() bool

IsServerError returns true when this create schema unauthorized response has a 5xx status code

func (*CreateSchemaUnauthorized) IsSuccess

func (o *CreateSchemaUnauthorized) IsSuccess() bool

IsSuccess returns true when this create schema unauthorized response has a 2xx status code

func (*CreateSchemaUnauthorized) String

func (o *CreateSchemaUnauthorized) String() string

type CreateSchemaUnprocessableEntity

type CreateSchemaUnprocessableEntity struct {
	Payload *models.Error
}

CreateSchemaUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateSchemaUnprocessableEntity

func NewCreateSchemaUnprocessableEntity() *CreateSchemaUnprocessableEntity

NewCreateSchemaUnprocessableEntity creates a CreateSchemaUnprocessableEntity with default headers values

func (*CreateSchemaUnprocessableEntity) Code

Code gets the status code for the create schema unprocessable entity response

func (*CreateSchemaUnprocessableEntity) Error

func (*CreateSchemaUnprocessableEntity) GetPayload

func (o *CreateSchemaUnprocessableEntity) GetPayload() *models.Error

func (*CreateSchemaUnprocessableEntity) IsClientError

func (o *CreateSchemaUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create schema unprocessable entity response has a 4xx status code

func (*CreateSchemaUnprocessableEntity) IsCode

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

IsCode returns true when this create schema unprocessable entity response a status code equal to that given

func (*CreateSchemaUnprocessableEntity) IsRedirect

func (o *CreateSchemaUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create schema unprocessable entity response has a 3xx status code

func (*CreateSchemaUnprocessableEntity) IsServerError

func (o *CreateSchemaUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create schema unprocessable entity response has a 5xx status code

func (*CreateSchemaUnprocessableEntity) IsSuccess

func (o *CreateSchemaUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create schema unprocessable entity response has a 2xx status code

func (*CreateSchemaUnprocessableEntity) String

type DeleteSchemaBadRequest

type DeleteSchemaBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewDeleteSchemaBadRequest

func NewDeleteSchemaBadRequest() *DeleteSchemaBadRequest

NewDeleteSchemaBadRequest creates a DeleteSchemaBadRequest with default headers values

func (*DeleteSchemaBadRequest) Code

func (o *DeleteSchemaBadRequest) Code() int

Code gets the status code for the delete schema bad request response

func (*DeleteSchemaBadRequest) Error

func (o *DeleteSchemaBadRequest) Error() string

func (*DeleteSchemaBadRequest) GetPayload

func (o *DeleteSchemaBadRequest) GetPayload() *models.Error

func (*DeleteSchemaBadRequest) IsClientError

func (o *DeleteSchemaBadRequest) IsClientError() bool

IsClientError returns true when this delete schema bad request response has a 4xx status code

func (*DeleteSchemaBadRequest) IsCode

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

IsCode returns true when this delete schema bad request response a status code equal to that given

func (*DeleteSchemaBadRequest) IsRedirect

func (o *DeleteSchemaBadRequest) IsRedirect() bool

IsRedirect returns true when this delete schema bad request response has a 3xx status code

func (*DeleteSchemaBadRequest) IsServerError

func (o *DeleteSchemaBadRequest) IsServerError() bool

IsServerError returns true when this delete schema bad request response has a 5xx status code

func (*DeleteSchemaBadRequest) IsSuccess

func (o *DeleteSchemaBadRequest) IsSuccess() bool

IsSuccess returns true when this delete schema bad request response has a 2xx status code

func (*DeleteSchemaBadRequest) String

func (o *DeleteSchemaBadRequest) String() string

type DeleteSchemaConflict

type DeleteSchemaConflict struct {
	Payload *models.Error
}

DeleteSchemaConflict describes a response with status code 409, with default header values.

Conflict

func NewDeleteSchemaConflict

func NewDeleteSchemaConflict() *DeleteSchemaConflict

NewDeleteSchemaConflict creates a DeleteSchemaConflict with default headers values

func (*DeleteSchemaConflict) Code

func (o *DeleteSchemaConflict) Code() int

Code gets the status code for the delete schema conflict response

func (*DeleteSchemaConflict) Error

func (o *DeleteSchemaConflict) Error() string

func (*DeleteSchemaConflict) GetPayload

func (o *DeleteSchemaConflict) GetPayload() *models.Error

func (*DeleteSchemaConflict) IsClientError

func (o *DeleteSchemaConflict) IsClientError() bool

IsClientError returns true when this delete schema conflict response has a 4xx status code

func (*DeleteSchemaConflict) IsCode

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

IsCode returns true when this delete schema conflict response a status code equal to that given

func (*DeleteSchemaConflict) IsRedirect

func (o *DeleteSchemaConflict) IsRedirect() bool

IsRedirect returns true when this delete schema conflict response has a 3xx status code

func (*DeleteSchemaConflict) IsServerError

func (o *DeleteSchemaConflict) IsServerError() bool

IsServerError returns true when this delete schema conflict response has a 5xx status code

func (*DeleteSchemaConflict) IsSuccess

func (o *DeleteSchemaConflict) IsSuccess() bool

IsSuccess returns true when this delete schema conflict response has a 2xx status code

func (*DeleteSchemaConflict) String

func (o *DeleteSchemaConflict) String() string

type DeleteSchemaForbidden

type DeleteSchemaForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteSchemaForbidden

func NewDeleteSchemaForbidden() *DeleteSchemaForbidden

NewDeleteSchemaForbidden creates a DeleteSchemaForbidden with default headers values

func (*DeleteSchemaForbidden) Code

func (o *DeleteSchemaForbidden) Code() int

Code gets the status code for the delete schema forbidden response

func (*DeleteSchemaForbidden) Error

func (o *DeleteSchemaForbidden) Error() string

func (*DeleteSchemaForbidden) GetPayload

func (o *DeleteSchemaForbidden) GetPayload() *models.Error

func (*DeleteSchemaForbidden) IsClientError

func (o *DeleteSchemaForbidden) IsClientError() bool

IsClientError returns true when this delete schema forbidden response has a 4xx status code

func (*DeleteSchemaForbidden) IsCode

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

IsCode returns true when this delete schema forbidden response a status code equal to that given

func (*DeleteSchemaForbidden) IsRedirect

func (o *DeleteSchemaForbidden) IsRedirect() bool

IsRedirect returns true when this delete schema forbidden response has a 3xx status code

func (*DeleteSchemaForbidden) IsServerError

func (o *DeleteSchemaForbidden) IsServerError() bool

IsServerError returns true when this delete schema forbidden response has a 5xx status code

func (*DeleteSchemaForbidden) IsSuccess

func (o *DeleteSchemaForbidden) IsSuccess() bool

IsSuccess returns true when this delete schema forbidden response has a 2xx status code

func (*DeleteSchemaForbidden) String

func (o *DeleteSchemaForbidden) String() string

type DeleteSchemaNoContent

type DeleteSchemaNoContent struct {
}

DeleteSchemaNoContent describes a response with status code 204, with default header values.

Schema has been deleted

func NewDeleteSchemaNoContent

func NewDeleteSchemaNoContent() *DeleteSchemaNoContent

NewDeleteSchemaNoContent creates a DeleteSchemaNoContent with default headers values

func (*DeleteSchemaNoContent) Code

func (o *DeleteSchemaNoContent) Code() int

Code gets the status code for the delete schema no content response

func (*DeleteSchemaNoContent) Error

func (o *DeleteSchemaNoContent) Error() string

func (*DeleteSchemaNoContent) IsClientError

func (o *DeleteSchemaNoContent) IsClientError() bool

IsClientError returns true when this delete schema no content response has a 4xx status code

func (*DeleteSchemaNoContent) IsCode

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

IsCode returns true when this delete schema no content response a status code equal to that given

func (*DeleteSchemaNoContent) IsRedirect

func (o *DeleteSchemaNoContent) IsRedirect() bool

IsRedirect returns true when this delete schema no content response has a 3xx status code

func (*DeleteSchemaNoContent) IsServerError

func (o *DeleteSchemaNoContent) IsServerError() bool

IsServerError returns true when this delete schema no content response has a 5xx status code

func (*DeleteSchemaNoContent) IsSuccess

func (o *DeleteSchemaNoContent) IsSuccess() bool

IsSuccess returns true when this delete schema no content response has a 2xx status code

func (*DeleteSchemaNoContent) String

func (o *DeleteSchemaNoContent) String() string

type DeleteSchemaNotFound

type DeleteSchemaNotFound struct {
	Payload *models.Error
}

DeleteSchemaNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteSchemaNotFound

func NewDeleteSchemaNotFound() *DeleteSchemaNotFound

NewDeleteSchemaNotFound creates a DeleteSchemaNotFound with default headers values

func (*DeleteSchemaNotFound) Code

func (o *DeleteSchemaNotFound) Code() int

Code gets the status code for the delete schema not found response

func (*DeleteSchemaNotFound) Error

func (o *DeleteSchemaNotFound) Error() string

func (*DeleteSchemaNotFound) GetPayload

func (o *DeleteSchemaNotFound) GetPayload() *models.Error

func (*DeleteSchemaNotFound) IsClientError

func (o *DeleteSchemaNotFound) IsClientError() bool

IsClientError returns true when this delete schema not found response has a 4xx status code

func (*DeleteSchemaNotFound) IsCode

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

IsCode returns true when this delete schema not found response a status code equal to that given

func (*DeleteSchemaNotFound) IsRedirect

func (o *DeleteSchemaNotFound) IsRedirect() bool

IsRedirect returns true when this delete schema not found response has a 3xx status code

func (*DeleteSchemaNotFound) IsServerError

func (o *DeleteSchemaNotFound) IsServerError() bool

IsServerError returns true when this delete schema not found response has a 5xx status code

func (*DeleteSchemaNotFound) IsSuccess

func (o *DeleteSchemaNotFound) IsSuccess() bool

IsSuccess returns true when this delete schema not found response has a 2xx status code

func (*DeleteSchemaNotFound) String

func (o *DeleteSchemaNotFound) String() string

type DeleteSchemaParams

type DeleteSchemaParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// SchID.
	SchID string

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

DeleteSchemaParams contains all the parameters to send to the API endpoint

for the delete schema operation.

Typically these are written to a http.Request.

func NewDeleteSchemaParams

func NewDeleteSchemaParams() *DeleteSchemaParams

NewDeleteSchemaParams creates a new DeleteSchemaParams 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 NewDeleteSchemaParamsWithContext

func NewDeleteSchemaParamsWithContext(ctx context.Context) *DeleteSchemaParams

NewDeleteSchemaParamsWithContext creates a new DeleteSchemaParams object with the ability to set a context for a request.

func NewDeleteSchemaParamsWithHTTPClient

func NewDeleteSchemaParamsWithHTTPClient(client *http.Client) *DeleteSchemaParams

NewDeleteSchemaParamsWithHTTPClient creates a new DeleteSchemaParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSchemaParamsWithTimeout

func NewDeleteSchemaParamsWithTimeout(timeout time.Duration) *DeleteSchemaParams

NewDeleteSchemaParamsWithTimeout creates a new DeleteSchemaParams object with the ability to set a timeout on a request.

func (*DeleteSchemaParams) SetContext

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

SetContext adds the context to the delete schema params

func (*DeleteSchemaParams) SetDefaults

func (o *DeleteSchemaParams) SetDefaults()

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

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

func (*DeleteSchemaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete schema params

func (*DeleteSchemaParams) SetIfMatch

func (o *DeleteSchemaParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete schema params

func (*DeleteSchemaParams) SetSchID

func (o *DeleteSchemaParams) SetSchID(schID string)

SetSchID adds the schId to the delete schema params

func (*DeleteSchemaParams) SetTimeout

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

SetTimeout adds the timeout to the delete schema params

func (*DeleteSchemaParams) WithContext

WithContext adds the context to the delete schema params

func (*DeleteSchemaParams) WithDefaults

func (o *DeleteSchemaParams) WithDefaults() *DeleteSchemaParams

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

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

func (*DeleteSchemaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete schema params

func (*DeleteSchemaParams) WithIfMatch

func (o *DeleteSchemaParams) WithIfMatch(ifMatch *string) *DeleteSchemaParams

WithIfMatch adds the ifMatch to the delete schema params

func (*DeleteSchemaParams) WithSchID

func (o *DeleteSchemaParams) WithSchID(schID string) *DeleteSchemaParams

WithSchID adds the schID to the delete schema params

func (*DeleteSchemaParams) WithTimeout

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

WithTimeout adds the timeout to the delete schema params

func (*DeleteSchemaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSchemaReader

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

DeleteSchemaReader is a Reader for the DeleteSchema structure.

func (*DeleteSchemaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSchemaTooManyRequests

type DeleteSchemaTooManyRequests struct {
	Payload *models.Error
}

DeleteSchemaTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewDeleteSchemaTooManyRequests

func NewDeleteSchemaTooManyRequests() *DeleteSchemaTooManyRequests

NewDeleteSchemaTooManyRequests creates a DeleteSchemaTooManyRequests with default headers values

func (*DeleteSchemaTooManyRequests) Code

func (o *DeleteSchemaTooManyRequests) Code() int

Code gets the status code for the delete schema too many requests response

func (*DeleteSchemaTooManyRequests) Error

func (*DeleteSchemaTooManyRequests) GetPayload

func (o *DeleteSchemaTooManyRequests) GetPayload() *models.Error

func (*DeleteSchemaTooManyRequests) IsClientError

func (o *DeleteSchemaTooManyRequests) IsClientError() bool

IsClientError returns true when this delete schema too many requests response has a 4xx status code

func (*DeleteSchemaTooManyRequests) IsCode

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

IsCode returns true when this delete schema too many requests response a status code equal to that given

func (*DeleteSchemaTooManyRequests) IsRedirect

func (o *DeleteSchemaTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete schema too many requests response has a 3xx status code

func (*DeleteSchemaTooManyRequests) IsServerError

func (o *DeleteSchemaTooManyRequests) IsServerError() bool

IsServerError returns true when this delete schema too many requests response has a 5xx status code

func (*DeleteSchemaTooManyRequests) IsSuccess

func (o *DeleteSchemaTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete schema too many requests response has a 2xx status code

func (*DeleteSchemaTooManyRequests) String

func (o *DeleteSchemaTooManyRequests) String() string

type DeleteSchemaUnauthorized

type DeleteSchemaUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteSchemaUnauthorized

func NewDeleteSchemaUnauthorized() *DeleteSchemaUnauthorized

NewDeleteSchemaUnauthorized creates a DeleteSchemaUnauthorized with default headers values

func (*DeleteSchemaUnauthorized) Code

func (o *DeleteSchemaUnauthorized) Code() int

Code gets the status code for the delete schema unauthorized response

func (*DeleteSchemaUnauthorized) Error

func (o *DeleteSchemaUnauthorized) Error() string

func (*DeleteSchemaUnauthorized) GetPayload

func (o *DeleteSchemaUnauthorized) GetPayload() *models.Error

func (*DeleteSchemaUnauthorized) IsClientError

func (o *DeleteSchemaUnauthorized) IsClientError() bool

IsClientError returns true when this delete schema unauthorized response has a 4xx status code

func (*DeleteSchemaUnauthorized) IsCode

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

IsCode returns true when this delete schema unauthorized response a status code equal to that given

func (*DeleteSchemaUnauthorized) IsRedirect

func (o *DeleteSchemaUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete schema unauthorized response has a 3xx status code

func (*DeleteSchemaUnauthorized) IsServerError

func (o *DeleteSchemaUnauthorized) IsServerError() bool

IsServerError returns true when this delete schema unauthorized response has a 5xx status code

func (*DeleteSchemaUnauthorized) IsSuccess

func (o *DeleteSchemaUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete schema unauthorized response has a 2xx status code

func (*DeleteSchemaUnauthorized) String

func (o *DeleteSchemaUnauthorized) String() string

type GetSchemaForbidden

type GetSchemaForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetSchemaForbidden

func NewGetSchemaForbidden() *GetSchemaForbidden

NewGetSchemaForbidden creates a GetSchemaForbidden with default headers values

func (*GetSchemaForbidden) Code

func (o *GetSchemaForbidden) Code() int

Code gets the status code for the get schema forbidden response

func (*GetSchemaForbidden) Error

func (o *GetSchemaForbidden) Error() string

func (*GetSchemaForbidden) GetPayload

func (o *GetSchemaForbidden) GetPayload() *models.Error

func (*GetSchemaForbidden) IsClientError

func (o *GetSchemaForbidden) IsClientError() bool

IsClientError returns true when this get schema forbidden response has a 4xx status code

func (*GetSchemaForbidden) IsCode

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

IsCode returns true when this get schema forbidden response a status code equal to that given

func (*GetSchemaForbidden) IsRedirect

func (o *GetSchemaForbidden) IsRedirect() bool

IsRedirect returns true when this get schema forbidden response has a 3xx status code

func (*GetSchemaForbidden) IsServerError

func (o *GetSchemaForbidden) IsServerError() bool

IsServerError returns true when this get schema forbidden response has a 5xx status code

func (*GetSchemaForbidden) IsSuccess

func (o *GetSchemaForbidden) IsSuccess() bool

IsSuccess returns true when this get schema forbidden response has a 2xx status code

func (*GetSchemaForbidden) String

func (o *GetSchemaForbidden) String() string

type GetSchemaNotFound

type GetSchemaNotFound struct {
	Payload *models.Error
}

GetSchemaNotFound describes a response with status code 404, with default header values.

Not found

func NewGetSchemaNotFound

func NewGetSchemaNotFound() *GetSchemaNotFound

NewGetSchemaNotFound creates a GetSchemaNotFound with default headers values

func (*GetSchemaNotFound) Code

func (o *GetSchemaNotFound) Code() int

Code gets the status code for the get schema not found response

func (*GetSchemaNotFound) Error

func (o *GetSchemaNotFound) Error() string

func (*GetSchemaNotFound) GetPayload

func (o *GetSchemaNotFound) GetPayload() *models.Error

func (*GetSchemaNotFound) IsClientError

func (o *GetSchemaNotFound) IsClientError() bool

IsClientError returns true when this get schema not found response has a 4xx status code

func (*GetSchemaNotFound) IsCode

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

IsCode returns true when this get schema not found response a status code equal to that given

func (*GetSchemaNotFound) IsRedirect

func (o *GetSchemaNotFound) IsRedirect() bool

IsRedirect returns true when this get schema not found response has a 3xx status code

func (*GetSchemaNotFound) IsServerError

func (o *GetSchemaNotFound) IsServerError() bool

IsServerError returns true when this get schema not found response has a 5xx status code

func (*GetSchemaNotFound) IsSuccess

func (o *GetSchemaNotFound) IsSuccess() bool

IsSuccess returns true when this get schema not found response has a 2xx status code

func (*GetSchemaNotFound) String

func (o *GetSchemaNotFound) String() string

type GetSchemaOK

type GetSchemaOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Schema
}

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

Identity Schema

func NewGetSchemaOK

func NewGetSchemaOK() *GetSchemaOK

NewGetSchemaOK creates a GetSchemaOK with default headers values

func (*GetSchemaOK) Code

func (o *GetSchemaOK) Code() int

Code gets the status code for the get schema o k response

func (*GetSchemaOK) Error

func (o *GetSchemaOK) Error() string

func (*GetSchemaOK) GetPayload

func (o *GetSchemaOK) GetPayload() *models.Schema

func (*GetSchemaOK) IsClientError

func (o *GetSchemaOK) IsClientError() bool

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

func (*GetSchemaOK) IsCode

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

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

func (*GetSchemaOK) IsRedirect

func (o *GetSchemaOK) IsRedirect() bool

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

func (*GetSchemaOK) IsServerError

func (o *GetSchemaOK) IsServerError() bool

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

func (*GetSchemaOK) IsSuccess

func (o *GetSchemaOK) IsSuccess() bool

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

func (*GetSchemaOK) String

func (o *GetSchemaOK) String() string

type GetSchemaParams

type GetSchemaParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// SchID.
	SchID string

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

GetSchemaParams contains all the parameters to send to the API endpoint

for the get schema operation.

Typically these are written to a http.Request.

func NewGetSchemaParams

func NewGetSchemaParams() *GetSchemaParams

NewGetSchemaParams creates a new GetSchemaParams 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 NewGetSchemaParamsWithContext

func NewGetSchemaParamsWithContext(ctx context.Context) *GetSchemaParams

NewGetSchemaParamsWithContext creates a new GetSchemaParams object with the ability to set a context for a request.

func NewGetSchemaParamsWithHTTPClient

func NewGetSchemaParamsWithHTTPClient(client *http.Client) *GetSchemaParams

NewGetSchemaParamsWithHTTPClient creates a new GetSchemaParams object with the ability to set a custom HTTPClient for a request.

func NewGetSchemaParamsWithTimeout

func NewGetSchemaParamsWithTimeout(timeout time.Duration) *GetSchemaParams

NewGetSchemaParamsWithTimeout creates a new GetSchemaParams object with the ability to set a timeout on a request.

func (*GetSchemaParams) SetContext

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

SetContext adds the context to the get schema params

func (*GetSchemaParams) SetDefaults

func (o *GetSchemaParams) SetDefaults()

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

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

func (*GetSchemaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get schema params

func (*GetSchemaParams) SetIfMatch

func (o *GetSchemaParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get schema params

func (*GetSchemaParams) SetSchID

func (o *GetSchemaParams) SetSchID(schID string)

SetSchID adds the schId to the get schema params

func (*GetSchemaParams) SetTimeout

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

SetTimeout adds the timeout to the get schema params

func (*GetSchemaParams) WithContext

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

WithContext adds the context to the get schema params

func (*GetSchemaParams) WithDefaults

func (o *GetSchemaParams) WithDefaults() *GetSchemaParams

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

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

func (*GetSchemaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get schema params

func (*GetSchemaParams) WithIfMatch

func (o *GetSchemaParams) WithIfMatch(ifMatch *string) *GetSchemaParams

WithIfMatch adds the ifMatch to the get schema params

func (*GetSchemaParams) WithSchID

func (o *GetSchemaParams) WithSchID(schID string) *GetSchemaParams

WithSchID adds the schID to the get schema params

func (*GetSchemaParams) WithTimeout

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

WithTimeout adds the timeout to the get schema params

func (*GetSchemaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSchemaReader

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

GetSchemaReader is a Reader for the GetSchema structure.

func (*GetSchemaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSchemaTooManyRequests

type GetSchemaTooManyRequests struct {
	Payload *models.Error
}

GetSchemaTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetSchemaTooManyRequests

func NewGetSchemaTooManyRequests() *GetSchemaTooManyRequests

NewGetSchemaTooManyRequests creates a GetSchemaTooManyRequests with default headers values

func (*GetSchemaTooManyRequests) Code

func (o *GetSchemaTooManyRequests) Code() int

Code gets the status code for the get schema too many requests response

func (*GetSchemaTooManyRequests) Error

func (o *GetSchemaTooManyRequests) Error() string

func (*GetSchemaTooManyRequests) GetPayload

func (o *GetSchemaTooManyRequests) GetPayload() *models.Error

func (*GetSchemaTooManyRequests) IsClientError

func (o *GetSchemaTooManyRequests) IsClientError() bool

IsClientError returns true when this get schema too many requests response has a 4xx status code

func (*GetSchemaTooManyRequests) IsCode

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

IsCode returns true when this get schema too many requests response a status code equal to that given

func (*GetSchemaTooManyRequests) IsRedirect

func (o *GetSchemaTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get schema too many requests response has a 3xx status code

func (*GetSchemaTooManyRequests) IsServerError

func (o *GetSchemaTooManyRequests) IsServerError() bool

IsServerError returns true when this get schema too many requests response has a 5xx status code

func (*GetSchemaTooManyRequests) IsSuccess

func (o *GetSchemaTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get schema too many requests response has a 2xx status code

func (*GetSchemaTooManyRequests) String

func (o *GetSchemaTooManyRequests) String() string

type GetSchemaUnauthorized

type GetSchemaUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetSchemaUnauthorized

func NewGetSchemaUnauthorized() *GetSchemaUnauthorized

NewGetSchemaUnauthorized creates a GetSchemaUnauthorized with default headers values

func (*GetSchemaUnauthorized) Code

func (o *GetSchemaUnauthorized) Code() int

Code gets the status code for the get schema unauthorized response

func (*GetSchemaUnauthorized) Error

func (o *GetSchemaUnauthorized) Error() string

func (*GetSchemaUnauthorized) GetPayload

func (o *GetSchemaUnauthorized) GetPayload() *models.Error

func (*GetSchemaUnauthorized) IsClientError

func (o *GetSchemaUnauthorized) IsClientError() bool

IsClientError returns true when this get schema unauthorized response has a 4xx status code

func (*GetSchemaUnauthorized) IsCode

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

IsCode returns true when this get schema unauthorized response a status code equal to that given

func (*GetSchemaUnauthorized) IsRedirect

func (o *GetSchemaUnauthorized) IsRedirect() bool

IsRedirect returns true when this get schema unauthorized response has a 3xx status code

func (*GetSchemaUnauthorized) IsServerError

func (o *GetSchemaUnauthorized) IsServerError() bool

IsServerError returns true when this get schema unauthorized response has a 5xx status code

func (*GetSchemaUnauthorized) IsSuccess

func (o *GetSchemaUnauthorized) IsSuccess() bool

IsSuccess returns true when this get schema unauthorized response has a 2xx status code

func (*GetSchemaUnauthorized) String

func (o *GetSchemaUnauthorized) String() string

type GetWorkspaceSchemaForbidden

type GetWorkspaceSchemaForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetWorkspaceSchemaForbidden

func NewGetWorkspaceSchemaForbidden() *GetWorkspaceSchemaForbidden

NewGetWorkspaceSchemaForbidden creates a GetWorkspaceSchemaForbidden with default headers values

func (*GetWorkspaceSchemaForbidden) Code

func (o *GetWorkspaceSchemaForbidden) Code() int

Code gets the status code for the get workspace schema forbidden response

func (*GetWorkspaceSchemaForbidden) Error

func (*GetWorkspaceSchemaForbidden) GetPayload

func (o *GetWorkspaceSchemaForbidden) GetPayload() *models.Error

func (*GetWorkspaceSchemaForbidden) IsClientError

func (o *GetWorkspaceSchemaForbidden) IsClientError() bool

IsClientError returns true when this get workspace schema forbidden response has a 4xx status code

func (*GetWorkspaceSchemaForbidden) IsCode

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

IsCode returns true when this get workspace schema forbidden response a status code equal to that given

func (*GetWorkspaceSchemaForbidden) IsRedirect

func (o *GetWorkspaceSchemaForbidden) IsRedirect() bool

IsRedirect returns true when this get workspace schema forbidden response has a 3xx status code

func (*GetWorkspaceSchemaForbidden) IsServerError

func (o *GetWorkspaceSchemaForbidden) IsServerError() bool

IsServerError returns true when this get workspace schema forbidden response has a 5xx status code

func (*GetWorkspaceSchemaForbidden) IsSuccess

func (o *GetWorkspaceSchemaForbidden) IsSuccess() bool

IsSuccess returns true when this get workspace schema forbidden response has a 2xx status code

func (*GetWorkspaceSchemaForbidden) String

func (o *GetWorkspaceSchemaForbidden) String() string

type GetWorkspaceSchemaNotFound

type GetWorkspaceSchemaNotFound struct {
	Payload *models.Error
}

GetWorkspaceSchemaNotFound describes a response with status code 404, with default header values.

Not found

func NewGetWorkspaceSchemaNotFound

func NewGetWorkspaceSchemaNotFound() *GetWorkspaceSchemaNotFound

NewGetWorkspaceSchemaNotFound creates a GetWorkspaceSchemaNotFound with default headers values

func (*GetWorkspaceSchemaNotFound) Code

func (o *GetWorkspaceSchemaNotFound) Code() int

Code gets the status code for the get workspace schema not found response

func (*GetWorkspaceSchemaNotFound) Error

func (*GetWorkspaceSchemaNotFound) GetPayload

func (o *GetWorkspaceSchemaNotFound) GetPayload() *models.Error

func (*GetWorkspaceSchemaNotFound) IsClientError

func (o *GetWorkspaceSchemaNotFound) IsClientError() bool

IsClientError returns true when this get workspace schema not found response has a 4xx status code

func (*GetWorkspaceSchemaNotFound) IsCode

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

IsCode returns true when this get workspace schema not found response a status code equal to that given

func (*GetWorkspaceSchemaNotFound) IsRedirect

func (o *GetWorkspaceSchemaNotFound) IsRedirect() bool

IsRedirect returns true when this get workspace schema not found response has a 3xx status code

func (*GetWorkspaceSchemaNotFound) IsServerError

func (o *GetWorkspaceSchemaNotFound) IsServerError() bool

IsServerError returns true when this get workspace schema not found response has a 5xx status code

func (*GetWorkspaceSchemaNotFound) IsSuccess

func (o *GetWorkspaceSchemaNotFound) IsSuccess() bool

IsSuccess returns true when this get workspace schema not found response has a 2xx status code

func (*GetWorkspaceSchemaNotFound) String

func (o *GetWorkspaceSchemaNotFound) String() string

type GetWorkspaceSchemaOK

type GetWorkspaceSchemaOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Schema
}

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

Identity Schema

func NewGetWorkspaceSchemaOK

func NewGetWorkspaceSchemaOK() *GetWorkspaceSchemaOK

NewGetWorkspaceSchemaOK creates a GetWorkspaceSchemaOK with default headers values

func (*GetWorkspaceSchemaOK) Code

func (o *GetWorkspaceSchemaOK) Code() int

Code gets the status code for the get workspace schema o k response

func (*GetWorkspaceSchemaOK) Error

func (o *GetWorkspaceSchemaOK) Error() string

func (*GetWorkspaceSchemaOK) GetPayload

func (o *GetWorkspaceSchemaOK) GetPayload() *models.Schema

func (*GetWorkspaceSchemaOK) IsClientError

func (o *GetWorkspaceSchemaOK) IsClientError() bool

IsClientError returns true when this get workspace schema o k response has a 4xx status code

func (*GetWorkspaceSchemaOK) IsCode

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

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

func (*GetWorkspaceSchemaOK) IsRedirect

func (o *GetWorkspaceSchemaOK) IsRedirect() bool

IsRedirect returns true when this get workspace schema o k response has a 3xx status code

func (*GetWorkspaceSchemaOK) IsServerError

func (o *GetWorkspaceSchemaOK) IsServerError() bool

IsServerError returns true when this get workspace schema o k response has a 5xx status code

func (*GetWorkspaceSchemaOK) IsSuccess

func (o *GetWorkspaceSchemaOK) IsSuccess() bool

IsSuccess returns true when this get workspace schema o k response has a 2xx status code

func (*GetWorkspaceSchemaOK) String

func (o *GetWorkspaceSchemaOK) String() string

type GetWorkspaceSchemaParams

type GetWorkspaceSchemaParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// SchID.
	SchID string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

GetWorkspaceSchemaParams contains all the parameters to send to the API endpoint

for the get workspace schema operation.

Typically these are written to a http.Request.

func NewGetWorkspaceSchemaParams

func NewGetWorkspaceSchemaParams() *GetWorkspaceSchemaParams

NewGetWorkspaceSchemaParams creates a new GetWorkspaceSchemaParams 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 NewGetWorkspaceSchemaParamsWithContext

func NewGetWorkspaceSchemaParamsWithContext(ctx context.Context) *GetWorkspaceSchemaParams

NewGetWorkspaceSchemaParamsWithContext creates a new GetWorkspaceSchemaParams object with the ability to set a context for a request.

func NewGetWorkspaceSchemaParamsWithHTTPClient

func NewGetWorkspaceSchemaParamsWithHTTPClient(client *http.Client) *GetWorkspaceSchemaParams

NewGetWorkspaceSchemaParamsWithHTTPClient creates a new GetWorkspaceSchemaParams object with the ability to set a custom HTTPClient for a request.

func NewGetWorkspaceSchemaParamsWithTimeout

func NewGetWorkspaceSchemaParamsWithTimeout(timeout time.Duration) *GetWorkspaceSchemaParams

NewGetWorkspaceSchemaParamsWithTimeout creates a new GetWorkspaceSchemaParams object with the ability to set a timeout on a request.

func (*GetWorkspaceSchemaParams) SetContext

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

SetContext adds the context to the get workspace schema params

func (*GetWorkspaceSchemaParams) SetDefaults

func (o *GetWorkspaceSchemaParams) SetDefaults()

SetDefaults hydrates default values in the get workspace schema params (not the query body).

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

func (*GetWorkspaceSchemaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspace schema params

func (*GetWorkspaceSchemaParams) SetIfMatch

func (o *GetWorkspaceSchemaParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get workspace schema params

func (*GetWorkspaceSchemaParams) SetSchID

func (o *GetWorkspaceSchemaParams) SetSchID(schID string)

SetSchID adds the schId to the get workspace schema params

func (*GetWorkspaceSchemaParams) SetTimeout

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

SetTimeout adds the timeout to the get workspace schema params

func (*GetWorkspaceSchemaParams) SetWid

func (o *GetWorkspaceSchemaParams) SetWid(wid string)

SetWid adds the wid to the get workspace schema params

func (*GetWorkspaceSchemaParams) WithContext

WithContext adds the context to the get workspace schema params

func (*GetWorkspaceSchemaParams) WithDefaults

WithDefaults hydrates default values in the get workspace schema params (not the query body).

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

func (*GetWorkspaceSchemaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get workspace schema params

func (*GetWorkspaceSchemaParams) WithIfMatch

func (o *GetWorkspaceSchemaParams) WithIfMatch(ifMatch *string) *GetWorkspaceSchemaParams

WithIfMatch adds the ifMatch to the get workspace schema params

func (*GetWorkspaceSchemaParams) WithSchID

WithSchID adds the schID to the get workspace schema params

func (*GetWorkspaceSchemaParams) WithTimeout

WithTimeout adds the timeout to the get workspace schema params

func (*GetWorkspaceSchemaParams) WithWid

WithWid adds the wid to the get workspace schema params

func (*GetWorkspaceSchemaParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspaceSchemaReader

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

GetWorkspaceSchemaReader is a Reader for the GetWorkspaceSchema structure.

func (*GetWorkspaceSchemaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspaceSchemaTooManyRequests

type GetWorkspaceSchemaTooManyRequests struct {
	Payload *models.Error
}

GetWorkspaceSchemaTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetWorkspaceSchemaTooManyRequests

func NewGetWorkspaceSchemaTooManyRequests() *GetWorkspaceSchemaTooManyRequests

NewGetWorkspaceSchemaTooManyRequests creates a GetWorkspaceSchemaTooManyRequests with default headers values

func (*GetWorkspaceSchemaTooManyRequests) Code

Code gets the status code for the get workspace schema too many requests response

func (*GetWorkspaceSchemaTooManyRequests) Error

func (*GetWorkspaceSchemaTooManyRequests) GetPayload

func (*GetWorkspaceSchemaTooManyRequests) IsClientError

func (o *GetWorkspaceSchemaTooManyRequests) IsClientError() bool

IsClientError returns true when this get workspace schema too many requests response has a 4xx status code

func (*GetWorkspaceSchemaTooManyRequests) IsCode

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

IsCode returns true when this get workspace schema too many requests response a status code equal to that given

func (*GetWorkspaceSchemaTooManyRequests) IsRedirect

func (o *GetWorkspaceSchemaTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get workspace schema too many requests response has a 3xx status code

func (*GetWorkspaceSchemaTooManyRequests) IsServerError

func (o *GetWorkspaceSchemaTooManyRequests) IsServerError() bool

IsServerError returns true when this get workspace schema too many requests response has a 5xx status code

func (*GetWorkspaceSchemaTooManyRequests) IsSuccess

func (o *GetWorkspaceSchemaTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get workspace schema too many requests response has a 2xx status code

func (*GetWorkspaceSchemaTooManyRequests) String

type GetWorkspaceSchemaUnauthorized

type GetWorkspaceSchemaUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetWorkspaceSchemaUnauthorized

func NewGetWorkspaceSchemaUnauthorized() *GetWorkspaceSchemaUnauthorized

NewGetWorkspaceSchemaUnauthorized creates a GetWorkspaceSchemaUnauthorized with default headers values

func (*GetWorkspaceSchemaUnauthorized) Code

Code gets the status code for the get workspace schema unauthorized response

func (*GetWorkspaceSchemaUnauthorized) Error

func (*GetWorkspaceSchemaUnauthorized) GetPayload

func (o *GetWorkspaceSchemaUnauthorized) GetPayload() *models.Error

func (*GetWorkspaceSchemaUnauthorized) IsClientError

func (o *GetWorkspaceSchemaUnauthorized) IsClientError() bool

IsClientError returns true when this get workspace schema unauthorized response has a 4xx status code

func (*GetWorkspaceSchemaUnauthorized) IsCode

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

IsCode returns true when this get workspace schema unauthorized response a status code equal to that given

func (*GetWorkspaceSchemaUnauthorized) IsRedirect

func (o *GetWorkspaceSchemaUnauthorized) IsRedirect() bool

IsRedirect returns true when this get workspace schema unauthorized response has a 3xx status code

func (*GetWorkspaceSchemaUnauthorized) IsServerError

func (o *GetWorkspaceSchemaUnauthorized) IsServerError() bool

IsServerError returns true when this get workspace schema unauthorized response has a 5xx status code

func (*GetWorkspaceSchemaUnauthorized) IsSuccess

func (o *GetWorkspaceSchemaUnauthorized) IsSuccess() bool

IsSuccess returns true when this get workspace schema unauthorized response has a 2xx status code

func (*GetWorkspaceSchemaUnauthorized) String

type ListSchemasForbidden

type ListSchemasForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListSchemasForbidden

func NewListSchemasForbidden() *ListSchemasForbidden

NewListSchemasForbidden creates a ListSchemasForbidden with default headers values

func (*ListSchemasForbidden) Code

func (o *ListSchemasForbidden) Code() int

Code gets the status code for the list schemas forbidden response

func (*ListSchemasForbidden) Error

func (o *ListSchemasForbidden) Error() string

func (*ListSchemasForbidden) GetPayload

func (o *ListSchemasForbidden) GetPayload() *models.Error

func (*ListSchemasForbidden) IsClientError

func (o *ListSchemasForbidden) IsClientError() bool

IsClientError returns true when this list schemas forbidden response has a 4xx status code

func (*ListSchemasForbidden) IsCode

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

IsCode returns true when this list schemas forbidden response a status code equal to that given

func (*ListSchemasForbidden) IsRedirect

func (o *ListSchemasForbidden) IsRedirect() bool

IsRedirect returns true when this list schemas forbidden response has a 3xx status code

func (*ListSchemasForbidden) IsServerError

func (o *ListSchemasForbidden) IsServerError() bool

IsServerError returns true when this list schemas forbidden response has a 5xx status code

func (*ListSchemasForbidden) IsSuccess

func (o *ListSchemasForbidden) IsSuccess() bool

IsSuccess returns true when this list schemas forbidden response has a 2xx status code

func (*ListSchemasForbidden) String

func (o *ListSchemasForbidden) String() string

type ListSchemasOK

type ListSchemasOK struct {
	Payload *models.Schemas
}

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

Schemas

func NewListSchemasOK

func NewListSchemasOK() *ListSchemasOK

NewListSchemasOK creates a ListSchemasOK with default headers values

func (*ListSchemasOK) Code

func (o *ListSchemasOK) Code() int

Code gets the status code for the list schemas o k response

func (*ListSchemasOK) Error

func (o *ListSchemasOK) Error() string

func (*ListSchemasOK) GetPayload

func (o *ListSchemasOK) GetPayload() *models.Schemas

func (*ListSchemasOK) IsClientError

func (o *ListSchemasOK) IsClientError() bool

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

func (*ListSchemasOK) IsCode

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

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

func (*ListSchemasOK) IsRedirect

func (o *ListSchemasOK) IsRedirect() bool

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

func (*ListSchemasOK) IsServerError

func (o *ListSchemasOK) IsServerError() bool

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

func (*ListSchemasOK) IsSuccess

func (o *ListSchemasOK) IsSuccess() bool

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

func (*ListSchemasOK) String

func (o *ListSchemasOK) String() string

type ListSchemasParams

type ListSchemasParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

ListSchemasParams contains all the parameters to send to the API endpoint

for the list schemas operation.

Typically these are written to a http.Request.

func NewListSchemasParams

func NewListSchemasParams() *ListSchemasParams

NewListSchemasParams creates a new ListSchemasParams 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 NewListSchemasParamsWithContext

func NewListSchemasParamsWithContext(ctx context.Context) *ListSchemasParams

NewListSchemasParamsWithContext creates a new ListSchemasParams object with the ability to set a context for a request.

func NewListSchemasParamsWithHTTPClient

func NewListSchemasParamsWithHTTPClient(client *http.Client) *ListSchemasParams

NewListSchemasParamsWithHTTPClient creates a new ListSchemasParams object with the ability to set a custom HTTPClient for a request.

func NewListSchemasParamsWithTimeout

func NewListSchemasParamsWithTimeout(timeout time.Duration) *ListSchemasParams

NewListSchemasParamsWithTimeout creates a new ListSchemasParams object with the ability to set a timeout on a request.

func (*ListSchemasParams) SetContext

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

SetContext adds the context to the list schemas params

func (*ListSchemasParams) SetDefaults

func (o *ListSchemasParams) SetDefaults()

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

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

func (*ListSchemasParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list schemas params

func (*ListSchemasParams) SetIfMatch

func (o *ListSchemasParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list schemas params

func (*ListSchemasParams) SetTimeout

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

SetTimeout adds the timeout to the list schemas params

func (*ListSchemasParams) WithContext

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

WithContext adds the context to the list schemas params

func (*ListSchemasParams) WithDefaults

func (o *ListSchemasParams) WithDefaults() *ListSchemasParams

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

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

func (*ListSchemasParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list schemas params

func (*ListSchemasParams) WithIfMatch

func (o *ListSchemasParams) WithIfMatch(ifMatch *string) *ListSchemasParams

WithIfMatch adds the ifMatch to the list schemas params

func (*ListSchemasParams) WithTimeout

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

WithTimeout adds the timeout to the list schemas params

func (*ListSchemasParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSchemasReader

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

ListSchemasReader is a Reader for the ListSchemas structure.

func (*ListSchemasReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSchemasTooManyRequests

type ListSchemasTooManyRequests struct {
	Payload *models.Error
}

ListSchemasTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListSchemasTooManyRequests

func NewListSchemasTooManyRequests() *ListSchemasTooManyRequests

NewListSchemasTooManyRequests creates a ListSchemasTooManyRequests with default headers values

func (*ListSchemasTooManyRequests) Code

func (o *ListSchemasTooManyRequests) Code() int

Code gets the status code for the list schemas too many requests response

func (*ListSchemasTooManyRequests) Error

func (*ListSchemasTooManyRequests) GetPayload

func (o *ListSchemasTooManyRequests) GetPayload() *models.Error

func (*ListSchemasTooManyRequests) IsClientError

func (o *ListSchemasTooManyRequests) IsClientError() bool

IsClientError returns true when this list schemas too many requests response has a 4xx status code

func (*ListSchemasTooManyRequests) IsCode

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

IsCode returns true when this list schemas too many requests response a status code equal to that given

func (*ListSchemasTooManyRequests) IsRedirect

func (o *ListSchemasTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list schemas too many requests response has a 3xx status code

func (*ListSchemasTooManyRequests) IsServerError

func (o *ListSchemasTooManyRequests) IsServerError() bool

IsServerError returns true when this list schemas too many requests response has a 5xx status code

func (*ListSchemasTooManyRequests) IsSuccess

func (o *ListSchemasTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list schemas too many requests response has a 2xx status code

func (*ListSchemasTooManyRequests) String

func (o *ListSchemasTooManyRequests) String() string

type ListSchemasUnauthorized

type ListSchemasUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListSchemasUnauthorized

func NewListSchemasUnauthorized() *ListSchemasUnauthorized

NewListSchemasUnauthorized creates a ListSchemasUnauthorized with default headers values

func (*ListSchemasUnauthorized) Code

func (o *ListSchemasUnauthorized) Code() int

Code gets the status code for the list schemas unauthorized response

func (*ListSchemasUnauthorized) Error

func (o *ListSchemasUnauthorized) Error() string

func (*ListSchemasUnauthorized) GetPayload

func (o *ListSchemasUnauthorized) GetPayload() *models.Error

func (*ListSchemasUnauthorized) IsClientError

func (o *ListSchemasUnauthorized) IsClientError() bool

IsClientError returns true when this list schemas unauthorized response has a 4xx status code

func (*ListSchemasUnauthorized) IsCode

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

IsCode returns true when this list schemas unauthorized response a status code equal to that given

func (*ListSchemasUnauthorized) IsRedirect

func (o *ListSchemasUnauthorized) IsRedirect() bool

IsRedirect returns true when this list schemas unauthorized response has a 3xx status code

func (*ListSchemasUnauthorized) IsServerError

func (o *ListSchemasUnauthorized) IsServerError() bool

IsServerError returns true when this list schemas unauthorized response has a 5xx status code

func (*ListSchemasUnauthorized) IsSuccess

func (o *ListSchemasUnauthorized) IsSuccess() bool

IsSuccess returns true when this list schemas unauthorized response has a 2xx status code

func (*ListSchemasUnauthorized) String

func (o *ListSchemasUnauthorized) String() string

type ListWorkspaceSchemasForbidden

type ListWorkspaceSchemasForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListWorkspaceSchemasForbidden

func NewListWorkspaceSchemasForbidden() *ListWorkspaceSchemasForbidden

NewListWorkspaceSchemasForbidden creates a ListWorkspaceSchemasForbidden with default headers values

func (*ListWorkspaceSchemasForbidden) Code

Code gets the status code for the list workspace schemas forbidden response

func (*ListWorkspaceSchemasForbidden) Error

func (*ListWorkspaceSchemasForbidden) GetPayload

func (o *ListWorkspaceSchemasForbidden) GetPayload() *models.Error

func (*ListWorkspaceSchemasForbidden) IsClientError

func (o *ListWorkspaceSchemasForbidden) IsClientError() bool

IsClientError returns true when this list workspace schemas forbidden response has a 4xx status code

func (*ListWorkspaceSchemasForbidden) IsCode

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

IsCode returns true when this list workspace schemas forbidden response a status code equal to that given

func (*ListWorkspaceSchemasForbidden) IsRedirect

func (o *ListWorkspaceSchemasForbidden) IsRedirect() bool

IsRedirect returns true when this list workspace schemas forbidden response has a 3xx status code

func (*ListWorkspaceSchemasForbidden) IsServerError

func (o *ListWorkspaceSchemasForbidden) IsServerError() bool

IsServerError returns true when this list workspace schemas forbidden response has a 5xx status code

func (*ListWorkspaceSchemasForbidden) IsSuccess

func (o *ListWorkspaceSchemasForbidden) IsSuccess() bool

IsSuccess returns true when this list workspace schemas forbidden response has a 2xx status code

func (*ListWorkspaceSchemasForbidden) String

type ListWorkspaceSchemasOK

type ListWorkspaceSchemasOK struct {
	Payload *models.Schemas
}

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

Schemas

func NewListWorkspaceSchemasOK

func NewListWorkspaceSchemasOK() *ListWorkspaceSchemasOK

NewListWorkspaceSchemasOK creates a ListWorkspaceSchemasOK with default headers values

func (*ListWorkspaceSchemasOK) Code

func (o *ListWorkspaceSchemasOK) Code() int

Code gets the status code for the list workspace schemas o k response

func (*ListWorkspaceSchemasOK) Error

func (o *ListWorkspaceSchemasOK) Error() string

func (*ListWorkspaceSchemasOK) GetPayload

func (o *ListWorkspaceSchemasOK) GetPayload() *models.Schemas

func (*ListWorkspaceSchemasOK) IsClientError

func (o *ListWorkspaceSchemasOK) IsClientError() bool

IsClientError returns true when this list workspace schemas o k response has a 4xx status code

func (*ListWorkspaceSchemasOK) IsCode

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

IsCode returns true when this list workspace schemas o k response a status code equal to that given

func (*ListWorkspaceSchemasOK) IsRedirect

func (o *ListWorkspaceSchemasOK) IsRedirect() bool

IsRedirect returns true when this list workspace schemas o k response has a 3xx status code

func (*ListWorkspaceSchemasOK) IsServerError

func (o *ListWorkspaceSchemasOK) IsServerError() bool

IsServerError returns true when this list workspace schemas o k response has a 5xx status code

func (*ListWorkspaceSchemasOK) IsSuccess

func (o *ListWorkspaceSchemasOK) IsSuccess() bool

IsSuccess returns true when this list workspace schemas o k response has a 2xx status code

func (*ListWorkspaceSchemasOK) String

func (o *ListWorkspaceSchemasOK) String() string

type ListWorkspaceSchemasParams

type ListWorkspaceSchemasParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListWorkspaceSchemasParams contains all the parameters to send to the API endpoint

for the list workspace schemas operation.

Typically these are written to a http.Request.

func NewListWorkspaceSchemasParams

func NewListWorkspaceSchemasParams() *ListWorkspaceSchemasParams

NewListWorkspaceSchemasParams creates a new ListWorkspaceSchemasParams 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 NewListWorkspaceSchemasParamsWithContext

func NewListWorkspaceSchemasParamsWithContext(ctx context.Context) *ListWorkspaceSchemasParams

NewListWorkspaceSchemasParamsWithContext creates a new ListWorkspaceSchemasParams object with the ability to set a context for a request.

func NewListWorkspaceSchemasParamsWithHTTPClient

func NewListWorkspaceSchemasParamsWithHTTPClient(client *http.Client) *ListWorkspaceSchemasParams

NewListWorkspaceSchemasParamsWithHTTPClient creates a new ListWorkspaceSchemasParams object with the ability to set a custom HTTPClient for a request.

func NewListWorkspaceSchemasParamsWithTimeout

func NewListWorkspaceSchemasParamsWithTimeout(timeout time.Duration) *ListWorkspaceSchemasParams

NewListWorkspaceSchemasParamsWithTimeout creates a new ListWorkspaceSchemasParams object with the ability to set a timeout on a request.

func (*ListWorkspaceSchemasParams) SetContext

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

SetContext adds the context to the list workspace schemas params

func (*ListWorkspaceSchemasParams) SetDefaults

func (o *ListWorkspaceSchemasParams) SetDefaults()

SetDefaults hydrates default values in the list workspace schemas params (not the query body).

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

func (*ListWorkspaceSchemasParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list workspace schemas params

func (*ListWorkspaceSchemasParams) SetIfMatch

func (o *ListWorkspaceSchemasParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list workspace schemas params

func (*ListWorkspaceSchemasParams) SetTimeout

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

SetTimeout adds the timeout to the list workspace schemas params

func (*ListWorkspaceSchemasParams) SetWid

func (o *ListWorkspaceSchemasParams) SetWid(wid string)

SetWid adds the wid to the list workspace schemas params

func (*ListWorkspaceSchemasParams) WithContext

WithContext adds the context to the list workspace schemas params

func (*ListWorkspaceSchemasParams) WithDefaults

WithDefaults hydrates default values in the list workspace schemas params (not the query body).

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

func (*ListWorkspaceSchemasParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list workspace schemas params

func (*ListWorkspaceSchemasParams) WithIfMatch

WithIfMatch adds the ifMatch to the list workspace schemas params

func (*ListWorkspaceSchemasParams) WithTimeout

WithTimeout adds the timeout to the list workspace schemas params

func (*ListWorkspaceSchemasParams) WithWid

WithWid adds the wid to the list workspace schemas params

func (*ListWorkspaceSchemasParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListWorkspaceSchemasReader

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

ListWorkspaceSchemasReader is a Reader for the ListWorkspaceSchemas structure.

func (*ListWorkspaceSchemasReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListWorkspaceSchemasTooManyRequests

type ListWorkspaceSchemasTooManyRequests struct {
	Payload *models.Error
}

ListWorkspaceSchemasTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListWorkspaceSchemasTooManyRequests

func NewListWorkspaceSchemasTooManyRequests() *ListWorkspaceSchemasTooManyRequests

NewListWorkspaceSchemasTooManyRequests creates a ListWorkspaceSchemasTooManyRequests with default headers values

func (*ListWorkspaceSchemasTooManyRequests) Code

Code gets the status code for the list workspace schemas too many requests response

func (*ListWorkspaceSchemasTooManyRequests) Error

func (*ListWorkspaceSchemasTooManyRequests) GetPayload

func (*ListWorkspaceSchemasTooManyRequests) IsClientError

func (o *ListWorkspaceSchemasTooManyRequests) IsClientError() bool

IsClientError returns true when this list workspace schemas too many requests response has a 4xx status code

func (*ListWorkspaceSchemasTooManyRequests) IsCode

IsCode returns true when this list workspace schemas too many requests response a status code equal to that given

func (*ListWorkspaceSchemasTooManyRequests) IsRedirect

func (o *ListWorkspaceSchemasTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list workspace schemas too many requests response has a 3xx status code

func (*ListWorkspaceSchemasTooManyRequests) IsServerError

func (o *ListWorkspaceSchemasTooManyRequests) IsServerError() bool

IsServerError returns true when this list workspace schemas too many requests response has a 5xx status code

func (*ListWorkspaceSchemasTooManyRequests) IsSuccess

IsSuccess returns true when this list workspace schemas too many requests response has a 2xx status code

func (*ListWorkspaceSchemasTooManyRequests) String

type ListWorkspaceSchemasUnauthorized

type ListWorkspaceSchemasUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListWorkspaceSchemasUnauthorized

func NewListWorkspaceSchemasUnauthorized() *ListWorkspaceSchemasUnauthorized

NewListWorkspaceSchemasUnauthorized creates a ListWorkspaceSchemasUnauthorized with default headers values

func (*ListWorkspaceSchemasUnauthorized) Code

Code gets the status code for the list workspace schemas unauthorized response

func (*ListWorkspaceSchemasUnauthorized) Error

func (*ListWorkspaceSchemasUnauthorized) GetPayload

func (*ListWorkspaceSchemasUnauthorized) IsClientError

func (o *ListWorkspaceSchemasUnauthorized) IsClientError() bool

IsClientError returns true when this list workspace schemas unauthorized response has a 4xx status code

func (*ListWorkspaceSchemasUnauthorized) IsCode

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

IsCode returns true when this list workspace schemas unauthorized response a status code equal to that given

func (*ListWorkspaceSchemasUnauthorized) IsRedirect

func (o *ListWorkspaceSchemasUnauthorized) IsRedirect() bool

IsRedirect returns true when this list workspace schemas unauthorized response has a 3xx status code

func (*ListWorkspaceSchemasUnauthorized) IsServerError

func (o *ListWorkspaceSchemasUnauthorized) IsServerError() bool

IsServerError returns true when this list workspace schemas unauthorized response has a 5xx status code

func (*ListWorkspaceSchemasUnauthorized) IsSuccess

func (o *ListWorkspaceSchemasUnauthorized) IsSuccess() bool

IsSuccess returns true when this list workspace schemas unauthorized response has a 2xx status code

func (*ListWorkspaceSchemasUnauthorized) String

type UpdateSchemaBadRequest

type UpdateSchemaBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewUpdateSchemaBadRequest

func NewUpdateSchemaBadRequest() *UpdateSchemaBadRequest

NewUpdateSchemaBadRequest creates a UpdateSchemaBadRequest with default headers values

func (*UpdateSchemaBadRequest) Code

func (o *UpdateSchemaBadRequest) Code() int

Code gets the status code for the update schema bad request response

func (*UpdateSchemaBadRequest) Error

func (o *UpdateSchemaBadRequest) Error() string

func (*UpdateSchemaBadRequest) GetPayload

func (o *UpdateSchemaBadRequest) GetPayload() *models.Error

func (*UpdateSchemaBadRequest) IsClientError

func (o *UpdateSchemaBadRequest) IsClientError() bool

IsClientError returns true when this update schema bad request response has a 4xx status code

func (*UpdateSchemaBadRequest) IsCode

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

IsCode returns true when this update schema bad request response a status code equal to that given

func (*UpdateSchemaBadRequest) IsRedirect

func (o *UpdateSchemaBadRequest) IsRedirect() bool

IsRedirect returns true when this update schema bad request response has a 3xx status code

func (*UpdateSchemaBadRequest) IsServerError

func (o *UpdateSchemaBadRequest) IsServerError() bool

IsServerError returns true when this update schema bad request response has a 5xx status code

func (*UpdateSchemaBadRequest) IsSuccess

func (o *UpdateSchemaBadRequest) IsSuccess() bool

IsSuccess returns true when this update schema bad request response has a 2xx status code

func (*UpdateSchemaBadRequest) String

func (o *UpdateSchemaBadRequest) String() string

type UpdateSchemaConflict

type UpdateSchemaConflict struct {
	Payload *models.Error
}

UpdateSchemaConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateSchemaConflict

func NewUpdateSchemaConflict() *UpdateSchemaConflict

NewUpdateSchemaConflict creates a UpdateSchemaConflict with default headers values

func (*UpdateSchemaConflict) Code

func (o *UpdateSchemaConflict) Code() int

Code gets the status code for the update schema conflict response

func (*UpdateSchemaConflict) Error

func (o *UpdateSchemaConflict) Error() string

func (*UpdateSchemaConflict) GetPayload

func (o *UpdateSchemaConflict) GetPayload() *models.Error

func (*UpdateSchemaConflict) IsClientError

func (o *UpdateSchemaConflict) IsClientError() bool

IsClientError returns true when this update schema conflict response has a 4xx status code

func (*UpdateSchemaConflict) IsCode

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

IsCode returns true when this update schema conflict response a status code equal to that given

func (*UpdateSchemaConflict) IsRedirect

func (o *UpdateSchemaConflict) IsRedirect() bool

IsRedirect returns true when this update schema conflict response has a 3xx status code

func (*UpdateSchemaConflict) IsServerError

func (o *UpdateSchemaConflict) IsServerError() bool

IsServerError returns true when this update schema conflict response has a 5xx status code

func (*UpdateSchemaConflict) IsSuccess

func (o *UpdateSchemaConflict) IsSuccess() bool

IsSuccess returns true when this update schema conflict response has a 2xx status code

func (*UpdateSchemaConflict) String

func (o *UpdateSchemaConflict) String() string

type UpdateSchemaForbidden

type UpdateSchemaForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewUpdateSchemaForbidden

func NewUpdateSchemaForbidden() *UpdateSchemaForbidden

NewUpdateSchemaForbidden creates a UpdateSchemaForbidden with default headers values

func (*UpdateSchemaForbidden) Code

func (o *UpdateSchemaForbidden) Code() int

Code gets the status code for the update schema forbidden response

func (*UpdateSchemaForbidden) Error

func (o *UpdateSchemaForbidden) Error() string

func (*UpdateSchemaForbidden) GetPayload

func (o *UpdateSchemaForbidden) GetPayload() *models.Error

func (*UpdateSchemaForbidden) IsClientError

func (o *UpdateSchemaForbidden) IsClientError() bool

IsClientError returns true when this update schema forbidden response has a 4xx status code

func (*UpdateSchemaForbidden) IsCode

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

IsCode returns true when this update schema forbidden response a status code equal to that given

func (*UpdateSchemaForbidden) IsRedirect

func (o *UpdateSchemaForbidden) IsRedirect() bool

IsRedirect returns true when this update schema forbidden response has a 3xx status code

func (*UpdateSchemaForbidden) IsServerError

func (o *UpdateSchemaForbidden) IsServerError() bool

IsServerError returns true when this update schema forbidden response has a 5xx status code

func (*UpdateSchemaForbidden) IsSuccess

func (o *UpdateSchemaForbidden) IsSuccess() bool

IsSuccess returns true when this update schema forbidden response has a 2xx status code

func (*UpdateSchemaForbidden) String

func (o *UpdateSchemaForbidden) String() string

type UpdateSchemaNotFound

type UpdateSchemaNotFound struct {
	Payload *models.Error
}

UpdateSchemaNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateSchemaNotFound

func NewUpdateSchemaNotFound() *UpdateSchemaNotFound

NewUpdateSchemaNotFound creates a UpdateSchemaNotFound with default headers values

func (*UpdateSchemaNotFound) Code

func (o *UpdateSchemaNotFound) Code() int

Code gets the status code for the update schema not found response

func (*UpdateSchemaNotFound) Error

func (o *UpdateSchemaNotFound) Error() string

func (*UpdateSchemaNotFound) GetPayload

func (o *UpdateSchemaNotFound) GetPayload() *models.Error

func (*UpdateSchemaNotFound) IsClientError

func (o *UpdateSchemaNotFound) IsClientError() bool

IsClientError returns true when this update schema not found response has a 4xx status code

func (*UpdateSchemaNotFound) IsCode

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

IsCode returns true when this update schema not found response a status code equal to that given

func (*UpdateSchemaNotFound) IsRedirect

func (o *UpdateSchemaNotFound) IsRedirect() bool

IsRedirect returns true when this update schema not found response has a 3xx status code

func (*UpdateSchemaNotFound) IsServerError

func (o *UpdateSchemaNotFound) IsServerError() bool

IsServerError returns true when this update schema not found response has a 5xx status code

func (*UpdateSchemaNotFound) IsSuccess

func (o *UpdateSchemaNotFound) IsSuccess() bool

IsSuccess returns true when this update schema not found response has a 2xx status code

func (*UpdateSchemaNotFound) String

func (o *UpdateSchemaNotFound) String() string

type UpdateSchemaOK

type UpdateSchemaOK struct {
	Payload *models.Schema
}

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

Schema

func NewUpdateSchemaOK

func NewUpdateSchemaOK() *UpdateSchemaOK

NewUpdateSchemaOK creates a UpdateSchemaOK with default headers values

func (*UpdateSchemaOK) Code

func (o *UpdateSchemaOK) Code() int

Code gets the status code for the update schema o k response

func (*UpdateSchemaOK) Error

func (o *UpdateSchemaOK) Error() string

func (*UpdateSchemaOK) GetPayload

func (o *UpdateSchemaOK) GetPayload() *models.Schema

func (*UpdateSchemaOK) IsClientError

func (o *UpdateSchemaOK) IsClientError() bool

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

func (*UpdateSchemaOK) IsCode

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

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

func (*UpdateSchemaOK) IsRedirect

func (o *UpdateSchemaOK) IsRedirect() bool

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

func (*UpdateSchemaOK) IsServerError

func (o *UpdateSchemaOK) IsServerError() bool

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

func (*UpdateSchemaOK) IsSuccess

func (o *UpdateSchemaOK) IsSuccess() bool

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

func (*UpdateSchemaOK) String

func (o *UpdateSchemaOK) String() string

type UpdateSchemaParams

type UpdateSchemaParams struct {

	// Schema.
	Schema *models.Schema

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	// SchID.
	SchID string

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

UpdateSchemaParams contains all the parameters to send to the API endpoint

for the update schema operation.

Typically these are written to a http.Request.

func NewUpdateSchemaParams

func NewUpdateSchemaParams() *UpdateSchemaParams

NewUpdateSchemaParams creates a new UpdateSchemaParams 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 NewUpdateSchemaParamsWithContext

func NewUpdateSchemaParamsWithContext(ctx context.Context) *UpdateSchemaParams

NewUpdateSchemaParamsWithContext creates a new UpdateSchemaParams object with the ability to set a context for a request.

func NewUpdateSchemaParamsWithHTTPClient

func NewUpdateSchemaParamsWithHTTPClient(client *http.Client) *UpdateSchemaParams

NewUpdateSchemaParamsWithHTTPClient creates a new UpdateSchemaParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSchemaParamsWithTimeout

func NewUpdateSchemaParamsWithTimeout(timeout time.Duration) *UpdateSchemaParams

NewUpdateSchemaParamsWithTimeout creates a new UpdateSchemaParams object with the ability to set a timeout on a request.

func (*UpdateSchemaParams) SetContext

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

SetContext adds the context to the update schema params

func (*UpdateSchemaParams) SetDefaults

func (o *UpdateSchemaParams) SetDefaults()

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

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

func (*UpdateSchemaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update schema params

func (*UpdateSchemaParams) SetIfMatch

func (o *UpdateSchemaParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update schema params

func (*UpdateSchemaParams) SetSchID

func (o *UpdateSchemaParams) SetSchID(schID string)

SetSchID adds the schId to the update schema params

func (*UpdateSchemaParams) SetSchema

func (o *UpdateSchemaParams) SetSchema(schema *models.Schema)

SetSchema adds the schema to the update schema params

func (*UpdateSchemaParams) SetTimeout

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

SetTimeout adds the timeout to the update schema params

func (*UpdateSchemaParams) WithContext

WithContext adds the context to the update schema params

func (*UpdateSchemaParams) WithDefaults

func (o *UpdateSchemaParams) WithDefaults() *UpdateSchemaParams

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

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

func (*UpdateSchemaParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update schema params

func (*UpdateSchemaParams) WithIfMatch

func (o *UpdateSchemaParams) WithIfMatch(ifMatch *string) *UpdateSchemaParams

WithIfMatch adds the ifMatch to the update schema params

func (*UpdateSchemaParams) WithSchID

func (o *UpdateSchemaParams) WithSchID(schID string) *UpdateSchemaParams

WithSchID adds the schID to the update schema params

func (*UpdateSchemaParams) WithSchema

func (o *UpdateSchemaParams) WithSchema(schema *models.Schema) *UpdateSchemaParams

WithSchema adds the schema to the update schema params

func (*UpdateSchemaParams) WithTimeout

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

WithTimeout adds the timeout to the update schema params

func (*UpdateSchemaParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateSchemaReader

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

UpdateSchemaReader is a Reader for the UpdateSchema structure.

func (*UpdateSchemaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSchemaTooManyRequests

type UpdateSchemaTooManyRequests struct {
	Payload *models.Error
}

UpdateSchemaTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewUpdateSchemaTooManyRequests

func NewUpdateSchemaTooManyRequests() *UpdateSchemaTooManyRequests

NewUpdateSchemaTooManyRequests creates a UpdateSchemaTooManyRequests with default headers values

func (*UpdateSchemaTooManyRequests) Code

func (o *UpdateSchemaTooManyRequests) Code() int

Code gets the status code for the update schema too many requests response

func (*UpdateSchemaTooManyRequests) Error

func (*UpdateSchemaTooManyRequests) GetPayload

func (o *UpdateSchemaTooManyRequests) GetPayload() *models.Error

func (*UpdateSchemaTooManyRequests) IsClientError

func (o *UpdateSchemaTooManyRequests) IsClientError() bool

IsClientError returns true when this update schema too many requests response has a 4xx status code

func (*UpdateSchemaTooManyRequests) IsCode

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

IsCode returns true when this update schema too many requests response a status code equal to that given

func (*UpdateSchemaTooManyRequests) IsRedirect

func (o *UpdateSchemaTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update schema too many requests response has a 3xx status code

func (*UpdateSchemaTooManyRequests) IsServerError

func (o *UpdateSchemaTooManyRequests) IsServerError() bool

IsServerError returns true when this update schema too many requests response has a 5xx status code

func (*UpdateSchemaTooManyRequests) IsSuccess

func (o *UpdateSchemaTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update schema too many requests response has a 2xx status code

func (*UpdateSchemaTooManyRequests) String

func (o *UpdateSchemaTooManyRequests) String() string

type UpdateSchemaUnauthorized

type UpdateSchemaUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdateSchemaUnauthorized

func NewUpdateSchemaUnauthorized() *UpdateSchemaUnauthorized

NewUpdateSchemaUnauthorized creates a UpdateSchemaUnauthorized with default headers values

func (*UpdateSchemaUnauthorized) Code

func (o *UpdateSchemaUnauthorized) Code() int

Code gets the status code for the update schema unauthorized response

func (*UpdateSchemaUnauthorized) Error

func (o *UpdateSchemaUnauthorized) Error() string

func (*UpdateSchemaUnauthorized) GetPayload

func (o *UpdateSchemaUnauthorized) GetPayload() *models.Error

func (*UpdateSchemaUnauthorized) IsClientError

func (o *UpdateSchemaUnauthorized) IsClientError() bool

IsClientError returns true when this update schema unauthorized response has a 4xx status code

func (*UpdateSchemaUnauthorized) IsCode

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

IsCode returns true when this update schema unauthorized response a status code equal to that given

func (*UpdateSchemaUnauthorized) IsRedirect

func (o *UpdateSchemaUnauthorized) IsRedirect() bool

IsRedirect returns true when this update schema unauthorized response has a 3xx status code

func (*UpdateSchemaUnauthorized) IsServerError

func (o *UpdateSchemaUnauthorized) IsServerError() bool

IsServerError returns true when this update schema unauthorized response has a 5xx status code

func (*UpdateSchemaUnauthorized) IsSuccess

func (o *UpdateSchemaUnauthorized) IsSuccess() bool

IsSuccess returns true when this update schema unauthorized response has a 2xx status code

func (*UpdateSchemaUnauthorized) String

func (o *UpdateSchemaUnauthorized) String() string

type UpdateSchemaUnprocessableEntity

type UpdateSchemaUnprocessableEntity struct {
	Payload *models.Error
}

UpdateSchemaUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateSchemaUnprocessableEntity

func NewUpdateSchemaUnprocessableEntity() *UpdateSchemaUnprocessableEntity

NewUpdateSchemaUnprocessableEntity creates a UpdateSchemaUnprocessableEntity with default headers values

func (*UpdateSchemaUnprocessableEntity) Code

Code gets the status code for the update schema unprocessable entity response

func (*UpdateSchemaUnprocessableEntity) Error

func (*UpdateSchemaUnprocessableEntity) GetPayload

func (o *UpdateSchemaUnprocessableEntity) GetPayload() *models.Error

func (*UpdateSchemaUnprocessableEntity) IsClientError

func (o *UpdateSchemaUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update schema unprocessable entity response has a 4xx status code

func (*UpdateSchemaUnprocessableEntity) IsCode

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

IsCode returns true when this update schema unprocessable entity response a status code equal to that given

func (*UpdateSchemaUnprocessableEntity) IsRedirect

func (o *UpdateSchemaUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update schema unprocessable entity response has a 3xx status code

func (*UpdateSchemaUnprocessableEntity) IsServerError

func (o *UpdateSchemaUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update schema unprocessable entity response has a 5xx status code

func (*UpdateSchemaUnprocessableEntity) IsSuccess

func (o *UpdateSchemaUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update schema unprocessable entity response has a 2xx status code

func (*UpdateSchemaUnprocessableEntity) String

Jump to

Keyboard shortcuts

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