operations

package
v1.0.1-0...-3a959c6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteV1AdminPoliciesForbiddenCode int = 403

DeleteV1AdminPoliciesForbiddenCode is the HTTP code returned for type DeleteV1AdminPoliciesForbidden

View Source
const DeleteV1AdminPoliciesInternalServerErrorCode int = 500

DeleteV1AdminPoliciesInternalServerErrorCode is the HTTP code returned for type DeleteV1AdminPoliciesInternalServerError

View Source
const DeleteV1AdminPoliciesNotFoundCode int = 404

DeleteV1AdminPoliciesNotFoundCode is the HTTP code returned for type DeleteV1AdminPoliciesNotFound

View Source
const DeleteV1AdminPoliciesOKCode int = 200

DeleteV1AdminPoliciesOKCode is the HTTP code returned for type DeleteV1AdminPoliciesOK

View Source
const DeleteV1AdminPoliciesUnauthorizedCode int = 401

DeleteV1AdminPoliciesUnauthorizedCode is the HTTP code returned for type DeleteV1AdminPoliciesUnauthorized

View Source
const DeleteV1AdminRolesRoleConflictCode int = 409

DeleteV1AdminRolesRoleConflictCode is the HTTP code returned for type DeleteV1AdminRolesRoleConflict

View Source
const DeleteV1AdminRolesRoleForbiddenCode int = 403

DeleteV1AdminRolesRoleForbiddenCode is the HTTP code returned for type DeleteV1AdminRolesRoleForbidden

View Source
const DeleteV1AdminRolesRoleInternalServerErrorCode int = 500

DeleteV1AdminRolesRoleInternalServerErrorCode is the HTTP code returned for type DeleteV1AdminRolesRoleInternalServerError

View Source
const DeleteV1AdminRolesRoleNotFoundCode int = 404

DeleteV1AdminRolesRoleNotFoundCode is the HTTP code returned for type DeleteV1AdminRolesRoleNotFound

View Source
const DeleteV1AdminRolesRoleOKCode int = 200

DeleteV1AdminRolesRoleOKCode is the HTTP code returned for type DeleteV1AdminRolesRoleOK

View Source
const DeleteV1AdminRolesRoleUnauthorizedCode int = 401

DeleteV1AdminRolesRoleUnauthorizedCode is the HTTP code returned for type DeleteV1AdminRolesRoleUnauthorized

View Source
const DeleteV1AdminUsersUserForbiddenCode int = 403

DeleteV1AdminUsersUserForbiddenCode is the HTTP code returned for type DeleteV1AdminUsersUserForbidden

View Source
const DeleteV1AdminUsersUserInternalServerErrorCode int = 500

DeleteV1AdminUsersUserInternalServerErrorCode is the HTTP code returned for type DeleteV1AdminUsersUserInternalServerError

View Source
const DeleteV1AdminUsersUserNotFoundCode int = 404

DeleteV1AdminUsersUserNotFoundCode is the HTTP code returned for type DeleteV1AdminUsersUserNotFound

View Source
const DeleteV1AdminUsersUserOKCode int = 200

DeleteV1AdminUsersUserOKCode is the HTTP code returned for type DeleteV1AdminUsersUserOK

View Source
const DeleteV1AdminUsersUserUnauthorizedCode int = 401

DeleteV1AdminUsersUserUnauthorizedCode is the HTTP code returned for type DeleteV1AdminUsersUserUnauthorized

View Source
const GetV1AdminPoliciesForbiddenCode int = 403

GetV1AdminPoliciesForbiddenCode is the HTTP code returned for type GetV1AdminPoliciesForbidden

View Source
const GetV1AdminPoliciesInternalServerErrorCode int = 500

GetV1AdminPoliciesInternalServerErrorCode is the HTTP code returned for type GetV1AdminPoliciesInternalServerError

View Source
const GetV1AdminPoliciesOKCode int = 200

GetV1AdminPoliciesOKCode is the HTTP code returned for type GetV1AdminPoliciesOK

View Source
const GetV1AdminPoliciesUnauthorizedCode int = 401

GetV1AdminPoliciesUnauthorizedCode is the HTTP code returned for type GetV1AdminPoliciesUnauthorized

View Source
const GetV1AdminRolesForbiddenCode int = 403

GetV1AdminRolesForbiddenCode is the HTTP code returned for type GetV1AdminRolesForbidden

View Source
const GetV1AdminRolesInternalServerErrorCode int = 500

GetV1AdminRolesInternalServerErrorCode is the HTTP code returned for type GetV1AdminRolesInternalServerError

View Source
const GetV1AdminRolesOKCode int = 200

GetV1AdminRolesOKCode is the HTTP code returned for type GetV1AdminRolesOK

View Source
const GetV1AdminRolesRoleUsersForbiddenCode int = 403

GetV1AdminRolesRoleUsersForbiddenCode is the HTTP code returned for type GetV1AdminRolesRoleUsersForbidden

View Source
const GetV1AdminRolesRoleUsersInternalServerErrorCode int = 500

GetV1AdminRolesRoleUsersInternalServerErrorCode is the HTTP code returned for type GetV1AdminRolesRoleUsersInternalServerError

View Source
const GetV1AdminRolesRoleUsersNotFoundCode int = 404

GetV1AdminRolesRoleUsersNotFoundCode is the HTTP code returned for type GetV1AdminRolesRoleUsersNotFound

View Source
const GetV1AdminRolesRoleUsersOKCode int = 200

GetV1AdminRolesRoleUsersOKCode is the HTTP code returned for type GetV1AdminRolesRoleUsersOK

View Source
const GetV1AdminRolesRoleUsersUnauthorizedCode int = 401

GetV1AdminRolesRoleUsersUnauthorizedCode is the HTTP code returned for type GetV1AdminRolesRoleUsersUnauthorized

View Source
const GetV1AdminRolesUnauthorizedCode int = 401

GetV1AdminRolesUnauthorizedCode is the HTTP code returned for type GetV1AdminRolesUnauthorized

View Source
const GetV1AdminUsersForbiddenCode int = 403

GetV1AdminUsersForbiddenCode is the HTTP code returned for type GetV1AdminUsersForbidden

View Source
const GetV1AdminUsersInternalServerErrorCode int = 500

GetV1AdminUsersInternalServerErrorCode is the HTTP code returned for type GetV1AdminUsersInternalServerError

View Source
const GetV1AdminUsersOKCode int = 200

GetV1AdminUsersOKCode is the HTTP code returned for type GetV1AdminUsersOK

View Source
const GetV1AdminUsersUnauthorizedCode int = 401

GetV1AdminUsersUnauthorizedCode is the HTTP code returned for type GetV1AdminUsersUnauthorized

View Source
const GetV1AdminUsersUserForbiddenCode int = 403

GetV1AdminUsersUserForbiddenCode is the HTTP code returned for type GetV1AdminUsersUserForbidden

View Source
const GetV1AdminUsersUserInternalServerErrorCode int = 500

GetV1AdminUsersUserInternalServerErrorCode is the HTTP code returned for type GetV1AdminUsersUserInternalServerError

View Source
const GetV1AdminUsersUserNotFoundCode int = 404

GetV1AdminUsersUserNotFoundCode is the HTTP code returned for type GetV1AdminUsersUserNotFound

View Source
const GetV1AdminUsersUserOKCode int = 200

GetV1AdminUsersUserOKCode is the HTTP code returned for type GetV1AdminUsersUserOK

View Source
const GetV1AdminUsersUserUnauthorizedCode int = 401

GetV1AdminUsersUserUnauthorizedCode is the HTTP code returned for type GetV1AdminUsersUserUnauthorized

View Source
const GetV1DevicesDeviceCommandsCommandForbiddenCode int = 403

GetV1DevicesDeviceCommandsCommandForbiddenCode is the HTTP code returned for type GetV1DevicesDeviceCommandsCommandForbidden

View Source
const GetV1DevicesDeviceCommandsCommandInternalServerErrorCode int = 500

GetV1DevicesDeviceCommandsCommandInternalServerErrorCode is the HTTP code returned for type GetV1DevicesDeviceCommandsCommandInternalServerError

View Source
const GetV1DevicesDeviceCommandsCommandNotFoundCode int = 404

GetV1DevicesDeviceCommandsCommandNotFoundCode is the HTTP code returned for type GetV1DevicesDeviceCommandsCommandNotFound

View Source
const GetV1DevicesDeviceCommandsCommandOKCode int = 200

GetV1DevicesDeviceCommandsCommandOKCode is the HTTP code returned for type GetV1DevicesDeviceCommandsCommandOK

View Source
const GetV1DevicesDeviceCommandsCommandUnauthorizedCode int = 401

GetV1DevicesDeviceCommandsCommandUnauthorizedCode is the HTTP code returned for type GetV1DevicesDeviceCommandsCommandUnauthorized

View Source
const GetV1DevicesDeviceForbiddenCode int = 403

GetV1DevicesDeviceForbiddenCode is the HTTP code returned for type GetV1DevicesDeviceForbidden

View Source
const GetV1DevicesDeviceInternalServerErrorCode int = 500

GetV1DevicesDeviceInternalServerErrorCode is the HTTP code returned for type GetV1DevicesDeviceInternalServerError

View Source
const GetV1DevicesDeviceNotFoundCode int = 404

GetV1DevicesDeviceNotFoundCode is the HTTP code returned for type GetV1DevicesDeviceNotFound

View Source
const GetV1DevicesDeviceOKCode int = 200

GetV1DevicesDeviceOKCode is the HTTP code returned for type GetV1DevicesDeviceOK

View Source
const GetV1DevicesDeviceProfileForbiddenCode int = 403

GetV1DevicesDeviceProfileForbiddenCode is the HTTP code returned for type GetV1DevicesDeviceProfileForbidden

View Source
const GetV1DevicesDeviceProfileInternalServerErrorCode int = 500

GetV1DevicesDeviceProfileInternalServerErrorCode is the HTTP code returned for type GetV1DevicesDeviceProfileInternalServerError

View Source
const GetV1DevicesDeviceProfileNotFoundCode int = 404

GetV1DevicesDeviceProfileNotFoundCode is the HTTP code returned for type GetV1DevicesDeviceProfileNotFound

View Source
const GetV1DevicesDeviceProfileOKCode int = 200

GetV1DevicesDeviceProfileOKCode is the HTTP code returned for type GetV1DevicesDeviceProfileOK

View Source
const GetV1DevicesDeviceProfileUnauthorizedCode int = 401

GetV1DevicesDeviceProfileUnauthorizedCode is the HTTP code returned for type GetV1DevicesDeviceProfileUnauthorized

View Source
const GetV1DevicesDeviceResourcesResourceForbiddenCode int = 403

GetV1DevicesDeviceResourcesResourceForbiddenCode is the HTTP code returned for type GetV1DevicesDeviceResourcesResourceForbidden

View Source
const GetV1DevicesDeviceResourcesResourceInternalServerErrorCode int = 500

GetV1DevicesDeviceResourcesResourceInternalServerErrorCode is the HTTP code returned for type GetV1DevicesDeviceResourcesResourceInternalServerError

View Source
const GetV1DevicesDeviceResourcesResourceNotFoundCode int = 404

GetV1DevicesDeviceResourcesResourceNotFoundCode is the HTTP code returned for type GetV1DevicesDeviceResourcesResourceNotFound

View Source
const GetV1DevicesDeviceResourcesResourceOKCode int = 200

GetV1DevicesDeviceResourcesResourceOKCode is the HTTP code returned for type GetV1DevicesDeviceResourcesResourceOK

View Source
const GetV1DevicesDeviceResourcesResourceUnauthorizedCode int = 401

GetV1DevicesDeviceResourcesResourceUnauthorizedCode is the HTTP code returned for type GetV1DevicesDeviceResourcesResourceUnauthorized

View Source
const GetV1DevicesDeviceUnauthorizedCode int = 401

GetV1DevicesDeviceUnauthorizedCode is the HTTP code returned for type GetV1DevicesDeviceUnauthorized

View Source
const GetV1DevicesDeviceValuedescriptorsForbiddenCode int = 403

GetV1DevicesDeviceValuedescriptorsForbiddenCode is the HTTP code returned for type GetV1DevicesDeviceValuedescriptorsForbidden

View Source
const GetV1DevicesDeviceValuedescriptorsInternalServerErrorCode int = 500

GetV1DevicesDeviceValuedescriptorsInternalServerErrorCode is the HTTP code returned for type GetV1DevicesDeviceValuedescriptorsInternalServerError

View Source
const GetV1DevicesDeviceValuedescriptorsNotFoundCode int = 404

GetV1DevicesDeviceValuedescriptorsNotFoundCode is the HTTP code returned for type GetV1DevicesDeviceValuedescriptorsNotFound

View Source
const GetV1DevicesDeviceValuedescriptorsOKCode int = 200

GetV1DevicesDeviceValuedescriptorsOKCode is the HTTP code returned for type GetV1DevicesDeviceValuedescriptorsOK

View Source
const GetV1DevicesDeviceValuedescriptorsUnauthorizedCode int = 401

GetV1DevicesDeviceValuedescriptorsUnauthorizedCode is the HTTP code returned for type GetV1DevicesDeviceValuedescriptorsUnauthorized

View Source
const GetV1DevicesForbiddenCode int = 403

GetV1DevicesForbiddenCode is the HTTP code returned for type GetV1DevicesForbidden

View Source
const GetV1DevicesInternalServerErrorCode int = 500

GetV1DevicesInternalServerErrorCode is the HTTP code returned for type GetV1DevicesInternalServerError

View Source
const GetV1DevicesOKCode int = 200

GetV1DevicesOKCode is the HTTP code returned for type GetV1DevicesOK

View Source
const GetV1DevicesUnauthorizedCode int = 401

GetV1DevicesUnauthorizedCode is the HTTP code returned for type GetV1DevicesUnauthorized

View Source
const GetV1PingOKCode int = 200

GetV1PingOKCode is the HTTP code returned for type GetV1PingOK

View Source
const GetV1PingServiceUnavailableCode int = 503

GetV1PingServiceUnavailableCode is the HTTP code returned for type GetV1PingServiceUnavailable

View Source
const PatchV1AdminUsersUserBadRequestCode int = 400

PatchV1AdminUsersUserBadRequestCode is the HTTP code returned for type PatchV1AdminUsersUserBadRequest

View Source
const PatchV1AdminUsersUserForbiddenCode int = 403

PatchV1AdminUsersUserForbiddenCode is the HTTP code returned for type PatchV1AdminUsersUserForbidden

View Source
const PatchV1AdminUsersUserInternalServerErrorCode int = 500

PatchV1AdminUsersUserInternalServerErrorCode is the HTTP code returned for type PatchV1AdminUsersUserInternalServerError

View Source
const PatchV1AdminUsersUserNotFoundCode int = 404

PatchV1AdminUsersUserNotFoundCode is the HTTP code returned for type PatchV1AdminUsersUserNotFound

View Source
const PatchV1AdminUsersUserOKCode int = 200

PatchV1AdminUsersUserOKCode is the HTTP code returned for type PatchV1AdminUsersUserOK

View Source
const PatchV1AdminUsersUserUnauthorizedCode int = 401

PatchV1AdminUsersUserUnauthorizedCode is the HTTP code returned for type PatchV1AdminUsersUserUnauthorized

View Source
const PostV1AdminPoliciesConflictCode int = 409

PostV1AdminPoliciesConflictCode is the HTTP code returned for type PostV1AdminPoliciesConflict

View Source
const PostV1AdminPoliciesCreatedCode int = 201

PostV1AdminPoliciesCreatedCode is the HTTP code returned for type PostV1AdminPoliciesCreated

View Source
const PostV1AdminPoliciesForbiddenCode int = 403

PostV1AdminPoliciesForbiddenCode is the HTTP code returned for type PostV1AdminPoliciesForbidden

View Source
const PostV1AdminPoliciesInternalServerErrorCode int = 500

PostV1AdminPoliciesInternalServerErrorCode is the HTTP code returned for type PostV1AdminPoliciesInternalServerError

View Source
const PostV1AdminPoliciesUnauthorizedCode int = 401

PostV1AdminPoliciesUnauthorizedCode is the HTTP code returned for type PostV1AdminPoliciesUnauthorized

View Source
const PostV1AdminRolesConflictCode int = 409

PostV1AdminRolesConflictCode is the HTTP code returned for type PostV1AdminRolesConflict

View Source
const PostV1AdminRolesCreatedCode int = 201

PostV1AdminRolesCreatedCode is the HTTP code returned for type PostV1AdminRolesCreated

View Source
const PostV1AdminRolesForbiddenCode int = 403

PostV1AdminRolesForbiddenCode is the HTTP code returned for type PostV1AdminRolesForbidden

View Source
const PostV1AdminRolesInternalServerErrorCode int = 500

PostV1AdminRolesInternalServerErrorCode is the HTTP code returned for type PostV1AdminRolesInternalServerError

View Source
const PostV1AdminRolesUnauthorizedCode int = 401

PostV1AdminRolesUnauthorizedCode is the HTTP code returned for type PostV1AdminRolesUnauthorized

View Source
const PostV1AdminUsersConflictCode int = 409

PostV1AdminUsersConflictCode is the HTTP code returned for type PostV1AdminUsersConflict

View Source
const PostV1AdminUsersCreatedCode int = 201

PostV1AdminUsersCreatedCode is the HTTP code returned for type PostV1AdminUsersCreated

View Source
const PostV1AdminUsersForbiddenCode int = 403

PostV1AdminUsersForbiddenCode is the HTTP code returned for type PostV1AdminUsersForbidden

View Source
const PostV1AdminUsersInternalServerErrorCode int = 500

PostV1AdminUsersInternalServerErrorCode is the HTTP code returned for type PostV1AdminUsersInternalServerError

View Source
const PostV1AdminUsersUnauthorizedCode int = 401

PostV1AdminUsersUnauthorizedCode is the HTTP code returned for type PostV1AdminUsersUnauthorized

View Source
const PutV1DevicesDeviceCommandsCommandForbiddenCode int = 403

PutV1DevicesDeviceCommandsCommandForbiddenCode is the HTTP code returned for type PutV1DevicesDeviceCommandsCommandForbidden

View Source
const PutV1DevicesDeviceCommandsCommandInternalServerErrorCode int = 500

PutV1DevicesDeviceCommandsCommandInternalServerErrorCode is the HTTP code returned for type PutV1DevicesDeviceCommandsCommandInternalServerError

View Source
const PutV1DevicesDeviceCommandsCommandNotFoundCode int = 404

PutV1DevicesDeviceCommandsCommandNotFoundCode is the HTTP code returned for type PutV1DevicesDeviceCommandsCommandNotFound

View Source
const PutV1DevicesDeviceCommandsCommandOKCode int = 200

PutV1DevicesDeviceCommandsCommandOKCode is the HTTP code returned for type PutV1DevicesDeviceCommandsCommandOK

View Source
const PutV1DevicesDeviceCommandsCommandUnauthorizedCode int = 401

PutV1DevicesDeviceCommandsCommandUnauthorizedCode is the HTTP code returned for type PutV1DevicesDeviceCommandsCommandUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteV1AdminPolicies

type DeleteV1AdminPolicies struct {
	Context *middleware.Context
	Handler DeleteV1AdminPoliciesHandler
}

DeleteV1AdminPolicies swagger:route DELETE /v1/admin/policies deleteV1AdminPolicies

Deletes the policy

func NewDeleteV1AdminPolicies

func NewDeleteV1AdminPolicies(ctx *middleware.Context, handler DeleteV1AdminPoliciesHandler) *DeleteV1AdminPolicies

NewDeleteV1AdminPolicies creates a new http.Handler for the delete v1 admin policies operation

func (*DeleteV1AdminPolicies) ServeHTTP

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

type DeleteV1AdminPoliciesForbidden

