descriptors

package
v0.0.0-...-fda5bac Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2018 License: MIT Imports: 11 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 descriptors API

func New

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

New creates a new descriptors API client.

func (*Client) CreateDescriptor

func (a *Client) CreateDescriptor(params *CreateDescriptorParams) (*CreateDescriptorCreated, error)

CreateDescriptor creates a descriptor

func (*Client) CreateDescriptorByDetail

func (a *Client) CreateDescriptorByDetail(params *CreateDescriptorByDetailParams) (*CreateDescriptorByDetailCreated, error)

CreateDescriptorByDetail creates a descriptor by detail

func (*Client) DeleteDescriptor

func (a *Client) DeleteDescriptor(params *DeleteDescriptorParams) (*DeleteDescriptorOK, error)

DeleteDescriptor deletes descriptor

func (*Client) DeleteDescriptors

func (a *Client) DeleteDescriptors(params *DeleteDescriptorsParams) (*DeleteDescriptorsOK, error)

DeleteDescriptors deletes all descriptors

func (*Client) DeleteDescriptorsByDetail

func (a *Client) DeleteDescriptorsByDetail(params *DeleteDescriptorsByDetailParams) (*DeleteDescriptorsByDetailOK, error)

DeleteDescriptorsByDetail deletes all descriptors by detail

func (*Client) GetDescriptor

func (a *Client) GetDescriptor(params *GetDescriptorParams) (*GetDescriptorOK, error)

GetDescriptor gets a specific descriptor

func (*Client) GetDescriptors

func (a *Client) GetDescriptors(params *GetDescriptorsParams) (*GetDescriptorsOK, error)

GetDescriptors gets all descriptors

func (*Client) GetDescriptorsByDetail

func (a *Client) GetDescriptorsByDetail(params *GetDescriptorsByDetailParams) (*GetDescriptorsByDetailOK, error)

GetDescriptorsByDetail gets all descriptors by detail

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDescriptor

func (a *Client) UpdateDescriptor(params *UpdateDescriptorParams) (*UpdateDescriptorCreated, error)

UpdateDescriptor updates a specific descriptor

type CreateDescriptorBadRequest

type CreateDescriptorBadRequest struct {
}

CreateDescriptorBadRequest handles this case with default header values.

Invalid input

func NewCreateDescriptorBadRequest

func NewCreateDescriptorBadRequest() *CreateDescriptorBadRequest

NewCreateDescriptorBadRequest creates a CreateDescriptorBadRequest with default headers values

func (*CreateDescriptorBadRequest) Error

type CreateDescriptorByDetailBadRequest

type CreateDescriptorByDetailBadRequest struct {
}

CreateDescriptorByDetailBadRequest handles this case with default header values.

Invalid input

func NewCreateDescriptorByDetailBadRequest

func NewCreateDescriptorByDetailBadRequest() *CreateDescriptorByDetailBadRequest

NewCreateDescriptorByDetailBadRequest creates a CreateDescriptorByDetailBadRequest with default headers values

func (*CreateDescriptorByDetailBadRequest) Error

type CreateDescriptorByDetailCreated

type CreateDescriptorByDetailCreated struct {
	Payload *models.Descriptor
}

CreateDescriptorByDetailCreated handles this case with default header values.

Descriptor Created

func NewCreateDescriptorByDetailCreated

func NewCreateDescriptorByDetailCreated() *CreateDescriptorByDetailCreated

NewCreateDescriptorByDetailCreated creates a CreateDescriptorByDetailCreated with default headers values

func (*CreateDescriptorByDetailCreated) Error

type CreateDescriptorByDetailParams

