operations

package
v0.0.0-...-e9fb2cd Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const GetCollectionsInternalServerErrorCode int = 500

GetCollectionsInternalServerErrorCode is the HTTP code returned for type GetCollectionsInternalServerError

View Source
const GetCollectionsOKCode int = 200

GetCollectionsOKCode is the HTTP code returned for type GetCollectionsOK

View Source
const GetCollectionsOuIDInternalServerErrorCode int = 500

GetCollectionsOuIDInternalServerErrorCode is the HTTP code returned for type GetCollectionsOuIDInternalServerError

View Source
const GetCollectionsOuIDOKCode int = 200

GetCollectionsOuIDOKCode is the HTTP code returned for type GetCollectionsOuIDOK

View Source
const GetCollectionsProjectIDInternalServerErrorCode int = 500

GetCollectionsProjectIDInternalServerErrorCode is the HTTP code returned for type GetCollectionsProjectIDInternalServerError

View Source
const GetCollectionsProjectIDOKCode int = 200

GetCollectionsProjectIDOKCode is the HTTP code returned for type GetCollectionsProjectIDOK

View Source
const GetMetricsOKCode int = 200

GetMetricsOKCode is the HTTP code returned for type GetMetricsOK

View Source
const GetPingInternalServerErrorCode int = 500

GetPingInternalServerErrorCode is the HTTP code returned for type GetPingInternalServerError

View Source
const GetPingOKCode int = 200

GetPingOKCode is the HTTP code returned for type GetPingOK

View Source
const GetUsersInternalServerErrorCode int = 500

GetUsersInternalServerErrorCode is the HTTP code returned for type GetUsersInternalServerError

View Source
const GetUsersOKCode int = 200

GetUsersOKCode is the HTTP code returned for type GetUsersOK

View Source
const GetUsersOuIDInternalServerErrorCode int = 500

GetUsersOuIDInternalServerErrorCode is the HTTP code returned for type GetUsersOuIDInternalServerError

View Source
const GetUsersOuIDOKCode int = 200

GetUsersOuIDOKCode is the HTTP code returned for type GetUsersOuIDOK

View Source
const GetUsersSearchInternalServerErrorCode int = 500

GetUsersSearchInternalServerErrorCode is the HTTP code returned for type GetUsersSearchInternalServerError

View Source
const GetUsersSearchOKCode int = 200

GetUsersSearchOKCode is the HTTP code returned for type GetUsersSearchOK

Variables

This section is empty.

Functions

This section is empty.

Types

type DrGatewayAPI

type DrGatewayAPI struct {
	Middleware func(middleware.Builder) http.Handler

	// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator

	// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator

	// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator

	// JSONConsumer registers a consumer for the following mime types:
	//   - application/json
	JSONConsumer runtime.Consumer

	// JSONProducer registers a producer for the following mime types:
	//   - application/json
	JSONProducer runtime.Producer

	// Oauth2Auth registers a function that takes an access token and a collection of required scopes and returns a principal
	// it performs authentication based on an oauth2 bearer token provided in the request
	Oauth2Auth func(string, []string) (*models.Principal, error)

	// APIAuthorizer provides access control (ACL/RBAC/ABAC) by providing access to the request and authenticated principal
	APIAuthorizer runtime.Authorizer

	// GetCollectionsHandler sets the operation handler for the get collections operation
	GetCollectionsHandler GetCollectionsHandler
	// GetCollectionsOuIDHandler sets the operation handler for the get collections ou ID operation
	GetCollectionsOuIDHandler GetCollectionsOuIDHandler
	// GetCollectionsProjectIDHandler sets the operation handler for the get collections project ID operation
	GetCollectionsProjectIDHandler GetCollectionsProjectIDHandler
	// GetMetricsHandler sets the operation handler for the get metrics operation
	GetMetricsHandler GetMetricsHandler
	// GetPingHandler sets the operation handler for the get ping operation
	GetPingHandler GetPingHandler
	// GetUsersHandler sets the operation handler for the get users operation
	GetUsersHandler GetUsersHandler
	// GetUsersOuIDHandler sets the operation handler for the get users ou ID operation
	GetUsersOuIDHandler GetUsersOuIDHandler
	// GetUsersSearchHandler sets the operation handler for the get users search operation
	GetUsersSearchHandler GetUsersSearchHandler

	// ServeError is called when an error is received, there is a default handler
	// but you can set your own with this
	ServeError func(http.ResponseWriter, *http.Request, error)

	// PreServerShutdown is called before the HTTP(S) server is shutdown
	// This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic
	PreServerShutdown func()

	// ServerShutdown is called when the HTTP(S) server is shut down and done
	// handling all active connections and does not accept connections any more
	ServerShutdown func()

	// Custom command line argument groups with their descriptions
	CommandLineOptionsGroups []swag.CommandLineOptionsGroup

	// User defined logger function.
	Logger func(string, ...interface{})
	// contains filtered or unexported fields
}