type DeleteV1AdminPoliciesForbidden struct {

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

DeleteV1AdminPoliciesForbidden forbidden

swagger:response deleteV1AdminPoliciesForbidden

func NewDeleteV1AdminPoliciesForbidden

func NewDeleteV1AdminPoliciesForbidden() *DeleteV1AdminPoliciesForbidden

NewDeleteV1AdminPoliciesForbidden creates DeleteV1AdminPoliciesForbidden with default headers values

func (*DeleteV1AdminPoliciesForbidden) SetPayload

func (o *DeleteV1AdminPoliciesForbidden) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin policies forbidden response

func (*DeleteV1AdminPoliciesForbidden) WithPayload

WithPayload adds the payload to the delete v1 admin policies forbidden response

func (*DeleteV1AdminPoliciesForbidden) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminPoliciesHandler

type DeleteV1AdminPoliciesHandler interface {
	Handle(DeleteV1AdminPoliciesParams, *models.User) middleware.Responder
}

DeleteV1AdminPoliciesHandler interface for that can handle valid delete v1 admin policies params

type DeleteV1AdminPoliciesHandlerFunc

type DeleteV1AdminPoliciesHandlerFunc func(DeleteV1AdminPoliciesParams, *models.User) middleware.Responder

DeleteV1AdminPoliciesHandlerFunc turns a function with the right signature into a delete v1 admin policies handler

func (DeleteV1AdminPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteV1AdminPoliciesInternalServerError

type DeleteV1AdminPoliciesInternalServerError struct {

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

DeleteV1AdminPoliciesInternalServerError For unknown or unanticipated issues

swagger:response deleteV1AdminPoliciesInternalServerError

func NewDeleteV1AdminPoliciesInternalServerError

func NewDeleteV1AdminPoliciesInternalServerError() *DeleteV1AdminPoliciesInternalServerError

NewDeleteV1AdminPoliciesInternalServerError creates DeleteV1AdminPoliciesInternalServerError with default headers values

func (*DeleteV1AdminPoliciesInternalServerError) SetPayload

func (o *DeleteV1AdminPoliciesInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin policies internal server error response

func (*DeleteV1AdminPoliciesInternalServerError) WithPayload

WithPayload adds the payload to the delete v1 admin policies internal server error response

func (*DeleteV1AdminPoliciesInternalServerError) WriteResponse

WriteResponse to the client

type DeleteV1AdminPoliciesNotFound

type DeleteV1AdminPoliciesNotFound struct {

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

DeleteV1AdminPoliciesNotFound The specified resource was not found

swagger:response deleteV1AdminPoliciesNotFound

func NewDeleteV1AdminPoliciesNotFound

func NewDeleteV1AdminPoliciesNotFound() *DeleteV1AdminPoliciesNotFound

NewDeleteV1AdminPoliciesNotFound creates DeleteV1AdminPoliciesNotFound with default headers values

func (*DeleteV1AdminPoliciesNotFound) SetPayload

func (o *DeleteV1AdminPoliciesNotFound) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin policies not found response

func (*DeleteV1AdminPoliciesNotFound) WithPayload

WithPayload adds the payload to the delete v1 admin policies not found response

func (*DeleteV1AdminPoliciesNotFound) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminPoliciesOK

type DeleteV1AdminPoliciesOK struct {

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

DeleteV1AdminPoliciesOK Deleted

swagger:response deleteV1AdminPoliciesOK

func NewDeleteV1AdminPoliciesOK

func NewDeleteV1AdminPoliciesOK() *DeleteV1AdminPoliciesOK

NewDeleteV1AdminPoliciesOK creates DeleteV1AdminPoliciesOK with default headers values

func (*DeleteV1AdminPoliciesOK) SetPayload

func (o *DeleteV1AdminPoliciesOK) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin policies o k response

func (*DeleteV1AdminPoliciesOK) WithPayload

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

WithPayload adds the payload to the delete v1 admin policies o k response

func (*DeleteV1AdminPoliciesOK) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminPoliciesParams

type DeleteV1AdminPoliciesParams struct {

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

	/*Policy to process
	  Required: true
	  In: body
	*/
	Body *models.Policy
}

DeleteV1AdminPoliciesParams contains all the bound params for the delete v1 admin policies operation typically these are obtained from a http.Request

swagger:parameters DeleteV1AdminPolicies

func NewDeleteV1AdminPoliciesParams

func NewDeleteV1AdminPoliciesParams() DeleteV1AdminPoliciesParams

NewDeleteV1AdminPoliciesParams creates a new DeleteV1AdminPoliciesParams object no default values defined in spec.

func (*DeleteV1AdminPoliciesParams) 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 NewDeleteV1AdminPoliciesParams() beforehand.

type DeleteV1AdminPoliciesURL

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

DeleteV1AdminPoliciesURL generates an URL for the delete v1 admin policies operation

func (*DeleteV1AdminPoliciesURL) Build

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

Build a url path and query string

func (*DeleteV1AdminPoliciesURL) BuildFull

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

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

func (*DeleteV1AdminPoliciesURL) Must

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

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

func (*DeleteV1AdminPoliciesURL) SetBasePath

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

func (o *DeleteV1AdminPoliciesURL) String() string

String returns the string representation of the path with query string

func (*DeleteV1AdminPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteV1AdminPoliciesURL) 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 DeleteV1AdminPoliciesUnauthorized

type DeleteV1AdminPoliciesUnauthorized struct {

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

DeleteV1AdminPoliciesUnauthorized Unauthorized

swagger:response deleteV1AdminPoliciesUnauthorized

func NewDeleteV1AdminPoliciesUnauthorized

func NewDeleteV1AdminPoliciesUnauthorized() *DeleteV1AdminPoliciesUnauthorized

NewDeleteV1AdminPoliciesUnauthorized creates DeleteV1AdminPoliciesUnauthorized with default headers values

func (*DeleteV1AdminPoliciesUnauthorized) SetPayload

func (o *DeleteV1AdminPoliciesUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin policies unauthorized response

func (*DeleteV1AdminPoliciesUnauthorized) WithPayload

WithPayload adds the payload to the delete v1 admin policies unauthorized response

func (*DeleteV1AdminPoliciesUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminRolesRole

type DeleteV1AdminRolesRole struct {
	Context *middleware.Context
	Handler DeleteV1AdminRolesRoleHandler
}

DeleteV1AdminRolesRole swagger:route DELETE /v1/admin/roles/{role} deleteV1AdminRolesRole

Deletes the role

func NewDeleteV1AdminRolesRole

func NewDeleteV1AdminRolesRole(ctx *middleware.Context, handler DeleteV1AdminRolesRoleHandler) *DeleteV1AdminRolesRole

NewDeleteV1AdminRolesRole creates a new http.Handler for the delete v1 admin roles role operation

func (*DeleteV1AdminRolesRole) ServeHTTP

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

type DeleteV1AdminRolesRoleConflict

type DeleteV1AdminRolesRoleConflict struct {

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

DeleteV1AdminRolesRoleConflict conflict

swagger:response deleteV1AdminRolesRoleConflict

func NewDeleteV1AdminRolesRoleConflict

func NewDeleteV1AdminRolesRoleConflict() *DeleteV1AdminRolesRoleConflict

NewDeleteV1AdminRolesRoleConflict creates DeleteV1AdminRolesRoleConflict with default headers values

func (*DeleteV1AdminRolesRoleConflict) SetPayload

func (o *DeleteV1AdminRolesRoleConflict) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin roles role conflict response

func (*DeleteV1AdminRolesRoleConflict) WithPayload

WithPayload adds the payload to the delete v1 admin roles role conflict response

func (*DeleteV1AdminRolesRoleConflict) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminRolesRoleForbidden

type DeleteV1AdminRolesRoleForbidden struct {

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

DeleteV1AdminRolesRoleForbidden forbidden

swagger:response deleteV1AdminRolesRoleForbidden

func NewDeleteV1AdminRolesRoleForbidden

func NewDeleteV1AdminRolesRoleForbidden() *DeleteV1AdminRolesRoleForbidden

NewDeleteV1AdminRolesRoleForbidden creates DeleteV1AdminRolesRoleForbidden with default headers values

func (*DeleteV1AdminRolesRoleForbidden) SetPayload

func (o *DeleteV1AdminRolesRoleForbidden) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin roles role forbidden response

func (*DeleteV1AdminRolesRoleForbidden) WithPayload

WithPayload adds the payload to the delete v1 admin roles role forbidden response

func (*DeleteV1AdminRolesRoleForbidden) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminRolesRoleHandler

type DeleteV1AdminRolesRoleHandler interface {
	Handle(DeleteV1AdminRolesRoleParams, *models.User) middleware.Responder
}

DeleteV1AdminRolesRoleHandler interface for that can handle valid delete v1 admin roles role params

type DeleteV1AdminRolesRoleHandlerFunc

type DeleteV1AdminRolesRoleHandlerFunc func(DeleteV1AdminRolesRoleParams, *models.User) middleware.Responder

DeleteV1AdminRolesRoleHandlerFunc turns a function with the right signature into a delete v1 admin roles role handler

func (DeleteV1AdminRolesRoleHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteV1AdminRolesRoleInternalServerError

type DeleteV1AdminRolesRoleInternalServerError struct {

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

DeleteV1AdminRolesRoleInternalServerError For unknown or unanticipated issues

swagger:response deleteV1AdminRolesRoleInternalServerError

func NewDeleteV1AdminRolesRoleInternalServerError

func NewDeleteV1AdminRolesRoleInternalServerError() *DeleteV1AdminRolesRoleInternalServerError

NewDeleteV1AdminRolesRoleInternalServerError creates DeleteV1AdminRolesRoleInternalServerError with default headers values

func (*DeleteV1AdminRolesRoleInternalServerError) SetPayload

func (o *DeleteV1AdminRolesRoleInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin roles role internal server error response

func (*DeleteV1AdminRolesRoleInternalServerError) WithPayload

WithPayload adds the payload to the delete v1 admin roles role internal server error response

func (*DeleteV1AdminRolesRoleInternalServerError) WriteResponse

WriteResponse to the client

type DeleteV1AdminRolesRoleNotFound

type DeleteV1AdminRolesRoleNotFound struct {

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

DeleteV1AdminRolesRoleNotFound The specified resource was not found

swagger:response deleteV1AdminRolesRoleNotFound

func NewDeleteV1AdminRolesRoleNotFound

func NewDeleteV1AdminRolesRoleNotFound() *DeleteV1AdminRolesRoleNotFound

NewDeleteV1AdminRolesRoleNotFound creates DeleteV1AdminRolesRoleNotFound with default headers values

func (*DeleteV1AdminRolesRoleNotFound) SetPayload

func (o *DeleteV1AdminRolesRoleNotFound) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin roles role not found response

func (*DeleteV1AdminRolesRoleNotFound) WithPayload

WithPayload adds the payload to the delete v1 admin roles role not found response

func (*DeleteV1AdminRolesRoleNotFound) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminRolesRoleOK

type DeleteV1AdminRolesRoleOK struct {

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

DeleteV1AdminRolesRoleOK Deleted

swagger:response deleteV1AdminRolesRoleOK

func NewDeleteV1AdminRolesRoleOK

func NewDeleteV1AdminRolesRoleOK() *DeleteV1AdminRolesRoleOK

NewDeleteV1AdminRolesRoleOK creates DeleteV1AdminRolesRoleOK with default headers values

func (*DeleteV1AdminRolesRoleOK) SetPayload

func (o *DeleteV1AdminRolesRoleOK) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin roles role o k response

func (*DeleteV1AdminRolesRoleOK) WithPayload

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

WithPayload adds the payload to the delete v1 admin roles role o k response

func (*DeleteV1AdminRolesRoleOK) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminRolesRoleParams

type DeleteV1AdminRolesRoleParams struct {

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

	/*Name of the Role
	  Required: true
	  In: path
	*/
	Role string
}

DeleteV1AdminRolesRoleParams contains all the bound params for the delete v1 admin roles role operation typically these are obtained from a http.Request

swagger:parameters DeleteV1AdminRolesRole

func NewDeleteV1AdminRolesRoleParams

func NewDeleteV1AdminRolesRoleParams() DeleteV1AdminRolesRoleParams

NewDeleteV1AdminRolesRoleParams creates a new DeleteV1AdminRolesRoleParams object no default values defined in spec.

func (*DeleteV1AdminRolesRoleParams) 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 NewDeleteV1AdminRolesRoleParams() beforehand.

type DeleteV1AdminRolesRoleURL

type DeleteV1AdminRolesRoleURL struct {
	Role string
	// contains filtered or unexported fields
}

DeleteV1AdminRolesRoleURL generates an URL for the delete v1 admin roles role operation

func (*DeleteV1AdminRolesRoleURL) Build

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

Build a url path and query string

func (*DeleteV1AdminRolesRoleURL) BuildFull

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

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

func (*DeleteV1AdminRolesRoleURL) Must

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

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

func (*DeleteV1AdminRolesRoleURL) SetBasePath

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

func (o *DeleteV1AdminRolesRoleURL) String() string

String returns the string representation of the path with query string

func (*DeleteV1AdminRolesRoleURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteV1AdminRolesRoleURL) 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 DeleteV1AdminRolesRoleUnauthorized

type DeleteV1AdminRolesRoleUnauthorized struct {

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

DeleteV1AdminRolesRoleUnauthorized Unauthorized

swagger:response deleteV1AdminRolesRoleUnauthorized

func NewDeleteV1AdminRolesRoleUnauthorized

func NewDeleteV1AdminRolesRoleUnauthorized() *DeleteV1AdminRolesRoleUnauthorized

NewDeleteV1AdminRolesRoleUnauthorized creates DeleteV1AdminRolesRoleUnauthorized with default headers values

func (*DeleteV1AdminRolesRoleUnauthorized) SetPayload

func (o *DeleteV1AdminRolesRoleUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin roles role unauthorized response

func (*DeleteV1AdminRolesRoleUnauthorized) WithPayload

WithPayload adds the payload to the delete v1 admin roles role unauthorized response

func (*DeleteV1AdminRolesRoleUnauthorized) WriteResponse

WriteResponse to the client

type DeleteV1AdminUsersUser

type DeleteV1AdminUsersUser struct {
	Context *middleware.Context
	Handler DeleteV1AdminUsersUserHandler
}

DeleteV1AdminUsersUser swagger:route DELETE /v1/admin/users/{user} deleteV1AdminUsersUser

Deletes the user

func NewDeleteV1AdminUsersUser

func NewDeleteV1AdminUsersUser(ctx *middleware.Context, handler DeleteV1AdminUsersUserHandler) *DeleteV1AdminUsersUser

NewDeleteV1AdminUsersUser creates a new http.Handler for the delete v1 admin users user operation

func (*DeleteV1AdminUsersUser) ServeHTTP

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

type DeleteV1AdminUsersUserForbidden

type DeleteV1AdminUsersUserForbidden struct {

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

DeleteV1AdminUsersUserForbidden forbidden

swagger:response deleteV1AdminUsersUserForbidden

func NewDeleteV1AdminUsersUserForbidden

func NewDeleteV1AdminUsersUserForbidden() *DeleteV1AdminUsersUserForbidden

NewDeleteV1AdminUsersUserForbidden creates DeleteV1AdminUsersUserForbidden with default headers values

func (*DeleteV1AdminUsersUserForbidden) SetPayload

func (o *DeleteV1AdminUsersUserForbidden) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin users user forbidden response

func (*DeleteV1AdminUsersUserForbidden) WithPayload

WithPayload adds the payload to the delete v1 admin users user forbidden response

func (*DeleteV1AdminUsersUserForbidden) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminUsersUserHandler

type DeleteV1AdminUsersUserHandler interface {
	Handle(DeleteV1AdminUsersUserParams, *models.User) middleware.Responder
}

DeleteV1AdminUsersUserHandler interface for that can handle valid delete v1 admin users user params

type DeleteV1AdminUsersUserHandlerFunc

type DeleteV1AdminUsersUserHandlerFunc func(DeleteV1AdminUsersUserParams, *models.User) middleware.Responder

DeleteV1AdminUsersUserHandlerFunc turns a function with the right signature into a delete v1 admin users user handler

func (DeleteV1AdminUsersUserHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteV1AdminUsersUserInternalServerError

type DeleteV1AdminUsersUserInternalServerError struct {

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

DeleteV1AdminUsersUserInternalServerError For unknown or unanticipated issues

swagger:response deleteV1AdminUsersUserInternalServerError

func NewDeleteV1AdminUsersUserInternalServerError

func NewDeleteV1AdminUsersUserInternalServerError() *DeleteV1AdminUsersUserInternalServerError

NewDeleteV1AdminUsersUserInternalServerError creates DeleteV1AdminUsersUserInternalServerError with default headers values

func (*DeleteV1AdminUsersUserInternalServerError) SetPayload

func (o *DeleteV1AdminUsersUserInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin users user internal server error response

func (*DeleteV1AdminUsersUserInternalServerError) WithPayload

WithPayload adds the payload to the delete v1 admin users user internal server error response

func (*DeleteV1AdminUsersUserInternalServerError) WriteResponse

WriteResponse to the client

type DeleteV1AdminUsersUserNotFound

type DeleteV1AdminUsersUserNotFound struct {

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

DeleteV1AdminUsersUserNotFound The specified resource was not found

swagger:response deleteV1AdminUsersUserNotFound

func NewDeleteV1AdminUsersUserNotFound

func NewDeleteV1AdminUsersUserNotFound() *DeleteV1AdminUsersUserNotFound

NewDeleteV1AdminUsersUserNotFound creates DeleteV1AdminUsersUserNotFound with default headers values

func (*DeleteV1AdminUsersUserNotFound) SetPayload

func (o *DeleteV1AdminUsersUserNotFound) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin users user not found response

func (*DeleteV1AdminUsersUserNotFound) WithPayload

WithPayload adds the payload to the delete v1 admin users user not found response

func (*DeleteV1AdminUsersUserNotFound) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminUsersUserOK

type DeleteV1AdminUsersUserOK struct {

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

DeleteV1AdminUsersUserOK Deleted

swagger:response deleteV1AdminUsersUserOK

func NewDeleteV1AdminUsersUserOK

func NewDeleteV1AdminUsersUserOK() *DeleteV1AdminUsersUserOK

NewDeleteV1AdminUsersUserOK creates DeleteV1AdminUsersUserOK with default headers values

func (*DeleteV1AdminUsersUserOK) SetPayload

func (o *DeleteV1AdminUsersUserOK) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin users user o k response

func (*DeleteV1AdminUsersUserOK) WithPayload

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

WithPayload adds the payload to the delete v1 admin users user o k response

func (*DeleteV1AdminUsersUserOK) WriteResponse

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

WriteResponse to the client

type DeleteV1AdminUsersUserParams

type DeleteV1AdminUsersUserParams struct {

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

	/*name of the user
	  Required: true
	  In: path
	*/
	User string
}

DeleteV1AdminUsersUserParams contains all the bound params for the delete v1 admin users user operation typically these are obtained from a http.Request

swagger:parameters DeleteV1AdminUsersUser

func NewDeleteV1AdminUsersUserParams

func NewDeleteV1AdminUsersUserParams() DeleteV1AdminUsersUserParams

NewDeleteV1AdminUsersUserParams creates a new DeleteV1AdminUsersUserParams object no default values defined in spec.

func (*DeleteV1AdminUsersUserParams) 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 NewDeleteV1AdminUsersUserParams() beforehand.

type DeleteV1AdminUsersUserURL

type DeleteV1AdminUsersUserURL struct {
	User string
	// contains filtered or unexported fields
}

DeleteV1AdminUsersUserURL generates an URL for the delete v1 admin users user operation

func (*DeleteV1AdminUsersUserURL) Build

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

Build a url path and query string

func (*DeleteV1AdminUsersUserURL) BuildFull

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

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

func (*DeleteV1AdminUsersUserURL) Must

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

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

func (*DeleteV1AdminUsersUserURL) SetBasePath

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

func (o *DeleteV1AdminUsersUserURL) String() string

String returns the string representation of the path with query string

func (*DeleteV1AdminUsersUserURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteV1AdminUsersUserURL) 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 DeleteV1AdminUsersUserUnauthorized

type DeleteV1AdminUsersUserUnauthorized struct {

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

DeleteV1AdminUsersUserUnauthorized Unauthorized

swagger:response deleteV1AdminUsersUserUnauthorized

func NewDeleteV1AdminUsersUserUnauthorized

func NewDeleteV1AdminUsersUserUnauthorized() *DeleteV1AdminUsersUserUnauthorized

NewDeleteV1AdminUsersUserUnauthorized creates DeleteV1AdminUsersUserUnauthorized with default headers values

func (*DeleteV1AdminUsersUserUnauthorized) SetPayload

func (o *DeleteV1AdminUsersUserUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the delete v1 admin users user unauthorized response

func (*DeleteV1AdminUsersUserUnauthorized) WithPayload

WithPayload adds the payload to the delete v1 admin users user unauthorized response

func (*DeleteV1AdminUsersUserUnauthorized) WriteResponse

WriteResponse to the client

type EdgexRestappAPI

type EdgexRestappAPI 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
	// TxtProducer registers a producer for the following mime types:
	//   - text/plain
	TxtProducer runtime.Producer

	// BasicAuthAuth registers a function that takes username and password and returns a principal
	// it performs authentication with basic auth
	BasicAuthAuth func(string, string) (*models.User, error)

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

	// DeleteV1AdminPoliciesHandler sets the operation handler for the delete v1 admin policies operation
	DeleteV1AdminPoliciesHandler DeleteV1AdminPoliciesHandler
	// DeleteV1AdminRolesRoleHandler sets the operation handler for the delete v1 admin roles role operation
	DeleteV1AdminRolesRoleHandler DeleteV1AdminRolesRoleHandler
	// DeleteV1AdminUsersUserHandler sets the operation handler for the delete v1 admin users user operation
	DeleteV1AdminUsersUserHandler DeleteV1AdminUsersUserHandler
	// GetV1AdminPoliciesHandler sets the operation handler for the get v1 admin policies operation
	GetV1AdminPoliciesHandler GetV1AdminPoliciesHandler
	// GetV1AdminRolesHandler sets the operation handler for the get v1 admin roles operation
	GetV1AdminRolesHandler GetV1AdminRolesHandler
	// GetV1AdminRolesRoleUsersHandler sets the operation handler for the get v1 admin roles role users operation
	GetV1AdminRolesRoleUsersHandler GetV1AdminRolesRoleUsersHandler
	// GetV1AdminUsersHandler sets the operation handler for the get v1 admin users operation
	GetV1AdminUsersHandler GetV1AdminUsersHandler
	// GetV1AdminUsersUserHandler sets the operation handler for the get v1 admin users user operation
	GetV1AdminUsersUserHandler GetV1AdminUsersUserHandler
	// GetV1DevicesHandler sets the operation handler for the get v1 devices operation
	GetV1DevicesHandler GetV1DevicesHandler
	// GetV1DevicesDeviceHandler sets the operation handler for the get v1 devices device operation
	GetV1DevicesDeviceHandler GetV1DevicesDeviceHandler
	// GetV1DevicesDeviceCommandsCommandHandler sets the operation handler for the get v1 devices device commands command operation
	GetV1DevicesDeviceCommandsCommandHandler GetV1DevicesDeviceCommandsCommandHandler
	// GetV1DevicesDeviceProfileHandler sets the operation handler for the get v1 devices device profile operation
	GetV1DevicesDeviceProfileHandler GetV1DevicesDeviceProfileHandler
	// GetV1DevicesDeviceResourcesResourceHandler sets the operation handler for the get v1 devices device resources resource operation
	GetV1DevicesDeviceResourcesResourceHandler GetV1DevicesDeviceResourcesResourceHandler
	// GetV1DevicesDeviceValuedescriptorsHandler sets the operation handler for the get v1 devices device valuedescriptors operation
	GetV1DevicesDeviceValuedescriptorsHandler GetV1DevicesDeviceValuedescriptorsHandler
	// GetV1PingHandler sets the operation handler for the get v1 ping operation
	GetV1PingHandler GetV1PingHandler
	// PatchV1AdminUsersUserHandler sets the operation handler for the patch v1 admin users user operation
	PatchV1AdminUsersUserHandler PatchV1AdminUsersUserHandler
	// PostV1AdminPoliciesHandler sets the operation handler for the post v1 admin policies operation
	PostV1AdminPoliciesHandler PostV1AdminPoliciesHandler
	// PostV1AdminRolesHandler sets the operation handler for the post v1 admin roles operation
	PostV1AdminRolesHandler PostV1AdminRolesHandler
	// PostV1AdminUsersHandler sets the operation handler for the post v1 admin users operation
	PostV1AdminUsersHandler PostV1AdminUsersHandler
	// PutV1DevicesDeviceCommandsCommandHandler sets the operation handler for the put v1 devices device commands command operation
	PutV1DevicesDeviceCommandsCommandHandler PutV1DevicesDeviceCommandsCommandHandler
	// 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
}

EdgexRestappAPI This is an RESTful application service for the EdgeX Foundry IoT-Gateway

func NewEdgexRestappAPI

func NewEdgexRestappAPI(spec *loads.Document) *EdgexRestappAPI

NewEdgexRestappAPI creates a new EdgexRestapp instance

func (*EdgexRestappAPI) AddMiddlewareFor

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

AddMiddlewareFor adds a http middleware to existing handler

func (*EdgexRestappAPI) AuthenticatorsFor

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

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*EdgexRestappAPI) Authorizer

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

Authorizer returns the registered authorizer

func (*EdgexRestappAPI) ConsumersFor

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

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

func (*EdgexRestappAPI) Context

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

Context returns the middleware context for the edgex restapp API

func (*EdgexRestappAPI) DefaultConsumes

func (o *EdgexRestappAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*EdgexRestappAPI) DefaultProduces

func (o *EdgexRestappAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*EdgexRestappAPI) Formats

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

Formats returns the registered string formats

func (*EdgexRestappAPI) HandlerFor

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

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

func (*EdgexRestappAPI) Init

func (o *EdgexRestappAPI) Init()

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

func (*EdgexRestappAPI) ProducersFor

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

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

func (*EdgexRestappAPI) RegisterConsumer

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

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

func (*EdgexRestappAPI) RegisterFormat

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

RegisterFormat registers a custom format validator

func (*EdgexRestappAPI) RegisterProducer

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

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

func (*EdgexRestappAPI) Serve

func (o *EdgexRestappAPI) 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 (*EdgexRestappAPI) ServeErrorFor

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

ServeErrorFor gets a error handler for a given operation id

func (*EdgexRestappAPI) SetDefaultConsumes

func (o *EdgexRestappAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*EdgexRestappAPI) SetDefaultProduces

func (o *EdgexRestappAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*EdgexRestappAPI) SetSpec

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

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

func (*EdgexRestappAPI) UseRedoc

func (o *EdgexRestappAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*EdgexRestappAPI) UseSwaggerUI

func (o *EdgexRestappAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*EdgexRestappAPI) Validate

func (o *EdgexRestappAPI) Validate() error

Validate validates the registrations in the EdgexRestappAPI

type GetV1AdminPolicies

type GetV1AdminPolicies struct {
	Context *middleware.Context
	Handler GetV1AdminPoliciesHandler
}

GetV1AdminPolicies swagger:route GET /v1/admin/policies getV1AdminPolicies

Find all policies

func NewGetV1AdminPolicies

func NewGetV1AdminPolicies(ctx *middleware.Context, handler GetV1AdminPoliciesHandler) *GetV1AdminPolicies

NewGetV1AdminPolicies creates a new http.Handler for the get v1 admin policies operation

func (*GetV1AdminPolicies) ServeHTTP

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

type GetV1AdminPoliciesForbidden

type GetV1AdminPoliciesForbidden struct {

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

GetV1AdminPoliciesForbidden forbidden

swagger:response getV1AdminPoliciesForbidden

func NewGetV1AdminPoliciesForbidden

func NewGetV1AdminPoliciesForbidden() *GetV1AdminPoliciesForbidden

NewGetV1AdminPoliciesForbidden creates GetV1AdminPoliciesForbidden with default headers values

func (*GetV1AdminPoliciesForbidden) SetPayload

func (o *GetV1AdminPoliciesForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin policies forbidden response

func (*GetV1AdminPoliciesForbidden) WithPayload

WithPayload adds the payload to the get v1 admin policies forbidden response

func (*GetV1AdminPoliciesForbidden) WriteResponse

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

WriteResponse to the client

type GetV1AdminPoliciesHandler

type GetV1AdminPoliciesHandler interface {
	Handle(GetV1AdminPoliciesParams, *models.User) middleware.Responder
}

GetV1AdminPoliciesHandler interface for that can handle valid get v1 admin policies params

type GetV1AdminPoliciesHandlerFunc

type GetV1AdminPoliciesHandlerFunc func(GetV1AdminPoliciesParams, *models.User) middleware.Responder

GetV1AdminPoliciesHandlerFunc turns a function with the right signature into a get v1 admin policies handler

func (GetV1AdminPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1AdminPoliciesInternalServerError

type GetV1AdminPoliciesInternalServerError struct {

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

GetV1AdminPoliciesInternalServerError For unknown or unanticipated issues

swagger:response getV1AdminPoliciesInternalServerError

func NewGetV1AdminPoliciesInternalServerError

func NewGetV1AdminPoliciesInternalServerError() *GetV1AdminPoliciesInternalServerError

NewGetV1AdminPoliciesInternalServerError creates GetV1AdminPoliciesInternalServerError with default headers values

func (*GetV1AdminPoliciesInternalServerError) SetPayload

func (o *GetV1AdminPoliciesInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin policies internal server error response

func (*GetV1AdminPoliciesInternalServerError) WithPayload

WithPayload adds the payload to the get v1 admin policies internal server error response

func (*GetV1AdminPoliciesInternalServerError) WriteResponse

WriteResponse to the client

type GetV1AdminPoliciesOK

type GetV1AdminPoliciesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Policy `json:"body,omitempty"`
}

GetV1AdminPoliciesOK Ok

swagger:response getV1AdminPoliciesOK

func NewGetV1AdminPoliciesOK

func NewGetV1AdminPoliciesOK() *GetV1AdminPoliciesOK

NewGetV1AdminPoliciesOK creates GetV1AdminPoliciesOK with default headers values

func (*GetV1AdminPoliciesOK) SetPayload

func (o *GetV1AdminPoliciesOK) SetPayload(payload []*models.Policy)

SetPayload sets the payload to the get v1 admin policies o k response

func (*GetV1AdminPoliciesOK) WithPayload

func (o *GetV1AdminPoliciesOK) WithPayload(payload []*models.Policy) *GetV1AdminPoliciesOK

WithPayload adds the payload to the get v1 admin policies o k response

func (*GetV1AdminPoliciesOK) WriteResponse

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

WriteResponse to the client

type GetV1AdminPoliciesParams

type GetV1AdminPoliciesParams struct {

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

	/*The numbers of items to return
	  Maximum: 500
	  Minimum: 1
	  In: query
	  Default: 50
	*/
	Limit *int64
	/*The number of items to skip before starting to collect the result set
	  Minimum: 0
	  In: query
	  Default: 0
	*/
	Offset *int64
}

GetV1AdminPoliciesParams contains all the bound params for the get v1 admin policies operation typically these are obtained from a http.Request

swagger:parameters GetV1AdminPolicies

func NewGetV1AdminPoliciesParams

func NewGetV1AdminPoliciesParams() GetV1AdminPoliciesParams

NewGetV1AdminPoliciesParams creates a new GetV1AdminPoliciesParams object with the default values initialized.

func (*GetV1AdminPoliciesParams) 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 NewGetV1AdminPoliciesParams() beforehand.

type GetV1AdminPoliciesURL

type GetV1AdminPoliciesURL struct {
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetV1AdminPoliciesURL generates an URL for the get v1 admin policies operation

func (*GetV1AdminPoliciesURL) Build

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

Build a url path and query string

func (*GetV1AdminPoliciesURL) BuildFull

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

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

func (*GetV1AdminPoliciesURL) Must

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

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

func (*GetV1AdminPoliciesURL) SetBasePath

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

func (o *GetV1AdminPoliciesURL) String() string

String returns the string representation of the path with query string

func (*GetV1AdminPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1AdminPoliciesURL) WithBasePath

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

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 GetV1AdminPoliciesUnauthorized

type GetV1AdminPoliciesUnauthorized struct {

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

GetV1AdminPoliciesUnauthorized Unauthorized

swagger:response getV1AdminPoliciesUnauthorized

func NewGetV1AdminPoliciesUnauthorized

func NewGetV1AdminPoliciesUnauthorized() *GetV1AdminPoliciesUnauthorized

NewGetV1AdminPoliciesUnauthorized creates GetV1AdminPoliciesUnauthorized with default headers values

func (*GetV1AdminPoliciesUnauthorized) SetPayload

func (o *GetV1AdminPoliciesUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin policies unauthorized response

func (*GetV1AdminPoliciesUnauthorized) WithPayload

WithPayload adds the payload to the get v1 admin policies unauthorized response

func (*GetV1AdminPoliciesUnauthorized) WriteResponse

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

WriteResponse to the client

type GetV1AdminRoles

type GetV1AdminRoles struct {
	Context *middleware.Context
	Handler GetV1AdminRolesHandler
}

GetV1AdminRoles swagger:route GET /v1/admin/roles getV1AdminRoles

Find all roles

func NewGetV1AdminRoles

func NewGetV1AdminRoles(ctx *middleware.Context, handler GetV1AdminRolesHandler) *GetV1AdminRoles

NewGetV1AdminRoles creates a new http.Handler for the get v1 admin roles operation

func (*GetV1AdminRoles) ServeHTTP

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

type GetV1AdminRolesForbidden

type GetV1AdminRolesForbidden struct {

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

GetV1AdminRolesForbidden forbidden

swagger:response getV1AdminRolesForbidden

func NewGetV1AdminRolesForbidden

func NewGetV1AdminRolesForbidden() *GetV1AdminRolesForbidden

NewGetV1AdminRolesForbidden creates GetV1AdminRolesForbidden with default headers values

func (*GetV1AdminRolesForbidden) SetPayload

func (o *GetV1AdminRolesForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin roles forbidden response

func (*GetV1AdminRolesForbidden) WithPayload

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

WithPayload adds the payload to the get v1 admin roles forbidden response

func (*GetV1AdminRolesForbidden) WriteResponse

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

WriteResponse to the client

type GetV1AdminRolesHandler

type GetV1AdminRolesHandler interface {
	Handle(GetV1AdminRolesParams, *models.User) middleware.Responder
}

GetV1AdminRolesHandler interface for that can handle valid get v1 admin roles params

type GetV1AdminRolesHandlerFunc

type GetV1AdminRolesHandlerFunc func(GetV1AdminRolesParams, *models.User) middleware.Responder

GetV1AdminRolesHandlerFunc turns a function with the right signature into a get v1 admin roles handler

func (GetV1AdminRolesHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1AdminRolesInternalServerError

type GetV1AdminRolesInternalServerError struct {

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

GetV1AdminRolesInternalServerError For unknown or unanticipated issues

swagger:response getV1AdminRolesInternalServerError

func NewGetV1AdminRolesInternalServerError

func NewGetV1AdminRolesInternalServerError() *GetV1AdminRolesInternalServerError

NewGetV1AdminRolesInternalServerError creates GetV1AdminRolesInternalServerError with default headers values

func (*GetV1AdminRolesInternalServerError) SetPayload

func (o *GetV1AdminRolesInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin roles internal server error response

func (*GetV1AdminRolesInternalServerError) WithPayload

WithPayload adds the payload to the get v1 admin roles internal server error response

func (*GetV1AdminRolesInternalServerError) WriteResponse

WriteResponse to the client

type GetV1AdminRolesOK

type GetV1AdminRolesOK struct {

	/*
	  In: Body
	*/
	Payload []models.Role `json:"body,omitempty"`
}

GetV1AdminRolesOK Ok

swagger:response getV1AdminRolesOK

func NewGetV1AdminRolesOK

func NewGetV1AdminRolesOK() *GetV1AdminRolesOK

NewGetV1AdminRolesOK creates GetV1AdminRolesOK with default headers values

func (*GetV1AdminRolesOK) SetPayload

func (o *GetV1AdminRolesOK) SetPayload(payload []models.Role)

SetPayload sets the payload to the get v1 admin roles o k response

func (*GetV1AdminRolesOK) WithPayload

func (o *GetV1AdminRolesOK) WithPayload(payload []models.Role) *GetV1AdminRolesOK

WithPayload adds the payload to the get v1 admin roles o k response

func (*GetV1AdminRolesOK) WriteResponse

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

WriteResponse to the client

type GetV1AdminRolesParams

type GetV1AdminRolesParams struct {

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

	/*The numbers of items to return
	  Maximum: 500
	  Minimum: 1
	  In: query
	  Default: 50
	*/
	Limit *int64
	/*The number of items to skip before starting to collect the result set
	  Minimum: 0
	  In: query
	  Default: 0
	*/
	Offset *int64
}

GetV1AdminRolesParams contains all the bound params for the get v1 admin roles operation typically these are obtained from a http.Request

swagger:parameters GetV1AdminRoles

func NewGetV1AdminRolesParams

func NewGetV1AdminRolesParams() GetV1AdminRolesParams

NewGetV1AdminRolesParams creates a new GetV1AdminRolesParams object with the default values initialized.

func (*GetV1AdminRolesParams) BindRequest

func (o *GetV1AdminRolesParams) 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 NewGetV1AdminRolesParams() beforehand.

type GetV1AdminRolesRoleUsers

type GetV1AdminRolesRoleUsers struct {
	Context *middleware.Context
	Handler GetV1AdminRolesRoleUsersHandler
}

GetV1AdminRolesRoleUsers swagger:route GET /v1/admin/roles/{role}/users getV1AdminRolesRoleUsers

Finds all Users associated with the role

func NewGetV1AdminRolesRoleUsers

func NewGetV1AdminRolesRoleUsers(ctx *middleware.Context, handler GetV1AdminRolesRoleUsersHandler) *GetV1AdminRolesRoleUsers

NewGetV1AdminRolesRoleUsers creates a new http.Handler for the get v1 admin roles role users operation

func (*GetV1AdminRolesRoleUsers) ServeHTTP

type GetV1AdminRolesRoleUsersForbidden

type GetV1AdminRolesRoleUsersForbidden struct {

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

GetV1AdminRolesRoleUsersForbidden forbidden

swagger:response getV1AdminRolesRoleUsersForbidden

func NewGetV1AdminRolesRoleUsersForbidden

func NewGetV1AdminRolesRoleUsersForbidden() *GetV1AdminRolesRoleUsersForbidden

NewGetV1AdminRolesRoleUsersForbidden creates GetV1AdminRolesRoleUsersForbidden with default headers values

func (*GetV1AdminRolesRoleUsersForbidden) SetPayload

func (o *GetV1AdminRolesRoleUsersForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin roles role users forbidden response

func (*GetV1AdminRolesRoleUsersForbidden) WithPayload

WithPayload adds the payload to the get v1 admin roles role users forbidden response

func (*GetV1AdminRolesRoleUsersForbidden) WriteResponse

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

WriteResponse to the client

type GetV1AdminRolesRoleUsersHandler

type GetV1AdminRolesRoleUsersHandler interface {
	Handle(GetV1AdminRolesRoleUsersParams, *models.User) middleware.Responder
}

GetV1AdminRolesRoleUsersHandler interface for that can handle valid get v1 admin roles role users params

type GetV1AdminRolesRoleUsersHandlerFunc

type GetV1AdminRolesRoleUsersHandlerFunc func(GetV1AdminRolesRoleUsersParams, *models.User) middleware.Responder

GetV1AdminRolesRoleUsersHandlerFunc turns a function with the right signature into a get v1 admin roles role users handler

func (GetV1AdminRolesRoleUsersHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1AdminRolesRoleUsersInternalServerError

type GetV1AdminRolesRoleUsersInternalServerError struct {

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

GetV1AdminRolesRoleUsersInternalServerError For unknown or unanticipated issues

swagger:response getV1AdminRolesRoleUsersInternalServerError

func NewGetV1AdminRolesRoleUsersInternalServerError

func NewGetV1AdminRolesRoleUsersInternalServerError() *GetV1AdminRolesRoleUsersInternalServerError

NewGetV1AdminRolesRoleUsersInternalServerError creates GetV1AdminRolesRoleUsersInternalServerError with default headers values

func (*GetV1AdminRolesRoleUsersInternalServerError) SetPayload

func (o *GetV1AdminRolesRoleUsersInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin roles role users internal server error response

func (*GetV1AdminRolesRoleUsersInternalServerError) WithPayload

WithPayload adds the payload to the get v1 admin roles role users internal server error response

func (*GetV1AdminRolesRoleUsersInternalServerError) WriteResponse

WriteResponse to the client

type GetV1AdminRolesRoleUsersNotFound

type GetV1AdminRolesRoleUsersNotFound struct {

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

GetV1AdminRolesRoleUsersNotFound The specified resource was not found

swagger:response getV1AdminRolesRoleUsersNotFound

func NewGetV1AdminRolesRoleUsersNotFound

func NewGetV1AdminRolesRoleUsersNotFound() *GetV1AdminRolesRoleUsersNotFound

NewGetV1AdminRolesRoleUsersNotFound creates GetV1AdminRolesRoleUsersNotFound with default headers values

func (*GetV1AdminRolesRoleUsersNotFound) SetPayload

func (o *GetV1AdminRolesRoleUsersNotFound) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin roles role users not found response

func (*GetV1AdminRolesRoleUsersNotFound) WithPayload

WithPayload adds the payload to the get v1 admin roles role users not found response

func (*GetV1AdminRolesRoleUsersNotFound) WriteResponse

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

WriteResponse to the client

type GetV1AdminRolesRoleUsersOK

type GetV1AdminRolesRoleUsersOK struct {

	/*
	  In: Body
	*/
	Payload []*models.User `json:"body,omitempty"`
}

GetV1AdminRolesRoleUsersOK ok

swagger:response getV1AdminRolesRoleUsersOK

func NewGetV1AdminRolesRoleUsersOK

func NewGetV1AdminRolesRoleUsersOK() *GetV1AdminRolesRoleUsersOK

NewGetV1AdminRolesRoleUsersOK creates GetV1AdminRolesRoleUsersOK with default headers values

func (*GetV1AdminRolesRoleUsersOK) SetPayload

func (o *GetV1AdminRolesRoleUsersOK) SetPayload(payload []*models.User)

SetPayload sets the payload to the get v1 admin roles role users o k response

func (*GetV1AdminRolesRoleUsersOK) WithPayload

WithPayload adds the payload to the get v1 admin roles role users o k response

func (*GetV1AdminRolesRoleUsersOK) WriteResponse

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

WriteResponse to the client

type GetV1AdminRolesRoleUsersParams

type GetV1AdminRolesRoleUsersParams struct {

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

	/*The numbers of items to return
	  Maximum: 500
	  Minimum: 1
	  In: query
	  Default: 50
	*/
	Limit *int64
	/*The number of items to skip before starting to collect the result set
	  Minimum: 0
	  In: query
	  Default: 0
	*/
	Offset *int64
	/*Name of the Role
	  Required: true
	  In: path
	*/
	Role string
}

GetV1AdminRolesRoleUsersParams contains all the bound params for the get v1 admin roles role users operation typically these are obtained from a http.Request

swagger:parameters GetV1AdminRolesRoleUsers

func NewGetV1AdminRolesRoleUsersParams

func NewGetV1AdminRolesRoleUsersParams() GetV1AdminRolesRoleUsersParams

NewGetV1AdminRolesRoleUsersParams creates a new GetV1AdminRolesRoleUsersParams object with the default values initialized.

func (*GetV1AdminRolesRoleUsersParams) 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 NewGetV1AdminRolesRoleUsersParams() beforehand.

type GetV1AdminRolesRoleUsersURL

type GetV1AdminRolesRoleUsersURL struct {
	Role string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetV1AdminRolesRoleUsersURL generates an URL for the get v1 admin roles role users operation

func (*GetV1AdminRolesRoleUsersURL) Build

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

Build a url path and query string

func (*GetV1AdminRolesRoleUsersURL) BuildFull

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

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

func (*GetV1AdminRolesRoleUsersURL) Must

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

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

func (*GetV1AdminRolesRoleUsersURL) SetBasePath

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

func (o *GetV1AdminRolesRoleUsersURL) String() string

String returns the string representation of the path with query string

func (*GetV1AdminRolesRoleUsersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1AdminRolesRoleUsersURL) 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 GetV1AdminRolesRoleUsersUnauthorized

type GetV1AdminRolesRoleUsersUnauthorized struct {

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

GetV1AdminRolesRoleUsersUnauthorized Unauthorized

swagger:response getV1AdminRolesRoleUsersUnauthorized

func NewGetV1AdminRolesRoleUsersUnauthorized

func NewGetV1AdminRolesRoleUsersUnauthorized() *GetV1AdminRolesRoleUsersUnauthorized

NewGetV1AdminRolesRoleUsersUnauthorized creates GetV1AdminRolesRoleUsersUnauthorized with default headers values

func (*GetV1AdminRolesRoleUsersUnauthorized) SetPayload

func (o *GetV1AdminRolesRoleUsersUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin roles role users unauthorized response

func (*GetV1AdminRolesRoleUsersUnauthorized) WithPayload

WithPayload adds the payload to the get v1 admin roles role users unauthorized response

func (*GetV1AdminRolesRoleUsersUnauthorized) WriteResponse

WriteResponse to the client

type GetV1AdminRolesURL

type GetV1AdminRolesURL struct {
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetV1AdminRolesURL generates an URL for the get v1 admin roles operation

func (*GetV1AdminRolesURL) Build

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

Build a url path and query string

func (*GetV1AdminRolesURL) BuildFull

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

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

func (*GetV1AdminRolesURL) Must

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

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

func (*GetV1AdminRolesURL) SetBasePath

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

func (o *GetV1AdminRolesURL) String() string

String returns the string representation of the path with query string

func (*GetV1AdminRolesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1AdminRolesURL) WithBasePath

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

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 GetV1AdminRolesUnauthorized

type GetV1AdminRolesUnauthorized struct {

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

GetV1AdminRolesUnauthorized Unauthorized

swagger:response getV1AdminRolesUnauthorized

func NewGetV1AdminRolesUnauthorized

func NewGetV1AdminRolesUnauthorized() *GetV1AdminRolesUnauthorized

NewGetV1AdminRolesUnauthorized creates GetV1AdminRolesUnauthorized with default headers values

func (*GetV1AdminRolesUnauthorized) SetPayload

func (o *GetV1AdminRolesUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin roles unauthorized response

func (*GetV1AdminRolesUnauthorized) WithPayload

WithPayload adds the payload to the get v1 admin roles unauthorized response

func (*GetV1AdminRolesUnauthorized) WriteResponse

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

WriteResponse to the client

type GetV1AdminUsers

type GetV1AdminUsers struct {
	Context *middleware.Context
	Handler GetV1AdminUsersHandler
}

GetV1AdminUsers swagger:route GET /v1/admin/users getV1AdminUsers

Find all Users

func NewGetV1AdminUsers

func NewGetV1AdminUsers(ctx *middleware.Context, handler GetV1AdminUsersHandler) *GetV1AdminUsers

NewGetV1AdminUsers creates a new http.Handler for the get v1 admin users operation

func (*GetV1AdminUsers) ServeHTTP

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

type GetV1AdminUsersForbidden

type GetV1AdminUsersForbidden struct {

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

GetV1AdminUsersForbidden forbidden

swagger:response getV1AdminUsersForbidden

func NewGetV1AdminUsersForbidden

func NewGetV1AdminUsersForbidden() *GetV1AdminUsersForbidden

NewGetV1AdminUsersForbidden creates GetV1AdminUsersForbidden with default headers values

func (*GetV1AdminUsersForbidden) SetPayload

func (o *GetV1AdminUsersForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin users forbidden response

func (*GetV1AdminUsersForbidden) WithPayload

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

WithPayload adds the payload to the get v1 admin users forbidden response

func (*GetV1AdminUsersForbidden) WriteResponse

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

WriteResponse to the client

type GetV1AdminUsersHandler

type GetV1AdminUsersHandler interface {
	Handle(GetV1AdminUsersParams, *models.User) middleware.Responder
}

GetV1AdminUsersHandler interface for that can handle valid get v1 admin users params

type GetV1AdminUsersHandlerFunc

type GetV1AdminUsersHandlerFunc func(GetV1AdminUsersParams, *models.User) middleware.Responder

GetV1AdminUsersHandlerFunc turns a function with the right signature into a get v1 admin users handler

func (GetV1AdminUsersHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1AdminUsersInternalServerError

type GetV1AdminUsersInternalServerError struct {

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

GetV1AdminUsersInternalServerError For unknown or unanticipated issues

swagger:response getV1AdminUsersInternalServerError

func NewGetV1AdminUsersInternalServerError

func NewGetV1AdminUsersInternalServerError() *GetV1AdminUsersInternalServerError

NewGetV1AdminUsersInternalServerError creates GetV1AdminUsersInternalServerError with default headers values

func (*GetV1AdminUsersInternalServerError) SetPayload

func (o *GetV1AdminUsersInternalServerError) SetPayload(payload string)

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

func (*GetV1AdminUsersInternalServerError) WithPayload

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

func (*GetV1AdminUsersInternalServerError) WriteResponse

WriteResponse to the client

type GetV1AdminUsersOK

type GetV1AdminUsersOK struct {

	/*
	  In: Body
	*/
	Payload []*models.User `json:"body,omitempty"`
}

GetV1AdminUsersOK Ok

swagger:response getV1AdminUsersOK

func NewGetV1AdminUsersOK

func NewGetV1AdminUsersOK() *GetV1AdminUsersOK

NewGetV1AdminUsersOK creates GetV1AdminUsersOK with default headers values

func (*GetV1AdminUsersOK) SetPayload

func (o *GetV1AdminUsersOK) SetPayload(payload []*models.User)

SetPayload sets the payload to the get v1 admin users o k response

func (*GetV1AdminUsersOK) WithPayload

func (o *GetV1AdminUsersOK) WithPayload(payload []*models.User) *GetV1AdminUsersOK

WithPayload adds the payload to the get v1 admin users o k response

func (*GetV1AdminUsersOK) WriteResponse

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

WriteResponse to the client

type GetV1AdminUsersParams

type GetV1AdminUsersParams struct {

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

	/*The numbers of items to return
	  Maximum: 500
	  Minimum: 1
	  In: query
	  Default: 50
	*/
	Limit *int64
	/*The number of items to skip before starting to collect the result set
	  Minimum: 0
	  In: query
	  Default: 0
	*/
	Offset *int64
}

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

swagger:parameters GetV1AdminUsers

func NewGetV1AdminUsersParams

func NewGetV1AdminUsersParams() GetV1AdminUsersParams

NewGetV1AdminUsersParams creates a new GetV1AdminUsersParams object with the default values initialized.

func (*GetV1AdminUsersParams) BindRequest

func (o *GetV1AdminUsersParams) 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 NewGetV1AdminUsersParams() beforehand.

type GetV1AdminUsersURL

type GetV1AdminUsersURL struct {
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetV1AdminUsersURL generates an URL for the get v1 admin users operation

func (*GetV1AdminUsersURL) Build

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

Build a url path and query string

func (*GetV1AdminUsersURL) BuildFull

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

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

func (*GetV1AdminUsersURL) Must

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

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

func (*GetV1AdminUsersURL) SetBasePath

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

func (o *GetV1AdminUsersURL) String() string

String returns the string representation of the path with query string

func (*GetV1AdminUsersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1AdminUsersURL) WithBasePath

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

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 GetV1AdminUsersUnauthorized

type GetV1AdminUsersUnauthorized struct {

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

GetV1AdminUsersUnauthorized Unauthorized

swagger:response getV1AdminUsersUnauthorized

func NewGetV1AdminUsersUnauthorized

func NewGetV1AdminUsersUnauthorized() *GetV1AdminUsersUnauthorized

NewGetV1AdminUsersUnauthorized creates GetV1AdminUsersUnauthorized with default headers values

func (*GetV1AdminUsersUnauthorized) SetPayload

func (o *GetV1AdminUsersUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin users unauthorized response

func (*GetV1AdminUsersUnauthorized) WithPayload

WithPayload adds the payload to the get v1 admin users unauthorized response

func (*GetV1AdminUsersUnauthorized) WriteResponse

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

WriteResponse to the client

type GetV1AdminUsersUser

type GetV1AdminUsersUser struct {
	Context *middleware.Context
	Handler GetV1AdminUsersUserHandler
}

GetV1AdminUsersUser swagger:route GET /v1/admin/users/{user} getV1AdminUsersUser

Find user by name

func NewGetV1AdminUsersUser

func NewGetV1AdminUsersUser(ctx *middleware.Context, handler GetV1AdminUsersUserHandler) *GetV1AdminUsersUser

NewGetV1AdminUsersUser creates a new http.Handler for the get v1 admin users user operation

func (*GetV1AdminUsersUser) ServeHTTP

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

type GetV1AdminUsersUserForbidden

type GetV1AdminUsersUserForbidden struct {

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

GetV1AdminUsersUserForbidden forbidden

swagger:response getV1AdminUsersUserForbidden

func NewGetV1AdminUsersUserForbidden

func NewGetV1AdminUsersUserForbidden() *GetV1AdminUsersUserForbidden

NewGetV1AdminUsersUserForbidden creates GetV1AdminUsersUserForbidden with default headers values

func (*GetV1AdminUsersUserForbidden) SetPayload

func (o *GetV1AdminUsersUserForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin users user forbidden response

func (*GetV1AdminUsersUserForbidden) WithPayload

WithPayload adds the payload to the get v1 admin users user forbidden response

func (*GetV1AdminUsersUserForbidden) WriteResponse

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

WriteResponse to the client

type GetV1AdminUsersUserHandler

type GetV1AdminUsersUserHandler interface {
	Handle(GetV1AdminUsersUserParams, *models.User) middleware.Responder
}

GetV1AdminUsersUserHandler interface for that can handle valid get v1 admin users user params

type GetV1AdminUsersUserHandlerFunc

type GetV1AdminUsersUserHandlerFunc func(GetV1AdminUsersUserParams, *models.User) middleware.Responder

GetV1AdminUsersUserHandlerFunc turns a function with the right signature into a get v1 admin users user handler

func (GetV1AdminUsersUserHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1AdminUsersUserInternalServerError

type GetV1AdminUsersUserInternalServerError struct {

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

GetV1AdminUsersUserInternalServerError For unknown or unanticipated issues

swagger:response getV1AdminUsersUserInternalServerError

func NewGetV1AdminUsersUserInternalServerError

func NewGetV1AdminUsersUserInternalServerError() *GetV1AdminUsersUserInternalServerError

NewGetV1AdminUsersUserInternalServerError creates GetV1AdminUsersUserInternalServerError with default headers values

func (*GetV1AdminUsersUserInternalServerError) SetPayload

func (o *GetV1AdminUsersUserInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin users user internal server error response

func (*GetV1AdminUsersUserInternalServerError) WithPayload

WithPayload adds the payload to the get v1 admin users user internal server error response

func (*GetV1AdminUsersUserInternalServerError) WriteResponse

WriteResponse to the client

type GetV1AdminUsersUserNotFound

type GetV1AdminUsersUserNotFound struct {

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

GetV1AdminUsersUserNotFound The specified resource was not found

swagger:response getV1AdminUsersUserNotFound

func NewGetV1AdminUsersUserNotFound

func NewGetV1AdminUsersUserNotFound() *GetV1AdminUsersUserNotFound

NewGetV1AdminUsersUserNotFound creates GetV1AdminUsersUserNotFound with default headers values

func (*GetV1AdminUsersUserNotFound) SetPayload

func (o *GetV1AdminUsersUserNotFound) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin users user not found response

func (*GetV1AdminUsersUserNotFound) WithPayload

WithPayload adds the payload to the get v1 admin users user not found response

func (*GetV1AdminUsersUserNotFound) WriteResponse

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

WriteResponse to the client

type GetV1AdminUsersUserOK

type GetV1AdminUsersUserOK struct {

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

GetV1AdminUsersUserOK Successful

swagger:response getV1AdminUsersUserOK

func NewGetV1AdminUsersUserOK

func NewGetV1AdminUsersUserOK() *GetV1AdminUsersUserOK

NewGetV1AdminUsersUserOK creates GetV1AdminUsersUserOK with default headers values

func (*GetV1AdminUsersUserOK) SetPayload

func (o *GetV1AdminUsersUserOK) SetPayload(payload *models.User)

SetPayload sets the payload to the get v1 admin users user o k response

func (*GetV1AdminUsersUserOK) WithPayload

func (o *GetV1AdminUsersUserOK) WithPayload(payload *models.User) *GetV1AdminUsersUserOK

WithPayload adds the payload to the get v1 admin users user o k response

func (*GetV1AdminUsersUserOK) WriteResponse

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

WriteResponse to the client

type GetV1AdminUsersUserParams

type GetV1AdminUsersUserParams struct {

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

	/*name of the user
	  Required: true
	  In: path
	*/
	User string
}

GetV1AdminUsersUserParams contains all the bound params for the get v1 admin users user operation typically these are obtained from a http.Request

swagger:parameters GetV1AdminUsersUser

func NewGetV1AdminUsersUserParams

func NewGetV1AdminUsersUserParams() GetV1AdminUsersUserParams

NewGetV1AdminUsersUserParams creates a new GetV1AdminUsersUserParams object no default values defined in spec.

func (*GetV1AdminUsersUserParams) 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 NewGetV1AdminUsersUserParams() beforehand.

type GetV1AdminUsersUserURL

type GetV1AdminUsersUserURL struct {
	User string
	// contains filtered or unexported fields
}

GetV1AdminUsersUserURL generates an URL for the get v1 admin users user operation

func (*GetV1AdminUsersUserURL) Build

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

Build a url path and query string

func (*GetV1AdminUsersUserURL) BuildFull

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

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

func (*GetV1AdminUsersUserURL) Must

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

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

func (*GetV1AdminUsersUserURL) SetBasePath

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

func (o *GetV1AdminUsersUserURL) String() string

String returns the string representation of the path with query string

func (*GetV1AdminUsersUserURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1AdminUsersUserURL) 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 GetV1AdminUsersUserUnauthorized

type GetV1AdminUsersUserUnauthorized struct {

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

GetV1AdminUsersUserUnauthorized Unauthorized

swagger:response getV1AdminUsersUserUnauthorized

func NewGetV1AdminUsersUserUnauthorized

func NewGetV1AdminUsersUserUnauthorized() *GetV1AdminUsersUserUnauthorized

NewGetV1AdminUsersUserUnauthorized creates GetV1AdminUsersUserUnauthorized with default headers values

func (*GetV1AdminUsersUserUnauthorized) SetPayload

func (o *GetV1AdminUsersUserUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 admin users user unauthorized response

func (*GetV1AdminUsersUserUnauthorized) WithPayload

WithPayload adds the payload to the get v1 admin users user unauthorized response

func (*GetV1AdminUsersUserUnauthorized) WriteResponse

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

WriteResponse to the client

type GetV1Devices

type GetV1Devices struct {
	Context *middleware.Context
	Handler GetV1DevicesHandler
}

GetV1Devices swagger:route GET /v1/devices getV1Devices

Find all devices

func NewGetV1Devices

func NewGetV1Devices(ctx *middleware.Context, handler GetV1DevicesHandler) *GetV1Devices

NewGetV1Devices creates a new http.Handler for the get v1 devices operation

func (*GetV1Devices) ServeHTTP

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

type GetV1DevicesDevice

type GetV1DevicesDevice struct {
	Context *middleware.Context
	Handler GetV1DevicesDeviceHandler
}

GetV1DevicesDevice swagger:route GET /v1/devices/{device} getV1DevicesDevice

Find device by name

func NewGetV1DevicesDevice

func NewGetV1DevicesDevice(ctx *middleware.Context, handler GetV1DevicesDeviceHandler) *GetV1DevicesDevice

NewGetV1DevicesDevice creates a new http.Handler for the get v1 devices device operation

func (*GetV1DevicesDevice) ServeHTTP

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

type GetV1DevicesDeviceCommandsCommand

type GetV1DevicesDeviceCommandsCommand struct {
	Context *middleware.Context
	Handler GetV1DevicesDeviceCommandsCommandHandler
}

GetV1DevicesDeviceCommandsCommand swagger:route GET /v1/devices/{device}/commands/{command} getV1DevicesDeviceCommandsCommand

Issue the GET command referenced by the command name to the device/sensor.

func NewGetV1DevicesDeviceCommandsCommand

func NewGetV1DevicesDeviceCommandsCommand(ctx *middleware.Context, handler GetV1DevicesDeviceCommandsCommandHandler) *GetV1DevicesDeviceCommandsCommand

NewGetV1DevicesDeviceCommandsCommand creates a new http.Handler for the get v1 devices device commands command operation

func (*GetV1DevicesDeviceCommandsCommand) ServeHTTP

type GetV1DevicesDeviceCommandsCommandForbidden

type GetV1DevicesDeviceCommandsCommandForbidden struct {

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

GetV1DevicesDeviceCommandsCommandForbidden forbidden

swagger:response getV1DevicesDeviceCommandsCommandForbidden

func NewGetV1DevicesDeviceCommandsCommandForbidden

func NewGetV1DevicesDeviceCommandsCommandForbidden() *GetV1DevicesDeviceCommandsCommandForbidden

NewGetV1DevicesDeviceCommandsCommandForbidden creates GetV1DevicesDeviceCommandsCommandForbidden with default headers values

func (*GetV1DevicesDeviceCommandsCommandForbidden) SetPayload

func (o *GetV1DevicesDeviceCommandsCommandForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device commands command forbidden response

func (*GetV1DevicesDeviceCommandsCommandForbidden) WithPayload

WithPayload adds the payload to the get v1 devices device commands command forbidden response

func (*GetV1DevicesDeviceCommandsCommandForbidden) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceCommandsCommandHandler

type GetV1DevicesDeviceCommandsCommandHandler interface {
	Handle(GetV1DevicesDeviceCommandsCommandParams, *models.User) middleware.Responder
}

GetV1DevicesDeviceCommandsCommandHandler interface for that can handle valid get v1 devices device commands command params

type GetV1DevicesDeviceCommandsCommandHandlerFunc

type GetV1DevicesDeviceCommandsCommandHandlerFunc func(GetV1DevicesDeviceCommandsCommandParams, *models.User) middleware.Responder

GetV1DevicesDeviceCommandsCommandHandlerFunc turns a function with the right signature into a get v1 devices device commands command handler

func (GetV1DevicesDeviceCommandsCommandHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1DevicesDeviceCommandsCommandInternalServerError

type GetV1DevicesDeviceCommandsCommandInternalServerError struct {

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

GetV1DevicesDeviceCommandsCommandInternalServerError For unknown or unanticipated issues

swagger:response getV1DevicesDeviceCommandsCommandInternalServerError

func NewGetV1DevicesDeviceCommandsCommandInternalServerError

func NewGetV1DevicesDeviceCommandsCommandInternalServerError() *GetV1DevicesDeviceCommandsCommandInternalServerError

NewGetV1DevicesDeviceCommandsCommandInternalServerError creates GetV1DevicesDeviceCommandsCommandInternalServerError with default headers values

func (*GetV1DevicesDeviceCommandsCommandInternalServerError) SetPayload

SetPayload sets the payload to the get v1 devices device commands command internal server error response

func (*GetV1DevicesDeviceCommandsCommandInternalServerError) WithPayload

WithPayload adds the payload to the get v1 devices device commands command internal server error response

func (*GetV1DevicesDeviceCommandsCommandInternalServerError) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceCommandsCommandNotFound

type GetV1DevicesDeviceCommandsCommandNotFound struct {

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

GetV1DevicesDeviceCommandsCommandNotFound The specified resource was not found

swagger:response getV1DevicesDeviceCommandsCommandNotFound

func NewGetV1DevicesDeviceCommandsCommandNotFound

func NewGetV1DevicesDeviceCommandsCommandNotFound() *GetV1DevicesDeviceCommandsCommandNotFound

NewGetV1DevicesDeviceCommandsCommandNotFound creates GetV1DevicesDeviceCommandsCommandNotFound with default headers values

func (*GetV1DevicesDeviceCommandsCommandNotFound) SetPayload

func (o *GetV1DevicesDeviceCommandsCommandNotFound) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device commands command not found response

func (*GetV1DevicesDeviceCommandsCommandNotFound) WithPayload

WithPayload adds the payload to the get v1 devices device commands command not found response

func (*GetV1DevicesDeviceCommandsCommandNotFound) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceCommandsCommandOK

type GetV1DevicesDeviceCommandsCommandOK struct {

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

GetV1DevicesDeviceCommandsCommandOK Ok

swagger:response getV1DevicesDeviceCommandsCommandOK

func NewGetV1DevicesDeviceCommandsCommandOK

func NewGetV1DevicesDeviceCommandsCommandOK() *GetV1DevicesDeviceCommandsCommandOK

NewGetV1DevicesDeviceCommandsCommandOK creates GetV1DevicesDeviceCommandsCommandOK with default headers values

func (*GetV1DevicesDeviceCommandsCommandOK) SetPayload

SetPayload sets the payload to the get v1 devices device commands command o k response

func (*GetV1DevicesDeviceCommandsCommandOK) WithPayload

WithPayload adds the payload to the get v1 devices device commands command o k response

func (*GetV1DevicesDeviceCommandsCommandOK) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceCommandsCommandParams

type GetV1DevicesDeviceCommandsCommandParams struct {

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

	/*Name of the command
	  Required: true
	  In: path
	*/
	Command string
	/*The name of the device
	  Required: true
	  In: path
	*/
	Device string
}

GetV1DevicesDeviceCommandsCommandParams contains all the bound params for the get v1 devices device commands command operation typically these are obtained from a http.Request

swagger:parameters GetV1DevicesDeviceCommandsCommand

func NewGetV1DevicesDeviceCommandsCommandParams

func NewGetV1DevicesDeviceCommandsCommandParams() GetV1DevicesDeviceCommandsCommandParams

NewGetV1DevicesDeviceCommandsCommandParams creates a new GetV1DevicesDeviceCommandsCommandParams object no default values defined in spec.

func (*GetV1DevicesDeviceCommandsCommandParams) 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 NewGetV1DevicesDeviceCommandsCommandParams() beforehand.

type GetV1DevicesDeviceCommandsCommandURL

type GetV1DevicesDeviceCommandsCommandURL struct {
	Command string
	Device  string
	// contains filtered or unexported fields
}

GetV1DevicesDeviceCommandsCommandURL generates an URL for the get v1 devices device commands command operation

func (*GetV1DevicesDeviceCommandsCommandURL) Build

Build a url path and query string

func (*GetV1DevicesDeviceCommandsCommandURL) BuildFull

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

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

func (*GetV1DevicesDeviceCommandsCommandURL) Must

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

func (*GetV1DevicesDeviceCommandsCommandURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetV1DevicesDeviceCommandsCommandURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1DevicesDeviceCommandsCommandURL) 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 GetV1DevicesDeviceCommandsCommandUnauthorized

type GetV1DevicesDeviceCommandsCommandUnauthorized struct {

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

GetV1DevicesDeviceCommandsCommandUnauthorized Unauthorized

swagger:response getV1DevicesDeviceCommandsCommandUnauthorized

func NewGetV1DevicesDeviceCommandsCommandUnauthorized

func NewGetV1DevicesDeviceCommandsCommandUnauthorized() *GetV1DevicesDeviceCommandsCommandUnauthorized

NewGetV1DevicesDeviceCommandsCommandUnauthorized creates GetV1DevicesDeviceCommandsCommandUnauthorized with default headers values

func (*GetV1DevicesDeviceCommandsCommandUnauthorized) SetPayload

SetPayload sets the payload to the get v1 devices device commands command unauthorized response

func (*GetV1DevicesDeviceCommandsCommandUnauthorized) WithPayload

WithPayload adds the payload to the get v1 devices device commands command unauthorized response

func (*GetV1DevicesDeviceCommandsCommandUnauthorized) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceForbidden

type GetV1DevicesDeviceForbidden struct {

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

GetV1DevicesDeviceForbidden forbidden

swagger:response getV1DevicesDeviceForbidden

func NewGetV1DevicesDeviceForbidden

func NewGetV1DevicesDeviceForbidden() *GetV1DevicesDeviceForbidden

NewGetV1DevicesDeviceForbidden creates GetV1DevicesDeviceForbidden with default headers values

func (*GetV1DevicesDeviceForbidden) SetPayload

func (o *GetV1DevicesDeviceForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device forbidden response

func (*GetV1DevicesDeviceForbidden) WithPayload

WithPayload adds the payload to the get v1 devices device forbidden response

func (*GetV1DevicesDeviceForbidden) WriteResponse

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

WriteResponse to the client

type GetV1DevicesDeviceHandler

type GetV1DevicesDeviceHandler interface {
	Handle(GetV1DevicesDeviceParams, *models.User) middleware.Responder
}

GetV1DevicesDeviceHandler interface for that can handle valid get v1 devices device params

type GetV1DevicesDeviceHandlerFunc

type GetV1DevicesDeviceHandlerFunc func(GetV1DevicesDeviceParams, *models.User) middleware.Responder

GetV1DevicesDeviceHandlerFunc turns a function with the right signature into a get v1 devices device handler

func (GetV1DevicesDeviceHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1DevicesDeviceInternalServerError

type GetV1DevicesDeviceInternalServerError struct {

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

GetV1DevicesDeviceInternalServerError For unknown or unanticipated issues

swagger:response getV1DevicesDeviceInternalServerError

func NewGetV1DevicesDeviceInternalServerError

func NewGetV1DevicesDeviceInternalServerError() *GetV1DevicesDeviceInternalServerError

NewGetV1DevicesDeviceInternalServerError creates GetV1DevicesDeviceInternalServerError with default headers values

func (*GetV1DevicesDeviceInternalServerError) SetPayload

func (o *GetV1DevicesDeviceInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device internal server error response

func (*GetV1DevicesDeviceInternalServerError) WithPayload

WithPayload adds the payload to the get v1 devices device internal server error response

func (*GetV1DevicesDeviceInternalServerError) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceNotFound

type GetV1DevicesDeviceNotFound struct {

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

GetV1DevicesDeviceNotFound The specified resource was not found

swagger:response getV1DevicesDeviceNotFound

func NewGetV1DevicesDeviceNotFound

func NewGetV1DevicesDeviceNotFound() *GetV1DevicesDeviceNotFound

NewGetV1DevicesDeviceNotFound creates GetV1DevicesDeviceNotFound with default headers values

func (*GetV1DevicesDeviceNotFound) SetPayload

func (o *GetV1DevicesDeviceNotFound) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device not found response

func (*GetV1DevicesDeviceNotFound) WithPayload

WithPayload adds the payload to the get v1 devices device not found response

func (*GetV1DevicesDeviceNotFound) WriteResponse

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

WriteResponse to the client

type GetV1DevicesDeviceOK

type GetV1DevicesDeviceOK struct {

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

GetV1DevicesDeviceOK Ok

swagger:response getV1DevicesDeviceOK

func NewGetV1DevicesDeviceOK

func NewGetV1DevicesDeviceOK() *GetV1DevicesDeviceOK

NewGetV1DevicesDeviceOK creates GetV1DevicesDeviceOK with default headers values

func (*GetV1DevicesDeviceOK) SetPayload

func (o *GetV1DevicesDeviceOK) SetPayload(payload *models.Device)

SetPayload sets the payload to the get v1 devices device o k response

func (*GetV1DevicesDeviceOK) WithPayload

func (o *GetV1DevicesDeviceOK) WithPayload(payload *models.Device) *GetV1DevicesDeviceOK

WithPayload adds the payload to the get v1 devices device o k response

func (*GetV1DevicesDeviceOK) WriteResponse

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

WriteResponse to the client

type GetV1DevicesDeviceParams

type GetV1DevicesDeviceParams struct {

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

	/*The name of the device
	  Required: true
	  In: path
	*/
	Device string
}

GetV1DevicesDeviceParams contains all the bound params for the get v1 devices device operation typically these are obtained from a http.Request

swagger:parameters GetV1DevicesDevice

func NewGetV1DevicesDeviceParams

func NewGetV1DevicesDeviceParams() GetV1DevicesDeviceParams

NewGetV1DevicesDeviceParams creates a new GetV1DevicesDeviceParams object no default values defined in spec.

func (*GetV1DevicesDeviceParams) 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 NewGetV1DevicesDeviceParams() beforehand.

type GetV1DevicesDeviceProfile

type GetV1DevicesDeviceProfile struct {
	Context *middleware.Context
	Handler GetV1DevicesDeviceProfileHandler
}

GetV1DevicesDeviceProfile swagger:route GET /v1/devices/{device}/profile getV1DevicesDeviceProfile

Get deviceprofile of device

func NewGetV1DevicesDeviceProfile

func NewGetV1DevicesDeviceProfile(ctx *middleware.Context, handler GetV1DevicesDeviceProfileHandler) *GetV1DevicesDeviceProfile

NewGetV1DevicesDeviceProfile creates a new http.Handler for the get v1 devices device profile operation

func (*GetV1DevicesDeviceProfile) ServeHTTP

type GetV1DevicesDeviceProfileForbidden

type GetV1DevicesDeviceProfileForbidden struct {

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

GetV1DevicesDeviceProfileForbidden forbidden

swagger:response getV1DevicesDeviceProfileForbidden

func NewGetV1DevicesDeviceProfileForbidden

func NewGetV1DevicesDeviceProfileForbidden() *GetV1DevicesDeviceProfileForbidden

NewGetV1DevicesDeviceProfileForbidden creates GetV1DevicesDeviceProfileForbidden with default headers values

func (*GetV1DevicesDeviceProfileForbidden) SetPayload

func (o *GetV1DevicesDeviceProfileForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device profile forbidden response

func (*GetV1DevicesDeviceProfileForbidden) WithPayload

WithPayload adds the payload to the get v1 devices device profile forbidden response

func (*GetV1DevicesDeviceProfileForbidden) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceProfileHandler

type GetV1DevicesDeviceProfileHandler interface {
	Handle(GetV1DevicesDeviceProfileParams, *models.User) middleware.Responder
}

GetV1DevicesDeviceProfileHandler interface for that can handle valid get v1 devices device profile params

type GetV1DevicesDeviceProfileHandlerFunc

type GetV1DevicesDeviceProfileHandlerFunc func(GetV1DevicesDeviceProfileParams, *models.User) middleware.Responder

GetV1DevicesDeviceProfileHandlerFunc turns a function with the right signature into a get v1 devices device profile handler

func (GetV1DevicesDeviceProfileHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1DevicesDeviceProfileInternalServerError

type GetV1DevicesDeviceProfileInternalServerError struct {

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

GetV1DevicesDeviceProfileInternalServerError For unknown or unanticipated issues

swagger:response getV1DevicesDeviceProfileInternalServerError

func NewGetV1DevicesDeviceProfileInternalServerError

func NewGetV1DevicesDeviceProfileInternalServerError() *GetV1DevicesDeviceProfileInternalServerError

NewGetV1DevicesDeviceProfileInternalServerError creates GetV1DevicesDeviceProfileInternalServerError with default headers values

func (*GetV1DevicesDeviceProfileInternalServerError) SetPayload

SetPayload sets the payload to the get v1 devices device profile internal server error response

func (*GetV1DevicesDeviceProfileInternalServerError) WithPayload

WithPayload adds the payload to the get v1 devices device profile internal server error response

func (*GetV1DevicesDeviceProfileInternalServerError) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceProfileNotFound

type GetV1DevicesDeviceProfileNotFound struct {

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

GetV1DevicesDeviceProfileNotFound The specified resource was not found

swagger:response getV1DevicesDeviceProfileNotFound

func NewGetV1DevicesDeviceProfileNotFound

func NewGetV1DevicesDeviceProfileNotFound() *GetV1DevicesDeviceProfileNotFound

NewGetV1DevicesDeviceProfileNotFound creates GetV1DevicesDeviceProfileNotFound with default headers values

func (*GetV1DevicesDeviceProfileNotFound) SetPayload

func (o *GetV1DevicesDeviceProfileNotFound) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device profile not found response

func (*GetV1DevicesDeviceProfileNotFound) WithPayload

WithPayload adds the payload to the get v1 devices device profile not found response

func (*GetV1DevicesDeviceProfileNotFound) WriteResponse

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

WriteResponse to the client

type GetV1DevicesDeviceProfileOK

type GetV1DevicesDeviceProfileOK struct {

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

GetV1DevicesDeviceProfileOK Ok

swagger:response getV1DevicesDeviceProfileOK

func NewGetV1DevicesDeviceProfileOK

func NewGetV1DevicesDeviceProfileOK() *GetV1DevicesDeviceProfileOK

NewGetV1DevicesDeviceProfileOK creates GetV1DevicesDeviceProfileOK with default headers values

func (*GetV1DevicesDeviceProfileOK) SetPayload

func (o *GetV1DevicesDeviceProfileOK) SetPayload(payload *models.DeviceProfile)

SetPayload sets the payload to the get v1 devices device profile o k response

func (*GetV1DevicesDeviceProfileOK) WithPayload

WithPayload adds the payload to the get v1 devices device profile o k response

func (*GetV1DevicesDeviceProfileOK) WriteResponse

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

WriteResponse to the client

type GetV1DevicesDeviceProfileParams

type GetV1DevicesDeviceProfileParams struct {

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

	/*The name of the device
	  Required: true
	  In: path
	*/
	Device string
}

GetV1DevicesDeviceProfileParams contains all the bound params for the get v1 devices device profile operation typically these are obtained from a http.Request

swagger:parameters GetV1DevicesDeviceProfile

func NewGetV1DevicesDeviceProfileParams

func NewGetV1DevicesDeviceProfileParams() GetV1DevicesDeviceProfileParams

NewGetV1DevicesDeviceProfileParams creates a new GetV1DevicesDeviceProfileParams object no default values defined in spec.

func (*GetV1DevicesDeviceProfileParams) 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 NewGetV1DevicesDeviceProfileParams() beforehand.

type GetV1DevicesDeviceProfileURL

type GetV1DevicesDeviceProfileURL struct {
	Device string
	// contains filtered or unexported fields
}

GetV1DevicesDeviceProfileURL generates an URL for the get v1 devices device profile operation

func (*GetV1DevicesDeviceProfileURL) Build

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

Build a url path and query string

func (*GetV1DevicesDeviceProfileURL) BuildFull

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

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

func (*GetV1DevicesDeviceProfileURL) Must

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

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

func (*GetV1DevicesDeviceProfileURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetV1DevicesDeviceProfileURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1DevicesDeviceProfileURL) 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 GetV1DevicesDeviceProfileUnauthorized

type GetV1DevicesDeviceProfileUnauthorized struct {

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

GetV1DevicesDeviceProfileUnauthorized Unauthorized

swagger:response getV1DevicesDeviceProfileUnauthorized

func NewGetV1DevicesDeviceProfileUnauthorized

func NewGetV1DevicesDeviceProfileUnauthorized() *GetV1DevicesDeviceProfileUnauthorized

NewGetV1DevicesDeviceProfileUnauthorized creates GetV1DevicesDeviceProfileUnauthorized with default headers values

func (*GetV1DevicesDeviceProfileUnauthorized) SetPayload

func (o *GetV1DevicesDeviceProfileUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device profile unauthorized response

func (*GetV1DevicesDeviceProfileUnauthorized) WithPayload

WithPayload adds the payload to the get v1 devices device profile unauthorized response

func (*GetV1DevicesDeviceProfileUnauthorized) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceResourcesResource

type GetV1DevicesDeviceResourcesResource struct {
	Context *middleware.Context
	Handler GetV1DevicesDeviceResourcesResourceHandler
}

GetV1DevicesDeviceResourcesResource swagger:route GET /v1/devices/{device}/resources/{resource} getV1DevicesDeviceResourcesResource

Get the last resource reading from the device

func NewGetV1DevicesDeviceResourcesResource

func NewGetV1DevicesDeviceResourcesResource(ctx *middleware.Context, handler GetV1DevicesDeviceResourcesResourceHandler) *GetV1DevicesDeviceResourcesResource

NewGetV1DevicesDeviceResourcesResource creates a new http.Handler for the get v1 devices device resources resource operation

func (*GetV1DevicesDeviceResourcesResource) ServeHTTP

type GetV1DevicesDeviceResourcesResourceForbidden

type GetV1DevicesDeviceResourcesResourceForbidden struct {

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

GetV1DevicesDeviceResourcesResourceForbidden forbidden

swagger:response getV1DevicesDeviceResourcesResourceForbidden

func NewGetV1DevicesDeviceResourcesResourceForbidden

func NewGetV1DevicesDeviceResourcesResourceForbidden() *GetV1DevicesDeviceResourcesResourceForbidden

NewGetV1DevicesDeviceResourcesResourceForbidden creates GetV1DevicesDeviceResourcesResourceForbidden with default headers values

func (*GetV1DevicesDeviceResourcesResourceForbidden) SetPayload

SetPayload sets the payload to the get v1 devices device resources resource forbidden response

func (*GetV1DevicesDeviceResourcesResourceForbidden) WithPayload

WithPayload adds the payload to the get v1 devices device resources resource forbidden response

func (*GetV1DevicesDeviceResourcesResourceForbidden) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceResourcesResourceHandler

type GetV1DevicesDeviceResourcesResourceHandler interface {
	Handle(GetV1DevicesDeviceResourcesResourceParams, *models.User) middleware.Responder
}

GetV1DevicesDeviceResourcesResourceHandler interface for that can handle valid get v1 devices device resources resource params

type GetV1DevicesDeviceResourcesResourceHandlerFunc

type GetV1DevicesDeviceResourcesResourceHandlerFunc func(GetV1DevicesDeviceResourcesResourceParams, *models.User) middleware.Responder

GetV1DevicesDeviceResourcesResourceHandlerFunc turns a function with the right signature into a get v1 devices device resources resource handler

func (GetV1DevicesDeviceResourcesResourceHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1DevicesDeviceResourcesResourceInternalServerError

type GetV1DevicesDeviceResourcesResourceInternalServerError struct {

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

GetV1DevicesDeviceResourcesResourceInternalServerError For unknown or unanticipated issues

swagger:response getV1DevicesDeviceResourcesResourceInternalServerError

func NewGetV1DevicesDeviceResourcesResourceInternalServerError

func NewGetV1DevicesDeviceResourcesResourceInternalServerError() *GetV1DevicesDeviceResourcesResourceInternalServerError

NewGetV1DevicesDeviceResourcesResourceInternalServerError creates GetV1DevicesDeviceResourcesResourceInternalServerError with default headers values

func (*GetV1DevicesDeviceResourcesResourceInternalServerError) SetPayload

SetPayload sets the payload to the get v1 devices device resources resource internal server error response

func (*GetV1DevicesDeviceResourcesResourceInternalServerError) WithPayload

WithPayload adds the payload to the get v1 devices device resources resource internal server error response

func (*GetV1DevicesDeviceResourcesResourceInternalServerError) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceResourcesResourceNotFound

type GetV1DevicesDeviceResourcesResourceNotFound struct {

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

GetV1DevicesDeviceResourcesResourceNotFound The specified resource was not found

swagger:response getV1DevicesDeviceResourcesResourceNotFound

func NewGetV1DevicesDeviceResourcesResourceNotFound

func NewGetV1DevicesDeviceResourcesResourceNotFound() *GetV1DevicesDeviceResourcesResourceNotFound

NewGetV1DevicesDeviceResourcesResourceNotFound creates GetV1DevicesDeviceResourcesResourceNotFound with default headers values

func (*GetV1DevicesDeviceResourcesResourceNotFound) SetPayload

func (o *GetV1DevicesDeviceResourcesResourceNotFound) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device resources resource not found response

func (*GetV1DevicesDeviceResourcesResourceNotFound) WithPayload

WithPayload adds the payload to the get v1 devices device resources resource not found response

func (*GetV1DevicesDeviceResourcesResourceNotFound) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceResourcesResourceOK

type GetV1DevicesDeviceResourcesResourceOK struct {

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

GetV1DevicesDeviceResourcesResourceOK Ok

swagger:response getV1DevicesDeviceResourcesResourceOK

func NewGetV1DevicesDeviceResourcesResourceOK

func NewGetV1DevicesDeviceResourcesResourceOK() *GetV1DevicesDeviceResourcesResourceOK

NewGetV1DevicesDeviceResourcesResourceOK creates GetV1DevicesDeviceResourcesResourceOK with default headers values

func (*GetV1DevicesDeviceResourcesResourceOK) SetPayload

func (o *GetV1DevicesDeviceResourcesResourceOK) SetPayload(payload *models.Reading)

SetPayload sets the payload to the get v1 devices device resources resource o k response

func (*GetV1DevicesDeviceResourcesResourceOK) WithPayload

WithPayload adds the payload to the get v1 devices device resources resource o k response

func (*GetV1DevicesDeviceResourcesResourceOK) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceResourcesResourceParams

type GetV1DevicesDeviceResourcesResourceParams struct {

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

	/*The name of the device
	  Required: true
	  In: path
	*/
	Device string
	/*Name of the resource
	  Required: true
	  In: path
	*/
	Resource string
}

GetV1DevicesDeviceResourcesResourceParams contains all the bound params for the get v1 devices device resources resource operation typically these are obtained from a http.Request

swagger:parameters GetV1DevicesDeviceResourcesResource

func NewGetV1DevicesDeviceResourcesResourceParams

func NewGetV1DevicesDeviceResourcesResourceParams() GetV1DevicesDeviceResourcesResourceParams

NewGetV1DevicesDeviceResourcesResourceParams creates a new GetV1DevicesDeviceResourcesResourceParams object no default values defined in spec.

func (*GetV1DevicesDeviceResourcesResourceParams) 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 NewGetV1DevicesDeviceResourcesResourceParams() beforehand.

type GetV1DevicesDeviceResourcesResourceURL

type GetV1DevicesDeviceResourcesResourceURL struct {
	Device   string
	Resource string
	// contains filtered or unexported fields
}

GetV1DevicesDeviceResourcesResourceURL generates an URL for the get v1 devices device resources resource operation

func (*GetV1DevicesDeviceResourcesResourceURL) Build

Build a url path and query string

func (*GetV1DevicesDeviceResourcesResourceURL) BuildFull

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

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

func (*GetV1DevicesDeviceResourcesResourceURL) Must

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

func (*GetV1DevicesDeviceResourcesResourceURL) SetBasePath

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 (*GetV1DevicesDeviceResourcesResourceURL) String

String returns the string representation of the path with query string

func (*GetV1DevicesDeviceResourcesResourceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1DevicesDeviceResourcesResourceURL) 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 GetV1DevicesDeviceResourcesResourceUnauthorized

type GetV1DevicesDeviceResourcesResourceUnauthorized struct {

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

GetV1DevicesDeviceResourcesResourceUnauthorized Unauthorized

swagger:response getV1DevicesDeviceResourcesResourceUnauthorized

func NewGetV1DevicesDeviceResourcesResourceUnauthorized

func NewGetV1DevicesDeviceResourcesResourceUnauthorized() *GetV1DevicesDeviceResourcesResourceUnauthorized

NewGetV1DevicesDeviceResourcesResourceUnauthorized creates GetV1DevicesDeviceResourcesResourceUnauthorized with default headers values

func (*GetV1DevicesDeviceResourcesResourceUnauthorized) SetPayload

SetPayload sets the payload to the get v1 devices device resources resource unauthorized response

func (*GetV1DevicesDeviceResourcesResourceUnauthorized) WithPayload

WithPayload adds the payload to the get v1 devices device resources resource unauthorized response

func (*GetV1DevicesDeviceResourcesResourceUnauthorized) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceURL

type GetV1DevicesDeviceURL struct {
	Device string
	// contains filtered or unexported fields
}

GetV1DevicesDeviceURL generates an URL for the get v1 devices device operation

func (*GetV1DevicesDeviceURL) Build

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

Build a url path and query string

func (*GetV1DevicesDeviceURL) BuildFull

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

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

func (*GetV1DevicesDeviceURL) Must

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

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

func (*GetV1DevicesDeviceURL) SetBasePath

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

func (o *GetV1DevicesDeviceURL) String() string

String returns the string representation of the path with query string

func (*GetV1DevicesDeviceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1DevicesDeviceURL) WithBasePath

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

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 GetV1DevicesDeviceUnauthorized

type GetV1DevicesDeviceUnauthorized struct {

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

GetV1DevicesDeviceUnauthorized Unauthorized

swagger:response getV1DevicesDeviceUnauthorized

func NewGetV1DevicesDeviceUnauthorized

func NewGetV1DevicesDeviceUnauthorized() *GetV1DevicesDeviceUnauthorized

NewGetV1DevicesDeviceUnauthorized creates GetV1DevicesDeviceUnauthorized with default headers values

func (*GetV1DevicesDeviceUnauthorized) SetPayload

func (o *GetV1DevicesDeviceUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device unauthorized response

func (*GetV1DevicesDeviceUnauthorized) WithPayload

WithPayload adds the payload to the get v1 devices device unauthorized response

func (*GetV1DevicesDeviceUnauthorized) WriteResponse

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

WriteResponse to the client

type GetV1DevicesDeviceValuedescriptors

type GetV1DevicesDeviceValuedescriptors struct {
	Context *middleware.Context
	Handler GetV1DevicesDeviceValuedescriptorsHandler
}

GetV1DevicesDeviceValuedescriptors swagger:route GET /v1/devices/{device}/valuedescriptors getV1DevicesDeviceValuedescriptors

Get all valuedescriptors

func NewGetV1DevicesDeviceValuedescriptors

func NewGetV1DevicesDeviceValuedescriptors(ctx *middleware.Context, handler GetV1DevicesDeviceValuedescriptorsHandler) *GetV1DevicesDeviceValuedescriptors

NewGetV1DevicesDeviceValuedescriptors creates a new http.Handler for the get v1 devices device valuedescriptors operation

func (*GetV1DevicesDeviceValuedescriptors) ServeHTTP

type GetV1DevicesDeviceValuedescriptorsForbidden

type GetV1DevicesDeviceValuedescriptorsForbidden struct {

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

GetV1DevicesDeviceValuedescriptorsForbidden forbidden

swagger:response getV1DevicesDeviceValuedescriptorsForbidden

func NewGetV1DevicesDeviceValuedescriptorsForbidden

func NewGetV1DevicesDeviceValuedescriptorsForbidden() *GetV1DevicesDeviceValuedescriptorsForbidden

NewGetV1DevicesDeviceValuedescriptorsForbidden creates GetV1DevicesDeviceValuedescriptorsForbidden with default headers values

func (*GetV1DevicesDeviceValuedescriptorsForbidden) SetPayload

func (o *GetV1DevicesDeviceValuedescriptorsForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device valuedescriptors forbidden response

func (*GetV1DevicesDeviceValuedescriptorsForbidden) WithPayload

WithPayload adds the payload to the get v1 devices device valuedescriptors forbidden response

func (*GetV1DevicesDeviceValuedescriptorsForbidden) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceValuedescriptorsHandler

type GetV1DevicesDeviceValuedescriptorsHandler interface {
	Handle(GetV1DevicesDeviceValuedescriptorsParams, *models.User) middleware.Responder
}

GetV1DevicesDeviceValuedescriptorsHandler interface for that can handle valid get v1 devices device valuedescriptors params

type GetV1DevicesDeviceValuedescriptorsHandlerFunc

type GetV1DevicesDeviceValuedescriptorsHandlerFunc func(GetV1DevicesDeviceValuedescriptorsParams, *models.User) middleware.Responder

GetV1DevicesDeviceValuedescriptorsHandlerFunc turns a function with the right signature into a get v1 devices device valuedescriptors handler

func (GetV1DevicesDeviceValuedescriptorsHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1DevicesDeviceValuedescriptorsInternalServerError

type GetV1DevicesDeviceValuedescriptorsInternalServerError struct {

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

GetV1DevicesDeviceValuedescriptorsInternalServerError For unknown or unanticipated issues

swagger:response getV1DevicesDeviceValuedescriptorsInternalServerError

func NewGetV1DevicesDeviceValuedescriptorsInternalServerError

func NewGetV1DevicesDeviceValuedescriptorsInternalServerError() *GetV1DevicesDeviceValuedescriptorsInternalServerError

NewGetV1DevicesDeviceValuedescriptorsInternalServerError creates GetV1DevicesDeviceValuedescriptorsInternalServerError with default headers values

func (*GetV1DevicesDeviceValuedescriptorsInternalServerError) SetPayload

SetPayload sets the payload to the get v1 devices device valuedescriptors internal server error response

func (*GetV1DevicesDeviceValuedescriptorsInternalServerError) WithPayload

WithPayload adds the payload to the get v1 devices device valuedescriptors internal server error response

func (*GetV1DevicesDeviceValuedescriptorsInternalServerError) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceValuedescriptorsNotFound

type GetV1DevicesDeviceValuedescriptorsNotFound struct {

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

GetV1DevicesDeviceValuedescriptorsNotFound The specified resource was not found

swagger:response getV1DevicesDeviceValuedescriptorsNotFound

func NewGetV1DevicesDeviceValuedescriptorsNotFound

func NewGetV1DevicesDeviceValuedescriptorsNotFound() *GetV1DevicesDeviceValuedescriptorsNotFound

NewGetV1DevicesDeviceValuedescriptorsNotFound creates GetV1DevicesDeviceValuedescriptorsNotFound with default headers values

func (*GetV1DevicesDeviceValuedescriptorsNotFound) SetPayload

func (o *GetV1DevicesDeviceValuedescriptorsNotFound) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices device valuedescriptors not found response

func (*GetV1DevicesDeviceValuedescriptorsNotFound) WithPayload

WithPayload adds the payload to the get v1 devices device valuedescriptors not found response

func (*GetV1DevicesDeviceValuedescriptorsNotFound) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceValuedescriptorsOK

type GetV1DevicesDeviceValuedescriptorsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.ValueDescriptor `json:"body,omitempty"`
}

GetV1DevicesDeviceValuedescriptorsOK Ok

swagger:response getV1DevicesDeviceValuedescriptorsOK

func NewGetV1DevicesDeviceValuedescriptorsOK

func NewGetV1DevicesDeviceValuedescriptorsOK() *GetV1DevicesDeviceValuedescriptorsOK

NewGetV1DevicesDeviceValuedescriptorsOK creates GetV1DevicesDeviceValuedescriptorsOK with default headers values

func (*GetV1DevicesDeviceValuedescriptorsOK) SetPayload

SetPayload sets the payload to the get v1 devices device valuedescriptors o k response

func (*GetV1DevicesDeviceValuedescriptorsOK) WithPayload

WithPayload adds the payload to the get v1 devices device valuedescriptors o k response

func (*GetV1DevicesDeviceValuedescriptorsOK) WriteResponse

WriteResponse to the client

type GetV1DevicesDeviceValuedescriptorsParams

type GetV1DevicesDeviceValuedescriptorsParams struct {

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

	/*The name of the device
	  Required: true
	  In: path
	*/
	Device string
}

GetV1DevicesDeviceValuedescriptorsParams contains all the bound params for the get v1 devices device valuedescriptors operation typically these are obtained from a http.Request

swagger:parameters GetV1DevicesDeviceValuedescriptors

func NewGetV1DevicesDeviceValuedescriptorsParams

func NewGetV1DevicesDeviceValuedescriptorsParams() GetV1DevicesDeviceValuedescriptorsParams

NewGetV1DevicesDeviceValuedescriptorsParams creates a new GetV1DevicesDeviceValuedescriptorsParams object no default values defined in spec.

func (*GetV1DevicesDeviceValuedescriptorsParams) 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 NewGetV1DevicesDeviceValuedescriptorsParams() beforehand.

type GetV1DevicesDeviceValuedescriptorsURL

type GetV1DevicesDeviceValuedescriptorsURL struct {
	Device string
	// contains filtered or unexported fields
}

GetV1DevicesDeviceValuedescriptorsURL generates an URL for the get v1 devices device valuedescriptors operation

func (*GetV1DevicesDeviceValuedescriptorsURL) Build

Build a url path and query string

func (*GetV1DevicesDeviceValuedescriptorsURL) BuildFull

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

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

func (*GetV1DevicesDeviceValuedescriptorsURL) Must

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

func (*GetV1DevicesDeviceValuedescriptorsURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetV1DevicesDeviceValuedescriptorsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1DevicesDeviceValuedescriptorsURL) 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 GetV1DevicesDeviceValuedescriptorsUnauthorized

type GetV1DevicesDeviceValuedescriptorsUnauthorized struct {

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

GetV1DevicesDeviceValuedescriptorsUnauthorized Unauthorized

swagger:response getV1DevicesDeviceValuedescriptorsUnauthorized

func NewGetV1DevicesDeviceValuedescriptorsUnauthorized

func NewGetV1DevicesDeviceValuedescriptorsUnauthorized() *GetV1DevicesDeviceValuedescriptorsUnauthorized

NewGetV1DevicesDeviceValuedescriptorsUnauthorized creates GetV1DevicesDeviceValuedescriptorsUnauthorized with default headers values

func (*GetV1DevicesDeviceValuedescriptorsUnauthorized) SetPayload

SetPayload sets the payload to the get v1 devices device valuedescriptors unauthorized response

func (*GetV1DevicesDeviceValuedescriptorsUnauthorized) WithPayload

WithPayload adds the payload to the get v1 devices device valuedescriptors unauthorized response

func (*GetV1DevicesDeviceValuedescriptorsUnauthorized) WriteResponse

WriteResponse to the client

type GetV1DevicesForbidden

type GetV1DevicesForbidden struct {

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

GetV1DevicesForbidden forbidden

swagger:response getV1DevicesForbidden

func NewGetV1DevicesForbidden

func NewGetV1DevicesForbidden() *GetV1DevicesForbidden

NewGetV1DevicesForbidden creates GetV1DevicesForbidden with default headers values

func (*GetV1DevicesForbidden) SetPayload

func (o *GetV1DevicesForbidden) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices forbidden response

func (*GetV1DevicesForbidden) WithPayload

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

WithPayload adds the payload to the get v1 devices forbidden response

func (*GetV1DevicesForbidden) WriteResponse

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

WriteResponse to the client

type GetV1DevicesHandler

type GetV1DevicesHandler interface {
	Handle(GetV1DevicesParams, *models.User) middleware.Responder
}

GetV1DevicesHandler interface for that can handle valid get v1 devices params

type GetV1DevicesHandlerFunc

type GetV1DevicesHandlerFunc func(GetV1DevicesParams, *models.User) middleware.Responder

GetV1DevicesHandlerFunc turns a function with the right signature into a get v1 devices handler

func (GetV1DevicesHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1DevicesInternalServerError

type GetV1DevicesInternalServerError struct {

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

GetV1DevicesInternalServerError For unknown or unanticipated issues

swagger:response getV1DevicesInternalServerError

func NewGetV1DevicesInternalServerError

func NewGetV1DevicesInternalServerError() *GetV1DevicesInternalServerError

NewGetV1DevicesInternalServerError creates GetV1DevicesInternalServerError with default headers values

func (*GetV1DevicesInternalServerError) SetPayload

func (o *GetV1DevicesInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices internal server error response

func (*GetV1DevicesInternalServerError) WithPayload

WithPayload adds the payload to the get v1 devices internal server error response

func (*GetV1DevicesInternalServerError) WriteResponse

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

WriteResponse to the client

type GetV1DevicesOK

type GetV1DevicesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Device `json:"body,omitempty"`
}

GetV1DevicesOK Ok

swagger:response getV1DevicesOK

func NewGetV1DevicesOK

func NewGetV1DevicesOK() *GetV1DevicesOK

NewGetV1DevicesOK creates GetV1DevicesOK with default headers values

func (*GetV1DevicesOK) SetPayload

func (o *GetV1DevicesOK) SetPayload(payload []*models.Device)

SetPayload sets the payload to the get v1 devices o k response

func (*GetV1DevicesOK) WithPayload

func (o *GetV1DevicesOK) WithPayload(payload []*models.Device) *GetV1DevicesOK

WithPayload adds the payload to the get v1 devices o k response

func (*GetV1DevicesOK) WriteResponse

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

WriteResponse to the client

type GetV1DevicesParams

type GetV1DevicesParams struct {

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

	/*The numbers of items to return
	  Maximum: 500
	  Minimum: 1
	  In: query
	  Default: 50
	*/
	Limit *int64
	/*The number of items to skip before starting to collect the result set
	  Minimum: 0
	  In: query
	  Default: 0
	*/
	Offset *int64
}

GetV1DevicesParams contains all the bound params for the get v1 devices operation typically these are obtained from a http.Request

swagger:parameters GetV1Devices

func NewGetV1DevicesParams

func NewGetV1DevicesParams() GetV1DevicesParams

NewGetV1DevicesParams creates a new GetV1DevicesParams object with the default values initialized.

func (*GetV1DevicesParams) BindRequest

func (o *GetV1DevicesParams) 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 NewGetV1DevicesParams() beforehand.

type GetV1DevicesURL

type GetV1DevicesURL struct {
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetV1DevicesURL generates an URL for the get v1 devices operation

func (*GetV1DevicesURL) Build

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

Build a url path and query string

func (*GetV1DevicesURL) BuildFull

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

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

func (*GetV1DevicesURL) Must

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

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

func (*GetV1DevicesURL) SetBasePath

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

func (o *GetV1DevicesURL) String() string

String returns the string representation of the path with query string

func (*GetV1DevicesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1DevicesURL) WithBasePath

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

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 GetV1DevicesUnauthorized

type GetV1DevicesUnauthorized struct {

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

GetV1DevicesUnauthorized Unauthorized

swagger:response getV1DevicesUnauthorized

func NewGetV1DevicesUnauthorized

func NewGetV1DevicesUnauthorized() *GetV1DevicesUnauthorized

NewGetV1DevicesUnauthorized creates GetV1DevicesUnauthorized with default headers values

func (*GetV1DevicesUnauthorized) SetPayload

func (o *GetV1DevicesUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the get v1 devices unauthorized response

func (*GetV1DevicesUnauthorized) WithPayload

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

WithPayload adds the payload to the get v1 devices unauthorized response

func (*GetV1DevicesUnauthorized) WriteResponse

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

WriteResponse to the client

type GetV1Ping

type GetV1Ping struct {
	Context *middleware.Context
	Handler GetV1PingHandler
}

GetV1Ping swagger:route GET /v1/ping getV1Ping

Health check

Test service providing an indication that the service is available.

func NewGetV1Ping

func NewGetV1Ping(ctx *middleware.Context, handler GetV1PingHandler) *GetV1Ping

NewGetV1Ping creates a new http.Handler for the get v1 ping operation

func (*GetV1Ping) ServeHTTP

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

type GetV1PingHandler

type GetV1PingHandler interface {
	Handle(GetV1PingParams) middleware.Responder
}

GetV1PingHandler interface for that can handle valid get v1 ping params

type GetV1PingHandlerFunc

type GetV1PingHandlerFunc func(GetV1PingParams) middleware.Responder

GetV1PingHandlerFunc turns a function with the right signature into a get v1 ping handler

func (GetV1PingHandlerFunc) Handle

Handle executing the request and returning a response

type GetV1PingOK

type GetV1PingOK struct {

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

GetV1PingOK Return value of "pong"

swagger:response getV1PingOK

func NewGetV1PingOK

func NewGetV1PingOK() *GetV1PingOK

NewGetV1PingOK creates GetV1PingOK with default headers values

func (*GetV1PingOK) SetPayload

func (o *GetV1PingOK) SetPayload(payload string)

SetPayload sets the payload to the get v1 ping o k response

func (*GetV1PingOK) WithPayload

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

WithPayload adds the payload to the get v1 ping o k response

func (*GetV1PingOK) WriteResponse

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

WriteResponse to the client

type GetV1PingParams

type GetV1PingParams struct {

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

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

swagger:parameters GetV1Ping

func NewGetV1PingParams

func NewGetV1PingParams() GetV1PingParams

NewGetV1PingParams creates a new GetV1PingParams object no default values defined in spec.

func (*GetV1PingParams) BindRequest

func (o *GetV1PingParams) 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 NewGetV1PingParams() beforehand.

type GetV1PingServiceUnavailable

type GetV1PingServiceUnavailable struct {

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

GetV1PingServiceUnavailable For unknown or unanticipated issues

swagger:response getV1PingServiceUnavailable

func NewGetV1PingServiceUnavailable

func NewGetV1PingServiceUnavailable() *GetV1PingServiceUnavailable

NewGetV1PingServiceUnavailable creates GetV1PingServiceUnavailable with default headers values

func (*GetV1PingServiceUnavailable) SetPayload

func (o *GetV1PingServiceUnavailable) SetPayload(payload string)

SetPayload sets the payload to the get v1 ping service unavailable response

func (*GetV1PingServiceUnavailable) WithPayload

WithPayload adds the payload to the get v1 ping service unavailable response

func (*GetV1PingServiceUnavailable) WriteResponse

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

WriteResponse to the client

type GetV1PingURL

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

GetV1PingURL generates an URL for the get v1 ping operation

func (*GetV1PingURL) Build

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

Build a url path and query string

func (*GetV1PingURL) BuildFull

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

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

func (*GetV1PingURL) Must

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

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

func (*GetV1PingURL) SetBasePath

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

func (o *GetV1PingURL) String() string

String returns the string representation of the path with query string

func (*GetV1PingURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetV1PingURL) WithBasePath

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

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 PatchV1AdminUsersUser

type PatchV1AdminUsersUser struct {
	Context *middleware.Context
	Handler PatchV1AdminUsersUserHandler
}

PatchV1AdminUsersUser swagger:route PATCH /v1/admin/users/{user} patchV1AdminUsersUser

Updates the user

func NewPatchV1AdminUsersUser

func NewPatchV1AdminUsersUser(ctx *middleware.Context, handler PatchV1AdminUsersUserHandler) *PatchV1AdminUsersUser

NewPatchV1AdminUsersUser creates a new http.Handler for the patch v1 admin users user operation

func (*PatchV1AdminUsersUser) ServeHTTP

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

type PatchV1AdminUsersUserBadRequest

type PatchV1AdminUsersUserBadRequest struct {

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

PatchV1AdminUsersUserBadRequest Update request is invalid

swagger:response patchV1AdminUsersUserBadRequest

func NewPatchV1AdminUsersUserBadRequest

func NewPatchV1AdminUsersUserBadRequest() *PatchV1AdminUsersUserBadRequest

NewPatchV1AdminUsersUserBadRequest creates PatchV1AdminUsersUserBadRequest with default headers values

func (*PatchV1AdminUsersUserBadRequest) SetPayload

func (o *PatchV1AdminUsersUserBadRequest) SetPayload(payload string)

SetPayload sets the payload to the patch v1 admin users user bad request response

func (*PatchV1AdminUsersUserBadRequest) WithPayload

WithPayload adds the payload to the patch v1 admin users user bad request response

func (*PatchV1AdminUsersUserBadRequest) WriteResponse

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

WriteResponse to the client

type PatchV1AdminUsersUserForbidden

type PatchV1AdminUsersUserForbidden struct {

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

PatchV1AdminUsersUserForbidden forbidden

swagger:response patchV1AdminUsersUserForbidden

func NewPatchV1AdminUsersUserForbidden

func NewPatchV1AdminUsersUserForbidden() *PatchV1AdminUsersUserForbidden

NewPatchV1AdminUsersUserForbidden creates PatchV1AdminUsersUserForbidden with default headers values

func (*PatchV1AdminUsersUserForbidden) SetPayload

func (o *PatchV1AdminUsersUserForbidden) SetPayload(payload string)

SetPayload sets the payload to the patch v1 admin users user forbidden response

func (*PatchV1AdminUsersUserForbidden) WithPayload

WithPayload adds the payload to the patch v1 admin users user forbidden response

func (*PatchV1AdminUsersUserForbidden) WriteResponse

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

WriteResponse to the client

type PatchV1AdminUsersUserHandler

type PatchV1AdminUsersUserHandler interface {
	Handle(PatchV1AdminUsersUserParams, *models.User) middleware.Responder
}

PatchV1AdminUsersUserHandler interface for that can handle valid patch v1 admin users user params

type PatchV1AdminUsersUserHandlerFunc

type PatchV1AdminUsersUserHandlerFunc func(PatchV1AdminUsersUserParams, *models.User) middleware.Responder

PatchV1AdminUsersUserHandlerFunc turns a function with the right signature into a patch v1 admin users user handler

func (PatchV1AdminUsersUserHandlerFunc) Handle

Handle executing the request and returning a response

type PatchV1AdminUsersUserInternalServerError

type PatchV1AdminUsersUserInternalServerError struct {

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

PatchV1AdminUsersUserInternalServerError For unknown or unanticipated issues

swagger:response patchV1AdminUsersUserInternalServerError

func NewPatchV1AdminUsersUserInternalServerError

func NewPatchV1AdminUsersUserInternalServerError() *PatchV1AdminUsersUserInternalServerError

NewPatchV1AdminUsersUserInternalServerError creates PatchV1AdminUsersUserInternalServerError with default headers values

func (*PatchV1AdminUsersUserInternalServerError) SetPayload

func (o *PatchV1AdminUsersUserInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the patch v1 admin users user internal server error response

func (*PatchV1AdminUsersUserInternalServerError) WithPayload

WithPayload adds the payload to the patch v1 admin users user internal server error response

func (*PatchV1AdminUsersUserInternalServerError) WriteResponse

WriteResponse to the client

type PatchV1AdminUsersUserNotFound

type PatchV1AdminUsersUserNotFound struct {

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

PatchV1AdminUsersUserNotFound The specified resource was not found

swagger:response patchV1AdminUsersUserNotFound

func NewPatchV1AdminUsersUserNotFound

func NewPatchV1AdminUsersUserNotFound() *PatchV1AdminUsersUserNotFound

NewPatchV1AdminUsersUserNotFound creates PatchV1AdminUsersUserNotFound with default headers values

func (*PatchV1AdminUsersUserNotFound) SetPayload

func (o *PatchV1AdminUsersUserNotFound) SetPayload(payload string)

SetPayload sets the payload to the patch v1 admin users user not found response

func (*PatchV1AdminUsersUserNotFound) WithPayload

WithPayload adds the payload to the patch v1 admin users user not found response

func (*PatchV1AdminUsersUserNotFound) WriteResponse

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

WriteResponse to the client

type PatchV1AdminUsersUserOK

type PatchV1AdminUsersUserOK struct {

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

PatchV1AdminUsersUserOK Updated

swagger:response patchV1AdminUsersUserOK

func NewPatchV1AdminUsersUserOK

func NewPatchV1AdminUsersUserOK() *PatchV1AdminUsersUserOK

NewPatchV1AdminUsersUserOK creates PatchV1AdminUsersUserOK with default headers values

func (*PatchV1AdminUsersUserOK) SetPayload

func (o *PatchV1AdminUsersUserOK) SetPayload(payload string)

SetPayload sets the payload to the patch v1 admin users user o k response

func (*PatchV1AdminUsersUserOK) WithPayload

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

WithPayload adds the payload to the patch v1 admin users user o k response

func (*PatchV1AdminUsersUserOK) WriteResponse

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

WriteResponse to the client

type PatchV1AdminUsersUserParams

type PatchV1AdminUsersUserParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.UserUpdate
	/*name of the user
	  Required: true
	  In: path
	*/
	User string
}

PatchV1AdminUsersUserParams contains all the bound params for the patch v1 admin users user operation typically these are obtained from a http.Request

swagger:parameters PatchV1AdminUsersUser

func NewPatchV1AdminUsersUserParams

func NewPatchV1AdminUsersUserParams() PatchV1AdminUsersUserParams

NewPatchV1AdminUsersUserParams creates a new PatchV1AdminUsersUserParams object no default values defined in spec.

func (*PatchV1AdminUsersUserParams) 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 NewPatchV1AdminUsersUserParams() beforehand.

type PatchV1AdminUsersUserURL

type PatchV1AdminUsersUserURL struct {
	User string
	// contains filtered or unexported fields
}

PatchV1AdminUsersUserURL generates an URL for the patch v1 admin users user operation

func (*PatchV1AdminUsersUserURL) Build

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

Build a url path and query string

func (*PatchV1AdminUsersUserURL) BuildFull

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

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

func (*PatchV1AdminUsersUserURL) Must

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

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

func (*PatchV1AdminUsersUserURL) SetBasePath

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

func (o *PatchV1AdminUsersUserURL) String() string

String returns the string representation of the path with query string

func (*PatchV1AdminUsersUserURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PatchV1AdminUsersUserURL) 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 PatchV1AdminUsersUserUnauthorized

type PatchV1AdminUsersUserUnauthorized struct {

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

PatchV1AdminUsersUserUnauthorized Unauthorized

swagger:response patchV1AdminUsersUserUnauthorized

func NewPatchV1AdminUsersUserUnauthorized

func NewPatchV1AdminUsersUserUnauthorized() *PatchV1AdminUsersUserUnauthorized

NewPatchV1AdminUsersUserUnauthorized creates PatchV1AdminUsersUserUnauthorized with default headers values

func (*PatchV1AdminUsersUserUnauthorized) SetPayload

func (o *PatchV1AdminUsersUserUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the patch v1 admin users user unauthorized response

func (*PatchV1AdminUsersUserUnauthorized) WithPayload

WithPayload adds the payload to the patch v1 admin users user unauthorized response

func (*PatchV1AdminUsersUserUnauthorized) WriteResponse

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

WriteResponse to the client

type PostV1AdminPolicies

type PostV1AdminPolicies struct {
	Context *middleware.Context
	Handler PostV1AdminPoliciesHandler
}

PostV1AdminPolicies swagger:route POST /v1/admin/policies postV1AdminPolicies

Add a new policy

func NewPostV1AdminPolicies

func NewPostV1AdminPolicies(ctx *middleware.Context, handler PostV1AdminPoliciesHandler) *PostV1AdminPolicies

NewPostV1AdminPolicies creates a new http.Handler for the post v1 admin policies operation

func (*PostV1AdminPolicies) ServeHTTP

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

type PostV1AdminPoliciesConflict

type PostV1AdminPoliciesConflict struct {

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

PostV1AdminPoliciesConflict conflict

swagger:response postV1AdminPoliciesConflict

func NewPostV1AdminPoliciesConflict

func NewPostV1AdminPoliciesConflict() *PostV1AdminPoliciesConflict

NewPostV1AdminPoliciesConflict creates PostV1AdminPoliciesConflict with default headers values

func (*PostV1AdminPoliciesConflict) SetPayload

func (o *PostV1AdminPoliciesConflict) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin policies conflict response

func (*PostV1AdminPoliciesConflict) WithPayload

WithPayload adds the payload to the post v1 admin policies conflict response

func (*PostV1AdminPoliciesConflict) WriteResponse

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

WriteResponse to the client

type PostV1AdminPoliciesCreated

type PostV1AdminPoliciesCreated struct {

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

PostV1AdminPoliciesCreated Created

swagger:response postV1AdminPoliciesCreated

func NewPostV1AdminPoliciesCreated

func NewPostV1AdminPoliciesCreated() *PostV1AdminPoliciesCreated

NewPostV1AdminPoliciesCreated creates PostV1AdminPoliciesCreated with default headers values

func (*PostV1AdminPoliciesCreated) SetPayload

func (o *PostV1AdminPoliciesCreated) SetPayload(payload *models.Policy)

SetPayload sets the payload to the post v1 admin policies created response

func (*PostV1AdminPoliciesCreated) WithPayload

WithPayload adds the payload to the post v1 admin policies created response

func (*PostV1AdminPoliciesCreated) WriteResponse

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

WriteResponse to the client

type PostV1AdminPoliciesForbidden

type PostV1AdminPoliciesForbidden struct {

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

PostV1AdminPoliciesForbidden forbidden

swagger:response postV1AdminPoliciesForbidden

func NewPostV1AdminPoliciesForbidden

func NewPostV1AdminPoliciesForbidden() *PostV1AdminPoliciesForbidden

NewPostV1AdminPoliciesForbidden creates PostV1AdminPoliciesForbidden with default headers values

func (*PostV1AdminPoliciesForbidden) SetPayload

func (o *PostV1AdminPoliciesForbidden) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin policies forbidden response

func (*PostV1AdminPoliciesForbidden) WithPayload

WithPayload adds the payload to the post v1 admin policies forbidden response

func (*PostV1AdminPoliciesForbidden) WriteResponse

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

WriteResponse to the client

type PostV1AdminPoliciesHandler

type PostV1AdminPoliciesHandler interface {
	Handle(PostV1AdminPoliciesParams, *models.User) middleware.Responder
}

PostV1AdminPoliciesHandler interface for that can handle valid post v1 admin policies params

type PostV1AdminPoliciesHandlerFunc

type PostV1AdminPoliciesHandlerFunc func(PostV1AdminPoliciesParams, *models.User) middleware.Responder

PostV1AdminPoliciesHandlerFunc turns a function with the right signature into a post v1 admin policies handler

func (PostV1AdminPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type PostV1AdminPoliciesInternalServerError

type PostV1AdminPoliciesInternalServerError struct {

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

PostV1AdminPoliciesInternalServerError For unknown or unanticipated issues

swagger:response postV1AdminPoliciesInternalServerError

func NewPostV1AdminPoliciesInternalServerError

func NewPostV1AdminPoliciesInternalServerError() *PostV1AdminPoliciesInternalServerError

NewPostV1AdminPoliciesInternalServerError creates PostV1AdminPoliciesInternalServerError with default headers values

func (*PostV1AdminPoliciesInternalServerError) SetPayload

func (o *PostV1AdminPoliciesInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin policies internal server error response

func (*PostV1AdminPoliciesInternalServerError) WithPayload

WithPayload adds the payload to the post v1 admin policies internal server error response

func (*PostV1AdminPoliciesInternalServerError) WriteResponse

WriteResponse to the client

type PostV1AdminPoliciesParams

type PostV1AdminPoliciesParams struct {

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

	/*Policy to process
	  Required: true
	  In: body
	*/
	Body *models.Policy
}

PostV1AdminPoliciesParams contains all the bound params for the post v1 admin policies operation typically these are obtained from a http.Request

swagger:parameters PostV1AdminPolicies

func NewPostV1AdminPoliciesParams

func NewPostV1AdminPoliciesParams() PostV1AdminPoliciesParams

NewPostV1AdminPoliciesParams creates a new PostV1AdminPoliciesParams object no default values defined in spec.

func (*PostV1AdminPoliciesParams) 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 NewPostV1AdminPoliciesParams() beforehand.

type PostV1AdminPoliciesURL

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

PostV1AdminPoliciesURL generates an URL for the post v1 admin policies operation

func (*PostV1AdminPoliciesURL) Build

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

Build a url path and query string

func (*PostV1AdminPoliciesURL) BuildFull

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

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

func (*PostV1AdminPoliciesURL) Must

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

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

func (*PostV1AdminPoliciesURL) SetBasePath

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

func (o *PostV1AdminPoliciesURL) String() string

String returns the string representation of the path with query string

func (*PostV1AdminPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostV1AdminPoliciesURL) 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 PostV1AdminPoliciesUnauthorized

type PostV1AdminPoliciesUnauthorized struct {

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

PostV1AdminPoliciesUnauthorized Unauthorized

swagger:response postV1AdminPoliciesUnauthorized

func NewPostV1AdminPoliciesUnauthorized

func NewPostV1AdminPoliciesUnauthorized() *PostV1AdminPoliciesUnauthorized

NewPostV1AdminPoliciesUnauthorized creates PostV1AdminPoliciesUnauthorized with default headers values

func (*PostV1AdminPoliciesUnauthorized) SetPayload

func (o *PostV1AdminPoliciesUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin policies unauthorized response

func (*PostV1AdminPoliciesUnauthorized) WithPayload

WithPayload adds the payload to the post v1 admin policies unauthorized response

func (*PostV1AdminPoliciesUnauthorized) WriteResponse

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

WriteResponse to the client

type PostV1AdminRoles

type PostV1AdminRoles struct {
	Context *middleware.Context
	Handler PostV1AdminRolesHandler
}

PostV1AdminRoles swagger:route POST /v1/admin/roles postV1AdminRoles

Add a new role

func NewPostV1AdminRoles

func NewPostV1AdminRoles(ctx *middleware.Context, handler PostV1AdminRolesHandler) *PostV1AdminRoles

NewPostV1AdminRoles creates a new http.Handler for the post v1 admin roles operation

func (*PostV1AdminRoles) ServeHTTP

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

type PostV1AdminRolesConflict

type PostV1AdminRolesConflict struct {

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

PostV1AdminRolesConflict conflict

swagger:response postV1AdminRolesConflict

func NewPostV1AdminRolesConflict

func NewPostV1AdminRolesConflict() *PostV1AdminRolesConflict

NewPostV1AdminRolesConflict creates PostV1AdminRolesConflict with default headers values

func (*PostV1AdminRolesConflict) SetPayload

func (o *PostV1AdminRolesConflict) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin roles conflict response

func (*PostV1AdminRolesConflict) WithPayload

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

WithPayload adds the payload to the post v1 admin roles conflict response

func (*PostV1AdminRolesConflict) WriteResponse

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

WriteResponse to the client

type PostV1AdminRolesCreated

type PostV1AdminRolesCreated struct {

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

PostV1AdminRolesCreated Created

swagger:response postV1AdminRolesCreated

func NewPostV1AdminRolesCreated

func NewPostV1AdminRolesCreated() *PostV1AdminRolesCreated

NewPostV1AdminRolesCreated creates PostV1AdminRolesCreated with default headers values

func (*PostV1AdminRolesCreated) SetPayload

func (o *PostV1AdminRolesCreated) SetPayload(payload models.Role)

SetPayload sets the payload to the post v1 admin roles created response

func (*PostV1AdminRolesCreated) WithPayload

WithPayload adds the payload to the post v1 admin roles created response

func (*PostV1AdminRolesCreated) WriteResponse

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

WriteResponse to the client

type PostV1AdminRolesForbidden

type PostV1AdminRolesForbidden struct {

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

PostV1AdminRolesForbidden forbidden

swagger:response postV1AdminRolesForbidden

func NewPostV1AdminRolesForbidden

func NewPostV1AdminRolesForbidden() *PostV1AdminRolesForbidden

NewPostV1AdminRolesForbidden creates PostV1AdminRolesForbidden with default headers values

func (*PostV1AdminRolesForbidden) SetPayload

func (o *PostV1AdminRolesForbidden) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin roles forbidden response

func (*PostV1AdminRolesForbidden) WithPayload

WithPayload adds the payload to the post v1 admin roles forbidden response

func (*PostV1AdminRolesForbidden) WriteResponse

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

WriteResponse to the client

type PostV1AdminRolesHandler

type PostV1AdminRolesHandler interface {
	Handle(PostV1AdminRolesParams, *models.User) middleware.Responder
}

PostV1AdminRolesHandler interface for that can handle valid post v1 admin roles params

type PostV1AdminRolesHandlerFunc

type PostV1AdminRolesHandlerFunc func(PostV1AdminRolesParams, *models.User) middleware.Responder

PostV1AdminRolesHandlerFunc turns a function with the right signature into a post v1 admin roles handler

func (PostV1AdminRolesHandlerFunc) Handle

Handle executing the request and returning a response

type PostV1AdminRolesInternalServerError

type PostV1AdminRolesInternalServerError struct {

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

PostV1AdminRolesInternalServerError For unknown or unanticipated issues

swagger:response postV1AdminRolesInternalServerError

func NewPostV1AdminRolesInternalServerError

func NewPostV1AdminRolesInternalServerError() *PostV1AdminRolesInternalServerError

NewPostV1AdminRolesInternalServerError creates PostV1AdminRolesInternalServerError with default headers values

func (*PostV1AdminRolesInternalServerError) SetPayload

func (o *PostV1AdminRolesInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin roles internal server error response

func (*PostV1AdminRolesInternalServerError) WithPayload

WithPayload adds the payload to the post v1 admin roles internal server error response

func (*PostV1AdminRolesInternalServerError) WriteResponse

WriteResponse to the client

type PostV1AdminRolesParams

type PostV1AdminRolesParams struct {

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

	/*Policy to process
	  Required: true
	  In: body
	*/
	Body models.Role
}

PostV1AdminRolesParams contains all the bound params for the post v1 admin roles operation typically these are obtained from a http.Request

swagger:parameters PostV1AdminRoles

func NewPostV1AdminRolesParams

func NewPostV1AdminRolesParams() PostV1AdminRolesParams

NewPostV1AdminRolesParams creates a new PostV1AdminRolesParams object no default values defined in spec.

func (*PostV1AdminRolesParams) BindRequest

func (o *PostV1AdminRolesParams) 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 NewPostV1AdminRolesParams() beforehand.

type PostV1AdminRolesURL

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

PostV1AdminRolesURL generates an URL for the post v1 admin roles operation

func (*PostV1AdminRolesURL) Build

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

Build a url path and query string

func (*PostV1AdminRolesURL) BuildFull

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

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

func (*PostV1AdminRolesURL) Must

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

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

func (*PostV1AdminRolesURL) SetBasePath

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

func (o *PostV1AdminRolesURL) String() string

String returns the string representation of the path with query string

func (*PostV1AdminRolesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostV1AdminRolesURL) WithBasePath

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

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 PostV1AdminRolesUnauthorized

type PostV1AdminRolesUnauthorized struct {

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

PostV1AdminRolesUnauthorized Unauthorized

swagger:response postV1AdminRolesUnauthorized

func NewPostV1AdminRolesUnauthorized

func NewPostV1AdminRolesUnauthorized() *PostV1AdminRolesUnauthorized

NewPostV1AdminRolesUnauthorized creates PostV1AdminRolesUnauthorized with default headers values

func (*PostV1AdminRolesUnauthorized) SetPayload

func (o *PostV1AdminRolesUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin roles unauthorized response

func (*PostV1AdminRolesUnauthorized) WithPayload

WithPayload adds the payload to the post v1 admin roles unauthorized response

func (*PostV1AdminRolesUnauthorized) WriteResponse

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

WriteResponse to the client

type PostV1AdminUsers

type PostV1AdminUsers struct {
	Context *middleware.Context
	Handler PostV1AdminUsersHandler
}

PostV1AdminUsers swagger:route POST /v1/admin/users postV1AdminUsers

Add a new user

func NewPostV1AdminUsers

func NewPostV1AdminUsers(ctx *middleware.Context, handler PostV1AdminUsersHandler) *PostV1AdminUsers

NewPostV1AdminUsers creates a new http.Handler for the post v1 admin users operation

func (*PostV1AdminUsers) ServeHTTP

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

type PostV1AdminUsersConflict

type PostV1AdminUsersConflict struct {

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

PostV1AdminUsersConflict conflict

swagger:response postV1AdminUsersConflict

func NewPostV1AdminUsersConflict

func NewPostV1AdminUsersConflict() *PostV1AdminUsersConflict

NewPostV1AdminUsersConflict creates PostV1AdminUsersConflict with default headers values

func (*PostV1AdminUsersConflict) SetPayload

func (o *PostV1AdminUsersConflict) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin users conflict response

func (*PostV1AdminUsersConflict) WithPayload

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

WithPayload adds the payload to the post v1 admin users conflict response

func (*PostV1AdminUsersConflict) WriteResponse

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

WriteResponse to the client

type PostV1AdminUsersCreated

type PostV1AdminUsersCreated struct {

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

PostV1AdminUsersCreated Created

swagger:response postV1AdminUsersCreated

func NewPostV1AdminUsersCreated

func NewPostV1AdminUsersCreated() *PostV1AdminUsersCreated

NewPostV1AdminUsersCreated creates PostV1AdminUsersCreated with default headers values

func (*PostV1AdminUsersCreated) SetPayload

func (o *PostV1AdminUsersCreated) SetPayload(payload *models.User)

SetPayload sets the payload to the post v1 admin users created response

func (*PostV1AdminUsersCreated) WithPayload

func (o *PostV1AdminUsersCreated) WithPayload(payload *models.User) *PostV1AdminUsersCreated

WithPayload adds the payload to the post v1 admin users created response

func (*PostV1AdminUsersCreated) WriteResponse

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

WriteResponse to the client

type PostV1AdminUsersForbidden

type PostV1AdminUsersForbidden struct {

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

PostV1AdminUsersForbidden forbidden

swagger:response postV1AdminUsersForbidden

func NewPostV1AdminUsersForbidden

func NewPostV1AdminUsersForbidden() *PostV1AdminUsersForbidden

NewPostV1AdminUsersForbidden creates PostV1AdminUsersForbidden with default headers values

func (*PostV1AdminUsersForbidden) SetPayload

func (o *PostV1AdminUsersForbidden) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin users forbidden response

func (*PostV1AdminUsersForbidden) WithPayload

WithPayload adds the payload to the post v1 admin users forbidden response

func (*PostV1AdminUsersForbidden) WriteResponse

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

WriteResponse to the client

type PostV1AdminUsersHandler

type PostV1AdminUsersHandler interface {
	Handle(PostV1AdminUsersParams, *models.User) middleware.Responder
}

PostV1AdminUsersHandler interface for that can handle valid post v1 admin users params

type PostV1AdminUsersHandlerFunc

type PostV1AdminUsersHandlerFunc func(PostV1AdminUsersParams, *models.User) middleware.Responder

PostV1AdminUsersHandlerFunc turns a function with the right signature into a post v1 admin users handler

func (PostV1AdminUsersHandlerFunc) Handle

Handle executing the request and returning a response

type PostV1AdminUsersInternalServerError

type PostV1AdminUsersInternalServerError struct {

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

PostV1AdminUsersInternalServerError For unknown or unanticipated issues

swagger:response postV1AdminUsersInternalServerError

func NewPostV1AdminUsersInternalServerError

func NewPostV1AdminUsersInternalServerError() *PostV1AdminUsersInternalServerError

NewPostV1AdminUsersInternalServerError creates PostV1AdminUsersInternalServerError with default headers values

func (*PostV1AdminUsersInternalServerError) SetPayload

func (o *PostV1AdminUsersInternalServerError) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin users internal server error response

func (*PostV1AdminUsersInternalServerError) WithPayload

WithPayload adds the payload to the post v1 admin users internal server error response

func (*PostV1AdminUsersInternalServerError) WriteResponse

WriteResponse to the client

type PostV1AdminUsersParams

type PostV1AdminUsersParams struct {

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

	/*User to create
	  Required: true
	  In: body
	*/
	Body *models.UserCreate
}

PostV1AdminUsersParams contains all the bound params for the post v1 admin users operation typically these are obtained from a http.Request

swagger:parameters PostV1AdminUsers

func NewPostV1AdminUsersParams

func NewPostV1AdminUsersParams() PostV1AdminUsersParams

NewPostV1AdminUsersParams creates a new PostV1AdminUsersParams object no default values defined in spec.

func (*PostV1AdminUsersParams) BindRequest

func (o *PostV1AdminUsersParams) 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 NewPostV1AdminUsersParams() beforehand.

type PostV1AdminUsersURL

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

PostV1AdminUsersURL generates an URL for the post v1 admin users operation

func (*PostV1AdminUsersURL) Build

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

Build a url path and query string

func (*PostV1AdminUsersURL) BuildFull

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

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

func (*PostV1AdminUsersURL) Must

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

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

func (*PostV1AdminUsersURL) SetBasePath

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

func (o *PostV1AdminUsersURL) String() string

String returns the string representation of the path with query string

func (*PostV1AdminUsersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostV1AdminUsersURL) WithBasePath

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

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 PostV1AdminUsersUnauthorized

type PostV1AdminUsersUnauthorized struct {

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

PostV1AdminUsersUnauthorized Unauthorized

swagger:response postV1AdminUsersUnauthorized

func NewPostV1AdminUsersUnauthorized

func NewPostV1AdminUsersUnauthorized() *PostV1AdminUsersUnauthorized

NewPostV1AdminUsersUnauthorized creates PostV1AdminUsersUnauthorized with default headers values

func (*PostV1AdminUsersUnauthorized) SetPayload

func (o *PostV1AdminUsersUnauthorized) SetPayload(payload string)

SetPayload sets the payload to the post v1 admin users unauthorized response

func (*PostV1AdminUsersUnauthorized) WithPayload

WithPayload adds the payload to the post v1 admin users unauthorized response

func (*PostV1AdminUsersUnauthorized) WriteResponse

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

WriteResponse to the client

type PutV1DevicesDeviceCommandsCommand

type PutV1DevicesDeviceCommandsCommand struct {
	Context *middleware.Context
	Handler PutV1DevicesDeviceCommandsCommandHandler
}

PutV1DevicesDeviceCommandsCommand swagger:route PUT /v1/devices/{device}/commands/{command} putV1DevicesDeviceCommandsCommand

Issue the PUT command referenced by the command name to the device/sensor.

func NewPutV1DevicesDeviceCommandsCommand

func NewPutV1DevicesDeviceCommandsCommand(ctx *middleware.Context, handler PutV1DevicesDeviceCommandsCommandHandler) *PutV1DevicesDeviceCommandsCommand

NewPutV1DevicesDeviceCommandsCommand creates a new http.Handler for the put v1 devices device commands command operation

func (*PutV1DevicesDeviceCommandsCommand) ServeHTTP

type PutV1DevicesDeviceCommandsCommandForbidden

type PutV1DevicesDeviceCommandsCommandForbidden struct {

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

PutV1DevicesDeviceCommandsCommandForbidden forbidden

swagger:response putV1DevicesDeviceCommandsCommandForbidden

func NewPutV1DevicesDeviceCommandsCommandForbidden

func NewPutV1DevicesDeviceCommandsCommandForbidden() *PutV1DevicesDeviceCommandsCommandForbidden

NewPutV1DevicesDeviceCommandsCommandForbidden creates PutV1DevicesDeviceCommandsCommandForbidden with default headers values

func (*PutV1DevicesDeviceCommandsCommandForbidden) SetPayload

func (o *PutV1DevicesDeviceCommandsCommandForbidden) SetPayload(payload string)

SetPayload sets the payload to the put v1 devices device commands command forbidden response

func (*PutV1DevicesDeviceCommandsCommandForbidden) WithPayload

WithPayload adds the payload to the put v1 devices device commands command forbidden response

func (*PutV1DevicesDeviceCommandsCommandForbidden) WriteResponse

WriteResponse to the client

type PutV1DevicesDeviceCommandsCommandHandler

type PutV1DevicesDeviceCommandsCommandHandler interface {
	Handle(PutV1DevicesDeviceCommandsCommandParams, *models.User) middleware.Responder
}

PutV1DevicesDeviceCommandsCommandHandler interface for that can handle valid put v1 devices device commands command params

type PutV1DevicesDeviceCommandsCommandHandlerFunc

type PutV1DevicesDeviceCommandsCommandHandlerFunc func(PutV1DevicesDeviceCommandsCommandParams, *models.User) middleware.Responder

PutV1DevicesDeviceCommandsCommandHandlerFunc turns a function with the right signature into a put v1 devices device commands command handler

func (PutV1DevicesDeviceCommandsCommandHandlerFunc) Handle

Handle executing the request and returning a response

type PutV1DevicesDeviceCommandsCommandInternalServerError

type PutV1DevicesDeviceCommandsCommandInternalServerError struct {

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

PutV1DevicesDeviceCommandsCommandInternalServerError For unknown or unanticipated issues

swagger:response putV1DevicesDeviceCommandsCommandInternalServerError

func NewPutV1DevicesDeviceCommandsCommandInternalServerError

func NewPutV1DevicesDeviceCommandsCommandInternalServerError() *PutV1DevicesDeviceCommandsCommandInternalServerError

NewPutV1DevicesDeviceCommandsCommandInternalServerError creates PutV1DevicesDeviceCommandsCommandInternalServerError with default headers values

func (*PutV1DevicesDeviceCommandsCommandInternalServerError) SetPayload

SetPayload sets the payload to the put v1 devices device commands command internal server error response

func (*PutV1DevicesDeviceCommandsCommandInternalServerError) WithPayload

WithPayload adds the payload to the put v1 devices device commands command internal server error response

func (*PutV1DevicesDeviceCommandsCommandInternalServerError) WriteResponse

WriteResponse to the client

type PutV1DevicesDeviceCommandsCommandNotFound

type PutV1DevicesDeviceCommandsCommandNotFound struct {

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

PutV1DevicesDeviceCommandsCommandNotFound The specified resource was not found

swagger:response putV1DevicesDeviceCommandsCommandNotFound

func NewPutV1DevicesDeviceCommandsCommandNotFound

func NewPutV1DevicesDeviceCommandsCommandNotFound() *PutV1DevicesDeviceCommandsCommandNotFound

NewPutV1DevicesDeviceCommandsCommandNotFound creates PutV1DevicesDeviceCommandsCommandNotFound with default headers values

func (*PutV1DevicesDeviceCommandsCommandNotFound) SetPayload

func (o *PutV1DevicesDeviceCommandsCommandNotFound) SetPayload(payload string)

SetPayload sets the payload to the put v1 devices device commands command not found response

func (*PutV1DevicesDeviceCommandsCommandNotFound) WithPayload

WithPayload adds the payload to the put v1 devices device commands command not found response

func (*PutV1DevicesDeviceCommandsCommandNotFound) WriteResponse

WriteResponse to the client

type PutV1DevicesDeviceCommandsCommandOK

type PutV1DevicesDeviceCommandsCommandOK struct {

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

PutV1DevicesDeviceCommandsCommandOK Ok

swagger:response putV1DevicesDeviceCommandsCommandOK

func NewPutV1DevicesDeviceCommandsCommandOK

func NewPutV1DevicesDeviceCommandsCommandOK() *PutV1DevicesDeviceCommandsCommandOK

NewPutV1DevicesDeviceCommandsCommandOK creates PutV1DevicesDeviceCommandsCommandOK with default headers values

func (*PutV1DevicesDeviceCommandsCommandOK) SetPayload

SetPayload sets the payload to the put v1 devices device commands command o k response

func (*PutV1DevicesDeviceCommandsCommandOK) WithPayload

WithPayload adds the payload to the put v1 devices device commands command o k response

func (*PutV1DevicesDeviceCommandsCommandOK) WriteResponse

WriteResponse to the client

type PutV1DevicesDeviceCommandsCommandParams

type PutV1DevicesDeviceCommandsCommandParams struct {

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

	/*properties for the command
	  In: body
	*/
	Body models.CommandPayload
	/*Name of the command
	  Required: true
	  In: path
	*/
	Command string
	/*The name of the device
	  Required: true
	  In: path
	*/
	Device string
}

PutV1DevicesDeviceCommandsCommandParams contains all the bound params for the put v1 devices device commands command operation typically these are obtained from a http.Request

swagger:parameters PutV1DevicesDeviceCommandsCommand

func NewPutV1DevicesDeviceCommandsCommandParams

func NewPutV1DevicesDeviceCommandsCommandParams() PutV1DevicesDeviceCommandsCommandParams

NewPutV1DevicesDeviceCommandsCommandParams creates a new PutV1DevicesDeviceCommandsCommandParams object no default values defined in spec.

func (*PutV1DevicesDeviceCommandsCommandParams) 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 NewPutV1DevicesDeviceCommandsCommandParams() beforehand.

type PutV1DevicesDeviceCommandsCommandURL

type PutV1DevicesDeviceCommandsCommandURL struct {
	Command string
	Device  string
	// contains filtered or unexported fields
}

PutV1DevicesDeviceCommandsCommandURL generates an URL for the put v1 devices device commands command operation

func (*PutV1DevicesDeviceCommandsCommandURL) Build

Build a url path and query string

func (*PutV1DevicesDeviceCommandsCommandURL) BuildFull

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

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

func (*PutV1DevicesDeviceCommandsCommandURL) Must

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

func (*PutV1DevicesDeviceCommandsCommandURL) SetBasePath

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

String returns the string representation of the path with query string

func (*PutV1DevicesDeviceCommandsCommandURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PutV1DevicesDeviceCommandsCommandURL) 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 PutV1DevicesDeviceCommandsCommandUnauthorized

type PutV1DevicesDeviceCommandsCommandUnauthorized struct {

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

PutV1DevicesDeviceCommandsCommandUnauthorized Unauthorized

swagger:response putV1DevicesDeviceCommandsCommandUnauthorized

func NewPutV1DevicesDeviceCommandsCommandUnauthorized

func NewPutV1DevicesDeviceCommandsCommandUnauthorized() *PutV1DevicesDeviceCommandsCommandUnauthorized

NewPutV1DevicesDeviceCommandsCommandUnauthorized creates PutV1DevicesDeviceCommandsCommandUnauthorized with default headers values

func (*PutV1DevicesDeviceCommandsCommandUnauthorized) SetPayload

SetPayload sets the payload to the put v1 devices device commands command unauthorized response

func (*PutV1DevicesDeviceCommandsCommandUnauthorized) WithPayload

WithPayload adds the payload to the put v1 devices device commands command unauthorized response

func (*PutV1DevicesDeviceCommandsCommandUnauthorized) WriteResponse

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

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