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: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CreateDescriptorBadRequestCode int = 400

CreateDescriptorBadRequestCode is the HTTP code returned for type CreateDescriptorBadRequest

View Source
const CreateDescriptorByDetailBadRequestCode int = 400

CreateDescriptorByDetailBadRequestCode is the HTTP code returned for type CreateDescriptorByDetailBadRequest

View Source
const CreateDescriptorByDetailCreatedCode int = 201

CreateDescriptorByDetailCreatedCode is the HTTP code returned for type CreateDescriptorByDetailCreated

View Source
const CreateDescriptorCreatedCode int = 201

CreateDescriptorCreatedCode is the HTTP code returned for type CreateDescriptorCreated

View Source
const CreateDescriptorNotFoundCode int = 404

CreateDescriptorNotFoundCode is the HTTP code returned for type CreateDescriptorNotFound

View Source
const DeleteDescriptorBadRequestCode int = 400

DeleteDescriptorBadRequestCode is the HTTP code returned for type DeleteDescriptorBadRequest

View Source
const DeleteDescriptorNotFoundCode int = 404

DeleteDescriptorNotFoundCode is the HTTP code returned for type DeleteDescriptorNotFound

View Source
const DeleteDescriptorOKCode int = 200

DeleteDescriptorOKCode is the HTTP code returned for type DeleteDescriptorOK

View Source
const DeleteDescriptorsBadRequestCode int = 400

DeleteDescriptorsBadRequestCode is the HTTP code returned for type DeleteDescriptorsBadRequest

View Source
const DeleteDescriptorsByDetailNotFoundCode int = 404

DeleteDescriptorsByDetailNotFoundCode is the HTTP code returned for type DeleteDescriptorsByDetailNotFound

View Source
const DeleteDescriptorsByDetailOKCode int = 200

DeleteDescriptorsByDetailOKCode is the HTTP code returned for type DeleteDescriptorsByDetailOK

View Source
const DeleteDescriptorsNotFoundCode int = 404

DeleteDescriptorsNotFoundCode is the HTTP code returned for type DeleteDescriptorsNotFound

View Source
const DeleteDescriptorsOKCode int = 200

DeleteDescriptorsOKCode is the HTTP code returned for type DeleteDescriptorsOK

View Source
const GetDescriptorBadRequestCode int = 400

GetDescriptorBadRequestCode is the HTTP code returned for type GetDescriptorBadRequest

View Source
const GetDescriptorNotFoundCode int = 404

GetDescriptorNotFoundCode is the HTTP code returned for type GetDescriptorNotFound

View Source
const GetDescriptorOKCode int = 200

GetDescriptorOKCode is the HTTP code returned for type GetDescriptorOK

View Source
const GetDescriptorsBadRequestCode int = 400

GetDescriptorsBadRequestCode is the HTTP code returned for type GetDescriptorsBadRequest

View Source
const GetDescriptorsByDetailNotFoundCode int = 404

GetDescriptorsByDetailNotFoundCode is the HTTP code returned for type GetDescriptorsByDetailNotFound

View Source
const GetDescriptorsByDetailOKCode int = 200

GetDescriptorsByDetailOKCode is the HTTP code returned for type GetDescriptorsByDetailOK

View Source
const GetDescriptorsNotFoundCode int = 404

GetDescriptorsNotFoundCode is the HTTP code returned for type GetDescriptorsNotFound

View Source
const GetDescriptorsOKCode int = 200

GetDescriptorsOKCode is the HTTP code returned for type GetDescriptorsOK

View Source
const UpdateDescriptorBadRequestCode int = 400

UpdateDescriptorBadRequestCode is the HTTP code returned for type UpdateDescriptorBadRequest

View Source
const UpdateDescriptorCreatedCode int = 201

UpdateDescriptorCreatedCode is the HTTP code returned for type UpdateDescriptorCreated

View Source
const UpdateDescriptorNotFoundCode int = 404

UpdateDescriptorNotFoundCode is the HTTP code returned for type UpdateDescriptorNotFound

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDescriptor

type CreateDescriptor struct {
	Context *middleware.Context
	Handler CreateDescriptorHandler
}

CreateDescriptor swagger:route POST /descriptors Descriptors createDescriptor

Create a Descriptor

func NewCreateDescriptor

func NewCreateDescriptor(ctx *middleware.Context, handler CreateDescriptorHandler) *CreateDescriptor

NewCreateDescriptor creates a new http.Handler for the create descriptor operation

func (*CreateDescriptor) ServeHTTP

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

type CreateDescriptorBadRequest

type CreateDescriptorBadRequest struct {
}

CreateDescriptorBadRequest Invalid input

swagger:response createDescriptorBadRequest

func NewCreateDescriptorBadRequest

