link

package
v0.24.16 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteLinkBadRequestCode int = 400

DeleteLinkBadRequestCode is the HTTP code returned for type DeleteLinkBadRequest

View Source
const DeleteLinkOKCode int = 200

DeleteLinkOKCode is the HTTP code returned for type DeleteLinkOK

View Source
const DeleteLinkUnauthorizedCode int = 401

DeleteLinkUnauthorizedCode is the HTTP code returned for type DeleteLinkUnauthorized

View Source
const DetailLinkNotFoundCode int = 404

DetailLinkNotFoundCode is the HTTP code returned for type DetailLinkNotFound

View Source
const DetailLinkOKCode int = 200

DetailLinkOKCode is the HTTP code returned for type DetailLinkOK

View Source
const DetailLinkUnauthorizedCode int = 401

DetailLinkUnauthorizedCode is the HTTP code returned for type DetailLinkUnauthorized

View Source
const ListLinksOKCode int = 200

ListLinksOKCode is the HTTP code returned for type ListLinksOK

View Source
const ListLinksUnauthorizedCode int = 401

ListLinksUnauthorizedCode is the HTTP code returned for type ListLinksUnauthorized

View Source
const PatchLinkBadRequestCode int = 400

PatchLinkBadRequestCode is the HTTP code returned for type PatchLinkBadRequest

View Source
const PatchLinkNotFoundCode int = 404

PatchLinkNotFoundCode is the HTTP code returned for type PatchLinkNotFound

View Source
const PatchLinkOKCode int = 200

PatchLinkOKCode is the HTTP code returned for type PatchLinkOK

View Source
const PatchLinkUnauthorizedCode int = 401

PatchLinkUnauthorizedCode is the HTTP code returned for type PatchLinkUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteLink struct {
	Context *middleware.Context
	Handler DeleteLinkHandler
}
DeleteLink swagger:route DELETE /links/{id} Link deleteLink

Delete a link by id. Requires admin access.

func NewDeleteLink(ctx *middleware.Context, handler DeleteLinkHandler) *DeleteLink

NewDeleteLink creates a new http.Handler for the delete link operation

func (*DeleteLink) ServeHTTP

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

type DeleteLinkBadRequest

type DeleteLinkBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteLinkBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response deleteLinkBadRequest

func NewDeleteLinkBadRequest

func NewDeleteLinkBadRequest() *DeleteLinkBadRequest

NewDeleteLinkBadRequest creates DeleteLinkBadRequest with default headers values

func (*DeleteLinkBadRequest) SetPayload