type CreateDescriptorByDetailParams struct {

	/*Body
	  Descriptor that will be created

	*/
	Body *models.Descriptor
	/*ID
	  Detail ID Associated with descriptor(s)

	*/
	ID int64

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

CreateDescriptorByDetailParams contains all the parameters to send to the API endpoint for the create descriptor by detail operation typically these are written to a http.Request

func NewCreateDescriptorByDetailParams

func NewCreateDescriptorByDetailParams() *CreateDescriptorByDetailParams

NewCreateDescriptorByDetailParams creates a new CreateDescriptorByDetailParams object with the default values initialized.

func NewCreateDescriptorByDetailParamsWithContext

func NewCreateDescriptorByDetailParamsWithContext(ctx context.Context) *CreateDescriptorByDetailParams

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

func NewCreateDescriptorByDetailParamsWithHTTPClient

func NewCreateDescriptorByDetailParamsWithHTTPClient(client *http.Client) *CreateDescriptorByDetailParams

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

func NewCreateDescriptorByDetailParamsWithTimeout

func NewCreateDescriptorByDetailParamsWithTimeout(timeout time.Duration) *CreateDescriptorByDetailParams

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

func (*CreateDescriptorByDetailParams) SetBody

SetBody adds the body to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) SetContext

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

SetContext adds the context to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) SetID

SetID adds the id to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) SetTimeout

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

SetTimeout adds the timeout to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) WithBody

WithBody adds the body to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) WithContext

WithContext adds the context to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) WithID

WithID adds the id to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) WithTimeout

WithTimeout adds the timeout to the create descriptor by detail params