func NewCreateDescriptorBadRequest() *CreateDescriptorBadRequest

NewCreateDescriptorBadRequest creates CreateDescriptorBadRequest with default headers values

func (*CreateDescriptorBadRequest) WriteResponse

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

WriteResponse to the client

type CreateDescriptorByDetail

type CreateDescriptorByDetail struct {
	Context *middleware.Context
	Handler CreateDescriptorByDetailHandler
}

CreateDescriptorByDetail swagger:route POST /details/{id}/descriptors Descriptors createDescriptorByDetail

Create a Descriptor by Detail

func NewCreateDescriptorByDetail

func NewCreateDescriptorByDetail(ctx *middleware.Context, handler CreateDescriptorByDetailHandler) *CreateDescriptorByDetail

NewCreateDescriptorByDetail creates a new http.Handler for the create descriptor by detail operation

func (*CreateDescriptorByDetail) ServeHTTP

type CreateDescriptorByDetailBadRequest

type CreateDescriptorByDetailBadRequest struct {
}

CreateDescriptorByDetailBadRequest Invalid input

swagger:response createDescriptorByDetailBadRequest

func NewCreateDescriptorByDetailBadRequest

func NewCreateDescriptorByDetailBadRequest() *CreateDescriptorByDetailBadRequest

NewCreateDescriptorByDetailBadRequest creates CreateDescriptorByDetailBadRequest with default headers values

func (*CreateDescriptorByDetailBadRequest) WriteResponse

WriteResponse to the client

type CreateDescriptorByDetailCreated

type CreateDescriptorByDetailCreated struct {

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

CreateDescriptorByDetailCreated Descriptor Created

swagger:response createDescriptorByDetailCreated

func NewCreateDescriptorByDetailCreated

func NewCreateDescriptorByDetailCreated() *CreateDescriptorByDetailCreated

NewCreateDescriptorByDetailCreated creates CreateDescriptorByDetailCreated with default headers values

func (*CreateDescriptorByDetailCreated) SetPayload

func (o *CreateDescriptorByDetailCreated) SetPayload(payload *models.Descriptor)

SetPayload sets the payload to the create descriptor by detail created response

func (*CreateDescriptorByDetailCreated) WithPayload

WithPayload adds the payload to the create descriptor by detail created response

func (*CreateDescriptorByDetailCreated) WriteResponse

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

WriteResponse to the client

type CreateDescriptorByDetailHandler

type CreateDescriptorByDetailHandler interface {
	Handle(CreateDescriptorByDetailParams) middleware.Responder
}

CreateDescriptorByDetailHandler interface for that can handle valid create descriptor by detail params

type CreateDescriptorByDetailHandlerFunc

type CreateDescriptorByDetailHandlerFunc func(CreateDescriptorByDetailParams) middleware.Responder

CreateDescriptorByDetailHandlerFunc turns a function with the right signature into a create descriptor by detail handler

func (CreateDescriptorByDetailHandlerFunc) Handle

Handle executing the request and returning a response

type CreateDescriptorByDetailParams

type CreateDescriptorByDetailParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*Descriptor that will be created
	  Required: true
	  In: body
	*/
	Body *models.Descriptor
	/*Detail ID Associated with descriptor(s)
	  Required: true
	  In: path
	*/
	ID int64
}

CreateDescriptorByDetailParams contains all the bound params for the create descriptor by detail operation typically these are obtained from a http.Request

swagger:parameters createDescriptorByDetail

func NewCreateDescriptorByDetailParams

func NewCreateDescriptorByDetailParams() CreateDescriptorByDetailParams

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

func (*CreateDescriptorByDetailParams) BindRequest

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

type CreateDescriptorByDetailURL

type CreateDescriptorByDetailURL struct {
	ID int64
	// contains filtered or unexported fields
}

CreateDescriptorByDetailURL generates an URL for the create descriptor by detail operation

func (*CreateDescriptorByDetailURL) Build

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

Build a url path and query string

func (*CreateDescriptorByDetailURL) BuildFull

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

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

func (*CreateDescriptorByDetailURL) Must

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

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

func (*CreateDescriptorByDetailURL) SetBasePath

func (o *CreateDescriptorByDetailURL) SetBasePath(bp string)

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

func (*CreateDescriptorByDetailURL) String

func (o *CreateDescriptorByDetailURL) String() string

String returns the string representation of the path with query string

func (*CreateDescriptorByDetailURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateDescriptorByDetailURL) WithBasePath

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

type CreateDescriptorCreated