func (o *DeleteLinkBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete link bad request response

func (*DeleteLinkBadRequest) WithPayload

WithPayload adds the payload to the delete link bad request response

func (*DeleteLinkBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteLinkHandler

type DeleteLinkHandler interface {
	Handle(DeleteLinkParams) middleware.Responder
}

DeleteLinkHandler interface for that can handle valid delete link params

type DeleteLinkHandlerFunc

type DeleteLinkHandlerFunc func(DeleteLinkParams) middleware.Responder

DeleteLinkHandlerFunc turns a function with the right signature into a delete link handler

func (DeleteLinkHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteLinkOK

type DeleteLinkOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeleteLinkOK The delete request was successful and the resource has been removed

swagger:response deleteLinkOK

func NewDeleteLinkOK

func NewDeleteLinkOK() *DeleteLinkOK

NewDeleteLinkOK creates DeleteLinkOK with default headers values

func (*DeleteLinkOK) SetPayload

func (o *DeleteLinkOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete link o k response

func (*DeleteLinkOK) WithPayload

func (o *DeleteLinkOK) WithPayload(payload *rest_model.Empty) *DeleteLinkOK

WithPayload adds the payload to the delete link o k response

func (*DeleteLinkOK) WriteResponse

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

WriteResponse to the client

type DeleteLinkParams

type DeleteLinkParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

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

swagger:parameters deleteLink

func NewDeleteLinkParams

func NewDeleteLinkParams() DeleteLinkParams

NewDeleteLinkParams creates a new DeleteLinkParams object

There are no default values defined in the spec.

func (*DeleteLinkParams) BindRequest

func (o *DeleteLinkParams) 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.

To ensure default values, the struct must have been initialized with NewDeleteLinkParams() beforehand.

type DeleteLinkURL

type DeleteLinkURL struct {
	ID string
	// contains filtered or unexported fields
}

DeleteLinkURL generates an URL for the delete link operation

func (*DeleteLinkURL) Build

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

Build a url path and query string

func (*DeleteLinkURL) BuildFull

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

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

func (*DeleteLinkURL) Must

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

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

func (*DeleteLinkURL) SetBasePath

func (o *DeleteLinkURL) 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 (*DeleteLinkURL) String

func (o *DeleteLinkURL) String() string

String returns the string representation of the path with query string

func (*DeleteLinkURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteLinkURL) WithBasePath

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

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 DeleteLinkUnauthorized

type DeleteLinkUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteLinkUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response deleteLinkUnauthorized

func NewDeleteLinkUnauthorized

func NewDeleteLinkUnauthorized() *DeleteLinkUnauthorized

NewDeleteLinkUnauthorized creates DeleteLinkUnauthorized with default headers values

func (*DeleteLinkUnauthorized) SetPayload

func (o *DeleteLinkUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete link unauthorized response

func (*DeleteLinkUnauthorized) WithPayload

WithPayload adds the payload to the delete link unauthorized response

func (*DeleteLinkUnauthorized) WriteResponse

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

WriteResponse to the client

type DetailLink struct {
	Context *middleware.Context
	Handler DetailLinkHandler
}
DetailLink swagger:route GET /links/{id} Link detailLink

Retrieves a single link by id. Requires admin access.

func NewDetailLink(ctx *middleware.Context, handler DetailLinkHandler) *DetailLink

NewDetailLink creates a new http.Handler for the detail link operation

func (*DetailLink) ServeHTTP

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

type DetailLinkHandler

type DetailLinkHandler interface {
	Handle(DetailLinkParams) middleware.Responder
}

DetailLinkHandler interface for that can handle valid detail link params

type DetailLinkHandlerFunc

type DetailLinkHandlerFunc func(DetailLinkParams) middleware.Responder

DetailLinkHandlerFunc turns a function with the right signature into a detail link handler

func (DetailLinkHandlerFunc) Handle

Handle executing the request and returning a response

type DetailLinkNotFound

type DetailLinkNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailLinkNotFound The requested resource does not exist

swagger:response detailLinkNotFound

func NewDetailLinkNotFound

func NewDetailLinkNotFound() *DetailLinkNotFound

NewDetailLinkNotFound creates DetailLinkNotFound with default headers values

func (*DetailLinkNotFound) SetPayload

func (o *DetailLinkNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail link not found response

func (*DetailLinkNotFound) WithPayload

WithPayload adds the payload to the detail link not found response

func (*DetailLinkNotFound) WriteResponse

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

WriteResponse to the client

type DetailLinkOK

type DetailLinkOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DetailLinkEnvelope `json:"body,omitempty"`
}

DetailLinkOK A single link

swagger:response detailLinkOK

func NewDetailLinkOK

func NewDetailLinkOK() *DetailLinkOK

NewDetailLinkOK creates DetailLinkOK with default headers values

func (*DetailLinkOK) SetPayload

func (o *DetailLinkOK) SetPayload(payload *rest_model.DetailLinkEnvelope)

SetPayload sets the payload to the detail link o k response

func (*DetailLinkOK) WithPayload

func (o *DetailLinkOK) WithPayload(payload *rest_model.DetailLinkEnvelope) *DetailLinkOK

WithPayload adds the payload to the detail link o k response

func (*DetailLinkOK) WriteResponse

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

WriteResponse to the client

type DetailLinkParams

type DetailLinkParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailLinkParams contains all the bound params for the detail link operation typically these are obtained from a http.Request

swagger:parameters detailLink

func NewDetailLinkParams

func NewDetailLinkParams() DetailLinkParams

NewDetailLinkParams creates a new DetailLinkParams object

There are no default values defined in the spec.

func (*DetailLinkParams) BindRequest

func (o *DetailLinkParams) 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.

To ensure default values, the struct must have been initialized with NewDetailLinkParams() beforehand.

type DetailLinkURL

type DetailLinkURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailLinkURL generates an URL for the detail link operation

func (*DetailLinkURL) Build

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

Build a url path and query string

func (*DetailLinkURL) BuildFull

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

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

func (*DetailLinkURL) Must

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

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

func (*DetailLinkURL) SetBasePath

func (o *DetailLinkURL) 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 (*DetailLinkURL) String

func (o *DetailLinkURL) String() string

String returns the string representation of the path with query string

func (*DetailLinkURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DetailLinkURL) WithBasePath

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

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 DetailLinkUnauthorized

type DetailLinkUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailLinkUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response detailLinkUnauthorized

func NewDetailLinkUnauthorized

func NewDetailLinkUnauthorized() *DetailLinkUnauthorized

NewDetailLinkUnauthorized creates DetailLinkUnauthorized with default headers values

func (*DetailLinkUnauthorized) SetPayload

func (o *DetailLinkUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail link unauthorized response

func (*DetailLinkUnauthorized) WithPayload

WithPayload adds the payload to the detail link unauthorized response

func (*DetailLinkUnauthorized) WriteResponse

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

WriteResponse to the client

type ListLinks struct {
	Context *middleware.Context
	Handler ListLinksHandler
}
ListLinks swagger:route GET /links Link listLinks

Retrieves a list of link resources; does not supports filtering, sorting, or pagination. Requires admin access.

func NewListLinks(ctx *middleware.Context, handler ListLinksHandler) *ListLinks

NewListLinks creates a new http.Handler for the list links operation

func (*ListLinks) ServeHTTP

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

type ListLinksHandler

type ListLinksHandler interface {
	Handle(ListLinksParams) middleware.Responder
}

ListLinksHandler interface for that can handle valid list links params

type ListLinksHandlerFunc

type ListLinksHandlerFunc func(ListLinksParams) middleware.Responder

ListLinksHandlerFunc turns a function with the right signature into a list links handler

func (ListLinksHandlerFunc) Handle

Handle executing the request and returning a response

type ListLinksOK

type ListLinksOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListLinksEnvelope `json:"body,omitempty"`
}

ListLinksOK A list of links

swagger:response listLinksOK

func NewListLinksOK

func NewListLinksOK() *ListLinksOK

NewListLinksOK creates ListLinksOK with default headers values

func (*ListLinksOK) SetPayload

func (o *ListLinksOK) SetPayload(payload *rest_model.ListLinksEnvelope)

SetPayload sets the payload to the list links o k response

func (*ListLinksOK) WithPayload

func (o *ListLinksOK) WithPayload(payload *rest_model.ListLinksEnvelope) *ListLinksOK

WithPayload adds the payload to the list links o k response

func (*ListLinksOK) WriteResponse

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

WriteResponse to the client

type ListLinksParams

type ListLinksParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListLinksParams contains all the bound params for the list links operation typically these are obtained from a http.Request

swagger:parameters listLinks

func NewListLinksParams

func NewListLinksParams() ListLinksParams

NewListLinksParams creates a new ListLinksParams object

There are no default values defined in the spec.

func (*ListLinksParams) BindRequest

func (o *ListLinksParams) 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.

To ensure default values, the struct must have been initialized with NewListLinksParams() beforehand.

type ListLinksURL

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

ListLinksURL generates an URL for the list links operation

func (*ListLinksURL) Build

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

Build a url path and query string

func (*ListLinksURL) BuildFull

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

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

func (*ListLinksURL) Must

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

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

func (*ListLinksURL) SetBasePath

func (o *ListLinksURL) 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 (*ListLinksURL) String

func (o *ListLinksURL) String() string

String returns the string representation of the path with query string

func (*ListLinksURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListLinksURL) WithBasePath

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

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 ListLinksUnauthorized

type ListLinksUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListLinksUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listLinksUnauthorized

func NewListLinksUnauthorized

func NewListLinksUnauthorized() *ListLinksUnauthorized

NewListLinksUnauthorized creates ListLinksUnauthorized with default headers values

func (*ListLinksUnauthorized) SetPayload

func (o *ListLinksUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list links unauthorized response

func (*ListLinksUnauthorized) WithPayload

WithPayload adds the payload to the list links unauthorized response

func (*ListLinksUnauthorized) WriteResponse

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

WriteResponse to the client

type PatchLink struct {
	Context *middleware.Context
	Handler PatchLinkHandler
}
PatchLink swagger:route PATCH /links/{id} Link patchLink

Update the supplied fields on a link. Requires admin access.

func NewPatchLink(ctx *middleware.Context, handler PatchLinkHandler) *PatchLink

NewPatchLink creates a new http.Handler for the patch link operation

func (*PatchLink) ServeHTTP

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

type PatchLinkBadRequest

type PatchLinkBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchLinkBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response patchLinkBadRequest

func NewPatchLinkBadRequest

func NewPatchLinkBadRequest() *PatchLinkBadRequest

NewPatchLinkBadRequest creates PatchLinkBadRequest with default headers values

func (*PatchLinkBadRequest) SetPayload

func (o *PatchLinkBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch link bad request response

func (*PatchLinkBadRequest) WithPayload

WithPayload adds the payload to the patch link bad request response

func (*PatchLinkBadRequest) WriteResponse

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

WriteResponse to the client

type PatchLinkHandler

type PatchLinkHandler interface {
	Handle(PatchLinkParams) middleware.Responder
}

PatchLinkHandler interface for that can handle valid patch link params

type PatchLinkHandlerFunc

type PatchLinkHandlerFunc func(PatchLinkParams) middleware.Responder

PatchLinkHandlerFunc turns a function with the right signature into a patch link handler

func (PatchLinkHandlerFunc) Handle

Handle executing the request and returning a response

type PatchLinkNotFound

type PatchLinkNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchLinkNotFound The requested resource does not exist

swagger:response patchLinkNotFound

func NewPatchLinkNotFound

func NewPatchLinkNotFound() *PatchLinkNotFound

NewPatchLinkNotFound creates PatchLinkNotFound with default headers values

func (*PatchLinkNotFound) SetPayload

func (o *PatchLinkNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch link not found response

func (*PatchLinkNotFound) WithPayload

WithPayload adds the payload to the patch link not found response

func (*PatchLinkNotFound) WriteResponse

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

WriteResponse to the client

type PatchLinkOK

type PatchLinkOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchLinkOK The patch request was successful and the resource has been altered

swagger:response patchLinkOK

func NewPatchLinkOK

func NewPatchLinkOK() *PatchLinkOK

NewPatchLinkOK creates PatchLinkOK with default headers values

func (*PatchLinkOK) SetPayload

func (o *PatchLinkOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch link o k response

func (*PatchLinkOK) WithPayload

func (o *PatchLinkOK) WithPayload(payload *rest_model.Empty) *PatchLinkOK

WithPayload adds the payload to the patch link o k response

func (*PatchLinkOK) WriteResponse

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

WriteResponse to the client

type PatchLinkParams

type PatchLinkParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
	/*A link patch object
	  Required: true
	  In: body
	*/
	Link *rest_model.LinkPatch
}

PatchLinkParams contains all the bound params for the patch link operation typically these are obtained from a http.Request

swagger:parameters patchLink

func NewPatchLinkParams

func NewPatchLinkParams() PatchLinkParams

NewPatchLinkParams creates a new PatchLinkParams object

There are no default values defined in the spec.

func (*PatchLinkParams) BindRequest

func (o *PatchLinkParams) 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.

To ensure default values, the struct must have been initialized with NewPatchLinkParams() beforehand.

type PatchLinkURL

type PatchLinkURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchLinkURL generates an URL for the patch link operation

func (*PatchLinkURL) Build

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

Build a url path and query string

func (*PatchLinkURL) BuildFull

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

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

func (*PatchLinkURL) Must

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

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

func (*PatchLinkURL) SetBasePath

func (o *PatchLinkURL) 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 (*PatchLinkURL) String

func (o *PatchLinkURL) String() string

String returns the string representation of the path with query string

func (*PatchLinkURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PatchLinkURL) WithBasePath

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

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 PatchLinkUnauthorized

type PatchLinkUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchLinkUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response patchLinkUnauthorized

func NewPatchLinkUnauthorized

func NewPatchLinkUnauthorized() *PatchLinkUnauthorized

NewPatchLinkUnauthorized creates PatchLinkUnauthorized with default headers values

func (*PatchLinkUnauthorized) SetPayload

func (o *PatchLinkUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch link unauthorized response

func (*PatchLinkUnauthorized) WithPayload

WithPayload adds the payload to the patch link unauthorized response

func (*PatchLinkUnauthorized) WriteResponse

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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