func (*CreateDescriptorByDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDescriptorByDetailReader

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

CreateDescriptorByDetailReader is a Reader for the CreateDescriptorByDetail structure.

func (*CreateDescriptorByDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDescriptorCreated

type CreateDescriptorCreated struct {
	Payload *models.Descriptor
}

CreateDescriptorCreated handles this case with default header values.

Descriptor Updated

func NewCreateDescriptorCreated

func NewCreateDescriptorCreated() *CreateDescriptorCreated

NewCreateDescriptorCreated creates a CreateDescriptorCreated with default headers values

func (*CreateDescriptorCreated) Error

func (o *CreateDescriptorCreated) Error() string

type CreateDescriptorNotFound

type CreateDescriptorNotFound struct {
}

CreateDescriptorNotFound handles this case with default header values.

No items found

func NewCreateDescriptorNotFound

func NewCreateDescriptorNotFound() *CreateDescriptorNotFound

NewCreateDescriptorNotFound creates a CreateDescriptorNotFound with default headers values

func (*CreateDescriptorNotFound) Error

func (o *CreateDescriptorNotFound) Error() string

type CreateDescriptorParams

type CreateDescriptorParams struct {

	/*Body
	  a descriptor that will be updated

	*/
	Body *models.Descriptor

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

CreateDescriptorParams contains all the parameters to send to the API endpoint for the create descriptor operation typically these are written to a http.Request

func NewCreateDescriptorParams

func NewCreateDescriptorParams() *CreateDescriptorParams

NewCreateDescriptorParams creates a new CreateDescriptorParams object with the default values initialized.

func NewCreateDescriptorParamsWithContext

func NewCreateDescriptorParamsWithContext(ctx context.Context) *CreateDescriptorParams

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

func NewCreateDescriptorParamsWithHTTPClient

func NewCreateDescriptorParamsWithHTTPClient(client *http.Client) *CreateDescriptorParams

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

func NewCreateDescriptorParamsWithTimeout

func NewCreateDescriptorParamsWithTimeout(timeout time.Duration) *CreateDescriptorParams

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

func (*CreateDescriptorParams) SetBody

func (o *CreateDescriptorParams) SetBody(body *models.Descriptor)

SetBody adds the body to the create descriptor params

func (*CreateDescriptorParams) SetContext

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

SetContext adds the context to the create descriptor params

func (*CreateDescriptorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create descriptor params

func (*CreateDescriptorParams) SetTimeout

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

SetTimeout adds the timeout to the create descriptor params

func (*CreateDescriptorParams) WithBody

WithBody adds the body to the create descriptor params

func (*CreateDescriptorParams) WithContext

WithContext adds the context to the create descriptor params

func (*CreateDescriptorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create descriptor params

func (*CreateDescriptorParams) WithTimeout

WithTimeout adds the timeout to the create descriptor params

func (*CreateDescriptorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDescriptorReader

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

CreateDescriptorReader is a Reader for the CreateDescriptor structure.

func (*CreateDescriptorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDescriptorBadRequest

type DeleteDescriptorBadRequest struct {
}

DeleteDescriptorBadRequest handles this case with default header values.

Invalid input

func NewDeleteDescriptorBadRequest

func NewDeleteDescriptorBadRequest() *DeleteDescriptorBadRequest

NewDeleteDescriptorBadRequest creates a DeleteDescriptorBadRequest with default headers values

func (*DeleteDescriptorBadRequest) Error

type DeleteDescriptorNotFound

type DeleteDescriptorNotFound struct {
}

DeleteDescriptorNotFound handles this case with default header values.

No items found

func NewDeleteDescriptorNotFound

func NewDeleteDescriptorNotFound() *DeleteDescriptorNotFound

NewDeleteDescriptorNotFound creates a DeleteDescriptorNotFound with default headers values

func (*DeleteDescriptorNotFound) Error

func (o *DeleteDescriptorNotFound) Error() string

type DeleteDescriptorOK

type DeleteDescriptorOK struct {
}

DeleteDescriptorOK handles this case with default header values.

Status Ok

func NewDeleteDescriptorOK

func NewDeleteDescriptorOK() *DeleteDescriptorOK

NewDeleteDescriptorOK creates a DeleteDescriptorOK with default headers values

func (*DeleteDescriptorOK) Error

func (o *DeleteDescriptorOK) Error() string

type DeleteDescriptorParams

type DeleteDescriptorParams struct {

	/*ID*/
	ID int64

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

DeleteDescriptorParams contains all the parameters to send to the API endpoint for the delete descriptor operation typically these are written to a http.Request

func NewDeleteDescriptorParams

func NewDeleteDescriptorParams() *DeleteDescriptorParams

NewDeleteDescriptorParams creates a new DeleteDescriptorParams object with the default values initialized.

func NewDeleteDescriptorParamsWithContext

func NewDeleteDescriptorParamsWithContext(ctx context.Context) *DeleteDescriptorParams

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

func NewDeleteDescriptorParamsWithHTTPClient

func NewDeleteDescriptorParamsWithHTTPClient(client *http.Client) *DeleteDescriptorParams

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

func NewDeleteDescriptorParamsWithTimeout

func NewDeleteDescriptorParamsWithTimeout(timeout time.Duration) *DeleteDescriptorParams

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

func (*DeleteDescriptorParams) SetContext

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

SetContext adds the context to the delete descriptor params

func (*DeleteDescriptorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete descriptor params

func (*DeleteDescriptorParams) SetID

func (o *DeleteDescriptorParams) SetID(id int64)

SetID adds the id to the delete descriptor params

func (*DeleteDescriptorParams) SetTimeout

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

SetTimeout adds the timeout to the delete descriptor params

func (*DeleteDescriptorParams) WithContext

WithContext adds the context to the delete descriptor params

func (*DeleteDescriptorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete descriptor params

func (*DeleteDescriptorParams) WithID

WithID adds the id to the delete descriptor params

func (*DeleteDescriptorParams) WithTimeout

WithTimeout adds the timeout to the delete descriptor params

func (*DeleteDescriptorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDescriptorReader

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

DeleteDescriptorReader is a Reader for the DeleteDescriptor structure.

func (*DeleteDescriptorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDescriptorsBadRequest

type DeleteDescriptorsBadRequest struct {
}

DeleteDescriptorsBadRequest handles this case with default header values.

Invalid input

func NewDeleteDescriptorsBadRequest

func NewDeleteDescriptorsBadRequest() *DeleteDescriptorsBadRequest

NewDeleteDescriptorsBadRequest creates a DeleteDescriptorsBadRequest with default headers values

func (*DeleteDescriptorsBadRequest) Error

type DeleteDescriptorsByDetailNotFound

type DeleteDescriptorsByDetailNotFound struct {
}

DeleteDescriptorsByDetailNotFound handles this case with default header values.

No items found

func NewDeleteDescriptorsByDetailNotFound

func NewDeleteDescriptorsByDetailNotFound() *DeleteDescriptorsByDetailNotFound

NewDeleteDescriptorsByDetailNotFound creates a DeleteDescriptorsByDetailNotFound with default headers values

func (*DeleteDescriptorsByDetailNotFound) Error

type DeleteDescriptorsByDetailOK

type DeleteDescriptorsByDetailOK struct {
}

DeleteDescriptorsByDetailOK handles this case with default header values.

Status Ok

func NewDeleteDescriptorsByDetailOK

func NewDeleteDescriptorsByDetailOK() *DeleteDescriptorsByDetailOK

NewDeleteDescriptorsByDetailOK creates a DeleteDescriptorsByDetailOK with default headers values

func (*DeleteDescriptorsByDetailOK) Error

type DeleteDescriptorsByDetailParams

type DeleteDescriptorsByDetailParams struct {

	/*ID
	  Detail ID Associated with descriptor(s)

	*/
	ID int64

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

DeleteDescriptorsByDetailParams contains all the parameters to send to the API endpoint for the delete descriptors by detail operation typically these are written to a http.Request

func NewDeleteDescriptorsByDetailParams

func NewDeleteDescriptorsByDetailParams() *DeleteDescriptorsByDetailParams

NewDeleteDescriptorsByDetailParams creates a new DeleteDescriptorsByDetailParams object with the default values initialized.

func NewDeleteDescriptorsByDetailParamsWithContext

func NewDeleteDescriptorsByDetailParamsWithContext(ctx context.Context) *DeleteDescriptorsByDetailParams

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

func NewDeleteDescriptorsByDetailParamsWithHTTPClient

func NewDeleteDescriptorsByDetailParamsWithHTTPClient(client *http.Client) *DeleteDescriptorsByDetailParams

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

func NewDeleteDescriptorsByDetailParamsWithTimeout

func NewDeleteDescriptorsByDetailParamsWithTimeout(timeout time.Duration) *DeleteDescriptorsByDetailParams

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

func (*DeleteDescriptorsByDetailParams) SetContext

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

SetContext adds the context to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) SetID

SetID adds the id to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) SetTimeout

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

SetTimeout adds the timeout to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) WithContext

WithContext adds the context to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) WithID

WithID adds the id to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) WithTimeout

WithTimeout adds the timeout to the delete descriptors by detail params

func (*DeleteDescriptorsByDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDescriptorsByDetailReader

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

DeleteDescriptorsByDetailReader is a Reader for the DeleteDescriptorsByDetail structure.

func (*DeleteDescriptorsByDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDescriptorsNotFound

type DeleteDescriptorsNotFound struct {
}

DeleteDescriptorsNotFound handles this case with default header values.

No items found

func NewDeleteDescriptorsNotFound

func NewDeleteDescriptorsNotFound() *DeleteDescriptorsNotFound

NewDeleteDescriptorsNotFound creates a DeleteDescriptorsNotFound with default headers values

func (*DeleteDescriptorsNotFound) Error

func (o *DeleteDescriptorsNotFound) Error() string

type DeleteDescriptorsOK

type DeleteDescriptorsOK struct {
}

DeleteDescriptorsOK handles this case with default header values.

Status Ok

func NewDeleteDescriptorsOK

func NewDeleteDescriptorsOK() *DeleteDescriptorsOK

NewDeleteDescriptorsOK creates a DeleteDescriptorsOK with default headers values

func (*DeleteDescriptorsOK) Error

func (o *DeleteDescriptorsOK) Error() string

type DeleteDescriptorsParams

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

DeleteDescriptorsParams contains all the parameters to send to the API endpoint for the delete descriptors operation typically these are written to a http.Request

func NewDeleteDescriptorsParams

func NewDeleteDescriptorsParams() *DeleteDescriptorsParams

NewDeleteDescriptorsParams creates a new DeleteDescriptorsParams object with the default values initialized.

func NewDeleteDescriptorsParamsWithContext

func NewDeleteDescriptorsParamsWithContext(ctx context.Context) *DeleteDescriptorsParams

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

func NewDeleteDescriptorsParamsWithHTTPClient

func NewDeleteDescriptorsParamsWithHTTPClient(client *http.Client) *DeleteDescriptorsParams

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

func NewDeleteDescriptorsParamsWithTimeout

func NewDeleteDescriptorsParamsWithTimeout(timeout time.Duration) *DeleteDescriptorsParams

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

func (*DeleteDescriptorsParams) SetContext

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

SetContext adds the context to the delete descriptors params

func (*DeleteDescriptorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete descriptors params

func (*DeleteDescriptorsParams) SetTimeout

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

SetTimeout adds the timeout to the delete descriptors params

func (*DeleteDescriptorsParams) WithContext

WithContext adds the context to the delete descriptors params

func (*DeleteDescriptorsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete descriptors params

func (*DeleteDescriptorsParams) WithTimeout

WithTimeout adds the timeout to the delete descriptors params

func (*DeleteDescriptorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDescriptorsReader

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

DeleteDescriptorsReader is a Reader for the DeleteDescriptors structure.

func (*DeleteDescriptorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDescriptorBadRequest

type GetDescriptorBadRequest struct {
}

GetDescriptorBadRequest handles this case with default header values.

Invalid input

func NewGetDescriptorBadRequest

func NewGetDescriptorBadRequest() *GetDescriptorBadRequest

NewGetDescriptorBadRequest creates a GetDescriptorBadRequest with default headers values

func (*GetDescriptorBadRequest) Error

func (o *GetDescriptorBadRequest) Error() string

type GetDescriptorNotFound

type GetDescriptorNotFound struct {
}

GetDescriptorNotFound handles this case with default header values.

No items found

func NewGetDescriptorNotFound

func NewGetDescriptorNotFound() *GetDescriptorNotFound

NewGetDescriptorNotFound creates a GetDescriptorNotFound with default headers values

func (*GetDescriptorNotFound) Error

func (o *GetDescriptorNotFound) Error() string

type GetDescriptorOK

type GetDescriptorOK struct {
	Payload *models.Descriptor
}

GetDescriptorOK handles this case with default header values.

Status Ok

func NewGetDescriptorOK

func NewGetDescriptorOK() *GetDescriptorOK

NewGetDescriptorOK creates a GetDescriptorOK with default headers values

func (*GetDescriptorOK) Error

func (o *GetDescriptorOK) Error() string

type GetDescriptorParams

type GetDescriptorParams struct {

	/*ID*/
	ID int64

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

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

func NewGetDescriptorParams

func NewGetDescriptorParams() *GetDescriptorParams

NewGetDescriptorParams creates a new GetDescriptorParams object with the default values initialized.

func NewGetDescriptorParamsWithContext

func NewGetDescriptorParamsWithContext(ctx context.Context) *GetDescriptorParams

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

func NewGetDescriptorParamsWithHTTPClient

func NewGetDescriptorParamsWithHTTPClient(client *http.Client) *GetDescriptorParams

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

func NewGetDescriptorParamsWithTimeout

func NewGetDescriptorParamsWithTimeout(timeout time.Duration) *GetDescriptorParams

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

func (*GetDescriptorParams) SetContext

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

SetContext adds the context to the get descriptor params

func (*GetDescriptorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get descriptor params

func (*GetDescriptorParams) SetID

func (o *GetDescriptorParams) SetID(id int64)

SetID adds the id to the get descriptor params

func (*GetDescriptorParams) SetTimeout

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

SetTimeout adds the timeout to the get descriptor params

func (*GetDescriptorParams) WithContext

WithContext adds the context to the get descriptor params

func (*GetDescriptorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get descriptor params

func (*GetDescriptorParams) WithID

WithID adds the id to the get descriptor params

func (*GetDescriptorParams) WithTimeout

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

WithTimeout adds the timeout to the get descriptor params

func (*GetDescriptorParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDescriptorReader

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

GetDescriptorReader is a Reader for the GetDescriptor structure.

func (*GetDescriptorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDescriptorsBadRequest

type GetDescriptorsBadRequest struct {
}

GetDescriptorsBadRequest handles this case with default header values.

Invalid input

func NewGetDescriptorsBadRequest

func NewGetDescriptorsBadRequest() *GetDescriptorsBadRequest

NewGetDescriptorsBadRequest creates a GetDescriptorsBadRequest with default headers values

func (*GetDescriptorsBadRequest) Error

func (o *GetDescriptorsBadRequest) Error() string

type GetDescriptorsByDetailNotFound

type GetDescriptorsByDetailNotFound struct {
}

GetDescriptorsByDetailNotFound handles this case with default header values.

No items found

func NewGetDescriptorsByDetailNotFound

func NewGetDescriptorsByDetailNotFound() *GetDescriptorsByDetailNotFound

NewGetDescriptorsByDetailNotFound creates a GetDescriptorsByDetailNotFound with default headers values

func (*GetDescriptorsByDetailNotFound) Error

type GetDescriptorsByDetailOK

type GetDescriptorsByDetailOK struct {
	Payload *models.Description
}

GetDescriptorsByDetailOK handles this case with default header values.

Status Ok

func NewGetDescriptorsByDetailOK

func NewGetDescriptorsByDetailOK() *GetDescriptorsByDetailOK

NewGetDescriptorsByDetailOK creates a GetDescriptorsByDetailOK with default headers values

func (*GetDescriptorsByDetailOK) Error

func (o *GetDescriptorsByDetailOK) Error() string

type GetDescriptorsByDetailParams

type GetDescriptorsByDetailParams struct {

	/*ID
	  Detail ID Associated with descriptor(s)

	*/
	ID int64

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

GetDescriptorsByDetailParams contains all the parameters to send to the API endpoint for the get descriptors by detail operation typically these are written to a http.Request

func NewGetDescriptorsByDetailParams

func NewGetDescriptorsByDetailParams() *GetDescriptorsByDetailParams

NewGetDescriptorsByDetailParams creates a new GetDescriptorsByDetailParams object with the default values initialized.

func NewGetDescriptorsByDetailParamsWithContext

func NewGetDescriptorsByDetailParamsWithContext(ctx context.Context) *GetDescriptorsByDetailParams

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

func NewGetDescriptorsByDetailParamsWithHTTPClient

func NewGetDescriptorsByDetailParamsWithHTTPClient(client *http.Client) *GetDescriptorsByDetailParams

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

func NewGetDescriptorsByDetailParamsWithTimeout

func NewGetDescriptorsByDetailParamsWithTimeout(timeout time.Duration) *GetDescriptorsByDetailParams

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

func (*GetDescriptorsByDetailParams) SetContext

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

SetContext adds the context to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) SetID

func (o *GetDescriptorsByDetailParams) SetID(id int64)

SetID adds the id to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) SetTimeout

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

SetTimeout adds the timeout to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) WithContext

WithContext adds the context to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) WithID

WithID adds the id to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) WithTimeout

WithTimeout adds the timeout to the get descriptors by detail params

func (*GetDescriptorsByDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDescriptorsByDetailReader

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

GetDescriptorsByDetailReader is a Reader for the GetDescriptorsByDetail structure.

func (*GetDescriptorsByDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDescriptorsNotFound

type GetDescriptorsNotFound struct {
}

GetDescriptorsNotFound handles this case with default header values.

No items found

func NewGetDescriptorsNotFound

func NewGetDescriptorsNotFound() *GetDescriptorsNotFound

NewGetDescriptorsNotFound creates a GetDescriptorsNotFound with default headers values

func (*GetDescriptorsNotFound) Error

func (o *GetDescriptorsNotFound) Error() string

type GetDescriptorsOK

type GetDescriptorsOK struct {
	Payload models.Descriptors
}

GetDescriptorsOK handles this case with default header values.

Status Ok

func NewGetDescriptorsOK

func NewGetDescriptorsOK() *GetDescriptorsOK

NewGetDescriptorsOK creates a GetDescriptorsOK with default headers values

func (*GetDescriptorsOK) Error

func (o *GetDescriptorsOK) Error() string

type GetDescriptorsParams

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

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

func NewGetDescriptorsParams

func NewGetDescriptorsParams() *GetDescriptorsParams

NewGetDescriptorsParams creates a new GetDescriptorsParams object with the default values initialized.

func NewGetDescriptorsParamsWithContext

func NewGetDescriptorsParamsWithContext(ctx context.Context) *GetDescriptorsParams

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

func NewGetDescriptorsParamsWithHTTPClient

func NewGetDescriptorsParamsWithHTTPClient(client *http.Client) *GetDescriptorsParams

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

func NewGetDescriptorsParamsWithTimeout

func NewGetDescriptorsParamsWithTimeout(timeout time.Duration) *GetDescriptorsParams

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

func (*GetDescriptorsParams) SetContext

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

SetContext adds the context to the get descriptors params

func (*GetDescriptorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get descriptors params

func (*GetDescriptorsParams) SetTimeout

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

SetTimeout adds the timeout to the get descriptors params

func (*GetDescriptorsParams) WithContext

WithContext adds the context to the get descriptors params

func (*GetDescriptorsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get descriptors params

func (*GetDescriptorsParams) WithTimeout

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

WithTimeout adds the timeout to the get descriptors params

func (*GetDescriptorsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDescriptorsReader

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

GetDescriptorsReader is a Reader for the GetDescriptors structure.

func (*GetDescriptorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDescriptorBadRequest

type UpdateDescriptorBadRequest struct {
}

UpdateDescriptorBadRequest handles this case with default header values.

Invalid input

func NewUpdateDescriptorBadRequest

func NewUpdateDescriptorBadRequest() *UpdateDescriptorBadRequest

NewUpdateDescriptorBadRequest creates a UpdateDescriptorBadRequest with default headers values

func (*UpdateDescriptorBadRequest) Error

type UpdateDescriptorCreated

type UpdateDescriptorCreated struct {
	Payload *models.Descriptor
}

UpdateDescriptorCreated handles this case with default header values.

Descriptor Updated

func NewUpdateDescriptorCreated

func NewUpdateDescriptorCreated() *UpdateDescriptorCreated

NewUpdateDescriptorCreated creates a UpdateDescriptorCreated with default headers values

func (*UpdateDescriptorCreated) Error

func (o *UpdateDescriptorCreated) Error() string

type UpdateDescriptorNotFound

type UpdateDescriptorNotFound struct {
}

UpdateDescriptorNotFound handles this case with default header values.

No items found

func NewUpdateDescriptorNotFound

func NewUpdateDescriptorNotFound() *UpdateDescriptorNotFound

NewUpdateDescriptorNotFound creates a UpdateDescriptorNotFound with default headers values

func (*UpdateDescriptorNotFound) Error

func (o *UpdateDescriptorNotFound) Error() string

type UpdateDescriptorParams

type UpdateDescriptorParams struct {

	/*Body
	  a descriptor that will be updated

	*/
	Body *models.Descriptor
	/*ID*/
	ID int64

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

UpdateDescriptorParams contains all the parameters to send to the API endpoint for the update descriptor operation typically these are written to a http.Request

func NewUpdateDescriptorParams

func NewUpdateDescriptorParams() *UpdateDescriptorParams

NewUpdateDescriptorParams creates a new UpdateDescriptorParams object with the default values initialized.

func NewUpdateDescriptorParamsWithContext

func NewUpdateDescriptorParamsWithContext(ctx context.Context) *UpdateDescriptorParams

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

func NewUpdateDescriptorParamsWithHTTPClient

func NewUpdateDescriptorParamsWithHTTPClient(client *http.Client) *UpdateDescriptorParams

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

func NewUpdateDescriptorParamsWithTimeout

func NewUpdateDescriptorParamsWithTimeout(timeout time.Duration) *UpdateDescriptorParams

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

func (*UpdateDescriptorParams) SetBody

func (o *UpdateDescriptorParams) SetBody(body *models.Descriptor)

SetBody adds the body to the update descriptor params

func (*UpdateDescriptorParams) SetContext

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

SetContext adds the context to the update descriptor params

func (*UpdateDescriptorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update descriptor params

func (*UpdateDescriptorParams) SetID

func (o *UpdateDescriptorParams) SetID(id int64)

SetID adds the id to the update descriptor params

func (*UpdateDescriptorParams) SetTimeout

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

SetTimeout adds the timeout to the update descriptor params

func (*UpdateDescriptorParams) WithBody

WithBody adds the body to the update descriptor params

func (*UpdateDescriptorParams) WithContext

WithContext adds the context to the update descriptor params

func (*UpdateDescriptorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update descriptor params

func (*UpdateDescriptorParams) WithID

WithID adds the id to the update descriptor params

func (*UpdateDescriptorParams) WithTimeout

WithTimeout adds the timeout to the update descriptor params

func (*UpdateDescriptorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDescriptorReader

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

UpdateDescriptorReader is a Reader for the UpdateDescriptor structure.

func (*UpdateDescriptorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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