operations

package
v0.0.0-...-77bbea8 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteMeetupIDBadRequestCode int = 400

DeleteMeetupIDBadRequestCode is the HTTP code returned for type DeleteMeetupIDBadRequest

View Source
const DeleteMeetupIDForbiddenCode int = 403

DeleteMeetupIDForbiddenCode is the HTTP code returned for type DeleteMeetupIDForbidden

View Source
const DeleteMeetupIDNoContentCode int = 204

DeleteMeetupIDNoContentCode is the HTTP code returned for type DeleteMeetupIDNoContent

View Source
const DeleteMeetupIDNotFoundCode int = 404

DeleteMeetupIDNotFoundCode is the HTTP code returned for type DeleteMeetupIDNotFound

View Source
const GetMeetupBadRequestCode int = 400

GetMeetupBadRequestCode is the HTTP code returned for type GetMeetupBadRequest

View Source
const GetMeetupIDAttendeeBadRequestCode int = 400

GetMeetupIDAttendeeBadRequestCode is the HTTP code returned for type GetMeetupIDAttendeeBadRequest

View Source
const GetMeetupIDAttendeeForbiddenCode int = 403

GetMeetupIDAttendeeForbiddenCode is the HTTP code returned for type GetMeetupIDAttendeeForbidden

View Source
const GetMeetupIDAttendeeNotFoundCode int = 404

GetMeetupIDAttendeeNotFoundCode is the HTTP code returned for type GetMeetupIDAttendeeNotFound

View Source
const GetMeetupIDAttendeeOKCode int = 200

GetMeetupIDAttendeeOKCode is the HTTP code returned for type GetMeetupIDAttendeeOK

View Source
const GetMeetupIDBadRequestCode int = 400

GetMeetupIDBadRequestCode is the HTTP code returned for type GetMeetupIDBadRequest

View Source
const GetMeetupIDNotFoundCode int = 404

GetMeetupIDNotFoundCode is the HTTP code returned for type GetMeetupIDNotFound

View Source
const GetMeetupIDOKCode int = 200

GetMeetupIDOKCode is the HTTP code returned for type GetMeetupIDOK

View Source
const GetMeetupOKCode int = 200

GetMeetupOKCode is the HTTP code returned for type GetMeetupOK

View Source
const GetMeetupRemoteBadRequestCode int = 400

GetMeetupRemoteBadRequestCode is the HTTP code returned for type GetMeetupRemoteBadRequest

View Source
const GetMeetupRemoteOKCode int = 200

GetMeetupRemoteOKCode is the HTTP code returned for type GetMeetupRemoteOK

View Source
const GetUserFacebookAuthSeeOtherCode int = 303

GetUserFacebookAuthSeeOtherCode is the HTTP code returned for type GetUserFacebookAuthSeeOther

View Source
const GetUserFacebookRedirectOKCode int = 200

GetUserFacebookRedirectOKCode is the HTTP code returned for type GetUserFacebookRedirectOK

View Source
const GetUserFacebookRedirectSeeOtherCode int = 303

GetUserFacebookRedirectSeeOtherCode is the HTTP code returned for type GetUserFacebookRedirectSeeOther

View Source
const GetUserGoogleAuthSeeOtherCode int = 303

GetUserGoogleAuthSeeOtherCode is the HTTP code returned for type GetUserGoogleAuthSeeOther

View Source
const GetUserGoogleRedirectOKCode int = 200

GetUserGoogleRedirectOKCode is the HTTP code returned for type GetUserGoogleRedirectOK

View Source
const GetUserGoogleRedirectSeeOtherCode int = 303

GetUserGoogleRedirectSeeOtherCode is the HTTP code returned for type GetUserGoogleRedirectSeeOther

View Source
const GetUserIDNotFoundCode int = 404

GetUserIDNotFoundCode is the HTTP code returned for type GetUserIDNotFound

View Source
const GetUserIDOKCode int = 200

GetUserIDOKCode is the HTTP code returned for type GetUserIDOK

View Source
const GetUserLogoutNoContentCode int = 204

GetUserLogoutNoContentCode is the HTTP code returned for type GetUserLogoutNoContent

View Source
const GetUserMeForbiddenCode int = 403

GetUserMeForbiddenCode is the HTTP code returned for type GetUserMeForbidden

View Source
const GetUserMeOKCode int = 200

GetUserMeOKCode is the HTTP code returned for type GetUserMeOK

View Source
const PatchMeetupIDAttendeeBadRequestCode int = 400

PatchMeetupIDAttendeeBadRequestCode is the HTTP code returned for type PatchMeetupIDAttendeeBadRequest

View Source
const PatchMeetupIDAttendeeForbiddenCode int = 403

PatchMeetupIDAttendeeForbiddenCode is the HTTP code returned for type PatchMeetupIDAttendeeForbidden

View Source
const PatchMeetupIDAttendeeNotFoundCode int = 404

PatchMeetupIDAttendeeNotFoundCode is the HTTP code returned for type PatchMeetupIDAttendeeNotFound

View Source
const PatchMeetupIDAttendeeOKCode int = 200

PatchMeetupIDAttendeeOKCode is the HTTP code returned for type PatchMeetupIDAttendeeOK

View Source
const PatchMeetupIDBadRequestCode int = 400

PatchMeetupIDBadRequestCode is the HTTP code returned for type PatchMeetupIDBadRequest

View Source
const PatchMeetupIDForbiddenCode int = 403

PatchMeetupIDForbiddenCode is the HTTP code returned for type PatchMeetupIDForbidden

View Source
const PatchMeetupIDNotFoundCode int = 404

PatchMeetupIDNotFoundCode is the HTTP code returned for type PatchMeetupIDNotFound

View Source
const PatchMeetupIDOKCode int = 200

PatchMeetupIDOKCode is the HTTP code returned for type PatchMeetupIDOK

View Source
const PatchUserIDForbiddenCode int = 403

PatchUserIDForbiddenCode is the HTTP code returned for type PatchUserIDForbidden

View Source
const PatchUserIDNotFoundCode int = 404

PatchUserIDNotFoundCode is the HTTP code returned for type PatchUserIDNotFound

View Source
const PatchUserIDOKCode int = 200

PatchUserIDOKCode is the HTTP code returned for type PatchUserIDOK

View Source
const PostMeetupBadRequestCode int = 400

PostMeetupBadRequestCode is the HTTP code returned for type PostMeetupBadRequest

View Source
const PostMeetupCreatedCode int = 201

PostMeetupCreatedCode is the HTTP code returned for type PostMeetupCreated

View Source
const PostMeetupIDAttendeeBadRequestCode int = 400

PostMeetupIDAttendeeBadRequestCode is the HTTP code returned for type PostMeetupIDAttendeeBadRequest

View Source
const PostMeetupIDAttendeeForbiddenCode int = 403

PostMeetupIDAttendeeForbiddenCode is the HTTP code returned for type PostMeetupIDAttendeeForbidden

View Source
const PostMeetupIDAttendeeNotFoundCode int = 404

PostMeetupIDAttendeeNotFoundCode is the HTTP code returned for type PostMeetupIDAttendeeNotFound

View Source
const PostMeetupIDAttendeeOKCode int = 200

PostMeetupIDAttendeeOKCode is the HTTP code returned for type PostMeetupIDAttendeeOK

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteMeetupID

type DeleteMeetupID struct {
	Context *middleware.Context
	Handler DeleteMeetupIDHandler
}

DeleteMeetupID swagger:route DELETE /meetup/{id} deleteMeetupId

Delete the specified meetup

If the specified meetup does not exist, an error is returned

func NewDeleteMeetupID

func NewDeleteMeetupID(ctx *middleware.Context, handler DeleteMeetupIDHandler) *DeleteMeetupID

NewDeleteMeetupID creates a new http.Handler for the delete meetup ID operation

func (*DeleteMeetupID) ServeHTTP

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

type DeleteMeetupIDBadRequest

