Documentation ¶
Index ¶
- Constants
- type GetMeeting
- type GetMeetingHandler
- type GetMeetingHandlerFunc
- type GetMeetingOK
- type GetMeetingParams
- type GetMeetingURL
- func (o *GetMeetingURL) Build() (*url.URL, error)
- func (o *GetMeetingURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMeetingURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMeetingURL) SetBasePath(bp string)
- func (o *GetMeetingURL) String() string
- func (o *GetMeetingURL) StringFull(scheme, host string) string
- func (o *GetMeetingURL) WithBasePath(bp string) *GetMeetingURL
- type JarvisAPI
- func (o *JarvisAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *JarvisAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *JarvisAPI) Authorizer() runtime.Authorizer
- func (o *JarvisAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *JarvisAPI) Context() *middleware.Context
- func (o *JarvisAPI) DefaultConsumes() string
- func (o *JarvisAPI) DefaultProduces() string
- func (o *JarvisAPI) Formats() strfmt.Registry
- func (o *JarvisAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *JarvisAPI) Init()
- func (o *JarvisAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *JarvisAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *JarvisAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *JarvisAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *JarvisAPI) Serve(builder middleware.Builder) http.Handler
- func (o *JarvisAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *JarvisAPI) SetDefaultConsumes(mediaType string)
- func (o *JarvisAPI) SetDefaultProduces(mediaType string)
- func (o *JarvisAPI) SetSpec(spec *loads.Document)
- func (o *JarvisAPI) UseRedoc()
- func (o *JarvisAPI) UseSwaggerUI()
- func (o *JarvisAPI) Validate() error
- type ListRecordings
- type ListRecordingsHandler
- type ListRecordingsHandlerFunc
- type ListRecordingsOK
- type ListRecordingsParams
- type ListRecordingsURL
- func (o *ListRecordingsURL) Build() (*url.URL, error)
- func (o *ListRecordingsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListRecordingsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListRecordingsURL) SetBasePath(bp string)
- func (o *ListRecordingsURL) String() string
- func (o *ListRecordingsURL) StringFull(scheme, host string) string
- func (o *ListRecordingsURL) WithBasePath(bp string) *ListRecordingsURL
- type ListUpcomingMeetings
- type ListUpcomingMeetingsHandler
- type ListUpcomingMeetingsHandlerFunc
- type ListUpcomingMeetingsOK
- type ListUpcomingMeetingsOKBody
- type ListUpcomingMeetingsParams
- type ListUpcomingMeetingsURL
- func (o *ListUpcomingMeetingsURL) Build() (*url.URL, error)
- func (o *ListUpcomingMeetingsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListUpcomingMeetingsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListUpcomingMeetingsURL) SetBasePath(bp string)
- func (o *ListUpcomingMeetingsURL) String() string
- func (o *ListUpcomingMeetingsURL) StringFull(scheme, host string) string
- func (o *ListUpcomingMeetingsURL) WithBasePath(bp string) *ListUpcomingMeetingsURL
Constants ¶
const GetMeetingOKCode int = 200
GetMeetingOKCode is the HTTP code returned for type GetMeetingOK
const ListRecordingsOKCode int = 200
ListRecordingsOKCode is the HTTP code returned for type ListRecordingsOK
const ListUpcomingMeetingsOKCode int = 200
ListUpcomingMeetingsOKCode is the HTTP code returned for type ListUpcomingMeetingsOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetMeeting ¶
type GetMeeting struct { Context *middleware.Context Handler GetMeetingHandler }
GetMeeting swagger:route GET /zoom/meetings/{id} getMeeting
GetMeeting get meeting API
func NewGetMeeting ¶
func NewGetMeeting(ctx *middleware.Context, handler GetMeetingHandler) *GetMeeting
NewGetMeeting creates a new http.Handler for the get meeting operation
func (*GetMeeting) ServeHTTP ¶
func (o *GetMeeting) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMeetingHandler ¶
type GetMeetingHandler interface {
Handle(GetMeetingParams) middleware.Responder
}
GetMeetingHandler interface for that can handle valid get meeting params
type GetMeetingHandlerFunc ¶
type GetMeetingHandlerFunc func(GetMeetingParams) middleware.Responder
GetMeetingHandlerFunc turns a function with the right signature into a get meeting handler
func (GetMeetingHandlerFunc) Handle ¶
func (fn GetMeetingHandlerFunc) Handle(params GetMeetingParams) middleware.Responder
Handle executing the request and returning a response
type GetMeetingOK ¶
GetMeetingOK Get a given Meeting
swagger:response getMeetingOK
func NewGetMeetingOK ¶
func NewGetMeetingOK() *GetMeetingOK
NewGetMeetingOK creates GetMeetingOK with default headers values
func (*GetMeetingOK) SetPayload ¶
func (o *GetMeetingOK) SetPayload(payload *models.Meeting)
SetPayload sets the payload to the get meeting o k response
func (*GetMeetingOK) WithPayload ¶
func (o *GetMeetingOK) WithPayload(payload *models.Meeting) *GetMeetingOK
WithPayload adds the payload to the get meeting o k response
func (*GetMeetingOK) WriteResponse ¶
func (o *GetMeetingOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMeetingParams ¶
type GetMeetingParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
GetMeetingParams contains all the bound params for the get meeting operation typically these are obtained from a http.Request
swagger:parameters GetMeeting
func NewGetMeetingParams ¶
func NewGetMeetingParams() GetMeetingParams
NewGetMeetingParams creates a new GetMeetingParams object no default values defined in spec.
func (*GetMeetingParams) BindRequest ¶
func (o *GetMeetingParams) 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 NewGetMeetingParams() beforehand.
type GetMeetingURL ¶
type GetMeetingURL struct { ID string // contains filtered or unexported fields }
GetMeetingURL generates an URL for the get meeting operation
func (*GetMeetingURL) Build ¶
func (o *GetMeetingURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMeetingURL) BuildFull ¶
func (o *GetMeetingURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMeetingURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetMeetingURL) SetBasePath ¶
func (o *GetMeetingURL) 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 (*GetMeetingURL) String ¶
func (o *GetMeetingURL) String() string
String returns the string representation of the path with query string
func (*GetMeetingURL) StringFull ¶
func (o *GetMeetingURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMeetingURL) WithBasePath ¶
func (o *GetMeetingURL) WithBasePath(bp string) *GetMeetingURL
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 JarvisAPI ¶
type JarvisAPI 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 // DictationStatusHandler sets the operation handler for the dictation status operation DictationStatusHandler DictationStatusHandler // GetMeetingHandler sets the operation handler for the get meeting operation GetMeetingHandler GetMeetingHandler // HealthHandler sets the operation handler for the health operation HealthHandler HealthHandler // ListRecordingsHandler sets the operation handler for the list recordings operation ListRecordingsHandler ListRecordingsHandler // ListUpcomingMeetingsHandler sets the operation handler for the list upcoming meetings operation ListUpcomingMeetingsHandler ListUpcomingMeetingsHandler // StartHandler sets the operation handler for the start operation StartHandler StartHandler // StopHandler sets the operation handler for the stop operation StopHandler StopHandler // 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 }
JarvisAPI Jarvis handles your venture's adventures...
func NewJarvisAPI ¶
NewJarvisAPI creates a new Jarvis instance
func (*JarvisAPI) AddMiddlewareFor ¶
func (o *JarvisAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
AddMiddlewareFor adds a http middleware to existing handler
func (*JarvisAPI) AuthenticatorsFor ¶
func (o *JarvisAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*JarvisAPI) Authorizer ¶
func (o *JarvisAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*JarvisAPI) ConsumersFor ¶
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*JarvisAPI) Context ¶
func (o *JarvisAPI) Context() *middleware.Context
Context returns the middleware context for the jarvis API
func (*JarvisAPI) DefaultConsumes ¶
DefaultConsumes returns the default consumes media type
func (*JarvisAPI) DefaultProduces ¶
DefaultProduces returns the default produces media type
func (*JarvisAPI) HandlerFor ¶
HandlerFor gets a http.Handler for the provided operation method and path
func (*JarvisAPI) Init ¶
func (o *JarvisAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*JarvisAPI) ProducersFor ¶
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*JarvisAPI) RegisterConsumer ¶
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*JarvisAPI) RegisterFormat ¶
RegisterFormat registers a custom format validator
func (*JarvisAPI) RegisterProducer ¶
RegisterProducer allows you to add (or override) a producer for a media type.
func (*JarvisAPI) Serve ¶
func (o *JarvisAPI) 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 (*JarvisAPI) ServeErrorFor ¶
func (o *JarvisAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*JarvisAPI) SetDefaultConsumes ¶
SetDefaultConsumes returns the default consumes media type
func (*JarvisAPI) SetDefaultProduces ¶
SetDefaultProduces sets the default produces media type
func (*JarvisAPI) UseSwaggerUI ¶
func (o *JarvisAPI) UseSwaggerUI()
UseSwaggerUI for documentation at /docs
type ListRecordings ¶
type ListRecordings struct { Context *middleware.Context Handler ListRecordingsHandler }
ListRecordings swagger:route GET /zoom/recordings listRecordings
ListRecordings list recordings API
func NewListRecordings ¶
func NewListRecordings(ctx *middleware.Context, handler ListRecordingsHandler) *ListRecordings
NewListRecordings creates a new http.Handler for the list recordings operation
func (*ListRecordings) ServeHTTP ¶
func (o *ListRecordings) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListRecordingsHandler ¶
type ListRecordingsHandler interface {
Handle(ListRecordingsParams) middleware.Responder
}
ListRecordingsHandler interface for that can handle valid list recordings params
type ListRecordingsHandlerFunc ¶
type ListRecordingsHandlerFunc func(ListRecordingsParams) middleware.Responder
ListRecordingsHandlerFunc turns a function with the right signature into a list recordings handler
func (ListRecordingsHandlerFunc) Handle ¶
func (fn ListRecordingsHandlerFunc) Handle(params ListRecordingsParams) middleware.Responder
Handle executing the request and returning a response
type ListRecordingsOK ¶
ListRecordingsOK List of recorded meetings
swagger:response listRecordingsOK
func NewListRecordingsOK ¶
func NewListRecordingsOK() *ListRecordingsOK
NewListRecordingsOK creates ListRecordingsOK with default headers values
func (*ListRecordingsOK) SetPayload ¶
func (o *ListRecordingsOK) SetPayload(payload []*models.Recording)
SetPayload sets the payload to the list recordings o k response
func (*ListRecordingsOK) WithPayload ¶
func (o *ListRecordingsOK) WithPayload(payload []*models.Recording) *ListRecordingsOK
WithPayload adds the payload to the list recordings o k response
func (*ListRecordingsOK) WriteResponse ¶
func (o *ListRecordingsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListRecordingsParams ¶
ListRecordingsParams contains all the bound params for the list recordings operation typically these are obtained from a http.Request
swagger:parameters ListRecordings
func NewListRecordingsParams ¶
func NewListRecordingsParams() ListRecordingsParams
NewListRecordingsParams creates a new ListRecordingsParams object no default values defined in spec.
func (*ListRecordingsParams) BindRequest ¶
func (o *ListRecordingsParams) 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 NewListRecordingsParams() beforehand.
type ListRecordingsURL ¶
type ListRecordingsURL struct {
// contains filtered or unexported fields
}
ListRecordingsURL generates an URL for the list recordings operation
func (*ListRecordingsURL) Build ¶
func (o *ListRecordingsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListRecordingsURL) BuildFull ¶
func (o *ListRecordingsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListRecordingsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListRecordingsURL) SetBasePath ¶
func (o *ListRecordingsURL) 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 (*ListRecordingsURL) String ¶
func (o *ListRecordingsURL) String() string
String returns the string representation of the path with query string
func (*ListRecordingsURL) StringFull ¶
func (o *ListRecordingsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListRecordingsURL) WithBasePath ¶
func (o *ListRecordingsURL) WithBasePath(bp string) *ListRecordingsURL
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 ListUpcomingMeetings ¶
type ListUpcomingMeetings struct { Context *middleware.Context Handler ListUpcomingMeetingsHandler }
ListUpcomingMeetings swagger:route GET /zoom/meetings/upcoming listUpcomingMeetings
ListUpcomingMeetings list upcoming meetings API
func NewListUpcomingMeetings ¶
func NewListUpcomingMeetings(ctx *middleware.Context, handler ListUpcomingMeetingsHandler) *ListUpcomingMeetings
NewListUpcomingMeetings creates a new http.Handler for the list upcoming meetings operation
func (*ListUpcomingMeetings) ServeHTTP ¶
func (o *ListUpcomingMeetings) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListUpcomingMeetingsHandler ¶
type ListUpcomingMeetingsHandler interface {
Handle(ListUpcomingMeetingsParams) middleware.Responder
}
ListUpcomingMeetingsHandler interface for that can handle valid list upcoming meetings params
type ListUpcomingMeetingsHandlerFunc ¶
type ListUpcomingMeetingsHandlerFunc func(ListUpcomingMeetingsParams) middleware.Responder
ListUpcomingMeetingsHandlerFunc turns a function with the right signature into a list upcoming meetings handler
func (ListUpcomingMeetingsHandlerFunc) Handle ¶
func (fn ListUpcomingMeetingsHandlerFunc) Handle(params ListUpcomingMeetingsParams) middleware.Responder
Handle executing the request and returning a response
type ListUpcomingMeetingsOK ¶
type ListUpcomingMeetingsOK struct { /* In: Body */ Payload *ListUpcomingMeetingsOKBody `json:"body,omitempty"` }
ListUpcomingMeetingsOK List upcoming zoom meetings that Jarvis has been invited to
swagger:response listUpcomingMeetingsOK
func NewListUpcomingMeetingsOK ¶
func NewListUpcomingMeetingsOK() *ListUpcomingMeetingsOK
NewListUpcomingMeetingsOK creates ListUpcomingMeetingsOK with default headers values
func (*ListUpcomingMeetingsOK) SetPayload ¶
func (o *ListUpcomingMeetingsOK) SetPayload(payload *ListUpcomingMeetingsOKBody)
SetPayload sets the payload to the list upcoming meetings o k response
func (*ListUpcomingMeetingsOK) WithPayload ¶
func (o *ListUpcomingMeetingsOK) WithPayload(payload *ListUpcomingMeetingsOKBody) *ListUpcomingMeetingsOK
WithPayload adds the payload to the list upcoming meetings o k response
func (*ListUpcomingMeetingsOK) WriteResponse ¶
func (o *ListUpcomingMeetingsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListUpcomingMeetingsOKBody ¶
ListUpcomingMeetingsOKBody list upcoming meetings o k body
swagger:model ListUpcomingMeetingsOKBody
func (*ListUpcomingMeetingsOKBody) MarshalBinary ¶
func (o *ListUpcomingMeetingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUpcomingMeetingsOKBody) UnmarshalBinary ¶
func (o *ListUpcomingMeetingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUpcomingMeetingsParams ¶
type ListUpcomingMeetingsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListUpcomingMeetingsParams contains all the bound params for the list upcoming meetings operation typically these are obtained from a http.Request
swagger:parameters ListUpcomingMeetings
func NewListUpcomingMeetingsParams ¶
func NewListUpcomingMeetingsParams() ListUpcomingMeetingsParams
NewListUpcomingMeetingsParams creates a new ListUpcomingMeetingsParams object no default values defined in spec.
func (*ListUpcomingMeetingsParams) BindRequest ¶
func (o *ListUpcomingMeetingsParams) 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 NewListUpcomingMeetingsParams() beforehand.
type ListUpcomingMeetingsURL ¶
type ListUpcomingMeetingsURL struct {
// contains filtered or unexported fields
}
ListUpcomingMeetingsURL generates an URL for the list upcoming meetings operation
func (*ListUpcomingMeetingsURL) Build ¶
func (o *ListUpcomingMeetingsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListUpcomingMeetingsURL) BuildFull ¶
func (o *ListUpcomingMeetingsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListUpcomingMeetingsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListUpcomingMeetingsURL) SetBasePath ¶
func (o *ListUpcomingMeetingsURL) 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 (*ListUpcomingMeetingsURL) String ¶
func (o *ListUpcomingMeetingsURL) String() string
String returns the string representation of the path with query string
func (*ListUpcomingMeetingsURL) StringFull ¶
func (o *ListUpcomingMeetingsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListUpcomingMeetingsURL) WithBasePath ¶
func (o *ListUpcomingMeetingsURL) WithBasePath(bp string) *ListUpcomingMeetingsURL
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
Source Files ¶
- get_meeting.go
- get_meeting_parameters.go
- get_meeting_responses.go
- get_meeting_urlbuilder.go
- jarvis_api.go
- list_recordings.go
- list_recordings_parameters.go
- list_recordings_responses.go
- list_recordings_urlbuilder.go
- list_upcoming_meetings.go
- list_upcoming_meetings_parameters.go
- list_upcoming_meetings_responses.go
- list_upcoming_meetings_urlbuilder.go