DrGatewayAPI dr gateway APIs

func NewDrGatewayAPI

func NewDrGatewayAPI(spec *loads.Document) *DrGatewayAPI

NewDrGatewayAPI creates a new DrGateway instance

func (*DrGatewayAPI) AddMiddlewareFor

func (o *DrGatewayAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)

AddMiddlewareFor adds a http middleware to existing handler

func (*DrGatewayAPI) AuthenticatorsFor

func (o *DrGatewayAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*DrGatewayAPI) Authorizer

func (o *DrGatewayAPI) Authorizer() runtime.Authorizer

Authorizer returns the registered authorizer

func (*DrGatewayAPI) ConsumersFor

func (o *DrGatewayAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.

func (*DrGatewayAPI) Context

func (o *DrGatewayAPI) Context() *middleware.Context

Context returns the middleware context for the dr gateway API

func (*DrGatewayAPI) DefaultConsumes

func (o *DrGatewayAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*DrGatewayAPI) DefaultProduces

func (o *DrGatewayAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*DrGatewayAPI) Formats

func (o *DrGatewayAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*DrGatewayAPI) HandlerFor

func (o *DrGatewayAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*DrGatewayAPI) Init

func (o *DrGatewayAPI) Init()

Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit

func (*DrGatewayAPI) ProducersFor

func (o *DrGatewayAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.

func (*DrGatewayAPI) RegisterConsumer

func (o *DrGatewayAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)

RegisterConsumer allows you to add (or override) a consumer for a media type.

func (*DrGatewayAPI) RegisterFormat

func (o *DrGatewayAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*DrGatewayAPI) RegisterProducer

func (o *DrGatewayAPI) RegisterProducer(mediaType string, producer runtime.Producer)

RegisterProducer allows you to add (or override) a producer for a media type.

func (*DrGatewayAPI) Serve

func (o *DrGatewayAPI) Serve(builder middleware.Builder) http.Handler

Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))

func (*DrGatewayAPI) ServeErrorFor

func (o *DrGatewayAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*DrGatewayAPI) SetDefaultConsumes

func (o *DrGatewayAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*DrGatewayAPI) SetDefaultProduces

func (o *DrGatewayAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*DrGatewayAPI) SetSpec

func (o *DrGatewayAPI) SetSpec(spec *loads.Document)

SetSpec sets a spec that will be served for the clients.

func (*DrGatewayAPI) UseRedoc

func (o *DrGatewayAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*DrGatewayAPI) UseSwaggerUI

func (o *DrGatewayAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*DrGatewayAPI) Validate

func (o *DrGatewayAPI) Validate() error

Validate validates the registrations in the DrGatewayAPI

type GetCollections

type GetCollections struct {
	Context *middleware.Context
	Handler GetCollectionsHandler
}
GetCollections swagger:route GET /collections getCollections

get metadata of all collections

func NewGetCollections

func NewGetCollections(ctx *middleware.Context, handler GetCollectionsHandler) *GetCollections

NewGetCollections creates a new http.Handler for the get collections operation

func (*GetCollections) ServeHTTP

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

type GetCollectionsHandler

type GetCollectionsHandler interface {
	Handle(GetCollectionsParams) middleware.Responder
}

GetCollectionsHandler interface for that can handle valid get collections params

type GetCollectionsHandlerFunc

type GetCollectionsHandlerFunc func(GetCollectionsParams) middleware.Responder

GetCollectionsHandlerFunc turns a function with the right signature into a get collections handler

func (GetCollectionsHandlerFunc) Handle

Handle executing the request and returning a response

type GetCollectionsInternalServerError