type DeleteMeetupIDBadRequest struct {

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

DeleteMeetupIDBadRequest Bad Request

swagger:response deleteMeetupIdBadRequest

func NewDeleteMeetupIDBadRequest

func NewDeleteMeetupIDBadRequest() *DeleteMeetupIDBadRequest

NewDeleteMeetupIDBadRequest creates DeleteMeetupIDBadRequest with default headers values

func (*DeleteMeetupIDBadRequest) SetPayload

func (o *DeleteMeetupIDBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete meetup Id bad request response

func (*DeleteMeetupIDBadRequest) WithPayload

WithPayload adds the payload to the delete meetup Id bad request response

func (*DeleteMeetupIDBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteMeetupIDForbidden

type DeleteMeetupIDForbidden struct {

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

DeleteMeetupIDForbidden Forbidden

swagger:response deleteMeetupIdForbidden

func NewDeleteMeetupIDForbidden

func NewDeleteMeetupIDForbidden() *DeleteMeetupIDForbidden

NewDeleteMeetupIDForbidden creates DeleteMeetupIDForbidden with default headers values

func (*DeleteMeetupIDForbidden) SetPayload

func (o *DeleteMeetupIDForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete meetup Id forbidden response

func (*DeleteMeetupIDForbidden) WithPayload

func (o *DeleteMeetupIDForbidden) WithPayload(payload *models.Error) *DeleteMeetupIDForbidden

WithPayload adds the payload to the delete meetup Id forbidden response

func (*DeleteMeetupIDForbidden) WriteResponse

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

WriteResponse to the client

type DeleteMeetupIDHandler

type DeleteMeetupIDHandler interface {
	Handle(DeleteMeetupIDParams, interface{}) middleware.Responder
}

DeleteMeetupIDHandler interface for that can handle valid delete meetup ID params

type DeleteMeetupIDHandlerFunc

type DeleteMeetupIDHandlerFunc func(DeleteMeetupIDParams, interface{}) middleware.Responder

DeleteMeetupIDHandlerFunc turns a function with the right signature into a delete meetup ID handler

func (DeleteMeetupIDHandlerFunc) Handle

func (fn DeleteMeetupIDHandlerFunc) Handle(params DeleteMeetupIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteMeetupIDNoContent

type DeleteMeetupIDNoContent struct {
}

DeleteMeetupIDNoContent No Content

swagger:response deleteMeetupIdNoContent

func NewDeleteMeetupIDNoContent

func NewDeleteMeetupIDNoContent() *DeleteMeetupIDNoContent

NewDeleteMeetupIDNoContent creates DeleteMeetupIDNoContent with default headers values

func (*DeleteMeetupIDNoContent) WriteResponse

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

WriteResponse to the client

type DeleteMeetupIDNotFound

type DeleteMeetupIDNotFound struct {

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

DeleteMeetupIDNotFound Not found

swagger:response deleteMeetupIdNotFound

func NewDeleteMeetupIDNotFound

func NewDeleteMeetupIDNotFound() *DeleteMeetupIDNotFound

NewDeleteMeetupIDNotFound creates DeleteMeetupIDNotFound with default headers values

func (*DeleteMeetupIDNotFound) SetPayload

func (o *DeleteMeetupIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete meetup Id not found response

func (*DeleteMeetupIDNotFound) WithPayload

func (o *DeleteMeetupIDNotFound) WithPayload(payload *models.Error) *DeleteMeetupIDNotFound

WithPayload adds the payload to the delete meetup Id not found response

func (*DeleteMeetupIDNotFound) WriteResponse

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

WriteResponse to the client

type DeleteMeetupIDParams

type DeleteMeetupIDParams struct {

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

	/*ID of the desired meetup
	  Required: true
	  In: path
	*/
	ID string
}

DeleteMeetupIDParams contains all the bound params for the delete meetup ID operation typically these are obtained from a http.Request

swagger:parameters DeleteMeetupID

func NewDeleteMeetupIDParams

func NewDeleteMeetupIDParams() DeleteMeetupIDParams

NewDeleteMeetupIDParams creates a new DeleteMeetupIDParams object no default values defined in spec.

func (*DeleteMeetupIDParams) BindRequest

func (o *DeleteMeetupIDParams) 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 NewDeleteMeetupIDParams() beforehand.

type DeleteMeetupIDURL

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

DeleteMeetupIDURL generates an URL for the delete meetup ID operation

func (*DeleteMeetupIDURL) Build

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

Build a url path and query string

func (*DeleteMeetupIDURL) BuildFull

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

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

func (*DeleteMeetupIDURL) Must

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

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

func (*DeleteMeetupIDURL) SetBasePath

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

func (o *DeleteMeetupIDURL) String() string

String returns the string representation of the path with query string

func (*DeleteMeetupIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteMeetupIDURL) WithBasePath

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

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 DownToMeetAPI

type DownToMeetAPI 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

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

	// CookieSessionAuth registers a function that takes a token and returns a principal
	// it performs authentication based on an api key COOKIE provided in the query
	CookieSessionAuth func(string) (interface{}, error)

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

	// DeleteMeetupIDHandler sets the operation handler for the delete meetup ID operation
	DeleteMeetupIDHandler DeleteMeetupIDHandler
	// GetMeetupHandler sets the operation handler for the get meetup operation
	GetMeetupHandler GetMeetupHandler
	// GetMeetupIDHandler sets the operation handler for the get meetup ID operation
	GetMeetupIDHandler GetMeetupIDHandler
	// GetMeetupIDAttendeeHandler sets the operation handler for the get meetup ID attendee operation
	GetMeetupIDAttendeeHandler GetMeetupIDAttendeeHandler
	// GetMeetupRemoteHandler sets the operation handler for the get meetup remote operation
	GetMeetupRemoteHandler GetMeetupRemoteHandler
	// GetUserFacebookAuthHandler sets the operation handler for the get user facebook auth operation
	GetUserFacebookAuthHandler GetUserFacebookAuthHandler
	// GetUserFacebookRedirectHandler sets the operation handler for the get user facebook redirect operation
	GetUserFacebookRedirectHandler GetUserFacebookRedirectHandler
	// GetUserGoogleAuthHandler sets the operation handler for the get user google auth operation
	GetUserGoogleAuthHandler GetUserGoogleAuthHandler
	// GetUserGoogleRedirectHandler sets the operation handler for the get user google redirect operation
	GetUserGoogleRedirectHandler GetUserGoogleRedirectHandler
	// GetUserIDHandler sets the operation handler for the get user ID operation
	GetUserIDHandler GetUserIDHandler
	// GetUserLogoutHandler sets the operation handler for the get user logout operation
	GetUserLogoutHandler GetUserLogoutHandler
	// GetUserMeHandler sets the operation handler for the get user me operation
	GetUserMeHandler GetUserMeHandler
	// PatchMeetupIDHandler sets the operation handler for the patch meetup ID operation
	PatchMeetupIDHandler PatchMeetupIDHandler
	// PatchMeetupIDAttendeeHandler sets the operation handler for the patch meetup ID attendee operation
	PatchMeetupIDAttendeeHandler PatchMeetupIDAttendeeHandler
	// PatchUserIDHandler sets the operation handler for the patch user ID operation
	PatchUserIDHandler PatchUserIDHandler
	// PostMeetupHandler sets the operation handler for the post meetup operation
	PostMeetupHandler PostMeetupHandler
	// PostMeetupIDAttendeeHandler sets the operation handler for the post meetup ID attendee operation
	PostMeetupIDAttendeeHandler PostMeetupIDAttendeeHandler
	// 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
}

DownToMeetAPI the down to meet API

func NewDownToMeetAPI

func NewDownToMeetAPI(spec *loads.Document) *DownToMeetAPI

NewDownToMeetAPI creates a new DownToMeet instance

func (*DownToMeetAPI) AddMiddlewareFor

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

AddMiddlewareFor adds a http middleware to existing handler

func (*DownToMeetAPI) AuthenticatorsFor

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

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*DownToMeetAPI) Authorizer

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

Authorizer returns the registered authorizer

func (*DownToMeetAPI) ConsumersFor

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

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

func (*DownToMeetAPI) Context

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

Context returns the middleware context for the down to meet API

func (*DownToMeetAPI) DefaultConsumes

func (o *DownToMeetAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*DownToMeetAPI) DefaultProduces

func (o *DownToMeetAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*DownToMeetAPI) Formats

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

Formats returns the registered string formats

func (*DownToMeetAPI) HandlerFor

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

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

func (*DownToMeetAPI) Init

func (o *DownToMeetAPI) Init()

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

func (*DownToMeetAPI) ProducersFor

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

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

func (*DownToMeetAPI) RegisterConsumer

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

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

func (*DownToMeetAPI) RegisterFormat

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

RegisterFormat registers a custom format validator

func (*DownToMeetAPI) RegisterProducer

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

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

func (*DownToMeetAPI) Serve

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

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

ServeErrorFor gets a error handler for a given operation id

func (*DownToMeetAPI) SetDefaultConsumes

func (o *DownToMeetAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*DownToMeetAPI) SetDefaultProduces

func (o *DownToMeetAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*DownToMeetAPI) SetSpec

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

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

func (*DownToMeetAPI) UseRedoc

func (o *DownToMeetAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*DownToMeetAPI) UseSwaggerUI

func (o *DownToMeetAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*DownToMeetAPI) Validate

func (o *DownToMeetAPI) Validate() error

Validate validates the registrations in the DownToMeetAPI

type GetMeetup

type GetMeetup struct {
	Context *middleware.Context
	Handler GetMeetupHandler
}

GetMeetup swagger:route GET /meetup getMeetup

Get the list of in-person meetups

If the required parameters were not specified correctly, an error is returned

func NewGetMeetup

func NewGetMeetup(ctx *middleware.Context, handler GetMeetupHandler) *GetMeetup

NewGetMeetup creates a new http.Handler for the get meetup operation

func (*GetMeetup) ServeHTTP

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

type GetMeetupBadRequest

type GetMeetupBadRequest struct {

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

GetMeetupBadRequest Bad Request

swagger:response getMeetupBadRequest

func NewGetMeetupBadRequest

func NewGetMeetupBadRequest() *GetMeetupBadRequest

NewGetMeetupBadRequest creates GetMeetupBadRequest with default headers values

func (*GetMeetupBadRequest) SetPayload

func (o *GetMeetupBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get meetup bad request response

func (*GetMeetupBadRequest) WithPayload

func (o *GetMeetupBadRequest) WithPayload(payload *models.Error) *GetMeetupBadRequest

WithPayload adds the payload to the get meetup bad request response

func (*GetMeetupBadRequest) WriteResponse

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

WriteResponse to the client

type GetMeetupHandler

type GetMeetupHandler interface {
	Handle(GetMeetupParams) middleware.Responder
}

GetMeetupHandler interface for that can handle valid get meetup params

type GetMeetupHandlerFunc

type GetMeetupHandlerFunc func(GetMeetupParams) middleware.Responder

GetMeetupHandlerFunc turns a function with the right signature into a get meetup handler

func (GetMeetupHandlerFunc) Handle

Handle executing the request and returning a response

type GetMeetupID

type GetMeetupID struct {
	Context *middleware.Context
	Handler GetMeetupIDHandler
}

GetMeetupID swagger:route GET /meetup/{id} getMeetupId

Get the specified meetup's information

If the specified meetup does not exist, an error is returned

func NewGetMeetupID

func NewGetMeetupID(ctx *middleware.Context, handler GetMeetupIDHandler) *GetMeetupID

NewGetMeetupID creates a new http.Handler for the get meetup ID operation

func (*GetMeetupID) ServeHTTP

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

type GetMeetupIDAttendee

type GetMeetupIDAttendee struct {
	Context *middleware.Context
	Handler GetMeetupIDAttendeeHandler
}

GetMeetupIDAttendee swagger:route GET /meetup/{id}/attendee getMeetupIdAttendee

Get list of attending and pending attendees for a specified meetup

If the specified meetup does not exist, an error is returned

func NewGetMeetupIDAttendee

func NewGetMeetupIDAttendee(ctx *middleware.Context, handler GetMeetupIDAttendeeHandler) *GetMeetupIDAttendee

NewGetMeetupIDAttendee creates a new http.Handler for the get meetup ID attendee operation

func (*GetMeetupIDAttendee) ServeHTTP

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

type GetMeetupIDAttendeeBadRequest

type GetMeetupIDAttendeeBadRequest struct {

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

GetMeetupIDAttendeeBadRequest Bad Request

swagger:response getMeetupIdAttendeeBadRequest

func NewGetMeetupIDAttendeeBadRequest

func NewGetMeetupIDAttendeeBadRequest() *GetMeetupIDAttendeeBadRequest

NewGetMeetupIDAttendeeBadRequest creates GetMeetupIDAttendeeBadRequest with default headers values

func (*GetMeetupIDAttendeeBadRequest) SetPayload

func (o *GetMeetupIDAttendeeBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get meetup Id attendee bad request response

func (*GetMeetupIDAttendeeBadRequest) WithPayload

WithPayload adds the payload to the get meetup Id attendee bad request response

func (*GetMeetupIDAttendeeBadRequest) WriteResponse

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

WriteResponse to the client

type GetMeetupIDAttendeeForbidden

type GetMeetupIDAttendeeForbidden struct {

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

GetMeetupIDAttendeeForbidden Forbidden

swagger:response getMeetupIdAttendeeForbidden

func NewGetMeetupIDAttendeeForbidden

func NewGetMeetupIDAttendeeForbidden() *GetMeetupIDAttendeeForbidden

NewGetMeetupIDAttendeeForbidden creates GetMeetupIDAttendeeForbidden with default headers values

func (*GetMeetupIDAttendeeForbidden) SetPayload

func (o *GetMeetupIDAttendeeForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the get meetup Id attendee forbidden response

func (*GetMeetupIDAttendeeForbidden) WithPayload

WithPayload adds the payload to the get meetup Id attendee forbidden response

func (*GetMeetupIDAttendeeForbidden) WriteResponse

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

WriteResponse to the client

type GetMeetupIDAttendeeHandler

type GetMeetupIDAttendeeHandler interface {
	Handle(GetMeetupIDAttendeeParams, interface{}) middleware.Responder
}

GetMeetupIDAttendeeHandler interface for that can handle valid get meetup ID attendee params

type GetMeetupIDAttendeeHandlerFunc

type GetMeetupIDAttendeeHandlerFunc func(GetMeetupIDAttendeeParams, interface{}) middleware.Responder

GetMeetupIDAttendeeHandlerFunc turns a function with the right signature into a get meetup ID attendee handler

func (GetMeetupIDAttendeeHandlerFunc) Handle

func (fn GetMeetupIDAttendeeHandlerFunc) Handle(params GetMeetupIDAttendeeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetMeetupIDAttendeeNotFound

type GetMeetupIDAttendeeNotFound struct {

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

GetMeetupIDAttendeeNotFound Not found

swagger:response getMeetupIdAttendeeNotFound

func NewGetMeetupIDAttendeeNotFound

func NewGetMeetupIDAttendeeNotFound() *GetMeetupIDAttendeeNotFound

NewGetMeetupIDAttendeeNotFound creates GetMeetupIDAttendeeNotFound with default headers values

func (*GetMeetupIDAttendeeNotFound) SetPayload

func (o *GetMeetupIDAttendeeNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get meetup Id attendee not found response

func (*GetMeetupIDAttendeeNotFound) WithPayload

WithPayload adds the payload to the get meetup Id attendee not found response

func (*GetMeetupIDAttendeeNotFound) WriteResponse

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

WriteResponse to the client

type GetMeetupIDAttendeeOK

type GetMeetupIDAttendeeOK struct {

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

GetMeetupIDAttendeeOK OK

swagger:response getMeetupIdAttendeeOK

func NewGetMeetupIDAttendeeOK

func NewGetMeetupIDAttendeeOK() *GetMeetupIDAttendeeOK

NewGetMeetupIDAttendeeOK creates GetMeetupIDAttendeeOK with default headers values

func (*GetMeetupIDAttendeeOK) SetPayload

func (o *GetMeetupIDAttendeeOK) SetPayload(payload *models.AttendeeList)

SetPayload sets the payload to the get meetup Id attendee o k response

func (*GetMeetupIDAttendeeOK) WithPayload

WithPayload adds the payload to the get meetup Id attendee o k response

func (*GetMeetupIDAttendeeOK) WriteResponse

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

WriteResponse to the client

type GetMeetupIDAttendeeParams

type GetMeetupIDAttendeeParams struct {

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

	/*ID of the desired meetup
	  Required: true
	  In: path
	*/
	ID string
}

GetMeetupIDAttendeeParams contains all the bound params for the get meetup ID attendee operation typically these are obtained from a http.Request

swagger:parameters GetMeetupIDAttendee

func NewGetMeetupIDAttendeeParams

func NewGetMeetupIDAttendeeParams() GetMeetupIDAttendeeParams

NewGetMeetupIDAttendeeParams creates a new GetMeetupIDAttendeeParams object no default values defined in spec.

func (*GetMeetupIDAttendeeParams) 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 NewGetMeetupIDAttendeeParams() beforehand.

type GetMeetupIDAttendeeURL

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

GetMeetupIDAttendeeURL generates an URL for the get meetup ID attendee operation

func (*GetMeetupIDAttendeeURL) Build

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

Build a url path and query string

func (*GetMeetupIDAttendeeURL) BuildFull

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

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

func (*GetMeetupIDAttendeeURL) Must

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

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

func (*GetMeetupIDAttendeeURL) SetBasePath

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

func (o *GetMeetupIDAttendeeURL) String() string

String returns the string representation of the path with query string

func (*GetMeetupIDAttendeeURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMeetupIDAttendeeURL) 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 GetMeetupIDBadRequest

type GetMeetupIDBadRequest struct {

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

GetMeetupIDBadRequest Bad Request

swagger:response getMeetupIdBadRequest

func NewGetMeetupIDBadRequest

func NewGetMeetupIDBadRequest() *GetMeetupIDBadRequest

NewGetMeetupIDBadRequest creates GetMeetupIDBadRequest with default headers values

func (*GetMeetupIDBadRequest) SetPayload

func (o *GetMeetupIDBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get meetup Id bad request response

func (*GetMeetupIDBadRequest) WithPayload

func (o *GetMeetupIDBadRequest) WithPayload(payload *models.Error) *GetMeetupIDBadRequest

WithPayload adds the payload to the get meetup Id bad request response

func (*GetMeetupIDBadRequest) WriteResponse

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

WriteResponse to the client

type GetMeetupIDHandler

type GetMeetupIDHandler interface {
	Handle(GetMeetupIDParams) middleware.Responder
}

GetMeetupIDHandler interface for that can handle valid get meetup ID params

type GetMeetupIDHandlerFunc

type GetMeetupIDHandlerFunc func(GetMeetupIDParams) middleware.Responder

GetMeetupIDHandlerFunc turns a function with the right signature into a get meetup ID handler

func (GetMeetupIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetMeetupIDNotFound

type GetMeetupIDNotFound struct {

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

GetMeetupIDNotFound Not found

swagger:response getMeetupIdNotFound

func NewGetMeetupIDNotFound

func NewGetMeetupIDNotFound() *GetMeetupIDNotFound

NewGetMeetupIDNotFound creates GetMeetupIDNotFound with default headers values

func (*GetMeetupIDNotFound) SetPayload

func (o *GetMeetupIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get meetup Id not found response

func (*GetMeetupIDNotFound) WithPayload

func (o *GetMeetupIDNotFound) WithPayload(payload *models.Error) *GetMeetupIDNotFound

WithPayload adds the payload to the get meetup Id not found response

func (*GetMeetupIDNotFound) WriteResponse

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

WriteResponse to the client

type GetMeetupIDOK

type GetMeetupIDOK struct {

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

GetMeetupIDOK OK

swagger:response getMeetupIdOK

func NewGetMeetupIDOK

func NewGetMeetupIDOK() *GetMeetupIDOK

NewGetMeetupIDOK creates GetMeetupIDOK with default headers values

func (*GetMeetupIDOK) SetPayload

func (o *GetMeetupIDOK) SetPayload(payload *models.Meetup)

SetPayload sets the payload to the get meetup Id o k response

func (*GetMeetupIDOK) WithPayload

func (o *GetMeetupIDOK) WithPayload(payload *models.Meetup) *GetMeetupIDOK

WithPayload adds the payload to the get meetup Id o k response

func (*GetMeetupIDOK) WriteResponse

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

WriteResponse to the client

type GetMeetupIDParams

type GetMeetupIDParams struct {

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

	/*ID of the desired meetup
	  Required: true
	  In: path
	*/
	ID string
}

GetMeetupIDParams contains all the bound params for the get meetup ID operation typically these are obtained from a http.Request

swagger:parameters GetMeetupID

func NewGetMeetupIDParams

func NewGetMeetupIDParams() GetMeetupIDParams

NewGetMeetupIDParams creates a new GetMeetupIDParams object no default values defined in spec.

func (*GetMeetupIDParams) BindRequest

func (o *GetMeetupIDParams) 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 NewGetMeetupIDParams() beforehand.

type GetMeetupIDURL

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

GetMeetupIDURL generates an URL for the get meetup ID operation

func (*GetMeetupIDURL) Build

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

Build a url path and query string

func (*GetMeetupIDURL) BuildFull

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

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

func (*GetMeetupIDURL) Must

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

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

func (*GetMeetupIDURL) SetBasePath

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

func (o *GetMeetupIDURL) String() string

String returns the string representation of the path with query string

func (*GetMeetupIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMeetupIDURL) WithBasePath

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

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 GetMeetupOK

type GetMeetupOK struct {

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

GetMeetupOK OK

swagger:response getMeetupOK

func NewGetMeetupOK

func NewGetMeetupOK() *GetMeetupOK

NewGetMeetupOK creates GetMeetupOK with default headers values

func (*GetMeetupOK) SetPayload

func (o *GetMeetupOK) SetPayload(payload []*models.Meetup)

SetPayload sets the payload to the get meetup o k response

func (*GetMeetupOK) WithPayload

func (o *GetMeetupOK) WithPayload(payload []*models.Meetup) *GetMeetupOK

WithPayload adds the payload to the get meetup o k response

func (*GetMeetupOK) WriteResponse

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

WriteResponse to the client

type GetMeetupParams

type GetMeetupParams struct {

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

	/*The latitude of the center of search
	  Required: true
	  Maximum: 90
	  Minimum: -90
	  In: query
	*/
	Lat float64
	/*The longitude of the center of search
	  Required: true
	  Maximum: 180
	  Minimum: -180
	  In: query
	*/
	Lon float64
	/*Desired search radius (kilometers)
	  Required: true
	  Minimum: 0
	  In: query
	*/
	Radius float64
	/*Interests to search for
	  In: query
	*/
	Tags []string
}

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

swagger:parameters GetMeetup

func NewGetMeetupParams

func NewGetMeetupParams() GetMeetupParams

NewGetMeetupParams creates a new GetMeetupParams object no default values defined in spec.

func (*GetMeetupParams) BindRequest

func (o *GetMeetupParams) 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 NewGetMeetupParams() beforehand.

type GetMeetupRemote

type GetMeetupRemote struct {
	Context *middleware.Context
	Handler GetMeetupRemoteHandler
}

GetMeetupRemote swagger:route GET /meetup/remote getMeetupRemote

Get the list of remote meetups

If the required parameters were not specified correctly, an error is returned

func NewGetMeetupRemote

func NewGetMeetupRemote(ctx *middleware.Context, handler GetMeetupRemoteHandler) *GetMeetupRemote

NewGetMeetupRemote creates a new http.Handler for the get meetup remote operation

func (*GetMeetupRemote) ServeHTTP

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

type GetMeetupRemoteBadRequest

type GetMeetupRemoteBadRequest struct {

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

GetMeetupRemoteBadRequest Bad Request

swagger:response getMeetupRemoteBadRequest

func NewGetMeetupRemoteBadRequest

func NewGetMeetupRemoteBadRequest() *GetMeetupRemoteBadRequest

NewGetMeetupRemoteBadRequest creates GetMeetupRemoteBadRequest with default headers values

func (*GetMeetupRemoteBadRequest) SetPayload

func (o *GetMeetupRemoteBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get meetup remote bad request response

func (*GetMeetupRemoteBadRequest) WithPayload

WithPayload adds the payload to the get meetup remote bad request response

func (*GetMeetupRemoteBadRequest) WriteResponse

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

WriteResponse to the client

type GetMeetupRemoteHandler

type GetMeetupRemoteHandler interface {
	Handle(GetMeetupRemoteParams) middleware.Responder
}

GetMeetupRemoteHandler interface for that can handle valid get meetup remote params

type GetMeetupRemoteHandlerFunc

type GetMeetupRemoteHandlerFunc func(GetMeetupRemoteParams) middleware.Responder

GetMeetupRemoteHandlerFunc turns a function with the right signature into a get meetup remote handler

func (GetMeetupRemoteHandlerFunc) Handle

Handle executing the request and returning a response

type GetMeetupRemoteOK

type GetMeetupRemoteOK struct {

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

GetMeetupRemoteOK OK

swagger:response getMeetupRemoteOK

func NewGetMeetupRemoteOK

func NewGetMeetupRemoteOK() *GetMeetupRemoteOK

NewGetMeetupRemoteOK creates GetMeetupRemoteOK with default headers values

func (*GetMeetupRemoteOK) SetPayload

func (o *GetMeetupRemoteOK) SetPayload(payload []*models.Meetup)

SetPayload sets the payload to the get meetup remote o k response

func (*GetMeetupRemoteOK) WithPayload

func (o *GetMeetupRemoteOK) WithPayload(payload []*models.Meetup) *GetMeetupRemoteOK

WithPayload adds the payload to the get meetup remote o k response

func (*GetMeetupRemoteOK) WriteResponse

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

WriteResponse to the client

type GetMeetupRemoteParams

type GetMeetupRemoteParams struct {

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

	/*Interests to search for
	  In: query
	*/
	Tags []string
}

GetMeetupRemoteParams contains all the bound params for the get meetup remote operation typically these are obtained from a http.Request

swagger:parameters GetMeetupRemote

func NewGetMeetupRemoteParams

func NewGetMeetupRemoteParams() GetMeetupRemoteParams

NewGetMeetupRemoteParams creates a new GetMeetupRemoteParams object no default values defined in spec.

func (*GetMeetupRemoteParams) BindRequest

func (o *GetMeetupRemoteParams) 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 NewGetMeetupRemoteParams() beforehand.

type GetMeetupRemoteURL

type GetMeetupRemoteURL struct {
	Tags []string
	// contains filtered or unexported fields
}

GetMeetupRemoteURL generates an URL for the get meetup remote operation

func (*GetMeetupRemoteURL) Build

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

Build a url path and query string

func (*GetMeetupRemoteURL) BuildFull

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

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

func (*GetMeetupRemoteURL) Must

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

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

func (*GetMeetupRemoteURL) SetBasePath

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

func (o *GetMeetupRemoteURL) String() string

String returns the string representation of the path with query string

func (*GetMeetupRemoteURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMeetupRemoteURL) WithBasePath

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

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 GetMeetupURL

type GetMeetupURL struct {
	Lat    float64
	Lon    float64
	Radius float64
	Tags   []string
	// contains filtered or unexported fields
}

GetMeetupURL generates an URL for the get meetup operation

func (*GetMeetupURL) Build

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

Build a url path and query string

func (*GetMeetupURL) BuildFull

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

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

func (*GetMeetupURL) Must

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

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

func (*GetMeetupURL) SetBasePath

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

func (o *GetMeetupURL) String() string

String returns the string representation of the path with query string

func (*GetMeetupURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMeetupURL) WithBasePath

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

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 GetUserFacebookAuth

type GetUserFacebookAuth struct {
	Context *middleware.Context
	Handler GetUserFacebookAuthHandler
}

GetUserFacebookAuth swagger:route GET /user/facebook/auth getUserFacebookAuth

Facebook OAuth login

Start a Facebook OAuth login flow here.

func NewGetUserFacebookAuth

func NewGetUserFacebookAuth(ctx *middleware.Context, handler GetUserFacebookAuthHandler) *GetUserFacebookAuth

NewGetUserFacebookAuth creates a new http.Handler for the get user facebook auth operation

func (*GetUserFacebookAuth) ServeHTTP

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

type GetUserFacebookAuthHandler

type GetUserFacebookAuthHandler interface {
	Handle(GetUserFacebookAuthParams) middleware.Responder
}

GetUserFacebookAuthHandler interface for that can handle valid get user facebook auth params

type GetUserFacebookAuthHandlerFunc

type GetUserFacebookAuthHandlerFunc func(GetUserFacebookAuthParams) middleware.Responder

GetUserFacebookAuthHandlerFunc turns a function with the right signature into a get user facebook auth handler

func (GetUserFacebookAuthHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserFacebookAuthParams

type GetUserFacebookAuthParams struct {

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

GetUserFacebookAuthParams contains all the bound params for the get user facebook auth operation typically these are obtained from a http.Request

swagger:parameters GetUserFacebookAuth

func NewGetUserFacebookAuthParams

func NewGetUserFacebookAuthParams() GetUserFacebookAuthParams

NewGetUserFacebookAuthParams creates a new GetUserFacebookAuthParams object no default values defined in spec.

func (*GetUserFacebookAuthParams) 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 NewGetUserFacebookAuthParams() beforehand.

type GetUserFacebookAuthSeeOther

type GetUserFacebookAuthSeeOther struct {
	/*Redirect URL

	 */
	Location string `json:"Location"`
}

GetUserFacebookAuthSeeOther Redirect to Facebook login prompt.

swagger:response getUserFacebookAuthSeeOther

func NewGetUserFacebookAuthSeeOther

func NewGetUserFacebookAuthSeeOther() *GetUserFacebookAuthSeeOther

NewGetUserFacebookAuthSeeOther creates GetUserFacebookAuthSeeOther with default headers values

func (*GetUserFacebookAuthSeeOther) SetLocation

func (o *GetUserFacebookAuthSeeOther) SetLocation(location string)

SetLocation sets the location to the get user facebook auth see other response

func (*GetUserFacebookAuthSeeOther) WithLocation

WithLocation adds the location to the get user facebook auth see other response

func (*GetUserFacebookAuthSeeOther) WriteResponse

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

WriteResponse to the client

type GetUserFacebookAuthURL

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

GetUserFacebookAuthURL generates an URL for the get user facebook auth operation

func (*GetUserFacebookAuthURL) Build

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

Build a url path and query string

func (*GetUserFacebookAuthURL) BuildFull

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

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

func (*GetUserFacebookAuthURL) Must

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

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

func (*GetUserFacebookAuthURL) SetBasePath

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

func (o *GetUserFacebookAuthURL) String() string

String returns the string representation of the path with query string

func (*GetUserFacebookAuthURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserFacebookAuthURL) 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 GetUserFacebookRedirect

type GetUserFacebookRedirect struct {
	Context *middleware.Context
	Handler GetUserFacebookRedirectHandler
}

GetUserFacebookRedirect swagger:route GET /user/facebook/redirect getUserFacebookRedirect

Facebook OAuth redirect

If authentication fails, the user is not logged in.

func NewGetUserFacebookRedirect

func NewGetUserFacebookRedirect(ctx *middleware.Context, handler GetUserFacebookRedirectHandler) *GetUserFacebookRedirect

NewGetUserFacebookRedirect creates a new http.Handler for the get user facebook redirect operation

func (*GetUserFacebookRedirect) ServeHTTP

type GetUserFacebookRedirectHandler

type GetUserFacebookRedirectHandler interface {
	Handle(GetUserFacebookRedirectParams) middleware.Responder
}

GetUserFacebookRedirectHandler interface for that can handle valid get user facebook redirect params

type GetUserFacebookRedirectHandlerFunc

type GetUserFacebookRedirectHandlerFunc func(GetUserFacebookRedirectParams) middleware.Responder

GetUserFacebookRedirectHandlerFunc turns a function with the right signature into a get user facebook redirect handler

func (GetUserFacebookRedirectHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserFacebookRedirectOK

type GetUserFacebookRedirectOK struct {

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

GetUserFacebookRedirectOK Simple HTML file that will redirect user to the home page.

swagger:response getUserFacebookRedirectOK

func NewGetUserFacebookRedirectOK

func NewGetUserFacebookRedirectOK() *GetUserFacebookRedirectOK

NewGetUserFacebookRedirectOK creates GetUserFacebookRedirectOK with default headers values

func (*GetUserFacebookRedirectOK) SetPayload

func (o *GetUserFacebookRedirectOK) SetPayload(payload string)

SetPayload sets the payload to the get user facebook redirect o k response

func (*GetUserFacebookRedirectOK) WithPayload

WithPayload adds the payload to the get user facebook redirect o k response

func (*GetUserFacebookRedirectOK) WriteResponse

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

WriteResponse to the client

type GetUserFacebookRedirectParams

type GetUserFacebookRedirectParams struct {

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

	/*Work around for same-site cookie. Do not set
	  In: query
	*/
	Trampoline *string
	/*Authorization code from Facebook
	  Required: true
	  In: query
	*/
	Code string
	/*Nonce state from Facebook
	  Required: true
	  In: query
	*/
	State string
}

GetUserFacebookRedirectParams contains all the bound params for the get user facebook redirect operation typically these are obtained from a http.Request

swagger:parameters GetUserFacebookRedirect

func NewGetUserFacebookRedirectParams

func NewGetUserFacebookRedirectParams() GetUserFacebookRedirectParams

NewGetUserFacebookRedirectParams creates a new GetUserFacebookRedirectParams object no default values defined in spec.

func (*GetUserFacebookRedirectParams) 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 NewGetUserFacebookRedirectParams() beforehand.

type GetUserFacebookRedirectSeeOther

type GetUserFacebookRedirectSeeOther struct {
	/*Redirect URL

	 */
	Location string `json:"Location"`
}

GetUserFacebookRedirectSeeOther Redirect to home page.

swagger:response getUserFacebookRedirectSeeOther

func NewGetUserFacebookRedirectSeeOther

func NewGetUserFacebookRedirectSeeOther() *GetUserFacebookRedirectSeeOther

NewGetUserFacebookRedirectSeeOther creates GetUserFacebookRedirectSeeOther with default headers values

func (*GetUserFacebookRedirectSeeOther) SetLocation

func (o *GetUserFacebookRedirectSeeOther) SetLocation(location string)

SetLocation sets the location to the get user facebook redirect see other response

func (*GetUserFacebookRedirectSeeOther) WithLocation

WithLocation adds the location to the get user facebook redirect see other response

func (*GetUserFacebookRedirectSeeOther) WriteResponse

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

WriteResponse to the client

type GetUserFacebookRedirectURL

type GetUserFacebookRedirectURL struct {
	Trampoline *string
	Code       string
	State      string
	// contains filtered or unexported fields
}

GetUserFacebookRedirectURL generates an URL for the get user facebook redirect operation

func (*GetUserFacebookRedirectURL) Build

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

Build a url path and query string

func (*GetUserFacebookRedirectURL) BuildFull

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

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

func (*GetUserFacebookRedirectURL) Must

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

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

func (*GetUserFacebookRedirectURL) SetBasePath

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

func (o *GetUserFacebookRedirectURL) String() string

String returns the string representation of the path with query string

func (*GetUserFacebookRedirectURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserFacebookRedirectURL) 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 GetUserGoogleAuth

type GetUserGoogleAuth struct {
	Context *middleware.Context
	Handler GetUserGoogleAuthHandler
}

GetUserGoogleAuth swagger:route GET /user/google/auth getUserGoogleAuth

Google OAuth login

Start a Google OAuth login flow here.

func NewGetUserGoogleAuth

func NewGetUserGoogleAuth(ctx *middleware.Context, handler GetUserGoogleAuthHandler) *GetUserGoogleAuth

NewGetUserGoogleAuth creates a new http.Handler for the get user google auth operation

func (*GetUserGoogleAuth) ServeHTTP

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

type GetUserGoogleAuthHandler

type GetUserGoogleAuthHandler interface {
	Handle(GetUserGoogleAuthParams) middleware.Responder
}

GetUserGoogleAuthHandler interface for that can handle valid get user google auth params

type GetUserGoogleAuthHandlerFunc

type GetUserGoogleAuthHandlerFunc func(GetUserGoogleAuthParams) middleware.Responder

GetUserGoogleAuthHandlerFunc turns a function with the right signature into a get user google auth handler

func (GetUserGoogleAuthHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserGoogleAuthParams

type GetUserGoogleAuthParams struct {

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

GetUserGoogleAuthParams contains all the bound params for the get user google auth operation typically these are obtained from a http.Request

swagger:parameters GetUserGoogleAuth

func NewGetUserGoogleAuthParams

func NewGetUserGoogleAuthParams() GetUserGoogleAuthParams

NewGetUserGoogleAuthParams creates a new GetUserGoogleAuthParams object no default values defined in spec.

func (*GetUserGoogleAuthParams) BindRequest

func (o *GetUserGoogleAuthParams) 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 NewGetUserGoogleAuthParams() beforehand.

type GetUserGoogleAuthSeeOther

type GetUserGoogleAuthSeeOther struct {
	/*Redirect URL

	 */
	Location string `json:"Location"`
}

GetUserGoogleAuthSeeOther Redirect to Google login prompt.

swagger:response getUserGoogleAuthSeeOther

func NewGetUserGoogleAuthSeeOther

func NewGetUserGoogleAuthSeeOther() *GetUserGoogleAuthSeeOther

NewGetUserGoogleAuthSeeOther creates GetUserGoogleAuthSeeOther with default headers values

func (*GetUserGoogleAuthSeeOther) SetLocation

func (o *GetUserGoogleAuthSeeOther) SetLocation(location string)

SetLocation sets the location to the get user google auth see other response

func (*GetUserGoogleAuthSeeOther) WithLocation

func (o *GetUserGoogleAuthSeeOther) WithLocation(location string) *GetUserGoogleAuthSeeOther

WithLocation adds the location to the get user google auth see other response

func (*GetUserGoogleAuthSeeOther) WriteResponse

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

WriteResponse to the client

type GetUserGoogleAuthURL

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

GetUserGoogleAuthURL generates an URL for the get user google auth operation

func (*GetUserGoogleAuthURL) Build

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

Build a url path and query string

func (*GetUserGoogleAuthURL) BuildFull

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

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

func (*GetUserGoogleAuthURL) Must

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

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

func (*GetUserGoogleAuthURL) SetBasePath

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

func (o *GetUserGoogleAuthURL) String() string

String returns the string representation of the path with query string

func (*GetUserGoogleAuthURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserGoogleAuthURL) WithBasePath

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

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 GetUserGoogleRedirect

type GetUserGoogleRedirect struct {
	Context *middleware.Context
	Handler GetUserGoogleRedirectHandler
}

GetUserGoogleRedirect swagger:route GET /user/google/redirect getUserGoogleRedirect

Google OAuth redirect

If authentication fails, the user is not logged in.

func NewGetUserGoogleRedirect

func NewGetUserGoogleRedirect(ctx *middleware.Context, handler GetUserGoogleRedirectHandler) *GetUserGoogleRedirect

NewGetUserGoogleRedirect creates a new http.Handler for the get user google redirect operation

func (*GetUserGoogleRedirect) ServeHTTP

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

type GetUserGoogleRedirectHandler

type GetUserGoogleRedirectHandler interface {
	Handle(GetUserGoogleRedirectParams) middleware.Responder
}

GetUserGoogleRedirectHandler interface for that can handle valid get user google redirect params

type GetUserGoogleRedirectHandlerFunc

type GetUserGoogleRedirectHandlerFunc func(GetUserGoogleRedirectParams) middleware.Responder

GetUserGoogleRedirectHandlerFunc turns a function with the right signature into a get user google redirect handler

func (GetUserGoogleRedirectHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserGoogleRedirectOK

type GetUserGoogleRedirectOK struct {

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

GetUserGoogleRedirectOK Simple HTML file that will redirect user to the home page.

swagger:response getUserGoogleRedirectOK

func NewGetUserGoogleRedirectOK

func NewGetUserGoogleRedirectOK() *GetUserGoogleRedirectOK

NewGetUserGoogleRedirectOK creates GetUserGoogleRedirectOK with default headers values

func (*GetUserGoogleRedirectOK) SetPayload

func (o *GetUserGoogleRedirectOK) SetPayload(payload string)

SetPayload sets the payload to the get user google redirect o k response

func (*GetUserGoogleRedirectOK) WithPayload

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

WithPayload adds the payload to the get user google redirect o k response

func (*GetUserGoogleRedirectOK) WriteResponse

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

WriteResponse to the client

type GetUserGoogleRedirectParams

type GetUserGoogleRedirectParams struct {

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

	/*Work around for same-site cookie. Do not set
	  In: query
	*/
	Trampoline *string
	/*Authorization code from Google
	  Required: true
	  In: query
	*/
	Code string
	/*Nonce state from Google
	  Required: true
	  In: query
	*/
	State string
}

GetUserGoogleRedirectParams contains all the bound params for the get user google redirect operation typically these are obtained from a http.Request

swagger:parameters GetUserGoogleRedirect

func NewGetUserGoogleRedirectParams

func NewGetUserGoogleRedirectParams() GetUserGoogleRedirectParams

NewGetUserGoogleRedirectParams creates a new GetUserGoogleRedirectParams object no default values defined in spec.

func (*GetUserGoogleRedirectParams) 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 NewGetUserGoogleRedirectParams() beforehand.

type GetUserGoogleRedirectSeeOther

type GetUserGoogleRedirectSeeOther struct {
	/*Redirect URL

	 */
	Location string `json:"Location"`
}

GetUserGoogleRedirectSeeOther Redirect to home page.

swagger:response getUserGoogleRedirectSeeOther

func NewGetUserGoogleRedirectSeeOther

func NewGetUserGoogleRedirectSeeOther() *GetUserGoogleRedirectSeeOther

NewGetUserGoogleRedirectSeeOther creates GetUserGoogleRedirectSeeOther with default headers values

func (*GetUserGoogleRedirectSeeOther) SetLocation

func (o *GetUserGoogleRedirectSeeOther) SetLocation(location string)

SetLocation sets the location to the get user google redirect see other response

func (*GetUserGoogleRedirectSeeOther) WithLocation

WithLocation adds the location to the get user google redirect see other response

func (*GetUserGoogleRedirectSeeOther) WriteResponse

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

WriteResponse to the client

type GetUserGoogleRedirectURL

type GetUserGoogleRedirectURL struct {
	Trampoline *string
	Code       string
	State      string
	// contains filtered or unexported fields
}

GetUserGoogleRedirectURL generates an URL for the get user google redirect operation

func (*GetUserGoogleRedirectURL) Build

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

Build a url path and query string

func (*GetUserGoogleRedirectURL) BuildFull

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

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

func (*GetUserGoogleRedirectURL) Must

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

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

func (*GetUserGoogleRedirectURL) SetBasePath

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

func (o *GetUserGoogleRedirectURL) String() string

String returns the string representation of the path with query string

func (*GetUserGoogleRedirectURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserGoogleRedirectURL) 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 GetUserID

type GetUserID struct {
	Context *middleware.Context
	Handler GetUserIDHandler
}

GetUserID swagger:route GET /user/{id} getUserId

Get the specified user's information

If specified user does not exist, an error is returned.

func NewGetUserID

func NewGetUserID(ctx *middleware.Context, handler GetUserIDHandler) *GetUserID

NewGetUserID creates a new http.Handler for the get user ID operation

func (*GetUserID) ServeHTTP

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

type GetUserIDHandler

type GetUserIDHandler interface {
	Handle(GetUserIDParams) middleware.Responder
}

GetUserIDHandler interface for that can handle valid get user ID params

type GetUserIDHandlerFunc

type GetUserIDHandlerFunc func(GetUserIDParams) middleware.Responder

GetUserIDHandlerFunc turns a function with the right signature into a get user ID handler

func (GetUserIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserIDNotFound

type GetUserIDNotFound struct {

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

GetUserIDNotFound Not found

swagger:response getUserIdNotFound

func NewGetUserIDNotFound

func NewGetUserIDNotFound() *GetUserIDNotFound

NewGetUserIDNotFound creates GetUserIDNotFound with default headers values

func (*GetUserIDNotFound) SetPayload

func (o *GetUserIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get user Id not found response

func (*GetUserIDNotFound) WithPayload

func (o *GetUserIDNotFound) WithPayload(payload *models.Error) *GetUserIDNotFound

WithPayload adds the payload to the get user Id not found response

func (*GetUserIDNotFound) WriteResponse

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

WriteResponse to the client

type GetUserIDOK

type GetUserIDOK struct {

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

GetUserIDOK OK

swagger:response getUserIdOK

func NewGetUserIDOK

func NewGetUserIDOK() *GetUserIDOK

NewGetUserIDOK creates GetUserIDOK with default headers values

func (*GetUserIDOK) SetPayload

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

SetPayload sets the payload to the get user Id o k response

func (*GetUserIDOK) WithPayload

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

WithPayload adds the payload to the get user Id o k response

func (*GetUserIDOK) WriteResponse

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

WriteResponse to the client

type GetUserIDParams

type GetUserIDParams struct {

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

	/*ID of the desired user
	  Required: true
	  In: path
	*/
	ID string
}

GetUserIDParams contains all the bound params for the get user ID operation typically these are obtained from a http.Request

swagger:parameters GetUserID

func NewGetUserIDParams

func NewGetUserIDParams() GetUserIDParams

NewGetUserIDParams creates a new GetUserIDParams object no default values defined in spec.

func (*GetUserIDParams) BindRequest

func (o *GetUserIDParams) 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 NewGetUserIDParams() beforehand.

type GetUserIDURL

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

GetUserIDURL generates an URL for the get user ID operation

func (*GetUserIDURL) Build

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

Build a url path and query string

func (*GetUserIDURL) BuildFull

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

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

func (*GetUserIDURL) Must

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

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

func (*GetUserIDURL) SetBasePath

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

func (o *GetUserIDURL) String() string

String returns the string representation of the path with query string

func (*GetUserIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserIDURL) WithBasePath

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

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 GetUserLogout

type GetUserLogout struct {
	Context *middleware.Context
	Handler GetUserLogoutHandler
}

GetUserLogout swagger:route GET /user/logout getUserLogout

Log out the user

func NewGetUserLogout

func NewGetUserLogout(ctx *middleware.Context, handler GetUserLogoutHandler) *GetUserLogout

NewGetUserLogout creates a new http.Handler for the get user logout operation

func (*GetUserLogout) ServeHTTP

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

type GetUserLogoutHandler

type GetUserLogoutHandler interface {
	Handle(GetUserLogoutParams) middleware.Responder
}

GetUserLogoutHandler interface for that can handle valid get user logout params

type GetUserLogoutHandlerFunc

type GetUserLogoutHandlerFunc func(GetUserLogoutParams) middleware.Responder

GetUserLogoutHandlerFunc turns a function with the right signature into a get user logout handler

func (GetUserLogoutHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserLogoutNoContent

type GetUserLogoutNoContent struct {
}

GetUserLogoutNoContent Remove session cookie and redirect to home page.

swagger:response getUserLogoutNoContent

func NewGetUserLogoutNoContent

func NewGetUserLogoutNoContent() *GetUserLogoutNoContent

NewGetUserLogoutNoContent creates GetUserLogoutNoContent with default headers values

func (*GetUserLogoutNoContent) WriteResponse

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

WriteResponse to the client

type GetUserLogoutParams

type GetUserLogoutParams struct {

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

GetUserLogoutParams contains all the bound params for the get user logout operation typically these are obtained from a http.Request

swagger:parameters GetUserLogout

func NewGetUserLogoutParams

func NewGetUserLogoutParams() GetUserLogoutParams

NewGetUserLogoutParams creates a new GetUserLogoutParams object no default values defined in spec.

func (*GetUserLogoutParams) BindRequest

func (o *GetUserLogoutParams) 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 NewGetUserLogoutParams() beforehand.

type GetUserLogoutURL

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

GetUserLogoutURL generates an URL for the get user logout operation

func (*GetUserLogoutURL) Build

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

Build a url path and query string

func (*GetUserLogoutURL) BuildFull

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

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

func (*GetUserLogoutURL) Must

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

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

func (*GetUserLogoutURL) SetBasePath

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

func (o *GetUserLogoutURL) String() string

String returns the string representation of the path with query string

func (*GetUserLogoutURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserLogoutURL) WithBasePath

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

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 GetUserMe

type GetUserMe struct {
	Context *middleware.Context
	Handler GetUserMeHandler
}

GetUserMe swagger:route GET /user/me getUserMe

Get the current user's information

If user is not logged in, an error response is returned.

func NewGetUserMe

func NewGetUserMe(ctx *middleware.Context, handler GetUserMeHandler) *GetUserMe

NewGetUserMe creates a new http.Handler for the get user me operation

func (*GetUserMe) ServeHTTP

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

type GetUserMeForbidden

type GetUserMeForbidden struct {

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

GetUserMeForbidden Forbidden

swagger:response getUserMeForbidden

func NewGetUserMeForbidden

func NewGetUserMeForbidden() *GetUserMeForbidden

NewGetUserMeForbidden creates GetUserMeForbidden with default headers values

func (*GetUserMeForbidden) SetPayload

func (o *GetUserMeForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the get user me forbidden response

func (*GetUserMeForbidden) WithPayload

func (o *GetUserMeForbidden) WithPayload(payload *models.Error) *GetUserMeForbidden

WithPayload adds the payload to the get user me forbidden response

func (*GetUserMeForbidden) WriteResponse

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

WriteResponse to the client

type GetUserMeHandler

type GetUserMeHandler interface {
	Handle(GetUserMeParams, interface{}) middleware.Responder
}

GetUserMeHandler interface for that can handle valid get user me params

type GetUserMeHandlerFunc

type GetUserMeHandlerFunc func(GetUserMeParams, interface{}) middleware.Responder

GetUserMeHandlerFunc turns a function with the right signature into a get user me handler

func (GetUserMeHandlerFunc) Handle

func (fn GetUserMeHandlerFunc) Handle(params GetUserMeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetUserMeOK

type GetUserMeOK struct {

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

GetUserMeOK OK

swagger:response getUserMeOK

func NewGetUserMeOK

func NewGetUserMeOK() *GetUserMeOK

NewGetUserMeOK creates GetUserMeOK with default headers values

func (*GetUserMeOK) SetPayload

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

SetPayload sets the payload to the get user me o k response

func (*GetUserMeOK) WithPayload

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

WithPayload adds the payload to the get user me o k response

func (*GetUserMeOK) WriteResponse

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

WriteResponse to the client

type GetUserMeParams

type GetUserMeParams struct {

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

GetUserMeParams contains all the bound params for the get user me operation typically these are obtained from a http.Request

swagger:parameters GetUserMe

func NewGetUserMeParams

func NewGetUserMeParams() GetUserMeParams

NewGetUserMeParams creates a new GetUserMeParams object no default values defined in spec.

func (*GetUserMeParams) BindRequest

func (o *GetUserMeParams) 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 NewGetUserMeParams() beforehand.

type GetUserMeURL

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

GetUserMeURL generates an URL for the get user me operation

func (*GetUserMeURL) Build

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

Build a url path and query string

func (*GetUserMeURL) BuildFull

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

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

func (*GetUserMeURL) Must

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

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

func (*GetUserMeURL) SetBasePath

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

func (o *GetUserMeURL) String() string

String returns the string representation of the path with query string

func (*GetUserMeURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserMeURL) WithBasePath

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

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 PatchMeetupID

type PatchMeetupID struct {
	Context *middleware.Context
	Handler PatchMeetupIDHandler
}

PatchMeetupID swagger:route PATCH /meetup/{id} patchMeetupId

Patch the specified meetup

func NewPatchMeetupID

func NewPatchMeetupID(ctx *middleware.Context, handler PatchMeetupIDHandler) *PatchMeetupID

NewPatchMeetupID creates a new http.Handler for the patch meetup ID operation

func (*PatchMeetupID) ServeHTTP

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

type PatchMeetupIDAttendee

type PatchMeetupIDAttendee struct {
	Context *middleware.Context
	Handler PatchMeetupIDAttendeeHandler
}

PatchMeetupIDAttendee swagger:route PATCH /meetup/{id}/attendee patchMeetupIdAttendee

Patch the current user's attendee status for the specified meetup

If the specified meetup does not exist, an error is returned

func NewPatchMeetupIDAttendee

func NewPatchMeetupIDAttendee(ctx *middleware.Context, handler PatchMeetupIDAttendeeHandler) *PatchMeetupIDAttendee

NewPatchMeetupIDAttendee creates a new http.Handler for the patch meetup ID attendee operation

func (*PatchMeetupIDAttendee) ServeHTTP

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

type PatchMeetupIDAttendeeBadRequest

type PatchMeetupIDAttendeeBadRequest struct {

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

PatchMeetupIDAttendeeBadRequest Bad Request

swagger:response patchMeetupIdAttendeeBadRequest

func NewPatchMeetupIDAttendeeBadRequest

func NewPatchMeetupIDAttendeeBadRequest() *PatchMeetupIDAttendeeBadRequest

NewPatchMeetupIDAttendeeBadRequest creates PatchMeetupIDAttendeeBadRequest with default headers values

func (*PatchMeetupIDAttendeeBadRequest) SetPayload

func (o *PatchMeetupIDAttendeeBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch meetup Id attendee bad request response

func (*PatchMeetupIDAttendeeBadRequest) WithPayload

WithPayload adds the payload to the patch meetup Id attendee bad request response

func (*PatchMeetupIDAttendeeBadRequest) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDAttendeeForbidden

type PatchMeetupIDAttendeeForbidden struct {

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

PatchMeetupIDAttendeeForbidden Forbidden

swagger:response patchMeetupIdAttendeeForbidden

func NewPatchMeetupIDAttendeeForbidden

func NewPatchMeetupIDAttendeeForbidden() *PatchMeetupIDAttendeeForbidden

NewPatchMeetupIDAttendeeForbidden creates PatchMeetupIDAttendeeForbidden with default headers values

func (*PatchMeetupIDAttendeeForbidden) SetPayload

func (o *PatchMeetupIDAttendeeForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch meetup Id attendee forbidden response

func (*PatchMeetupIDAttendeeForbidden) WithPayload

WithPayload adds the payload to the patch meetup Id attendee forbidden response

func (*PatchMeetupIDAttendeeForbidden) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDAttendeeHandler

type PatchMeetupIDAttendeeHandler interface {
	Handle(PatchMeetupIDAttendeeParams, interface{}) middleware.Responder
}

PatchMeetupIDAttendeeHandler interface for that can handle valid patch meetup ID attendee params

type PatchMeetupIDAttendeeHandlerFunc

type PatchMeetupIDAttendeeHandlerFunc func(PatchMeetupIDAttendeeParams, interface{}) middleware.Responder

PatchMeetupIDAttendeeHandlerFunc turns a function with the right signature into a patch meetup ID attendee handler

func (PatchMeetupIDAttendeeHandlerFunc) Handle

func (fn PatchMeetupIDAttendeeHandlerFunc) Handle(params PatchMeetupIDAttendeeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchMeetupIDAttendeeNotFound

type PatchMeetupIDAttendeeNotFound struct {

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

PatchMeetupIDAttendeeNotFound Not found

swagger:response patchMeetupIdAttendeeNotFound

func NewPatchMeetupIDAttendeeNotFound

func NewPatchMeetupIDAttendeeNotFound() *PatchMeetupIDAttendeeNotFound

NewPatchMeetupIDAttendeeNotFound creates PatchMeetupIDAttendeeNotFound with default headers values

func (*PatchMeetupIDAttendeeNotFound) SetPayload

func (o *PatchMeetupIDAttendeeNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch meetup Id attendee not found response

func (*PatchMeetupIDAttendeeNotFound) WithPayload

WithPayload adds the payload to the patch meetup Id attendee not found response

func (*PatchMeetupIDAttendeeNotFound) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDAttendeeOK

type PatchMeetupIDAttendeeOK struct {

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

PatchMeetupIDAttendeeOK OK

swagger:response patchMeetupIdAttendeeOK

func NewPatchMeetupIDAttendeeOK

func NewPatchMeetupIDAttendeeOK() *PatchMeetupIDAttendeeOK

NewPatchMeetupIDAttendeeOK creates PatchMeetupIDAttendeeOK with default headers values

func (*PatchMeetupIDAttendeeOK) SetPayload

func (o *PatchMeetupIDAttendeeOK) SetPayload(payload models.AttendeeStatus)

SetPayload sets the payload to the patch meetup Id attendee o k response

func (*PatchMeetupIDAttendeeOK) WithPayload

WithPayload adds the payload to the patch meetup Id attendee o k response

func (*PatchMeetupIDAttendeeOK) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDAttendeeParams

type PatchMeetupIDAttendeeParams struct {

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

	/*ID of the desired meetup
	  Required: true
	  In: path
	*/
	ID string
	/*The id of the user being patched, plus their attendee status. Let attendee be empty if patching current user
	  In: body
	*/
	PatchMeetupAttendeeBody *models.PatchMeetupAttendeeBody
}

PatchMeetupIDAttendeeParams contains all the bound params for the patch meetup ID attendee operation typically these are obtained from a http.Request

swagger:parameters PatchMeetupIDAttendee

func NewPatchMeetupIDAttendeeParams

func NewPatchMeetupIDAttendeeParams() PatchMeetupIDAttendeeParams

NewPatchMeetupIDAttendeeParams creates a new PatchMeetupIDAttendeeParams object no default values defined in spec.

func (*PatchMeetupIDAttendeeParams) 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 NewPatchMeetupIDAttendeeParams() beforehand.

type PatchMeetupIDAttendeeURL

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

PatchMeetupIDAttendeeURL generates an URL for the patch meetup ID attendee operation

func (*PatchMeetupIDAttendeeURL) Build

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

Build a url path and query string

func (*PatchMeetupIDAttendeeURL) BuildFull

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

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

func (*PatchMeetupIDAttendeeURL) Must

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

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

func (*PatchMeetupIDAttendeeURL) SetBasePath

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

func (o *PatchMeetupIDAttendeeURL) String() string

String returns the string representation of the path with query string

func (*PatchMeetupIDAttendeeURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PatchMeetupIDAttendeeURL) 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 PatchMeetupIDBadRequest

type PatchMeetupIDBadRequest struct {

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

PatchMeetupIDBadRequest Bad Request

swagger:response patchMeetupIdBadRequest

func NewPatchMeetupIDBadRequest

func NewPatchMeetupIDBadRequest() *PatchMeetupIDBadRequest

NewPatchMeetupIDBadRequest creates PatchMeetupIDBadRequest with default headers values

func (*PatchMeetupIDBadRequest) SetPayload

func (o *PatchMeetupIDBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch meetup Id bad request response

func (*PatchMeetupIDBadRequest) WithPayload

func (o *PatchMeetupIDBadRequest) WithPayload(payload *models.Error) *PatchMeetupIDBadRequest

WithPayload adds the payload to the patch meetup Id bad request response

func (*PatchMeetupIDBadRequest) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDForbidden

type PatchMeetupIDForbidden struct {

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

PatchMeetupIDForbidden Forbidden

swagger:response patchMeetupIdForbidden

func NewPatchMeetupIDForbidden

func NewPatchMeetupIDForbidden() *PatchMeetupIDForbidden

NewPatchMeetupIDForbidden creates PatchMeetupIDForbidden with default headers values

func (*PatchMeetupIDForbidden) SetPayload

func (o *PatchMeetupIDForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch meetup Id forbidden response

func (*PatchMeetupIDForbidden) WithPayload

func (o *PatchMeetupIDForbidden) WithPayload(payload *models.Error) *PatchMeetupIDForbidden

WithPayload adds the payload to the patch meetup Id forbidden response

func (*PatchMeetupIDForbidden) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDHandler

type PatchMeetupIDHandler interface {
	Handle(PatchMeetupIDParams, interface{}) middleware.Responder
}

PatchMeetupIDHandler interface for that can handle valid patch meetup ID params

type PatchMeetupIDHandlerFunc

type PatchMeetupIDHandlerFunc func(PatchMeetupIDParams, interface{}) middleware.Responder

PatchMeetupIDHandlerFunc turns a function with the right signature into a patch meetup ID handler

func (PatchMeetupIDHandlerFunc) Handle

func (fn PatchMeetupIDHandlerFunc) Handle(params PatchMeetupIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchMeetupIDNotFound

type PatchMeetupIDNotFound struct {

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

PatchMeetupIDNotFound Not found

swagger:response patchMeetupIdNotFound

func NewPatchMeetupIDNotFound

func NewPatchMeetupIDNotFound() *PatchMeetupIDNotFound

NewPatchMeetupIDNotFound creates PatchMeetupIDNotFound with default headers values

func (*PatchMeetupIDNotFound) SetPayload

func (o *PatchMeetupIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch meetup Id not found response

func (*PatchMeetupIDNotFound) WithPayload

func (o *PatchMeetupIDNotFound) WithPayload(payload *models.Error) *PatchMeetupIDNotFound

WithPayload adds the payload to the patch meetup Id not found response

func (*PatchMeetupIDNotFound) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDOK

type PatchMeetupIDOK struct {

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

PatchMeetupIDOK OK

swagger:response patchMeetupIdOK

func NewPatchMeetupIDOK

func NewPatchMeetupIDOK() *PatchMeetupIDOK

NewPatchMeetupIDOK creates PatchMeetupIDOK with default headers values

func (*PatchMeetupIDOK) SetPayload

func (o *PatchMeetupIDOK) SetPayload(payload *models.Meetup)

SetPayload sets the payload to the patch meetup Id o k response

func (*PatchMeetupIDOK) WithPayload

func (o *PatchMeetupIDOK) WithPayload(payload *models.Meetup) *PatchMeetupIDOK

WithPayload adds the payload to the patch meetup Id o k response

func (*PatchMeetupIDOK) WriteResponse

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

WriteResponse to the client

type PatchMeetupIDParams

type PatchMeetupIDParams struct {

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

	/*ID of the desired meetup
	  Required: true
	  In: path
	*/
	ID string
	/*The updated meetup information
	  In: body
	*/
	Meetup *models.MeetupRequestBody
}

PatchMeetupIDParams contains all the bound params for the patch meetup ID operation typically these are obtained from a http.Request

swagger:parameters PatchMeetupID

func NewPatchMeetupIDParams

func NewPatchMeetupIDParams() PatchMeetupIDParams

NewPatchMeetupIDParams creates a new PatchMeetupIDParams object no default values defined in spec.

func (*PatchMeetupIDParams) BindRequest

func (o *PatchMeetupIDParams) 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 NewPatchMeetupIDParams() beforehand.

type PatchMeetupIDURL

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

PatchMeetupIDURL generates an URL for the patch meetup ID operation

func (*PatchMeetupIDURL) Build

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

Build a url path and query string

func (*PatchMeetupIDURL) BuildFull

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

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

func (*PatchMeetupIDURL) Must

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

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

func (*PatchMeetupIDURL) SetBasePath

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

func (o *PatchMeetupIDURL) String() string

String returns the string representation of the path with query string

func (*PatchMeetupIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PatchMeetupIDURL) WithBasePath

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

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 PatchUserID

type PatchUserID struct {
	Context *middleware.Context
	Handler PatchUserIDHandler
}

PatchUserID swagger:route PATCH /user/{id} patchUserId

Patch the specified user

If specified user does not exist or current user is not the specified user, an error is returned.

func NewPatchUserID

func NewPatchUserID(ctx *middleware.Context, handler PatchUserIDHandler) *PatchUserID

NewPatchUserID creates a new http.Handler for the patch user ID operation

func (*PatchUserID) ServeHTTP

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

type PatchUserIDForbidden

type PatchUserIDForbidden struct {

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

PatchUserIDForbidden Forbidden

swagger:response patchUserIdForbidden

func NewPatchUserIDForbidden

func NewPatchUserIDForbidden() *PatchUserIDForbidden

NewPatchUserIDForbidden creates PatchUserIDForbidden with default headers values

func (*PatchUserIDForbidden) SetPayload

func (o *PatchUserIDForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch user Id forbidden response

func (*PatchUserIDForbidden) WithPayload

func (o *PatchUserIDForbidden) WithPayload(payload *models.Error) *PatchUserIDForbidden

WithPayload adds the payload to the patch user Id forbidden response

func (*PatchUserIDForbidden) WriteResponse

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

WriteResponse to the client

type PatchUserIDHandler

type PatchUserIDHandler interface {
	Handle(PatchUserIDParams, interface{}) middleware.Responder
}

PatchUserIDHandler interface for that can handle valid patch user ID params

type PatchUserIDHandlerFunc

type PatchUserIDHandlerFunc func(PatchUserIDParams, interface{}) middleware.Responder

PatchUserIDHandlerFunc turns a function with the right signature into a patch user ID handler

func (PatchUserIDHandlerFunc) Handle

func (fn PatchUserIDHandlerFunc) Handle(params PatchUserIDParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchUserIDNotFound

type PatchUserIDNotFound struct {

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

PatchUserIDNotFound Not found

swagger:response patchUserIdNotFound

func NewPatchUserIDNotFound

func NewPatchUserIDNotFound() *PatchUserIDNotFound

NewPatchUserIDNotFound creates PatchUserIDNotFound with default headers values

func (*PatchUserIDNotFound) SetPayload

func (o *PatchUserIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the patch user Id not found response

func (*PatchUserIDNotFound) WithPayload

func (o *PatchUserIDNotFound) WithPayload(payload *models.Error) *PatchUserIDNotFound

WithPayload adds the payload to the patch user Id not found response

func (*PatchUserIDNotFound) WriteResponse

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

WriteResponse to the client

type PatchUserIDOK

type PatchUserIDOK struct {

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

PatchUserIDOK OK

swagger:response patchUserIdOK

func NewPatchUserIDOK

func NewPatchUserIDOK() *PatchUserIDOK

NewPatchUserIDOK creates PatchUserIDOK with default headers values

func (*PatchUserIDOK) SetPayload

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

SetPayload sets the payload to the patch user Id o k response

func (*PatchUserIDOK) WithPayload

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

WithPayload adds the payload to the patch user Id o k response

func (*PatchUserIDOK) WriteResponse

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

WriteResponse to the client

type PatchUserIDParams

type PatchUserIDParams struct {

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

	/*ID of the desired user
	  Required: true
	  In: path
	*/
	ID string
	/*Updated user information
	  In: body
	*/
	UpdatedUser *models.User
}

PatchUserIDParams contains all the bound params for the patch user ID operation typically these are obtained from a http.Request

swagger:parameters PatchUserID

func NewPatchUserIDParams

func NewPatchUserIDParams() PatchUserIDParams

NewPatchUserIDParams creates a new PatchUserIDParams object no default values defined in spec.

func (*PatchUserIDParams) BindRequest

func (o *PatchUserIDParams) 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 NewPatchUserIDParams() beforehand.

type PatchUserIDURL

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

PatchUserIDURL generates an URL for the patch user ID operation

func (*PatchUserIDURL) Build

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

Build a url path and query string

func (*PatchUserIDURL) BuildFull

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

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

func (*PatchUserIDURL) Must

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

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

func (*PatchUserIDURL) SetBasePath

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

func (o *PatchUserIDURL) String() string

String returns the string representation of the path with query string

func (*PatchUserIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PatchUserIDURL) WithBasePath

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

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 PostMeetup

type PostMeetup struct {
	Context *middleware.Context
	Handler PostMeetupHandler
}

PostMeetup swagger:route POST /meetup postMeetup

Post a new meetup

func NewPostMeetup

func NewPostMeetup(ctx *middleware.Context, handler PostMeetupHandler) *PostMeetup

NewPostMeetup creates a new http.Handler for the post meetup operation

func (*PostMeetup) ServeHTTP

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

type PostMeetupBadRequest

type PostMeetupBadRequest struct {

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

PostMeetupBadRequest Bad Request

swagger:response postMeetupBadRequest

func NewPostMeetupBadRequest

func NewPostMeetupBadRequest() *PostMeetupBadRequest

NewPostMeetupBadRequest creates PostMeetupBadRequest with default headers values

func (*PostMeetupBadRequest) SetPayload

func (o *PostMeetupBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the post meetup bad request response

func (*PostMeetupBadRequest) WithPayload

func (o *PostMeetupBadRequest) WithPayload(payload *models.Error) *PostMeetupBadRequest

WithPayload adds the payload to the post meetup bad request response

func (*PostMeetupBadRequest) WriteResponse

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

WriteResponse to the client

type PostMeetupCreated

type PostMeetupCreated struct {

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

PostMeetupCreated Created

swagger:response postMeetupCreated

func NewPostMeetupCreated

func NewPostMeetupCreated() *PostMeetupCreated

NewPostMeetupCreated creates PostMeetupCreated with default headers values

func (*PostMeetupCreated) SetPayload

func (o *PostMeetupCreated) SetPayload(payload *models.Meetup)

SetPayload sets the payload to the post meetup created response

func (*PostMeetupCreated) WithPayload

func (o *PostMeetupCreated) WithPayload(payload *models.Meetup) *PostMeetupCreated

WithPayload adds the payload to the post meetup created response

func (*PostMeetupCreated) WriteResponse

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

WriteResponse to the client

type PostMeetupHandler

type PostMeetupHandler interface {
	Handle(PostMeetupParams, interface{}) middleware.Responder
}

PostMeetupHandler interface for that can handle valid post meetup params

type PostMeetupHandlerFunc

type PostMeetupHandlerFunc func(PostMeetupParams, interface{}) middleware.Responder

PostMeetupHandlerFunc turns a function with the right signature into a post meetup handler

func (PostMeetupHandlerFunc) Handle

func (fn PostMeetupHandlerFunc) Handle(params PostMeetupParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PostMeetupIDAttendee

type PostMeetupIDAttendee struct {
	Context *middleware.Context
	Handler PostMeetupIDAttendeeHandler
}

PostMeetupIDAttendee swagger:route POST /meetup/{id}/attendee postMeetupIdAttendee

Post the current user's attendee status (to "pending") for the specified meetup

If the specified meetup does not exist, an error is returned

func NewPostMeetupIDAttendee

func NewPostMeetupIDAttendee(ctx *middleware.Context, handler PostMeetupIDAttendeeHandler) *PostMeetupIDAttendee

NewPostMeetupIDAttendee creates a new http.Handler for the post meetup ID attendee operation

func (*PostMeetupIDAttendee) ServeHTTP

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

type PostMeetupIDAttendeeBadRequest

type PostMeetupIDAttendeeBadRequest struct {

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

PostMeetupIDAttendeeBadRequest Bad Request

swagger:response postMeetupIdAttendeeBadRequest

func NewPostMeetupIDAttendeeBadRequest

func NewPostMeetupIDAttendeeBadRequest() *PostMeetupIDAttendeeBadRequest

NewPostMeetupIDAttendeeBadRequest creates PostMeetupIDAttendeeBadRequest with default headers values

func (*PostMeetupIDAttendeeBadRequest) SetPayload

func (o *PostMeetupIDAttendeeBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the post meetup Id attendee bad request response

func (*PostMeetupIDAttendeeBadRequest) WithPayload

WithPayload adds the payload to the post meetup Id attendee bad request response

func (*PostMeetupIDAttendeeBadRequest) WriteResponse

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

WriteResponse to the client

type PostMeetupIDAttendeeForbidden

type PostMeetupIDAttendeeForbidden struct {

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

PostMeetupIDAttendeeForbidden Forbidden

swagger:response postMeetupIdAttendeeForbidden

func NewPostMeetupIDAttendeeForbidden

func NewPostMeetupIDAttendeeForbidden() *PostMeetupIDAttendeeForbidden

NewPostMeetupIDAttendeeForbidden creates PostMeetupIDAttendeeForbidden with default headers values

func (*PostMeetupIDAttendeeForbidden) SetPayload

func (o *PostMeetupIDAttendeeForbidden) SetPayload(payload *models.Error)

SetPayload sets the payload to the post meetup Id attendee forbidden response

func (*PostMeetupIDAttendeeForbidden) WithPayload

WithPayload adds the payload to the post meetup Id attendee forbidden response

func (*PostMeetupIDAttendeeForbidden) WriteResponse

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

WriteResponse to the client

type PostMeetupIDAttendeeHandler

type PostMeetupIDAttendeeHandler interface {
	Handle(PostMeetupIDAttendeeParams, interface{}) middleware.Responder
}

PostMeetupIDAttendeeHandler interface for that can handle valid post meetup ID attendee params

type PostMeetupIDAttendeeHandlerFunc

type PostMeetupIDAttendeeHandlerFunc func(PostMeetupIDAttendeeParams, interface{}) middleware.Responder

PostMeetupIDAttendeeHandlerFunc turns a function with the right signature into a post meetup ID attendee handler

func (PostMeetupIDAttendeeHandlerFunc) Handle

func (fn PostMeetupIDAttendeeHandlerFunc) Handle(params PostMeetupIDAttendeeParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PostMeetupIDAttendeeNotFound

type PostMeetupIDAttendeeNotFound struct {

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

PostMeetupIDAttendeeNotFound Not found

swagger:response postMeetupIdAttendeeNotFound

func NewPostMeetupIDAttendeeNotFound

func NewPostMeetupIDAttendeeNotFound() *PostMeetupIDAttendeeNotFound

NewPostMeetupIDAttendeeNotFound creates PostMeetupIDAttendeeNotFound with default headers values

func (*PostMeetupIDAttendeeNotFound) SetPayload

func (o *PostMeetupIDAttendeeNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the post meetup Id attendee not found response

func (*PostMeetupIDAttendeeNotFound) WithPayload

WithPayload adds the payload to the post meetup Id attendee not found response

func (*PostMeetupIDAttendeeNotFound) WriteResponse

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

WriteResponse to the client

type PostMeetupIDAttendeeOK

type PostMeetupIDAttendeeOK struct {

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

PostMeetupIDAttendeeOK OK

swagger:response postMeetupIdAttendeeOK

func NewPostMeetupIDAttendeeOK

func NewPostMeetupIDAttendeeOK() *PostMeetupIDAttendeeOK

NewPostMeetupIDAttendeeOK creates PostMeetupIDAttendeeOK with default headers values

func (*PostMeetupIDAttendeeOK) SetPayload

func (o *PostMeetupIDAttendeeOK) SetPayload(payload models.AttendeeStatus)

SetPayload sets the payload to the post meetup Id attendee o k response

func (*PostMeetupIDAttendeeOK) WithPayload

WithPayload adds the payload to the post meetup Id attendee o k response

func (*PostMeetupIDAttendeeOK) WriteResponse

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

WriteResponse to the client

type PostMeetupIDAttendeeParams

type PostMeetupIDAttendeeParams struct {

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

	/*ID of the desired meetup
	  Required: true
	  In: path
	*/
	ID string
}

PostMeetupIDAttendeeParams contains all the bound params for the post meetup ID attendee operation typically these are obtained from a http.Request

swagger:parameters PostMeetupIDAttendee

func NewPostMeetupIDAttendeeParams

func NewPostMeetupIDAttendeeParams() PostMeetupIDAttendeeParams

NewPostMeetupIDAttendeeParams creates a new PostMeetupIDAttendeeParams object no default values defined in spec.

func (*PostMeetupIDAttendeeParams) 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 NewPostMeetupIDAttendeeParams() beforehand.

type PostMeetupIDAttendeeURL

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

PostMeetupIDAttendeeURL generates an URL for the post meetup ID attendee operation

func (*PostMeetupIDAttendeeURL) Build

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

Build a url path and query string

func (*PostMeetupIDAttendeeURL) BuildFull

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

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

func (*PostMeetupIDAttendeeURL) Must

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

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

func (*PostMeetupIDAttendeeURL) SetBasePath

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

func (o *PostMeetupIDAttendeeURL) String() string

String returns the string representation of the path with query string

func (*PostMeetupIDAttendeeURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostMeetupIDAttendeeURL) 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 PostMeetupParams

type PostMeetupParams struct {

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

	/*The meetup to create
	  In: body
	*/
	Meetup *models.MeetupRequestBody
}

PostMeetupParams contains all the bound params for the post meetup operation typically these are obtained from a http.Request

swagger:parameters PostMeetup

func NewPostMeetupParams

func NewPostMeetupParams() PostMeetupParams

NewPostMeetupParams creates a new PostMeetupParams object no default values defined in spec.

func (*PostMeetupParams) BindRequest

func (o *PostMeetupParams) 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 NewPostMeetupParams() beforehand.

type PostMeetupURL

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

PostMeetupURL generates an URL for the post meetup operation

func (*PostMeetupURL) Build

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

Build a url path and query string

func (*PostMeetupURL) BuildFull

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

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

func (*PostMeetupURL) Must

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

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

func (*PostMeetupURL) SetBasePath

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

func (o *PostMeetupURL) String() string

String returns the string representation of the path with query string

func (*PostMeetupURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostMeetupURL) WithBasePath

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

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

Jump to

Keyboard shortcuts

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