Documentation
¶
Index ¶
- Constants
- type GetRequestedOfficeUser
- type GetRequestedOfficeUserBadRequest
- type GetRequestedOfficeUserHandler
- type GetRequestedOfficeUserHandlerFunc
- type GetRequestedOfficeUserInternalServerError
- type GetRequestedOfficeUserNotFound
- type GetRequestedOfficeUserOK
- type GetRequestedOfficeUserParams
- type GetRequestedOfficeUserURL
- func (o *GetRequestedOfficeUserURL) Build() (*url.URL, error)
- func (o *GetRequestedOfficeUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRequestedOfficeUserURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRequestedOfficeUserURL) SetBasePath(bp string)
- func (o *GetRequestedOfficeUserURL) String() string
- func (o *GetRequestedOfficeUserURL) StringFull(scheme, host string) string
- func (o *GetRequestedOfficeUserURL) WithBasePath(bp string) *GetRequestedOfficeUserURL
- type GetRequestedOfficeUserUnauthorized
- type IndexRequestedOfficeUsers
- type IndexRequestedOfficeUsersBadRequest
- type IndexRequestedOfficeUsersHandler
- type IndexRequestedOfficeUsersHandlerFunc
- type IndexRequestedOfficeUsersInternalServerError
- type IndexRequestedOfficeUsersNotFound
- type IndexRequestedOfficeUsersOK
- func (o *IndexRequestedOfficeUsersOK) SetContentRange(contentRange string)
- func (o *IndexRequestedOfficeUsersOK) SetPayload(payload adminmessages.OfficeUsers)
- func (o *IndexRequestedOfficeUsersOK) WithContentRange(contentRange string) *IndexRequestedOfficeUsersOK
- func (o *IndexRequestedOfficeUsersOK) WithPayload(payload adminmessages.OfficeUsers) *IndexRequestedOfficeUsersOK
- func (o *IndexRequestedOfficeUsersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type IndexRequestedOfficeUsersParams
- type IndexRequestedOfficeUsersURL
- func (o *IndexRequestedOfficeUsersURL) Build() (*url.URL, error)
- func (o *IndexRequestedOfficeUsersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *IndexRequestedOfficeUsersURL) Must(u *url.URL, err error) *url.URL
- func (o *IndexRequestedOfficeUsersURL) SetBasePath(bp string)
- func (o *IndexRequestedOfficeUsersURL) String() string
- func (o *IndexRequestedOfficeUsersURL) StringFull(scheme, host string) string
- func (o *IndexRequestedOfficeUsersURL) WithBasePath(bp string) *IndexRequestedOfficeUsersURL
- type IndexRequestedOfficeUsersUnauthorized
- type UpdateRequestedOfficeUser
- type UpdateRequestedOfficeUserHandler
- type UpdateRequestedOfficeUserHandlerFunc
- type UpdateRequestedOfficeUserInternalServerError
- type UpdateRequestedOfficeUserNotFound
- type UpdateRequestedOfficeUserOK
- func (o *UpdateRequestedOfficeUserOK) SetPayload(payload *adminmessages.OfficeUser)
- func (o *UpdateRequestedOfficeUserOK) WithPayload(payload *adminmessages.OfficeUser) *UpdateRequestedOfficeUserOK
- func (o *UpdateRequestedOfficeUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateRequestedOfficeUserParams
- type UpdateRequestedOfficeUserURL
- func (o *UpdateRequestedOfficeUserURL) Build() (*url.URL, error)
- func (o *UpdateRequestedOfficeUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateRequestedOfficeUserURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateRequestedOfficeUserURL) SetBasePath(bp string)
- func (o *UpdateRequestedOfficeUserURL) String() string
- func (o *UpdateRequestedOfficeUserURL) StringFull(scheme, host string) string
- func (o *UpdateRequestedOfficeUserURL) WithBasePath(bp string) *UpdateRequestedOfficeUserURL
- type UpdateRequestedOfficeUserUnauthorized
- type UpdateRequestedOfficeUserUnprocessableEntity
- func (o *UpdateRequestedOfficeUserUnprocessableEntity) SetPayload(payload *adminmessages.ValidationError)
- func (o *UpdateRequestedOfficeUserUnprocessableEntity) WithPayload(payload *adminmessages.ValidationError) *UpdateRequestedOfficeUserUnprocessableEntity
- func (o *UpdateRequestedOfficeUserUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GetRequestedOfficeUserBadRequestCode int = 400
GetRequestedOfficeUserBadRequestCode is the HTTP code returned for type GetRequestedOfficeUserBadRequest
const GetRequestedOfficeUserInternalServerErrorCode int = 500
GetRequestedOfficeUserInternalServerErrorCode is the HTTP code returned for type GetRequestedOfficeUserInternalServerError
const GetRequestedOfficeUserNotFoundCode int = 404
GetRequestedOfficeUserNotFoundCode is the HTTP code returned for type GetRequestedOfficeUserNotFound
const GetRequestedOfficeUserOKCode int = 200
GetRequestedOfficeUserOKCode is the HTTP code returned for type GetRequestedOfficeUserOK
GetRequestedOfficeUserUnauthorizedCode is the HTTP code returned for type GetRequestedOfficeUserUnauthorized
const IndexRequestedOfficeUsersBadRequestCode int = 400
IndexRequestedOfficeUsersBadRequestCode is the HTTP code returned for type IndexRequestedOfficeUsersBadRequest
const IndexRequestedOfficeUsersInternalServerErrorCode int = 500
IndexRequestedOfficeUsersInternalServerErrorCode is the HTTP code returned for type IndexRequestedOfficeUsersInternalServerError
const IndexRequestedOfficeUsersNotFoundCode int = 404
IndexRequestedOfficeUsersNotFoundCode is the HTTP code returned for type IndexRequestedOfficeUsersNotFound
const IndexRequestedOfficeUsersOKCode int = 200
IndexRequestedOfficeUsersOKCode is the HTTP code returned for type IndexRequestedOfficeUsersOK
IndexRequestedOfficeUsersUnauthorizedCode is the HTTP code returned for type IndexRequestedOfficeUsersUnauthorized
const UpdateRequestedOfficeUserInternalServerErrorCode int = 500
UpdateRequestedOfficeUserInternalServerErrorCode is the HTTP code returned for type UpdateRequestedOfficeUserInternalServerError
const UpdateRequestedOfficeUserNotFoundCode int = 404
UpdateRequestedOfficeUserNotFoundCode is the HTTP code returned for type UpdateRequestedOfficeUserNotFound
const UpdateRequestedOfficeUserOKCode int = 200
UpdateRequestedOfficeUserOKCode is the HTTP code returned for type UpdateRequestedOfficeUserOK
UpdateRequestedOfficeUserUnauthorizedCode is the HTTP code returned for type UpdateRequestedOfficeUserUnauthorized
const UpdateRequestedOfficeUserUnprocessableEntityCode int = 422
UpdateRequestedOfficeUserUnprocessableEntityCode is the HTTP code returned for type UpdateRequestedOfficeUserUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRequestedOfficeUser ¶
type GetRequestedOfficeUser struct { Context *middleware.Context Handler GetRequestedOfficeUserHandler }
GetRequestedOfficeUser swagger:route GET /requested-office-users/{officeUserId} Requested office users getRequestedOfficeUser
Get a Requested Office User ¶
Retrieving a single office user in any status. This endpoint is used in the Admin UI that will allow the admin user to view the user's relevant data.
func NewGetRequestedOfficeUser ¶
func NewGetRequestedOfficeUser(ctx *middleware.Context, handler GetRequestedOfficeUserHandler) *GetRequestedOfficeUser
NewGetRequestedOfficeUser creates a new http.Handler for the get requested office user operation
func (*GetRequestedOfficeUser) ServeHTTP ¶
func (o *GetRequestedOfficeUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRequestedOfficeUserBadRequest ¶
type GetRequestedOfficeUserBadRequest struct { }
GetRequestedOfficeUserBadRequest invalid request
swagger:response getRequestedOfficeUserBadRequest
func NewGetRequestedOfficeUserBadRequest ¶
func NewGetRequestedOfficeUserBadRequest() *GetRequestedOfficeUserBadRequest
NewGetRequestedOfficeUserBadRequest creates GetRequestedOfficeUserBadRequest with default headers values
func (*GetRequestedOfficeUserBadRequest) WriteResponse ¶
func (o *GetRequestedOfficeUserBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRequestedOfficeUserHandler ¶
type GetRequestedOfficeUserHandler interface {
Handle(GetRequestedOfficeUserParams) middleware.Responder
}
GetRequestedOfficeUserHandler interface for that can handle valid get requested office user params
type GetRequestedOfficeUserHandlerFunc ¶
type GetRequestedOfficeUserHandlerFunc func(GetRequestedOfficeUserParams) middleware.Responder
GetRequestedOfficeUserHandlerFunc turns a function with the right signature into a get requested office user handler
func (GetRequestedOfficeUserHandlerFunc) Handle ¶
func (fn GetRequestedOfficeUserHandlerFunc) Handle(params GetRequestedOfficeUserParams) middleware.Responder
Handle executing the request and returning a response
type GetRequestedOfficeUserInternalServerError ¶
type GetRequestedOfficeUserInternalServerError struct { }
GetRequestedOfficeUserInternalServerError server error
swagger:response getRequestedOfficeUserInternalServerError
func NewGetRequestedOfficeUserInternalServerError ¶
func NewGetRequestedOfficeUserInternalServerError() *GetRequestedOfficeUserInternalServerError
NewGetRequestedOfficeUserInternalServerError creates GetRequestedOfficeUserInternalServerError with default headers values
func (*GetRequestedOfficeUserInternalServerError) WriteResponse ¶
func (o *GetRequestedOfficeUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRequestedOfficeUserNotFound ¶
type GetRequestedOfficeUserNotFound struct { }
GetRequestedOfficeUserNotFound Office User not found
swagger:response getRequestedOfficeUserNotFound
func NewGetRequestedOfficeUserNotFound ¶
func NewGetRequestedOfficeUserNotFound() *GetRequestedOfficeUserNotFound
NewGetRequestedOfficeUserNotFound creates GetRequestedOfficeUserNotFound with default headers values
func (*GetRequestedOfficeUserNotFound) WriteResponse ¶
func (o *GetRequestedOfficeUserNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRequestedOfficeUserOK ¶
type GetRequestedOfficeUserOK struct { /* In: Body */ Payload *adminmessages.OfficeUser `json:"body,omitempty"` }
GetRequestedOfficeUserOK success
swagger:response getRequestedOfficeUserOK
func NewGetRequestedOfficeUserOK ¶
func NewGetRequestedOfficeUserOK() *GetRequestedOfficeUserOK
NewGetRequestedOfficeUserOK creates GetRequestedOfficeUserOK with default headers values
func (*GetRequestedOfficeUserOK) SetPayload ¶
func (o *GetRequestedOfficeUserOK) SetPayload(payload *adminmessages.OfficeUser)
SetPayload sets the payload to the get requested office user o k response
func (*GetRequestedOfficeUserOK) WithPayload ¶
func (o *GetRequestedOfficeUserOK) WithPayload(payload *adminmessages.OfficeUser) *GetRequestedOfficeUserOK
WithPayload adds the payload to the get requested office user o k response
func (*GetRequestedOfficeUserOK) WriteResponse ¶
func (o *GetRequestedOfficeUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRequestedOfficeUserParams ¶
type GetRequestedOfficeUserParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ OfficeUserID strfmt.UUID }
GetRequestedOfficeUserParams contains all the bound params for the get requested office user operation typically these are obtained from a http.Request
swagger:parameters getRequestedOfficeUser
func NewGetRequestedOfficeUserParams ¶
func NewGetRequestedOfficeUserParams() GetRequestedOfficeUserParams
NewGetRequestedOfficeUserParams creates a new GetRequestedOfficeUserParams object
There are no default values defined in the spec.
func (*GetRequestedOfficeUserParams) BindRequest ¶
func (o *GetRequestedOfficeUserParams) 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 NewGetRequestedOfficeUserParams() beforehand.
type GetRequestedOfficeUserURL ¶
type GetRequestedOfficeUserURL struct { OfficeUserID strfmt.UUID // contains filtered or unexported fields }
GetRequestedOfficeUserURL generates an URL for the get requested office user operation
func (*GetRequestedOfficeUserURL) Build ¶
func (o *GetRequestedOfficeUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRequestedOfficeUserURL) BuildFull ¶
func (o *GetRequestedOfficeUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRequestedOfficeUserURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRequestedOfficeUserURL) SetBasePath ¶
func (o *GetRequestedOfficeUserURL) 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 (*GetRequestedOfficeUserURL) String ¶
func (o *GetRequestedOfficeUserURL) String() string
String returns the string representation of the path with query string
func (*GetRequestedOfficeUserURL) StringFull ¶
func (o *GetRequestedOfficeUserURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRequestedOfficeUserURL) WithBasePath ¶
func (o *GetRequestedOfficeUserURL) WithBasePath(bp string) *GetRequestedOfficeUserURL
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 GetRequestedOfficeUserUnauthorized ¶
type GetRequestedOfficeUserUnauthorized struct { }
GetRequestedOfficeUserUnauthorized request requires user authentication
swagger:response getRequestedOfficeUserUnauthorized
func NewGetRequestedOfficeUserUnauthorized ¶
func NewGetRequestedOfficeUserUnauthorized() *GetRequestedOfficeUserUnauthorized
NewGetRequestedOfficeUserUnauthorized creates GetRequestedOfficeUserUnauthorized with default headers values
func (*GetRequestedOfficeUserUnauthorized) WriteResponse ¶
func (o *GetRequestedOfficeUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexRequestedOfficeUsers ¶
type IndexRequestedOfficeUsers struct { Context *middleware.Context Handler IndexRequestedOfficeUsersHandler }
IndexRequestedOfficeUsers swagger:route GET /requested-office-users Requested office users indexRequestedOfficeUsers
List of Office Users Requesting Accounts ¶
This endpoint returns a list of Office Users. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewIndexRequestedOfficeUsers ¶
func NewIndexRequestedOfficeUsers(ctx *middleware.Context, handler IndexRequestedOfficeUsersHandler) *IndexRequestedOfficeUsers
NewIndexRequestedOfficeUsers creates a new http.Handler for the index requested office users operation
func (*IndexRequestedOfficeUsers) ServeHTTP ¶
func (o *IndexRequestedOfficeUsers) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type IndexRequestedOfficeUsersBadRequest ¶
type IndexRequestedOfficeUsersBadRequest struct { }
IndexRequestedOfficeUsersBadRequest invalid request
swagger:response indexRequestedOfficeUsersBadRequest
func NewIndexRequestedOfficeUsersBadRequest ¶
func NewIndexRequestedOfficeUsersBadRequest() *IndexRequestedOfficeUsersBadRequest
NewIndexRequestedOfficeUsersBadRequest creates IndexRequestedOfficeUsersBadRequest with default headers values
func (*IndexRequestedOfficeUsersBadRequest) WriteResponse ¶
func (o *IndexRequestedOfficeUsersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexRequestedOfficeUsersHandler ¶
type IndexRequestedOfficeUsersHandler interface {
Handle(IndexRequestedOfficeUsersParams) middleware.Responder
}
IndexRequestedOfficeUsersHandler interface for that can handle valid index requested office users params
type IndexRequestedOfficeUsersHandlerFunc ¶
type IndexRequestedOfficeUsersHandlerFunc func(IndexRequestedOfficeUsersParams) middleware.Responder
IndexRequestedOfficeUsersHandlerFunc turns a function with the right signature into a index requested office users handler
func (IndexRequestedOfficeUsersHandlerFunc) Handle ¶
func (fn IndexRequestedOfficeUsersHandlerFunc) Handle(params IndexRequestedOfficeUsersParams) middleware.Responder
Handle executing the request and returning a response
type IndexRequestedOfficeUsersInternalServerError ¶
type IndexRequestedOfficeUsersInternalServerError struct { }
IndexRequestedOfficeUsersInternalServerError server error
swagger:response indexRequestedOfficeUsersInternalServerError
func NewIndexRequestedOfficeUsersInternalServerError ¶
func NewIndexRequestedOfficeUsersInternalServerError() *IndexRequestedOfficeUsersInternalServerError
NewIndexRequestedOfficeUsersInternalServerError creates IndexRequestedOfficeUsersInternalServerError with default headers values
func (*IndexRequestedOfficeUsersInternalServerError) WriteResponse ¶
func (o *IndexRequestedOfficeUsersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexRequestedOfficeUsersNotFound ¶
type IndexRequestedOfficeUsersNotFound struct { }
IndexRequestedOfficeUsersNotFound Office User not found
swagger:response indexRequestedOfficeUsersNotFound
func NewIndexRequestedOfficeUsersNotFound ¶
func NewIndexRequestedOfficeUsersNotFound() *IndexRequestedOfficeUsersNotFound
NewIndexRequestedOfficeUsersNotFound creates IndexRequestedOfficeUsersNotFound with default headers values
func (*IndexRequestedOfficeUsersNotFound) WriteResponse ¶
func (o *IndexRequestedOfficeUsersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexRequestedOfficeUsersOK ¶
type IndexRequestedOfficeUsersOK struct { /*Used for pagination */ ContentRange string `json:"Content-Range"` /* In: Body */ Payload adminmessages.OfficeUsers `json:"body,omitempty"` }
IndexRequestedOfficeUsersOK success
swagger:response indexRequestedOfficeUsersOK
func NewIndexRequestedOfficeUsersOK ¶
func NewIndexRequestedOfficeUsersOK() *IndexRequestedOfficeUsersOK
NewIndexRequestedOfficeUsersOK creates IndexRequestedOfficeUsersOK with default headers values
func (*IndexRequestedOfficeUsersOK) SetContentRange ¶
func (o *IndexRequestedOfficeUsersOK) SetContentRange(contentRange string)
SetContentRange sets the contentRange to the index requested office users o k response
func (*IndexRequestedOfficeUsersOK) SetPayload ¶
func (o *IndexRequestedOfficeUsersOK) SetPayload(payload adminmessages.OfficeUsers)
SetPayload sets the payload to the index requested office users o k response
func (*IndexRequestedOfficeUsersOK) WithContentRange ¶
func (o *IndexRequestedOfficeUsersOK) WithContentRange(contentRange string) *IndexRequestedOfficeUsersOK
WithContentRange adds the contentRange to the index requested office users o k response
func (*IndexRequestedOfficeUsersOK) WithPayload ¶
func (o *IndexRequestedOfficeUsersOK) WithPayload(payload adminmessages.OfficeUsers) *IndexRequestedOfficeUsersOK
WithPayload adds the payload to the index requested office users o k response
func (*IndexRequestedOfficeUsersOK) WriteResponse ¶
func (o *IndexRequestedOfficeUsersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexRequestedOfficeUsersParams ¶
type IndexRequestedOfficeUsersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Order *bool /* In: query */ Page *int64 /* In: query */ PerPage *int64 /* In: query */ Sort *string }
IndexRequestedOfficeUsersParams contains all the bound params for the index requested office users operation typically these are obtained from a http.Request
swagger:parameters indexRequestedOfficeUsers
func NewIndexRequestedOfficeUsersParams ¶
func NewIndexRequestedOfficeUsersParams() IndexRequestedOfficeUsersParams
NewIndexRequestedOfficeUsersParams creates a new IndexRequestedOfficeUsersParams object
There are no default values defined in the spec.
func (*IndexRequestedOfficeUsersParams) BindRequest ¶
func (o *IndexRequestedOfficeUsersParams) 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 NewIndexRequestedOfficeUsersParams() beforehand.
type IndexRequestedOfficeUsersURL ¶
type IndexRequestedOfficeUsersURL struct { Filter *string Order *bool Page *int64 PerPage *int64 Sort *string // contains filtered or unexported fields }
IndexRequestedOfficeUsersURL generates an URL for the index requested office users operation
func (*IndexRequestedOfficeUsersURL) Build ¶
func (o *IndexRequestedOfficeUsersURL) Build() (*url.URL, error)
Build a url path and query string
func (*IndexRequestedOfficeUsersURL) BuildFull ¶
func (o *IndexRequestedOfficeUsersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*IndexRequestedOfficeUsersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*IndexRequestedOfficeUsersURL) SetBasePath ¶
func (o *IndexRequestedOfficeUsersURL) 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 (*IndexRequestedOfficeUsersURL) String ¶
func (o *IndexRequestedOfficeUsersURL) String() string
String returns the string representation of the path with query string
func (*IndexRequestedOfficeUsersURL) StringFull ¶
func (o *IndexRequestedOfficeUsersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*IndexRequestedOfficeUsersURL) WithBasePath ¶
func (o *IndexRequestedOfficeUsersURL) WithBasePath(bp string) *IndexRequestedOfficeUsersURL
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 IndexRequestedOfficeUsersUnauthorized ¶
type IndexRequestedOfficeUsersUnauthorized struct { }
IndexRequestedOfficeUsersUnauthorized request requires user authentication
swagger:response indexRequestedOfficeUsersUnauthorized
func NewIndexRequestedOfficeUsersUnauthorized ¶
func NewIndexRequestedOfficeUsersUnauthorized() *IndexRequestedOfficeUsersUnauthorized
NewIndexRequestedOfficeUsersUnauthorized creates IndexRequestedOfficeUsersUnauthorized with default headers values
func (*IndexRequestedOfficeUsersUnauthorized) WriteResponse ¶
func (o *IndexRequestedOfficeUsersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRequestedOfficeUser ¶
type UpdateRequestedOfficeUser struct { Context *middleware.Context Handler UpdateRequestedOfficeUserHandler }
UpdateRequestedOfficeUser swagger:route PATCH /requested-office-users/{officeUserId} Requested office users updateRequestedOfficeUser
Update a Requested Office User ¶
Updates a requested office user to include profile data and status. This will be used in the Admin UI for approving/rejecting/updating a user.
func NewUpdateRequestedOfficeUser ¶
func NewUpdateRequestedOfficeUser(ctx *middleware.Context, handler UpdateRequestedOfficeUserHandler) *UpdateRequestedOfficeUser
NewUpdateRequestedOfficeUser creates a new http.Handler for the update requested office user operation
func (*UpdateRequestedOfficeUser) ServeHTTP ¶
func (o *UpdateRequestedOfficeUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateRequestedOfficeUserHandler ¶
type UpdateRequestedOfficeUserHandler interface {
Handle(UpdateRequestedOfficeUserParams) middleware.Responder
}
UpdateRequestedOfficeUserHandler interface for that can handle valid update requested office user params
type UpdateRequestedOfficeUserHandlerFunc ¶
type UpdateRequestedOfficeUserHandlerFunc func(UpdateRequestedOfficeUserParams) middleware.Responder
UpdateRequestedOfficeUserHandlerFunc turns a function with the right signature into a update requested office user handler
func (UpdateRequestedOfficeUserHandlerFunc) Handle ¶
func (fn UpdateRequestedOfficeUserHandlerFunc) Handle(params UpdateRequestedOfficeUserParams) middleware.Responder
Handle executing the request and returning a response
type UpdateRequestedOfficeUserInternalServerError ¶
type UpdateRequestedOfficeUserInternalServerError struct { }
UpdateRequestedOfficeUserInternalServerError server error
swagger:response updateRequestedOfficeUserInternalServerError
func NewUpdateRequestedOfficeUserInternalServerError ¶
func NewUpdateRequestedOfficeUserInternalServerError() *UpdateRequestedOfficeUserInternalServerError
NewUpdateRequestedOfficeUserInternalServerError creates UpdateRequestedOfficeUserInternalServerError with default headers values
func (*UpdateRequestedOfficeUserInternalServerError) WriteResponse ¶
func (o *UpdateRequestedOfficeUserInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRequestedOfficeUserNotFound ¶
type UpdateRequestedOfficeUserNotFound struct { }
UpdateRequestedOfficeUserNotFound Office User not found
swagger:response updateRequestedOfficeUserNotFound
func NewUpdateRequestedOfficeUserNotFound ¶
func NewUpdateRequestedOfficeUserNotFound() *UpdateRequestedOfficeUserNotFound
NewUpdateRequestedOfficeUserNotFound creates UpdateRequestedOfficeUserNotFound with default headers values
func (*UpdateRequestedOfficeUserNotFound) WriteResponse ¶
func (o *UpdateRequestedOfficeUserNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRequestedOfficeUserOK ¶
type UpdateRequestedOfficeUserOK struct { /* In: Body */ Payload *adminmessages.OfficeUser `json:"body,omitempty"` }
UpdateRequestedOfficeUserOK success
swagger:response updateRequestedOfficeUserOK
func NewUpdateRequestedOfficeUserOK ¶
func NewUpdateRequestedOfficeUserOK() *UpdateRequestedOfficeUserOK
NewUpdateRequestedOfficeUserOK creates UpdateRequestedOfficeUserOK with default headers values
func (*UpdateRequestedOfficeUserOK) SetPayload ¶
func (o *UpdateRequestedOfficeUserOK) SetPayload(payload *adminmessages.OfficeUser)
SetPayload sets the payload to the update requested office user o k response
func (*UpdateRequestedOfficeUserOK) WithPayload ¶
func (o *UpdateRequestedOfficeUserOK) WithPayload(payload *adminmessages.OfficeUser) *UpdateRequestedOfficeUserOK
WithPayload adds the payload to the update requested office user o k response
func (*UpdateRequestedOfficeUserOK) WriteResponse ¶
func (o *UpdateRequestedOfficeUserOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRequestedOfficeUserParams ¶
type UpdateRequestedOfficeUserParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *adminmessages.RequestedOfficeUserUpdate /* Required: true In: path */ OfficeUserID strfmt.UUID }
UpdateRequestedOfficeUserParams contains all the bound params for the update requested office user operation typically these are obtained from a http.Request
swagger:parameters updateRequestedOfficeUser
func NewUpdateRequestedOfficeUserParams ¶
func NewUpdateRequestedOfficeUserParams() UpdateRequestedOfficeUserParams
NewUpdateRequestedOfficeUserParams creates a new UpdateRequestedOfficeUserParams object
There are no default values defined in the spec.
func (*UpdateRequestedOfficeUserParams) BindRequest ¶
func (o *UpdateRequestedOfficeUserParams) 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 NewUpdateRequestedOfficeUserParams() beforehand.
type UpdateRequestedOfficeUserURL ¶
type UpdateRequestedOfficeUserURL struct { OfficeUserID strfmt.UUID // contains filtered or unexported fields }
UpdateRequestedOfficeUserURL generates an URL for the update requested office user operation
func (*UpdateRequestedOfficeUserURL) Build ¶
func (o *UpdateRequestedOfficeUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateRequestedOfficeUserURL) BuildFull ¶
func (o *UpdateRequestedOfficeUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateRequestedOfficeUserURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateRequestedOfficeUserURL) SetBasePath ¶
func (o *UpdateRequestedOfficeUserURL) 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 (*UpdateRequestedOfficeUserURL) String ¶
func (o *UpdateRequestedOfficeUserURL) String() string
String returns the string representation of the path with query string
func (*UpdateRequestedOfficeUserURL) StringFull ¶
func (o *UpdateRequestedOfficeUserURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateRequestedOfficeUserURL) WithBasePath ¶
func (o *UpdateRequestedOfficeUserURL) WithBasePath(bp string) *UpdateRequestedOfficeUserURL
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 UpdateRequestedOfficeUserUnauthorized ¶
type UpdateRequestedOfficeUserUnauthorized struct { }
UpdateRequestedOfficeUserUnauthorized request requires user authentication
swagger:response updateRequestedOfficeUserUnauthorized
func NewUpdateRequestedOfficeUserUnauthorized ¶
func NewUpdateRequestedOfficeUserUnauthorized() *UpdateRequestedOfficeUserUnauthorized
NewUpdateRequestedOfficeUserUnauthorized creates UpdateRequestedOfficeUserUnauthorized with default headers values
func (*UpdateRequestedOfficeUserUnauthorized) WriteResponse ¶
func (o *UpdateRequestedOfficeUserUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateRequestedOfficeUserUnprocessableEntity ¶
type UpdateRequestedOfficeUserUnprocessableEntity struct { /* In: Body */ Payload *adminmessages.ValidationError `json:"body,omitempty"` }
UpdateRequestedOfficeUserUnprocessableEntity validation error
swagger:response updateRequestedOfficeUserUnprocessableEntity
func NewUpdateRequestedOfficeUserUnprocessableEntity ¶
func NewUpdateRequestedOfficeUserUnprocessableEntity() *UpdateRequestedOfficeUserUnprocessableEntity
NewUpdateRequestedOfficeUserUnprocessableEntity creates UpdateRequestedOfficeUserUnprocessableEntity with default headers values
func (*UpdateRequestedOfficeUserUnprocessableEntity) SetPayload ¶
func (o *UpdateRequestedOfficeUserUnprocessableEntity) SetPayload(payload *adminmessages.ValidationError)
SetPayload sets the payload to the update requested office user unprocessable entity response
func (*UpdateRequestedOfficeUserUnprocessableEntity) WithPayload ¶
func (o *UpdateRequestedOfficeUserUnprocessableEntity) WithPayload(payload *adminmessages.ValidationError) *UpdateRequestedOfficeUserUnprocessableEntity
WithPayload adds the payload to the update requested office user unprocessable entity response
func (*UpdateRequestedOfficeUserUnprocessableEntity) WriteResponse ¶
func (o *UpdateRequestedOfficeUserUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- get_requested_office_user.go
- get_requested_office_user_parameters.go
- get_requested_office_user_responses.go
- get_requested_office_user_urlbuilder.go
- index_requested_office_users.go
- index_requested_office_users_parameters.go
- index_requested_office_users_responses.go
- index_requested_office_users_urlbuilder.go
- update_requested_office_user.go
- update_requested_office_user_parameters.go
- update_requested_office_user_responses.go
- update_requested_office_user_urlbuilder.go