Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDescriptor(params *CreateDescriptorParams) (*CreateDescriptorCreated, error)
- func (a *Client) CreateDescriptorByDetail(params *CreateDescriptorByDetailParams) (*CreateDescriptorByDetailCreated, error)
- func (a *Client) DeleteDescriptor(params *DeleteDescriptorParams) (*DeleteDescriptorOK, error)
- func (a *Client) DeleteDescriptors(params *DeleteDescriptorsParams) (*DeleteDescriptorsOK, error)
- func (a *Client) DeleteDescriptorsByDetail(params *DeleteDescriptorsByDetailParams) (*DeleteDescriptorsByDetailOK, error)
- func (a *Client) GetDescriptor(params *GetDescriptorParams) (*GetDescriptorOK, error)
- func (a *Client) GetDescriptors(params *GetDescriptorsParams) (*GetDescriptorsOK, error)
- func (a *Client) GetDescriptorsByDetail(params *GetDescriptorsByDetailParams) (*GetDescriptorsByDetailOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDescriptor(params *UpdateDescriptorParams) (*UpdateDescriptorCreated, error)
- type CreateDescriptorBadRequest
- type CreateDescriptorByDetailBadRequest
- type CreateDescriptorByDetailCreated
- type CreateDescriptorByDetailParams
- func NewCreateDescriptorByDetailParams() *CreateDescriptorByDetailParams
- func NewCreateDescriptorByDetailParamsWithContext(ctx context.Context) *CreateDescriptorByDetailParams
- func NewCreateDescriptorByDetailParamsWithHTTPClient(client *http.Client) *CreateDescriptorByDetailParams
- func NewCreateDescriptorByDetailParamsWithTimeout(timeout time.Duration) *CreateDescriptorByDetailParams
- func (o *CreateDescriptorByDetailParams) SetBody(body *models.Descriptor)
- func (o *CreateDescriptorByDetailParams) SetContext(ctx context.Context)
- func (o *CreateDescriptorByDetailParams) SetHTTPClient(client *http.Client)
- func (o *CreateDescriptorByDetailParams) SetID(id int64)
- func (o *CreateDescriptorByDetailParams) SetTimeout(timeout time.Duration)
- func (o *CreateDescriptorByDetailParams) WithBody(body *models.Descriptor) *CreateDescriptorByDetailParams
- func (o *CreateDescriptorByDetailParams) WithContext(ctx context.Context) *CreateDescriptorByDetailParams
- func (o *CreateDescriptorByDetailParams) WithHTTPClient(client *http.Client) *CreateDescriptorByDetailParams
- func (o *CreateDescriptorByDetailParams) WithID(id int64) *CreateDescriptorByDetailParams
- func (o *CreateDescriptorByDetailParams) WithTimeout(timeout time.Duration) *CreateDescriptorByDetailParams
- func (o *CreateDescriptorByDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDescriptorByDetailReader
- type CreateDescriptorCreated
- type CreateDescriptorNotFound
- type CreateDescriptorParams
- func NewCreateDescriptorParams() *CreateDescriptorParams
- func NewCreateDescriptorParamsWithContext(ctx context.Context) *CreateDescriptorParams
- func NewCreateDescriptorParamsWithHTTPClient(client *http.Client) *CreateDescriptorParams
- func NewCreateDescriptorParamsWithTimeout(timeout time.Duration) *CreateDescriptorParams
- func (o *CreateDescriptorParams) SetBody(body *models.Descriptor)
- func (o *CreateDescriptorParams) SetContext(ctx context.Context)
- func (o *CreateDescriptorParams) SetHTTPClient(client *http.Client)
- func (o *CreateDescriptorParams) SetTimeout(timeout time.Duration)
- func (o *CreateDescriptorParams) WithBody(body *models.Descriptor) *CreateDescriptorParams
- func (o *CreateDescriptorParams) WithContext(ctx context.Context) *CreateDescriptorParams
- func (o *CreateDescriptorParams) WithHTTPClient(client *http.Client) *CreateDescriptorParams
- func (o *CreateDescriptorParams) WithTimeout(timeout time.Duration) *CreateDescriptorParams
- func (o *CreateDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDescriptorReader
- type DeleteDescriptorBadRequest
- type DeleteDescriptorNotFound
- type DeleteDescriptorOK
- type DeleteDescriptorParams
- func NewDeleteDescriptorParams() *DeleteDescriptorParams
- func NewDeleteDescriptorParamsWithContext(ctx context.Context) *DeleteDescriptorParams
- func NewDeleteDescriptorParamsWithHTTPClient(client *http.Client) *DeleteDescriptorParams
- func NewDeleteDescriptorParamsWithTimeout(timeout time.Duration) *DeleteDescriptorParams
- func (o *DeleteDescriptorParams) SetContext(ctx context.Context)
- func (o *DeleteDescriptorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDescriptorParams) SetID(id int64)
- func (o *DeleteDescriptorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDescriptorParams) WithContext(ctx context.Context) *DeleteDescriptorParams
- func (o *DeleteDescriptorParams) WithHTTPClient(client *http.Client) *DeleteDescriptorParams
- func (o *DeleteDescriptorParams) WithID(id int64) *DeleteDescriptorParams
- func (o *DeleteDescriptorParams) WithTimeout(timeout time.Duration) *DeleteDescriptorParams
- func (o *DeleteDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDescriptorReader
- type DeleteDescriptorsBadRequest
- type DeleteDescriptorsByDetailNotFound
- type DeleteDescriptorsByDetailOK
- type DeleteDescriptorsByDetailParams
- func NewDeleteDescriptorsByDetailParams() *DeleteDescriptorsByDetailParams
- func NewDeleteDescriptorsByDetailParamsWithContext(ctx context.Context) *DeleteDescriptorsByDetailParams
- func NewDeleteDescriptorsByDetailParamsWithHTTPClient(client *http.Client) *DeleteDescriptorsByDetailParams
- func NewDeleteDescriptorsByDetailParamsWithTimeout(timeout time.Duration) *DeleteDescriptorsByDetailParams
- func (o *DeleteDescriptorsByDetailParams) SetContext(ctx context.Context)
- func (o *DeleteDescriptorsByDetailParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDescriptorsByDetailParams) SetID(id int64)
- func (o *DeleteDescriptorsByDetailParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDescriptorsByDetailParams) WithContext(ctx context.Context) *DeleteDescriptorsByDetailParams
- func (o *DeleteDescriptorsByDetailParams) WithHTTPClient(client *http.Client) *DeleteDescriptorsByDetailParams
- func (o *DeleteDescriptorsByDetailParams) WithID(id int64) *DeleteDescriptorsByDetailParams
- func (o *DeleteDescriptorsByDetailParams) WithTimeout(timeout time.Duration) *DeleteDescriptorsByDetailParams
- func (o *DeleteDescriptorsByDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDescriptorsByDetailReader
- type DeleteDescriptorsNotFound
- type DeleteDescriptorsOK
- type DeleteDescriptorsParams
- func NewDeleteDescriptorsParams() *DeleteDescriptorsParams
- func NewDeleteDescriptorsParamsWithContext(ctx context.Context) *DeleteDescriptorsParams
- func NewDeleteDescriptorsParamsWithHTTPClient(client *http.Client) *DeleteDescriptorsParams
- func NewDeleteDescriptorsParamsWithTimeout(timeout time.Duration) *DeleteDescriptorsParams
- func (o *DeleteDescriptorsParams) SetContext(ctx context.Context)
- func (o *DeleteDescriptorsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDescriptorsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDescriptorsParams) WithContext(ctx context.Context) *DeleteDescriptorsParams
- func (o *DeleteDescriptorsParams) WithHTTPClient(client *http.Client) *DeleteDescriptorsParams
- func (o *DeleteDescriptorsParams) WithTimeout(timeout time.Duration) *DeleteDescriptorsParams
- func (o *DeleteDescriptorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDescriptorsReader
- type GetDescriptorBadRequest
- type GetDescriptorNotFound
- type GetDescriptorOK
- type GetDescriptorParams
- func (o *GetDescriptorParams) SetContext(ctx context.Context)
- func (o *GetDescriptorParams) SetHTTPClient(client *http.Client)
- func (o *GetDescriptorParams) SetID(id int64)
- func (o *GetDescriptorParams) SetTimeout(timeout time.Duration)
- func (o *GetDescriptorParams) WithContext(ctx context.Context) *GetDescriptorParams
- func (o *GetDescriptorParams) WithHTTPClient(client *http.Client) *GetDescriptorParams
- func (o *GetDescriptorParams) WithID(id int64) *GetDescriptorParams
- func (o *GetDescriptorParams) WithTimeout(timeout time.Duration) *GetDescriptorParams
- func (o *GetDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDescriptorReader
- type GetDescriptorsBadRequest
- type GetDescriptorsByDetailNotFound
- type GetDescriptorsByDetailOK
- type GetDescriptorsByDetailParams
- func NewGetDescriptorsByDetailParams() *GetDescriptorsByDetailParams
- func NewGetDescriptorsByDetailParamsWithContext(ctx context.Context) *GetDescriptorsByDetailParams
- func NewGetDescriptorsByDetailParamsWithHTTPClient(client *http.Client) *GetDescriptorsByDetailParams
- func NewGetDescriptorsByDetailParamsWithTimeout(timeout time.Duration) *GetDescriptorsByDetailParams
- func (o *GetDescriptorsByDetailParams) SetContext(ctx context.Context)
- func (o *GetDescriptorsByDetailParams) SetHTTPClient(client *http.Client)
- func (o *GetDescriptorsByDetailParams) SetID(id int64)
- func (o *GetDescriptorsByDetailParams) SetTimeout(timeout time.Duration)
- func (o *GetDescriptorsByDetailParams) WithContext(ctx context.Context) *GetDescriptorsByDetailParams
- func (o *GetDescriptorsByDetailParams) WithHTTPClient(client *http.Client) *GetDescriptorsByDetailParams
- func (o *GetDescriptorsByDetailParams) WithID(id int64) *GetDescriptorsByDetailParams
- func (o *GetDescriptorsByDetailParams) WithTimeout(timeout time.Duration) *GetDescriptorsByDetailParams
- func (o *GetDescriptorsByDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDescriptorsByDetailReader
- type GetDescriptorsNotFound
- type GetDescriptorsOK
- type GetDescriptorsParams
- func NewGetDescriptorsParams() *GetDescriptorsParams
- func NewGetDescriptorsParamsWithContext(ctx context.Context) *GetDescriptorsParams
- func NewGetDescriptorsParamsWithHTTPClient(client *http.Client) *GetDescriptorsParams
- func NewGetDescriptorsParamsWithTimeout(timeout time.Duration) *GetDescriptorsParams
- func (o *GetDescriptorsParams) SetContext(ctx context.Context)
- func (o *GetDescriptorsParams) SetHTTPClient(client *http.Client)
- func (o *GetDescriptorsParams) SetTimeout(timeout time.Duration)
- func (o *GetDescriptorsParams) WithContext(ctx context.Context) *GetDescriptorsParams
- func (o *GetDescriptorsParams) WithHTTPClient(client *http.Client) *GetDescriptorsParams
- func (o *GetDescriptorsParams) WithTimeout(timeout time.Duration) *GetDescriptorsParams
- func (o *GetDescriptorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDescriptorsReader
- type UpdateDescriptorBadRequest
- type UpdateDescriptorCreated
- type UpdateDescriptorNotFound
- type UpdateDescriptorParams
- func NewUpdateDescriptorParams() *UpdateDescriptorParams
- func NewUpdateDescriptorParamsWithContext(ctx context.Context) *UpdateDescriptorParams
- func NewUpdateDescriptorParamsWithHTTPClient(client *http.Client) *UpdateDescriptorParams
- func NewUpdateDescriptorParamsWithTimeout(timeout time.Duration) *UpdateDescriptorParams
- func (o *UpdateDescriptorParams) SetBody(body *models.Descriptor)
- func (o *UpdateDescriptorParams) SetContext(ctx context.Context)
- func (o *UpdateDescriptorParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDescriptorParams) SetID(id int64)
- func (o *UpdateDescriptorParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDescriptorParams) WithBody(body *models.Descriptor) *UpdateDescriptorParams
- func (o *UpdateDescriptorParams) WithContext(ctx context.Context) *UpdateDescriptorParams
- func (o *UpdateDescriptorParams) WithHTTPClient(client *http.Client) *UpdateDescriptorParams
- func (o *UpdateDescriptorParams) WithID(id int64) *UpdateDescriptorParams
- func (o *UpdateDescriptorParams) WithTimeout(timeout time.Duration) *UpdateDescriptorParams
- func (o *UpdateDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDescriptorReader
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 ¶
func (o *CreateDescriptorBadRequest) Error() string
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 ¶
func (o *CreateDescriptorByDetailBadRequest) Error() string
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 ¶
func (o *CreateDescriptorByDetailCreated) Error() string
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 ¶
func (o *CreateDescriptorByDetailParams) SetBody(body *models.Descriptor)
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 ¶
func (o *CreateDescriptorByDetailParams) SetID(id int64)
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 ¶
func (o *CreateDescriptorByDetailParams) WithBody(body *models.Descriptor) *CreateDescriptorByDetailParams
WithBody adds the body to the create descriptor by detail params
func (*CreateDescriptorByDetailParams) WithContext ¶
func (o *CreateDescriptorByDetailParams) WithContext(ctx context.Context) *CreateDescriptorByDetailParams
WithContext adds the context to the create descriptor by detail params
func (*CreateDescriptorByDetailParams) WithHTTPClient ¶
func (o *CreateDescriptorByDetailParams) WithHTTPClient(client *http.Client) *CreateDescriptorByDetailParams
WithHTTPClient adds the HTTPClient to the create descriptor by detail params
func (*CreateDescriptorByDetailParams) WithID ¶
func (o *CreateDescriptorByDetailParams) WithID(id int64) *CreateDescriptorByDetailParams
WithID adds the id to the create descriptor by detail params
func (*CreateDescriptorByDetailParams) WithTimeout ¶
func (o *CreateDescriptorByDetailParams) WithTimeout(timeout time.Duration) *CreateDescriptorByDetailParams
WithTimeout adds the timeout to the create descriptor by detail params
func (*CreateDescriptorByDetailParams) WriteToRequest ¶
func (o *CreateDescriptorByDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateDescriptorParams) WithBody(body *models.Descriptor) *CreateDescriptorParams
WithBody adds the body to the create descriptor params
func (*CreateDescriptorParams) WithContext ¶
func (o *CreateDescriptorParams) WithContext(ctx context.Context) *CreateDescriptorParams
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 ¶
func (o *CreateDescriptorParams) WithTimeout(timeout time.Duration) *CreateDescriptorParams
WithTimeout adds the timeout to the create descriptor params
func (*CreateDescriptorParams) WriteToRequest ¶
func (o *CreateDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteDescriptorBadRequest) Error() string
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 ¶
func (o *DeleteDescriptorParams) WithContext(ctx context.Context) *DeleteDescriptorParams
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 ¶
func (o *DeleteDescriptorParams) WithID(id int64) *DeleteDescriptorParams
WithID adds the id to the delete descriptor params
func (*DeleteDescriptorParams) WithTimeout ¶
func (o *DeleteDescriptorParams) WithTimeout(timeout time.Duration) *DeleteDescriptorParams
WithTimeout adds the timeout to the delete descriptor params
func (*DeleteDescriptorParams) WriteToRequest ¶
func (o *DeleteDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteDescriptorsBadRequest) Error() string
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 ¶
func (o *DeleteDescriptorsByDetailNotFound) Error() string
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 ¶
func (o *DeleteDescriptorsByDetailOK) Error() string
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 ¶
func (o *DeleteDescriptorsByDetailParams) SetID(id int64)
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 ¶
func (o *DeleteDescriptorsByDetailParams) WithContext(ctx context.Context) *DeleteDescriptorsByDetailParams
WithContext adds the context to the delete descriptors by detail params
func (*DeleteDescriptorsByDetailParams) WithHTTPClient ¶
func (o *DeleteDescriptorsByDetailParams) WithHTTPClient(client *http.Client) *DeleteDescriptorsByDetailParams
WithHTTPClient adds the HTTPClient to the delete descriptors by detail params
func (*DeleteDescriptorsByDetailParams) WithID ¶
func (o *DeleteDescriptorsByDetailParams) WithID(id int64) *DeleteDescriptorsByDetailParams
WithID adds the id to the delete descriptors by detail params
func (*DeleteDescriptorsByDetailParams) WithTimeout ¶
func (o *DeleteDescriptorsByDetailParams) WithTimeout(timeout time.Duration) *DeleteDescriptorsByDetailParams
WithTimeout adds the timeout to the delete descriptors by detail params
func (*DeleteDescriptorsByDetailParams) WriteToRequest ¶
func (o *DeleteDescriptorsByDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteDescriptorsParams) WithContext(ctx context.Context) *DeleteDescriptorsParams
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 ¶
func (o *DeleteDescriptorsParams) WithTimeout(timeout time.Duration) *DeleteDescriptorsParams
WithTimeout adds the timeout to the delete descriptors params
func (*DeleteDescriptorsParams) WriteToRequest ¶
func (o *DeleteDescriptorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDescriptorParams) WithContext(ctx context.Context) *GetDescriptorParams
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 ¶
func (o *GetDescriptorParams) WithID(id int64) *GetDescriptorParams
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 ¶
func (o *GetDescriptorsByDetailNotFound) Error() string
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 ¶
func (o *GetDescriptorsByDetailParams) WithContext(ctx context.Context) *GetDescriptorsByDetailParams
WithContext adds the context to the get descriptors by detail params
func (*GetDescriptorsByDetailParams) WithHTTPClient ¶
func (o *GetDescriptorsByDetailParams) WithHTTPClient(client *http.Client) *GetDescriptorsByDetailParams
WithHTTPClient adds the HTTPClient to the get descriptors by detail params
func (*GetDescriptorsByDetailParams) WithID ¶
func (o *GetDescriptorsByDetailParams) WithID(id int64) *GetDescriptorsByDetailParams
WithID adds the id to the get descriptors by detail params
func (*GetDescriptorsByDetailParams) WithTimeout ¶
func (o *GetDescriptorsByDetailParams) WithTimeout(timeout time.Duration) *GetDescriptorsByDetailParams
WithTimeout adds the timeout to the get descriptors by detail params
func (*GetDescriptorsByDetailParams) WriteToRequest ¶
func (o *GetDescriptorsByDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDescriptorsParams) WithContext(ctx context.Context) *GetDescriptorsParams
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 ¶
func (o *UpdateDescriptorBadRequest) Error() string
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 ¶
func (o *UpdateDescriptorParams) WithBody(body *models.Descriptor) *UpdateDescriptorParams
WithBody adds the body to the update descriptor params
func (*UpdateDescriptorParams) WithContext ¶
func (o *UpdateDescriptorParams) WithContext(ctx context.Context) *UpdateDescriptorParams
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 ¶
func (o *UpdateDescriptorParams) WithID(id int64) *UpdateDescriptorParams
WithID adds the id to the update descriptor params
func (*UpdateDescriptorParams) WithTimeout ¶
func (o *UpdateDescriptorParams) WithTimeout(timeout time.Duration) *UpdateDescriptorParams
WithTimeout adds the timeout to the update descriptor params
func (*UpdateDescriptorParams) WriteToRequest ¶
func (o *UpdateDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_descriptor_by_detail_parameters.go
- create_descriptor_by_detail_responses.go
- create_descriptor_parameters.go
- create_descriptor_responses.go
- delete_descriptor_parameters.go
- delete_descriptor_responses.go
- delete_descriptors_by_detail_parameters.go
- delete_descriptors_by_detail_responses.go
- delete_descriptors_parameters.go
- delete_descriptors_responses.go
- descriptors_client.go
- get_descriptor_parameters.go
- get_descriptor_responses.go
- get_descriptors_by_detail_parameters.go
- get_descriptors_by_detail_responses.go
- get_descriptors_parameters.go
- get_descriptors_responses.go
- update_descriptor_parameters.go
- update_descriptor_responses.go