type GetCollectionsInternalServerError struct {

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

GetCollectionsInternalServerError failure

swagger:response getCollectionsInternalServerError

func NewGetCollectionsInternalServerError

func NewGetCollectionsInternalServerError() *GetCollectionsInternalServerError

NewGetCollectionsInternalServerError creates GetCollectionsInternalServerError with default headers values

func (*GetCollectionsInternalServerError) SetPayload

SetPayload sets the payload to the get collections internal server error response

func (*GetCollectionsInternalServerError) WithPayload

WithPayload adds the payload to the get collections internal server error response

func (*GetCollectionsInternalServerError) WriteResponse

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

WriteResponse to the client

type GetCollectionsOK

type GetCollectionsOK struct {

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

GetCollectionsOK success

swagger:response getCollectionsOK

func NewGetCollectionsOK

func NewGetCollectionsOK() *GetCollectionsOK

NewGetCollectionsOK creates GetCollectionsOK with default headers values

func (*GetCollectionsOK) SetPayload

func (o *GetCollectionsOK) SetPayload(payload *models.ResponseBodyCollections)

SetPayload sets the payload to the get collections o k response

func (*GetCollectionsOK) WithPayload

WithPayload adds the payload to the get collections o k response

func (*GetCollectionsOK) WriteResponse

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

WriteResponse to the client

type GetCollectionsOuID

type GetCollectionsOuID struct {
	Context *middleware.Context
	Handler GetCollectionsOuIDHandler
}
GetCollectionsOuID swagger:route GET /collections/ou/{id} getCollectionsOuId

get metadata of collections belonging to the organisational unit

func NewGetCollectionsOuID

func NewGetCollectionsOuID(ctx *middleware.Context, handler GetCollectionsOuIDHandler) *GetCollectionsOuID

NewGetCollectionsOuID creates a new http.Handler for the get collections ou ID operation

func (*GetCollectionsOuID) ServeHTTP

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

type GetCollectionsOuIDHandler

type GetCollectionsOuIDHandler interface {
	Handle(GetCollectionsOuIDParams) middleware.Responder
}

GetCollectionsOuIDHandler interface for that can handle valid get collections ou ID params

type GetCollectionsOuIDHandlerFunc

type GetCollectionsOuIDHandlerFunc func(GetCollectionsOuIDParams) middleware.Responder

GetCollectionsOuIDHandlerFunc turns a function with the right signature into a get collections ou ID handler

func (GetCollectionsOuIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetCollectionsOuIDInternalServerError

type GetCollectionsOuIDInternalServerError struct {

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

GetCollectionsOuIDInternalServerError failure

swagger:response getCollectionsOuIdInternalServerError

func NewGetCollectionsOuIDInternalServerError

func NewGetCollectionsOuIDInternalServerError() *GetCollectionsOuIDInternalServerError

NewGetCollectionsOuIDInternalServerError creates GetCollectionsOuIDInternalServerError with default headers values

func (*GetCollectionsOuIDInternalServerError) SetPayload

SetPayload sets the payload to the get collections ou Id internal server error response

func (*GetCollectionsOuIDInternalServerError) WithPayload

WithPayload adds the payload to the get collections ou Id internal server error response

func (*GetCollectionsOuIDInternalServerError) WriteResponse

WriteResponse to the client

type GetCollectionsOuIDOK

type GetCollectionsOuIDOK struct {

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

GetCollectionsOuIDOK success

swagger:response getCollectionsOuIdOK

func NewGetCollectionsOuIDOK

func NewGetCollectionsOuIDOK() *GetCollectionsOuIDOK

NewGetCollectionsOuIDOK creates GetCollectionsOuIDOK with default headers values

func (*GetCollectionsOuIDOK) SetPayload

func (o *GetCollectionsOuIDOK) SetPayload(payload *models.ResponseBodyCollections)

SetPayload sets the payload to the get collections ou Id o k response

func (*GetCollectionsOuIDOK) WithPayload

WithPayload adds the payload to the get collections ou Id o k response

func (*GetCollectionsOuIDOK) WriteResponse

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

WriteResponse to the client

type GetCollectionsOuIDParams

type GetCollectionsOuIDParams struct {

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

	/*short name of the organisational unit
	  Required: true
	  In: path
	*/
	ID string
}

GetCollectionsOuIDParams contains all the bound params for the get collections ou ID operation typically these are obtained from a http.Request

swagger:parameters GetCollectionsOuID

func NewGetCollectionsOuIDParams

func NewGetCollectionsOuIDParams() GetCollectionsOuIDParams

NewGetCollectionsOuIDParams creates a new GetCollectionsOuIDParams object

There are no default values defined in the spec.

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

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

type GetCollectionsOuIDURL

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

GetCollectionsOuIDURL generates an URL for the get collections ou ID operation

func (*GetCollectionsOuIDURL) Build

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

Build a url path and query string

func (*GetCollectionsOuIDURL) BuildFull

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

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

func (*GetCollectionsOuIDURL) Must

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

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

func (*GetCollectionsOuIDURL) SetBasePath

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

func (o *GetCollectionsOuIDURL) String() string

String returns the string representation of the path with query string

func (*GetCollectionsOuIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetCollectionsOuIDURL) WithBasePath

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

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 GetCollectionsParams

type GetCollectionsParams struct {

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

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

swagger:parameters GetCollections

func NewGetCollectionsParams

func NewGetCollectionsParams() GetCollectionsParams

NewGetCollectionsParams creates a new GetCollectionsParams object

There are no default values defined in the spec.

func (*GetCollectionsParams) BindRequest

func (o *GetCollectionsParams) 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 NewGetCollectionsParams() beforehand.

type GetCollectionsProjectID

type GetCollectionsProjectID struct {
	Context *middleware.Context
	Handler GetCollectionsProjectIDHandler
}
GetCollectionsProjectID swagger:route GET /collections/project/{id} getCollectionsProjectId

get metadata of collections associated with the project id

func NewGetCollectionsProjectID

func NewGetCollectionsProjectID(ctx *middleware.Context, handler GetCollectionsProjectIDHandler) *GetCollectionsProjectID

NewGetCollectionsProjectID creates a new http.Handler for the get collections project ID operation

func (*GetCollectionsProjectID) ServeHTTP

type GetCollectionsProjectIDHandler

type GetCollectionsProjectIDHandler interface {
	Handle(GetCollectionsProjectIDParams) middleware.Responder
}

GetCollectionsProjectIDHandler interface for that can handle valid get collections project ID params

type GetCollectionsProjectIDHandlerFunc

type GetCollectionsProjectIDHandlerFunc func(GetCollectionsProjectIDParams) middleware.Responder

GetCollectionsProjectIDHandlerFunc turns a function with the right signature into a get collections project ID handler

func (GetCollectionsProjectIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetCollectionsProjectIDInternalServerError

type GetCollectionsProjectIDInternalServerError struct {

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

GetCollectionsProjectIDInternalServerError failure

swagger:response getCollectionsProjectIdInternalServerError

func NewGetCollectionsProjectIDInternalServerError

func NewGetCollectionsProjectIDInternalServerError() *GetCollectionsProjectIDInternalServerError

NewGetCollectionsProjectIDInternalServerError creates GetCollectionsProjectIDInternalServerError with default headers values

func (*GetCollectionsProjectIDInternalServerError) SetPayload

SetPayload sets the payload to the get collections project Id internal server error response

func (*GetCollectionsProjectIDInternalServerError) WithPayload

WithPayload adds the payload to the get collections project Id internal server error response

func (*GetCollectionsProjectIDInternalServerError) WriteResponse

WriteResponse to the client

type GetCollectionsProjectIDOK

type GetCollectionsProjectIDOK struct {

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

GetCollectionsProjectIDOK success

swagger:response getCollectionsProjectIdOK

func NewGetCollectionsProjectIDOK

func NewGetCollectionsProjectIDOK() *GetCollectionsProjectIDOK

NewGetCollectionsProjectIDOK creates GetCollectionsProjectIDOK with default headers values

func (*GetCollectionsProjectIDOK) SetPayload

SetPayload sets the payload to the get collections project Id o k response

func (*GetCollectionsProjectIDOK) WithPayload

WithPayload adds the payload to the get collections project Id o k response

func (*GetCollectionsProjectIDOK) WriteResponse

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

WriteResponse to the client

type GetCollectionsProjectIDParams

type GetCollectionsProjectIDParams struct {

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

	/*project identifier
	  Required: true
	  In: path
	*/
	ID string
}

GetCollectionsProjectIDParams contains all the bound params for the get collections project ID operation typically these are obtained from a http.Request

swagger:parameters GetCollectionsProjectID

func NewGetCollectionsProjectIDParams

func NewGetCollectionsProjectIDParams() GetCollectionsProjectIDParams

NewGetCollectionsProjectIDParams creates a new GetCollectionsProjectIDParams object

There are no default values defined in the spec.

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

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

type GetCollectionsProjectIDURL

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

GetCollectionsProjectIDURL generates an URL for the get collections project ID operation

func (*GetCollectionsProjectIDURL) Build

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

Build a url path and query string

func (*GetCollectionsProjectIDURL) BuildFull

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

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

func (*GetCollectionsProjectIDURL) Must

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

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

func (*GetCollectionsProjectIDURL) SetBasePath

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

func (o *GetCollectionsProjectIDURL) String() string

String returns the string representation of the path with query string

func (*GetCollectionsProjectIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetCollectionsProjectIDURL) 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 GetCollectionsURL

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

GetCollectionsURL generates an URL for the get collections operation

func (*GetCollectionsURL) Build

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

Build a url path and query string

func (*GetCollectionsURL) BuildFull

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

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

func (*GetCollectionsURL) Must

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

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

func (*GetCollectionsURL) SetBasePath

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

func (o *GetCollectionsURL) String() string

String returns the string representation of the path with query string

func (*GetCollectionsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetCollectionsURL) WithBasePath

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

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 GetMetrics

type GetMetrics struct {
	Context *middleware.Context
	Handler GetMetricsHandler
}
GetMetrics swagger:route GET /metrics getMetrics

Prometheus metrics

func NewGetMetrics

func NewGetMetrics(ctx *middleware.Context, handler GetMetricsHandler) *GetMetrics

NewGetMetrics creates a new http.Handler for the get metrics operation

func (*GetMetrics) ServeHTTP

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

type GetMetricsHandler

type GetMetricsHandler interface {
	Handle(GetMetricsParams) middleware.Responder
}

GetMetricsHandler interface for that can handle valid get metrics params

type GetMetricsHandlerFunc

type GetMetricsHandlerFunc func(GetMetricsParams) middleware.Responder

GetMetricsHandlerFunc turns a function with the right signature into a get metrics handler

func (GetMetricsHandlerFunc) Handle

Handle executing the request and returning a response

type GetMetricsOK

type GetMetricsOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

GetMetricsOK ok

swagger:response getMetricsOK

func NewGetMetricsOK

func NewGetMetricsOK() *GetMetricsOK

NewGetMetricsOK creates GetMetricsOK with default headers values

func (*GetMetricsOK) SetPayload

func (o *GetMetricsOK) SetPayload(payload string)

SetPayload sets the payload to the get metrics o k response

func (*GetMetricsOK) WithPayload

func (o *GetMetricsOK) WithPayload(payload string) *GetMetricsOK

WithPayload adds the payload to the get metrics o k response

func (*GetMetricsOK) WriteResponse

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

WriteResponse to the client

type GetMetricsParams

type GetMetricsParams struct {

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

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

swagger:parameters GetMetrics

func NewGetMetricsParams

func NewGetMetricsParams() GetMetricsParams

NewGetMetricsParams creates a new GetMetricsParams object

There are no default values defined in the spec.

func (*GetMetricsParams) BindRequest

func (o *GetMetricsParams) 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 NewGetMetricsParams() beforehand.

type GetMetricsURL

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

GetMetricsURL generates an URL for the get metrics operation

func (*GetMetricsURL) Build

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

Build a url path and query string

func (*GetMetricsURL) BuildFull

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

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

func (*GetMetricsURL) Must

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

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

func (*GetMetricsURL) SetBasePath

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

func (o *GetMetricsURL) String() string

String returns the string representation of the path with query string

func (*GetMetricsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMetricsURL) WithBasePath

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

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 GetPing

type GetPing struct {
	Context *middleware.Context
	Handler GetPingHandler
}
GetPing swagger:route GET /ping getPing

endpoint for API server health check.

func NewGetPing

func NewGetPing(ctx *middleware.Context, handler GetPingHandler) *GetPing

NewGetPing creates a new http.Handler for the get ping operation

func (*GetPing) ServeHTTP

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

type GetPingHandler

type GetPingHandler interface {
	Handle(GetPingParams, *models.Principal) middleware.Responder
}

GetPingHandler interface for that can handle valid get ping params

type GetPingHandlerFunc

type GetPingHandlerFunc func(GetPingParams, *models.Principal) middleware.Responder

GetPingHandlerFunc turns a function with the right signature into a get ping handler

func (GetPingHandlerFunc) Handle

func (fn GetPingHandlerFunc) Handle(params GetPingParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type GetPingInternalServerError

type GetPingInternalServerError struct {

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

GetPingInternalServerError failure

swagger:response getPingInternalServerError

func NewGetPingInternalServerError

func NewGetPingInternalServerError() *GetPingInternalServerError

NewGetPingInternalServerError creates GetPingInternalServerError with default headers values

func (*GetPingInternalServerError) SetPayload

func (o *GetPingInternalServerError) SetPayload(payload *models.ResponseBody500)

SetPayload sets the payload to the get ping internal server error response

func (*GetPingInternalServerError) WithPayload

WithPayload adds the payload to the get ping internal server error response

func (*GetPingInternalServerError) WriteResponse

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

WriteResponse to the client

type GetPingOK

type GetPingOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

GetPingOK success

swagger:response getPingOK

func NewGetPingOK

func NewGetPingOK() *GetPingOK

NewGetPingOK creates GetPingOK with default headers values

func (*GetPingOK) SetPayload

func (o *GetPingOK) SetPayload(payload string)

SetPayload sets the payload to the get ping o k response

func (*GetPingOK) WithPayload

func (o *GetPingOK) WithPayload(payload string) *GetPingOK

WithPayload adds the payload to the get ping o k response

func (*GetPingOK) WriteResponse

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

WriteResponse to the client

type GetPingParams

type GetPingParams struct {

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

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

swagger:parameters GetPing

func NewGetPingParams

func NewGetPingParams() GetPingParams

NewGetPingParams creates a new GetPingParams object

There are no default values defined in the spec.

func (*GetPingParams) BindRequest

func (o *GetPingParams) 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 NewGetPingParams() beforehand.

type GetPingURL

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

GetPingURL generates an URL for the get ping operation

func (*GetPingURL) Build

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

Build a url path and query string

func (*GetPingURL) BuildFull

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

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

func (*GetPingURL) Must

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

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

func (*GetPingURL) SetBasePath

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

func (o *GetPingURL) String() string

String returns the string representation of the path with query string

func (*GetPingURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPingURL) WithBasePath

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

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 GetUsers

type GetUsers struct {
	Context *middleware.Context
	Handler GetUsersHandler
}
GetUsers swagger:route GET /users getUsers

get metadata of all users

func NewGetUsers

func NewGetUsers(ctx *middleware.Context, handler GetUsersHandler) *GetUsers

NewGetUsers creates a new http.Handler for the get users operation

func (*GetUsers) ServeHTTP

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

type GetUsersHandler

type GetUsersHandler interface {
	Handle(GetUsersParams) middleware.Responder
}

GetUsersHandler interface for that can handle valid get users params

type GetUsersHandlerFunc

type GetUsersHandlerFunc func(GetUsersParams) middleware.Responder

GetUsersHandlerFunc turns a function with the right signature into a get users handler

func (GetUsersHandlerFunc) Handle

Handle executing the request and returning a response

type GetUsersInternalServerError

type GetUsersInternalServerError struct {

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

GetUsersInternalServerError failure

swagger:response getUsersInternalServerError

func NewGetUsersInternalServerError

func NewGetUsersInternalServerError() *GetUsersInternalServerError

NewGetUsersInternalServerError creates GetUsersInternalServerError with default headers values

func (*GetUsersInternalServerError) SetPayload

func (o *GetUsersInternalServerError) SetPayload(payload *models.ResponseBody500)

SetPayload sets the payload to the get users internal server error response

func (*GetUsersInternalServerError) WithPayload

WithPayload adds the payload to the get users internal server error response

func (*GetUsersInternalServerError) WriteResponse

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

WriteResponse to the client

type GetUsersOK

type GetUsersOK struct {

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

GetUsersOK success

swagger:response getUsersOK

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates GetUsersOK with default headers values

func (*GetUsersOK) SetPayload

func (o *GetUsersOK) SetPayload(payload *models.ResponseBodyUsers)

SetPayload sets the payload to the get users o k response

func (*GetUsersOK) WithPayload

func (o *GetUsersOK) WithPayload(payload *models.ResponseBodyUsers) *GetUsersOK

WithPayload adds the payload to the get users o k response

func (*GetUsersOK) WriteResponse

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

WriteResponse to the client

type GetUsersOuID

type GetUsersOuID struct {
	Context *middleware.Context
	Handler GetUsersOuIDHandler
}
GetUsersOuID swagger:route GET /users/ou/{id} getUsersOuId

get metadata of users belonging to the organisational unit

func NewGetUsersOuID

func NewGetUsersOuID(ctx *middleware.Context, handler GetUsersOuIDHandler) *GetUsersOuID

NewGetUsersOuID creates a new http.Handler for the get users ou ID operation

func (*GetUsersOuID) ServeHTTP

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

type GetUsersOuIDHandler

type GetUsersOuIDHandler interface {
	Handle(GetUsersOuIDParams) middleware.Responder
}

GetUsersOuIDHandler interface for that can handle valid get users ou ID params

type GetUsersOuIDHandlerFunc

type GetUsersOuIDHandlerFunc func(GetUsersOuIDParams) middleware.Responder

GetUsersOuIDHandlerFunc turns a function with the right signature into a get users ou ID handler

func (GetUsersOuIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetUsersOuIDInternalServerError

type GetUsersOuIDInternalServerError struct {

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

GetUsersOuIDInternalServerError failure

swagger:response getUsersOuIdInternalServerError

func NewGetUsersOuIDInternalServerError

func NewGetUsersOuIDInternalServerError() *GetUsersOuIDInternalServerError

NewGetUsersOuIDInternalServerError creates GetUsersOuIDInternalServerError with default headers values

func (*GetUsersOuIDInternalServerError) SetPayload

func (o *GetUsersOuIDInternalServerError) SetPayload(payload *models.ResponseBody500)

SetPayload sets the payload to the get users ou Id internal server error response

func (*GetUsersOuIDInternalServerError) WithPayload

WithPayload adds the payload to the get users ou Id internal server error response

func (*GetUsersOuIDInternalServerError) WriteResponse

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

WriteResponse to the client

type GetUsersOuIDOK

type GetUsersOuIDOK struct {

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

GetUsersOuIDOK success

swagger:response getUsersOuIdOK

func NewGetUsersOuIDOK

func NewGetUsersOuIDOK() *GetUsersOuIDOK

NewGetUsersOuIDOK creates GetUsersOuIDOK with default headers values

func (*GetUsersOuIDOK) SetPayload

func (o *GetUsersOuIDOK) SetPayload(payload *models.ResponseBodyUsers)

SetPayload sets the payload to the get users ou Id o k response

func (*GetUsersOuIDOK) WithPayload

func (o *GetUsersOuIDOK) WithPayload(payload *models.ResponseBodyUsers) *GetUsersOuIDOK

WithPayload adds the payload to the get users ou Id o k response

func (*GetUsersOuIDOK) WriteResponse

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

WriteResponse to the client

type GetUsersOuIDParams

type GetUsersOuIDParams struct {

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

	/*short name of the organisational unit
	  Required: true
	  In: path
	*/
	ID string
}

GetUsersOuIDParams contains all the bound params for the get users ou ID operation typically these are obtained from a http.Request

swagger:parameters GetUsersOuID

func NewGetUsersOuIDParams

func NewGetUsersOuIDParams() GetUsersOuIDParams

NewGetUsersOuIDParams creates a new GetUsersOuIDParams object

There are no default values defined in the spec.

func (*GetUsersOuIDParams) BindRequest

func (o *GetUsersOuIDParams) 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 NewGetUsersOuIDParams() beforehand.

type GetUsersOuIDURL

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

GetUsersOuIDURL generates an URL for the get users ou ID operation

func (*GetUsersOuIDURL) Build

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

Build a url path and query string

func (*GetUsersOuIDURL) BuildFull

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

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

func (*GetUsersOuIDURL) Must

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

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

func (*GetUsersOuIDURL) SetBasePath

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

func (o *GetUsersOuIDURL) String() string

String returns the string representation of the path with query string

func (*GetUsersOuIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUsersOuIDURL) WithBasePath

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

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 GetUsersParams

type GetUsersParams struct {

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

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

swagger:parameters GetUsers

func NewGetUsersParams

func NewGetUsersParams() GetUsersParams

NewGetUsersParams creates a new GetUsersParams object

There are no default values defined in the spec.

func (*GetUsersParams) BindRequest

func (o *GetUsersParams) 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 NewGetUsersParams() beforehand.

type GetUsersSearch

type GetUsersSearch struct {
	Context *middleware.Context
	Handler GetUsersSearchHandler
}
GetUsersSearch swagger:route GET /users/search getUsersSearch

search users with matched email address and/or display name

func NewGetUsersSearch

func NewGetUsersSearch(ctx *middleware.Context, handler GetUsersSearchHandler) *GetUsersSearch

NewGetUsersSearch creates a new http.Handler for the get users search operation

func (*GetUsersSearch) ServeHTTP

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

type GetUsersSearchHandler

type GetUsersSearchHandler interface {
	Handle(GetUsersSearchParams) middleware.Responder
}

GetUsersSearchHandler interface for that can handle valid get users search params

type GetUsersSearchHandlerFunc

type GetUsersSearchHandlerFunc func(GetUsersSearchParams) middleware.Responder

GetUsersSearchHandlerFunc turns a function with the right signature into a get users search handler

func (GetUsersSearchHandlerFunc) Handle

Handle executing the request and returning a response

type GetUsersSearchInternalServerError

type GetUsersSearchInternalServerError struct {

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

GetUsersSearchInternalServerError failure

swagger:response getUsersSearchInternalServerError

func NewGetUsersSearchInternalServerError

func NewGetUsersSearchInternalServerError() *GetUsersSearchInternalServerError

NewGetUsersSearchInternalServerError creates GetUsersSearchInternalServerError with default headers values

func (*GetUsersSearchInternalServerError) SetPayload

SetPayload sets the payload to the get users search internal server error response

func (*GetUsersSearchInternalServerError) WithPayload

WithPayload adds the payload to the get users search internal server error response

func (*GetUsersSearchInternalServerError) WriteResponse

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

WriteResponse to the client

type GetUsersSearchOK

type GetUsersSearchOK struct {

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

GetUsersSearchOK success

swagger:response getUsersSearchOK

func NewGetUsersSearchOK

func NewGetUsersSearchOK() *GetUsersSearchOK

NewGetUsersSearchOK creates GetUsersSearchOK with default headers values

func (*GetUsersSearchOK) SetPayload

func (o *GetUsersSearchOK) SetPayload(payload *models.ResponseBodyUsers)

SetPayload sets the payload to the get users search o k response

func (*GetUsersSearchOK) WithPayload

func (o *GetUsersSearchOK) WithPayload(payload *models.ResponseBodyUsers) *GetUsersSearchOK

WithPayload adds the payload to the get users search o k response

func (*GetUsersSearchOK) WriteResponse

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

WriteResponse to the client

type GetUsersSearchParams

type GetUsersSearchParams struct {

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

	/*email address
	  In: query
	*/
	Email *string
	/*display name
	  In: query
	*/
	Name *string
}

GetUsersSearchParams contains all the bound params for the get users search operation typically these are obtained from a http.Request

swagger:parameters GetUsersSearch

func NewGetUsersSearchParams

func NewGetUsersSearchParams() GetUsersSearchParams

NewGetUsersSearchParams creates a new GetUsersSearchParams object

There are no default values defined in the spec.

func (*GetUsersSearchParams) BindRequest

func (o *GetUsersSearchParams) 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 NewGetUsersSearchParams() beforehand.

type GetUsersSearchURL

type GetUsersSearchURL struct {
	Email *string
	Name  *string
	// contains filtered or unexported fields
}

GetUsersSearchURL generates an URL for the get users search operation

func (*GetUsersSearchURL) Build

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

Build a url path and query string

func (*GetUsersSearchURL) BuildFull

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

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

func (*GetUsersSearchURL) Must

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

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

func (*GetUsersSearchURL) SetBasePath

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

func (o *GetUsersSearchURL) String() string

String returns the string representation of the path with query string

func (*GetUsersSearchURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUsersSearchURL) WithBasePath

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

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 GetUsersURL

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

GetUsersURL generates an URL for the get users operation

func (*GetUsersURL) Build

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

Build a url path and query string

func (*GetUsersURL) BuildFull

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

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

func (*GetUsersURL) Must

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

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

func (*GetUsersURL) SetBasePath

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

func (o *GetUsersURL) String() string

String returns the string representation of the path with query string

func (*GetUsersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUsersURL) WithBasePath

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

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