type CreateDescriptorCreated struct {

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

CreateDescriptorCreated Descriptor Updated

swagger:response createDescriptorCreated

func NewCreateDescriptorCreated

func NewCreateDescriptorCreated() *CreateDescriptorCreated

NewCreateDescriptorCreated creates CreateDescriptorCreated with default headers values

func (*CreateDescriptorCreated) SetPayload

func (o *CreateDescriptorCreated) SetPayload(payload *models.Descriptor)

SetPayload sets the payload to the create descriptor created response

func (*CreateDescriptorCreated) WithPayload

WithPayload adds the payload to the create descriptor created response

func (*CreateDescriptorCreated) WriteResponse

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

WriteResponse to the client

type CreateDescriptorHandler

type CreateDescriptorHandler interface {
	Handle(CreateDescriptorParams) middleware.Responder
}

CreateDescriptorHandler interface for that can handle valid create descriptor params

type CreateDescriptorHandlerFunc

type CreateDescriptorHandlerFunc func(CreateDescriptorParams) middleware.Responder

CreateDescriptorHandlerFunc turns a function with the right signature into a create descriptor handler

func (CreateDescriptorHandlerFunc) Handle

Handle executing the request and returning a response

type CreateDescriptorNotFound

type CreateDescriptorNotFound struct {
}

CreateDescriptorNotFound No items found

swagger:response createDescriptorNotFound

func NewCreateDescriptorNotFound

func NewCreateDescriptorNotFound() *CreateDescriptorNotFound

NewCreateDescriptorNotFound creates CreateDescriptorNotFound with default headers values

func (*CreateDescriptorNotFound) WriteResponse

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

WriteResponse to the client

type CreateDescriptorParams

type CreateDescriptorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*a descriptor that will be updated
	  Required: true
	  In: body
	*/
	Body *models.Descriptor
}

CreateDescriptorParams contains all the bound params for the create descriptor operation typically these are obtained from a http.Request

swagger:parameters createDescriptor

func NewCreateDescriptorParams

func NewCreateDescriptorParams() CreateDescriptorParams

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

func (*CreateDescriptorParams) BindRequest

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

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

type CreateDescriptorURL

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

CreateDescriptorURL generates an URL for the create descriptor operation

func (*CreateDescriptorURL) Build

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

Build a url path and query string

func (*CreateDescriptorURL) BuildFull

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

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

func (*CreateDescriptorURL) Must

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

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

func (*CreateDescriptorURL) SetBasePath

func (o *CreateDescriptorURL) SetBasePath(bp string)

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

func (*CreateDescriptorURL) String

func (o *CreateDescriptorURL) String() string

String returns the string representation of the path with query string

func (*CreateDescriptorURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateDescriptorURL) WithBasePath

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

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

type DeleteDescriptor

type DeleteDescriptor struct {
	Context *middleware.Context
	Handler DeleteDescriptorHandler
}

DeleteDescriptor swagger:route DELETE /descriptors/{id} Descriptors deleteDescriptor

Delete Descriptor

func NewDeleteDescriptor

func NewDeleteDescriptor(ctx *middleware.Context, handler DeleteDescriptorHandler) *DeleteDescriptor

NewDeleteDescriptor creates a new http.Handler for the delete descriptor operation

func (*DeleteDescriptor) ServeHTTP

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

type DeleteDescriptorBadRequest

type DeleteDescriptorBadRequest struct {
}

DeleteDescriptorBadRequest Invalid input

swagger:response deleteDescriptorBadRequest

func NewDeleteDescriptorBadRequest

func NewDeleteDescriptorBadRequest() *DeleteDescriptorBadRequest

NewDeleteDescriptorBadRequest creates DeleteDescriptorBadRequest with default headers values

func (*DeleteDescriptorBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorHandler

type DeleteDescriptorHandler interface {
	Handle(DeleteDescriptorParams) middleware.Responder
}

DeleteDescriptorHandler interface for that can handle valid delete descriptor params

type DeleteDescriptorHandlerFunc

type DeleteDescriptorHandlerFunc func(DeleteDescriptorParams) middleware.Responder

DeleteDescriptorHandlerFunc turns a function with the right signature into a delete descriptor handler

func (DeleteDescriptorHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteDescriptorNotFound

type DeleteDescriptorNotFound struct {
}

DeleteDescriptorNotFound No items found

swagger:response deleteDescriptorNotFound

func NewDeleteDescriptorNotFound

func NewDeleteDescriptorNotFound() *DeleteDescriptorNotFound

NewDeleteDescriptorNotFound creates DeleteDescriptorNotFound with default headers values

func (*DeleteDescriptorNotFound) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorOK

type DeleteDescriptorOK struct {
}

DeleteDescriptorOK Status Ok

swagger:response deleteDescriptorOK

func NewDeleteDescriptorOK

func NewDeleteDescriptorOK() *DeleteDescriptorOK

NewDeleteDescriptorOK creates DeleteDescriptorOK with default headers values

func (*DeleteDescriptorOK) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorParams

type DeleteDescriptorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*
	  Required: true
	  In: path
	*/
	ID int64
}

DeleteDescriptorParams contains all the bound params for the delete descriptor operation typically these are obtained from a http.Request

swagger:parameters deleteDescriptor

func NewDeleteDescriptorParams

func NewDeleteDescriptorParams() DeleteDescriptorParams

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

func (*DeleteDescriptorParams) BindRequest

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

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

type DeleteDescriptorURL

type DeleteDescriptorURL struct {
	ID int64
	// contains filtered or unexported fields
}

DeleteDescriptorURL generates an URL for the delete descriptor operation

func (*DeleteDescriptorURL) Build

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

Build a url path and query string

func (*DeleteDescriptorURL) BuildFull

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

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

func (*DeleteDescriptorURL) Must

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

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

func (*DeleteDescriptorURL) SetBasePath

func (o *DeleteDescriptorURL) SetBasePath(bp string)

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

func (*DeleteDescriptorURL) String

func (o *DeleteDescriptorURL) String() string

String returns the string representation of the path with query string

func (*DeleteDescriptorURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteDescriptorURL) WithBasePath

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

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

type DeleteDescriptors

type DeleteDescriptors struct {
	Context *middleware.Context
	Handler DeleteDescriptorsHandler
}

DeleteDescriptors swagger:route DELETE /descriptors Descriptors deleteDescriptors

Delete all Descriptors

func NewDeleteDescriptors

func NewDeleteDescriptors(ctx *middleware.Context, handler DeleteDescriptorsHandler) *DeleteDescriptors

NewDeleteDescriptors creates a new http.Handler for the delete descriptors operation

func (*DeleteDescriptors) ServeHTTP

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

type DeleteDescriptorsBadRequest

type DeleteDescriptorsBadRequest struct {
}

DeleteDescriptorsBadRequest Invalid input

swagger:response deleteDescriptorsBadRequest

func NewDeleteDescriptorsBadRequest

func NewDeleteDescriptorsBadRequest() *DeleteDescriptorsBadRequest

NewDeleteDescriptorsBadRequest creates DeleteDescriptorsBadRequest with default headers values

func (*DeleteDescriptorsBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorsByDetail

type DeleteDescriptorsByDetail struct {
	Context *middleware.Context
	Handler DeleteDescriptorsByDetailHandler
}

DeleteDescriptorsByDetail swagger:route DELETE /details/{id}/descriptors Descriptors deleteDescriptorsByDetail

Delete all Descriptors by Detail

func NewDeleteDescriptorsByDetail

func NewDeleteDescriptorsByDetail(ctx *middleware.Context, handler DeleteDescriptorsByDetailHandler) *DeleteDescriptorsByDetail

NewDeleteDescriptorsByDetail creates a new http.Handler for the delete descriptors by detail operation

func (*DeleteDescriptorsByDetail) ServeHTTP

type DeleteDescriptorsByDetailHandler

type DeleteDescriptorsByDetailHandler interface {
	Handle(DeleteDescriptorsByDetailParams) middleware.Responder
}

DeleteDescriptorsByDetailHandler interface for that can handle valid delete descriptors by detail params

type DeleteDescriptorsByDetailHandlerFunc

type DeleteDescriptorsByDetailHandlerFunc func(DeleteDescriptorsByDetailParams) middleware.Responder

DeleteDescriptorsByDetailHandlerFunc turns a function with the right signature into a delete descriptors by detail handler

func (DeleteDescriptorsByDetailHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteDescriptorsByDetailNotFound

type DeleteDescriptorsByDetailNotFound struct {
}

DeleteDescriptorsByDetailNotFound No items found

swagger:response deleteDescriptorsByDetailNotFound

func NewDeleteDescriptorsByDetailNotFound

func NewDeleteDescriptorsByDetailNotFound() *DeleteDescriptorsByDetailNotFound

NewDeleteDescriptorsByDetailNotFound creates DeleteDescriptorsByDetailNotFound with default headers values

func (*DeleteDescriptorsByDetailNotFound) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorsByDetailOK

type DeleteDescriptorsByDetailOK struct {
}

DeleteDescriptorsByDetailOK Status Ok

swagger:response deleteDescriptorsByDetailOK

func NewDeleteDescriptorsByDetailOK

func NewDeleteDescriptorsByDetailOK() *DeleteDescriptorsByDetailOK

NewDeleteDescriptorsByDetailOK creates DeleteDescriptorsByDetailOK with default headers values

func (*DeleteDescriptorsByDetailOK) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorsByDetailParams

type DeleteDescriptorsByDetailParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*Detail ID Associated with descriptor(s)
	  Required: true
	  In: path
	*/
	ID int64
}

DeleteDescriptorsByDetailParams contains all the bound params for the delete descriptors by detail operation typically these are obtained from a http.Request

swagger:parameters deleteDescriptorsByDetail

func NewDeleteDescriptorsByDetailParams

func NewDeleteDescriptorsByDetailParams() DeleteDescriptorsByDetailParams

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

func (*DeleteDescriptorsByDetailParams) BindRequest

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

type DeleteDescriptorsByDetailURL

type DeleteDescriptorsByDetailURL struct {
	ID int64
	// contains filtered or unexported fields
}

DeleteDescriptorsByDetailURL generates an URL for the delete descriptors by detail operation

func (*DeleteDescriptorsByDetailURL) Build

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

Build a url path and query string

func (*DeleteDescriptorsByDetailURL) BuildFull

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

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

func (*DeleteDescriptorsByDetailURL) Must

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

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

func (*DeleteDescriptorsByDetailURL) SetBasePath

func (o *DeleteDescriptorsByDetailURL) SetBasePath(bp string)

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

func (*DeleteDescriptorsByDetailURL) String

String returns the string representation of the path with query string

func (*DeleteDescriptorsByDetailURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteDescriptorsByDetailURL) WithBasePath

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

type DeleteDescriptorsHandler

type DeleteDescriptorsHandler interface {
	Handle(DeleteDescriptorsParams) middleware.Responder
}

DeleteDescriptorsHandler interface for that can handle valid delete descriptors params

type DeleteDescriptorsHandlerFunc

type DeleteDescriptorsHandlerFunc func(DeleteDescriptorsParams) middleware.Responder

DeleteDescriptorsHandlerFunc turns a function with the right signature into a delete descriptors handler

func (DeleteDescriptorsHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteDescriptorsNotFound

type DeleteDescriptorsNotFound struct {
}

DeleteDescriptorsNotFound No items found

swagger:response deleteDescriptorsNotFound

func NewDeleteDescriptorsNotFound

func NewDeleteDescriptorsNotFound() *DeleteDescriptorsNotFound

NewDeleteDescriptorsNotFound creates DeleteDescriptorsNotFound with default headers values

func (*DeleteDescriptorsNotFound) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorsOK

type DeleteDescriptorsOK struct {
}

DeleteDescriptorsOK Status Ok

swagger:response deleteDescriptorsOK

func NewDeleteDescriptorsOK

func NewDeleteDescriptorsOK() *DeleteDescriptorsOK

NewDeleteDescriptorsOK creates DeleteDescriptorsOK with default headers values

func (*DeleteDescriptorsOK) WriteResponse

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

WriteResponse to the client

type DeleteDescriptorsParams

type DeleteDescriptorsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request
}

DeleteDescriptorsParams contains all the bound params for the delete descriptors operation typically these are obtained from a http.Request

swagger:parameters deleteDescriptors

func NewDeleteDescriptorsParams

func NewDeleteDescriptorsParams() DeleteDescriptorsParams

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

func (*DeleteDescriptorsParams) BindRequest

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

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

type DeleteDescriptorsURL

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

DeleteDescriptorsURL generates an URL for the delete descriptors operation

func (*DeleteDescriptorsURL) Build

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

Build a url path and query string

func (*DeleteDescriptorsURL) BuildFull

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

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

func (*DeleteDescriptorsURL) Must

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

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

func (*DeleteDescriptorsURL) SetBasePath

func (o *DeleteDescriptorsURL) SetBasePath(bp string)

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

func (*DeleteDescriptorsURL) String

func (o *DeleteDescriptorsURL) String() string

String returns the string representation of the path with query string

func (*DeleteDescriptorsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteDescriptorsURL) WithBasePath

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

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

type GetDescriptor

type GetDescriptor struct {
	Context *middleware.Context
	Handler GetDescriptorHandler
}

GetDescriptor swagger:route GET /descriptors/{id} Descriptors getDescriptor

Get a specific Descriptor

func NewGetDescriptor

func NewGetDescriptor(ctx *middleware.Context, handler GetDescriptorHandler) *GetDescriptor

NewGetDescriptor creates a new http.Handler for the get descriptor operation

func (*GetDescriptor) ServeHTTP

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

type GetDescriptorBadRequest

type GetDescriptorBadRequest struct {
}

GetDescriptorBadRequest Invalid input

swagger:response getDescriptorBadRequest

func NewGetDescriptorBadRequest

func NewGetDescriptorBadRequest() *GetDescriptorBadRequest

NewGetDescriptorBadRequest creates GetDescriptorBadRequest with default headers values

func (*GetDescriptorBadRequest) WriteResponse

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

WriteResponse to the client

type GetDescriptorHandler

type GetDescriptorHandler interface {
	Handle(GetDescriptorParams) middleware.Responder
}

GetDescriptorHandler interface for that can handle valid get descriptor params

type GetDescriptorHandlerFunc

type GetDescriptorHandlerFunc func(GetDescriptorParams) middleware.Responder

GetDescriptorHandlerFunc turns a function with the right signature into a get descriptor handler

func (GetDescriptorHandlerFunc) Handle

Handle executing the request and returning a response

type GetDescriptorNotFound

type GetDescriptorNotFound struct {
}

GetDescriptorNotFound No items found

swagger:response getDescriptorNotFound

func NewGetDescriptorNotFound

func NewGetDescriptorNotFound() *GetDescriptorNotFound

NewGetDescriptorNotFound creates GetDescriptorNotFound with default headers values

func (*GetDescriptorNotFound) WriteResponse

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

WriteResponse to the client

type GetDescriptorOK

type GetDescriptorOK struct {

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

GetDescriptorOK Status Ok

swagger:response getDescriptorOK

func NewGetDescriptorOK

func NewGetDescriptorOK() *GetDescriptorOK

NewGetDescriptorOK creates GetDescriptorOK with default headers values

func (*GetDescriptorOK) SetPayload

func (o *GetDescriptorOK) SetPayload(payload *models.Descriptor)

SetPayload sets the payload to the get descriptor o k response

func (*GetDescriptorOK) WithPayload

func (o *GetDescriptorOK) WithPayload(payload *models.Descriptor) *GetDescriptorOK

WithPayload adds the payload to the get descriptor o k response

func (*GetDescriptorOK) WriteResponse

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

WriteResponse to the client

type GetDescriptorParams

type GetDescriptorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*
	  Required: true
	  In: path
	*/
	ID int64
}

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

swagger:parameters getDescriptor

func NewGetDescriptorParams

func NewGetDescriptorParams() GetDescriptorParams

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

func (*GetDescriptorParams) BindRequest

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

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

type GetDescriptorURL

type GetDescriptorURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetDescriptorURL generates an URL for the get descriptor operation

func (*GetDescriptorURL) Build

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

Build a url path and query string

func (*GetDescriptorURL) BuildFull

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

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

func (*GetDescriptorURL) Must

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

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

func (*GetDescriptorURL) SetBasePath

func (o *GetDescriptorURL) SetBasePath(bp string)

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

func (*GetDescriptorURL) String

func (o *GetDescriptorURL) String() string

String returns the string representation of the path with query string

func (*GetDescriptorURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDescriptorURL) WithBasePath

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

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

type GetDescriptors

type GetDescriptors struct {
	Context *middleware.Context
	Handler GetDescriptorsHandler
}

GetDescriptors swagger:route GET /descriptors Descriptors getDescriptors

Get all Descriptors

func NewGetDescriptors

func NewGetDescriptors(ctx *middleware.Context, handler GetDescriptorsHandler) *GetDescriptors

NewGetDescriptors creates a new http.Handler for the get descriptors operation

func (*GetDescriptors) ServeHTTP

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

type GetDescriptorsBadRequest

type GetDescriptorsBadRequest struct {
}

GetDescriptorsBadRequest Invalid input

swagger:response getDescriptorsBadRequest

func NewGetDescriptorsBadRequest

func NewGetDescriptorsBadRequest() *GetDescriptorsBadRequest

NewGetDescriptorsBadRequest creates GetDescriptorsBadRequest with default headers values

func (*GetDescriptorsBadRequest) WriteResponse

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

WriteResponse to the client

type GetDescriptorsByDetail

type GetDescriptorsByDetail struct {
	Context *middleware.Context
	Handler GetDescriptorsByDetailHandler
}

GetDescriptorsByDetail swagger:route GET /details/{id}/descriptors Descriptors getDescriptorsByDetail

Get all Descriptors by Detail

func NewGetDescriptorsByDetail

func NewGetDescriptorsByDetail(ctx *middleware.Context, handler GetDescriptorsByDetailHandler) *GetDescriptorsByDetail

NewGetDescriptorsByDetail creates a new http.Handler for the get descriptors by detail operation

func (*GetDescriptorsByDetail) ServeHTTP

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

type GetDescriptorsByDetailHandler

type GetDescriptorsByDetailHandler interface {
	Handle(GetDescriptorsByDetailParams) middleware.Responder
}

GetDescriptorsByDetailHandler interface for that can handle valid get descriptors by detail params

type GetDescriptorsByDetailHandlerFunc

type GetDescriptorsByDetailHandlerFunc func(GetDescriptorsByDetailParams) middleware.Responder

GetDescriptorsByDetailHandlerFunc turns a function with the right signature into a get descriptors by detail handler

func (GetDescriptorsByDetailHandlerFunc) Handle

Handle executing the request and returning a response

type GetDescriptorsByDetailNotFound

type GetDescriptorsByDetailNotFound struct {
}

GetDescriptorsByDetailNotFound No items found

swagger:response getDescriptorsByDetailNotFound

func NewGetDescriptorsByDetailNotFound

func NewGetDescriptorsByDetailNotFound() *GetDescriptorsByDetailNotFound

NewGetDescriptorsByDetailNotFound creates GetDescriptorsByDetailNotFound with default headers values

func (*GetDescriptorsByDetailNotFound) WriteResponse

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

WriteResponse to the client

type GetDescriptorsByDetailOK

type GetDescriptorsByDetailOK struct {

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

GetDescriptorsByDetailOK Status Ok

swagger:response getDescriptorsByDetailOK

func NewGetDescriptorsByDetailOK

func NewGetDescriptorsByDetailOK() *GetDescriptorsByDetailOK

NewGetDescriptorsByDetailOK creates GetDescriptorsByDetailOK with default headers values

func (*GetDescriptorsByDetailOK) SetPayload

func (o *GetDescriptorsByDetailOK) SetPayload(payload models.Descriptors)

SetPayload sets the payload to the get descriptors by detail o k response

func (*GetDescriptorsByDetailOK) WithPayload

WithPayload adds the payload to the get descriptors by detail o k response

func (*GetDescriptorsByDetailOK) WriteResponse

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

WriteResponse to the client

type GetDescriptorsByDetailParams

type GetDescriptorsByDetailParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*Detail ID Associated with descriptor(s)
	  Required: true
	  In: path
	*/
	ID int64
}

GetDescriptorsByDetailParams contains all the bound params for the get descriptors by detail operation typically these are obtained from a http.Request

swagger:parameters getDescriptorsByDetail

func NewGetDescriptorsByDetailParams

func NewGetDescriptorsByDetailParams() GetDescriptorsByDetailParams

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

func (*GetDescriptorsByDetailParams) BindRequest

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

type GetDescriptorsByDetailURL

type GetDescriptorsByDetailURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetDescriptorsByDetailURL generates an URL for the get descriptors by detail operation

func (*GetDescriptorsByDetailURL) Build

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

Build a url path and query string

func (*GetDescriptorsByDetailURL) BuildFull

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

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

func (*GetDescriptorsByDetailURL) Must

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

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

func (*GetDescriptorsByDetailURL) SetBasePath

func (o *GetDescriptorsByDetailURL) SetBasePath(bp string)

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

func (*GetDescriptorsByDetailURL) String

func (o *GetDescriptorsByDetailURL) String() string

String returns the string representation of the path with query string

func (*GetDescriptorsByDetailURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDescriptorsByDetailURL) WithBasePath

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

type GetDescriptorsHandler

type GetDescriptorsHandler interface {
	Handle(GetDescriptorsParams) middleware.Responder
}

GetDescriptorsHandler interface for that can handle valid get descriptors params

type GetDescriptorsHandlerFunc

type GetDescriptorsHandlerFunc func(GetDescriptorsParams) middleware.Responder

GetDescriptorsHandlerFunc turns a function with the right signature into a get descriptors handler

func (GetDescriptorsHandlerFunc) Handle

Handle executing the request and returning a response

type GetDescriptorsNotFound

type GetDescriptorsNotFound struct {
}

GetDescriptorsNotFound No items found

swagger:response getDescriptorsNotFound

func NewGetDescriptorsNotFound

func NewGetDescriptorsNotFound() *GetDescriptorsNotFound

NewGetDescriptorsNotFound creates GetDescriptorsNotFound with default headers values

func (*GetDescriptorsNotFound) WriteResponse

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

WriteResponse to the client

type GetDescriptorsOK

type GetDescriptorsOK struct {

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

GetDescriptorsOK Status Ok

swagger:response getDescriptorsOK

func NewGetDescriptorsOK

func NewGetDescriptorsOK() *GetDescriptorsOK

NewGetDescriptorsOK creates GetDescriptorsOK with default headers values

func (*GetDescriptorsOK) SetPayload

func (o *GetDescriptorsOK) SetPayload(payload models.Descriptors)

SetPayload sets the payload to the get descriptors o k response

func (*GetDescriptorsOK) WithPayload

func (o *GetDescriptorsOK) WithPayload(payload models.Descriptors) *GetDescriptorsOK

WithPayload adds the payload to the get descriptors o k response

func (*GetDescriptorsOK) WriteResponse

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

WriteResponse to the client

type GetDescriptorsParams

type GetDescriptorsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request
}

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

swagger:parameters getDescriptors

func NewGetDescriptorsParams

func NewGetDescriptorsParams() GetDescriptorsParams

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

func (*GetDescriptorsParams) BindRequest

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

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

type GetDescriptorsURL

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

GetDescriptorsURL generates an URL for the get descriptors operation

func (*GetDescriptorsURL) Build

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

Build a url path and query string

func (*GetDescriptorsURL) BuildFull

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

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

func (*GetDescriptorsURL) Must

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

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

func (*GetDescriptorsURL) SetBasePath

func (o *GetDescriptorsURL) SetBasePath(bp string)

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

func (*GetDescriptorsURL) String

func (o *GetDescriptorsURL) String() string

String returns the string representation of the path with query string

func (*GetDescriptorsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDescriptorsURL) WithBasePath

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

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

type UpdateDescriptor

type UpdateDescriptor struct {
	Context *middleware.Context
	Handler UpdateDescriptorHandler
}

UpdateDescriptor swagger:route PUT /descriptors/{id} Descriptors updateDescriptor

Update a specific Descriptor

func NewUpdateDescriptor

func NewUpdateDescriptor(ctx *middleware.Context, handler UpdateDescriptorHandler) *UpdateDescriptor

NewUpdateDescriptor creates a new http.Handler for the update descriptor operation

func (*UpdateDescriptor) ServeHTTP

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

type UpdateDescriptorBadRequest

type UpdateDescriptorBadRequest struct {
}

UpdateDescriptorBadRequest Invalid input

swagger:response updateDescriptorBadRequest

func NewUpdateDescriptorBadRequest

func NewUpdateDescriptorBadRequest() *UpdateDescriptorBadRequest

NewUpdateDescriptorBadRequest creates UpdateDescriptorBadRequest with default headers values

func (*UpdateDescriptorBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateDescriptorCreated

type UpdateDescriptorCreated struct {

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

UpdateDescriptorCreated Descriptor Updated

swagger:response updateDescriptorCreated

func NewUpdateDescriptorCreated

func NewUpdateDescriptorCreated() *UpdateDescriptorCreated

NewUpdateDescriptorCreated creates UpdateDescriptorCreated with default headers values

func (*UpdateDescriptorCreated) SetPayload

func (o *UpdateDescriptorCreated) SetPayload(payload *models.Descriptor)

SetPayload sets the payload to the update descriptor created response

func (*UpdateDescriptorCreated) WithPayload

WithPayload adds the payload to the update descriptor created response

func (*UpdateDescriptorCreated) WriteResponse

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

WriteResponse to the client

type UpdateDescriptorHandler

type UpdateDescriptorHandler interface {
	Handle(UpdateDescriptorParams) middleware.Responder
}

UpdateDescriptorHandler interface for that can handle valid update descriptor params

type UpdateDescriptorHandlerFunc

type UpdateDescriptorHandlerFunc func(UpdateDescriptorParams) middleware.Responder

UpdateDescriptorHandlerFunc turns a function with the right signature into a update descriptor handler

func (UpdateDescriptorHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateDescriptorNotFound

type UpdateDescriptorNotFound struct {
}

UpdateDescriptorNotFound No items found

swagger:response updateDescriptorNotFound

func NewUpdateDescriptorNotFound

func NewUpdateDescriptorNotFound() *UpdateDescriptorNotFound

NewUpdateDescriptorNotFound creates UpdateDescriptorNotFound with default headers values

func (*UpdateDescriptorNotFound) WriteResponse

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

WriteResponse to the client

type UpdateDescriptorParams

type UpdateDescriptorParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request

	/*a descriptor that will be updated
	  Required: true
	  In: body
	*/
	Body *models.Descriptor
	/*
	  Required: true
	  In: path
	*/
	ID int64
}

UpdateDescriptorParams contains all the bound params for the update descriptor operation typically these are obtained from a http.Request

swagger:parameters updateDescriptor

func NewUpdateDescriptorParams

func NewUpdateDescriptorParams() UpdateDescriptorParams

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

func (*UpdateDescriptorParams) BindRequest

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

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

type UpdateDescriptorURL

type UpdateDescriptorURL struct {
	ID int64
	// contains filtered or unexported fields
}

UpdateDescriptorURL generates an URL for the update descriptor operation

func (*UpdateDescriptorURL) Build

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

Build a url path and query string

func (*UpdateDescriptorURL) BuildFull

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

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

func (*UpdateDescriptorURL) Must

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

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

func (*UpdateDescriptorURL) SetBasePath

func (o *UpdateDescriptorURL) SetBasePath(bp string)

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

func (*UpdateDescriptorURL) String

func (o *UpdateDescriptorURL) String() string

String returns the string representation of the path with query string

func (*UpdateDescriptorURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateDescriptorURL) WithBasePath

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

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

Jump to

Keyboard shortcuts

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