geographic_maps

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteGeomapsGeomapIDNoContentCode int = 204

DeleteGeomapsGeomapIDNoContentCode is the HTTP code returned for type DeleteGeomapsGeomapIDNoContent

View Source
const DeleteGeomapsGeomapIDNotFoundCode int = 404

DeleteGeomapsGeomapIDNotFoundCode is the HTTP code returned for type DeleteGeomapsGeomapIDNotFound

View Source
const GetGeomapsBadRequestCode int = 400

GetGeomapsBadRequestCode is the HTTP code returned for type GetGeomapsBadRequest

View Source
const GetGeomapsGeomapIDNotFoundCode int = 404

GetGeomapsGeomapIDNotFoundCode is the HTTP code returned for type GetGeomapsGeomapIDNotFound

View Source
const GetGeomapsGeomapIDOKCode int = 200

GetGeomapsGeomapIDOKCode is the HTTP code returned for type GetGeomapsGeomapIDOK

View Source
const GetGeomapsOKCode int = 200

GetGeomapsOKCode is the HTTP code returned for type GetGeomapsOK

View Source
const PostGeomapsBadRequestCode int = 400

PostGeomapsBadRequestCode is the HTTP code returned for type PostGeomapsBadRequest

View Source
const PostGeomapsCreatedCode int = 201

PostGeomapsCreatedCode is the HTTP code returned for type PostGeomapsCreated

View Source
const PostGeomapsNotFoundCode int = 404

PostGeomapsNotFoundCode is the HTTP code returned for type PostGeomapsNotFound

View Source
const PutGeomapsGeomapIDAcceptedCode int = 202

PutGeomapsGeomapIDAcceptedCode is the HTTP code returned for type PutGeomapsGeomapIDAccepted

View Source
const PutGeomapsGeomapIDBadRequestCode int = 400

PutGeomapsGeomapIDBadRequestCode is the HTTP code returned for type PutGeomapsGeomapIDBadRequest

View Source
const PutGeomapsGeomapIDNotFoundCode int = 404

PutGeomapsGeomapIDNotFoundCode is the HTTP code returned for type PutGeomapsGeomapIDNotFound

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteGeomapsGeomapID

type DeleteGeomapsGeomapID struct {
	Context *middleware.Context
	Handler DeleteGeomapsGeomapIDHandler
}
DeleteGeomapsGeomapID swagger:route DELETE /geomaps/{geomap_id} Geographic maps deleteGeomapsGeomapId

Delete a geographic map

func NewDeleteGeomapsGeomapID

func NewDeleteGeomapsGeomapID(ctx *middleware.Context, handler DeleteGeomapsGeomapIDHandler) *DeleteGeomapsGeomapID

NewDeleteGeomapsGeomapID creates a new http.Handler for the delete geomaps geomap ID operation

func (*DeleteGeomapsGeomapID) ServeHTTP

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

type DeleteGeomapsGeomapIDDefault

type DeleteGeomapsGeomapIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteGeomapsGeomapIDDefault Unexpected Error

swagger:response deleteGeomapsGeomapIdDefault

func NewDeleteGeomapsGeomapIDDefault

func NewDeleteGeomapsGeomapIDDefault(code int) *DeleteGeomapsGeomapIDDefault

NewDeleteGeomapsGeomapIDDefault creates DeleteGeomapsGeomapIDDefault with default headers values

func (*DeleteGeomapsGeomapIDDefault) SetPayload

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

SetPayload sets the payload to the delete geomaps geomap ID default response

func (*DeleteGeomapsGeomapIDDefault) SetStatusCode

func (o *DeleteGeomapsGeomapIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete geomaps geomap ID default response

func (*DeleteGeomapsGeomapIDDefault) WithPayload

WithPayload adds the payload to the delete geomaps geomap ID default response

func (*DeleteGeomapsGeomapIDDefault) WithStatusCode

WithStatusCode adds the status to the delete geomaps geomap ID default response

func (*DeleteGeomapsGeomapIDDefault) WriteResponse

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

WriteResponse to the client

type DeleteGeomapsGeomapIDHandler

type DeleteGeomapsGeomapIDHandler interface {
	Handle(DeleteGeomapsGeomapIDParams) middleware.Responder
}

DeleteGeomapsGeomapIDHandler interface for that can handle valid delete geomaps geomap ID params

type DeleteGeomapsGeomapIDHandlerFunc

type DeleteGeomapsGeomapIDHandlerFunc func(DeleteGeomapsGeomapIDParams) middleware.Responder

DeleteGeomapsGeomapIDHandlerFunc turns a function with the right signature into a delete geomaps geomap ID handler

func (DeleteGeomapsGeomapIDHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteGeomapsGeomapIDNoContent

type DeleteGeomapsGeomapIDNoContent struct {
}

DeleteGeomapsGeomapIDNoContent Resource successfully deleted.

swagger:response deleteGeomapsGeomapIdNoContent

func NewDeleteGeomapsGeomapIDNoContent

func NewDeleteGeomapsGeomapIDNoContent() *DeleteGeomapsGeomapIDNoContent

NewDeleteGeomapsGeomapIDNoContent creates DeleteGeomapsGeomapIDNoContent with default headers values

func (*DeleteGeomapsGeomapIDNoContent) WriteResponse

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

WriteResponse to the client

type DeleteGeomapsGeomapIDNotFound

type DeleteGeomapsGeomapIDNotFound struct {

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

DeleteGeomapsGeomapIDNotFound Not Found

swagger:response deleteGeomapsGeomapIdNotFound

func NewDeleteGeomapsGeomapIDNotFound

func NewDeleteGeomapsGeomapIDNotFound() *DeleteGeomapsGeomapIDNotFound

NewDeleteGeomapsGeomapIDNotFound creates DeleteGeomapsGeomapIDNotFound with default headers values

func (*DeleteGeomapsGeomapIDNotFound) SetPayload

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

SetPayload sets the payload to the delete geomaps geomap Id not found response

func (*DeleteGeomapsGeomapIDNotFound) WithPayload

WithPayload adds the payload to the delete geomaps geomap Id not found response

func (*DeleteGeomapsGeomapIDNotFound) WriteResponse

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

WriteResponse to the client

type DeleteGeomapsGeomapIDParams

type DeleteGeomapsGeomapIDParams struct {

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

	/*The UUID of the geomap
	  Required: true
	  In: path
	*/
	GeomapID strfmt.UUID
}

DeleteGeomapsGeomapIDParams contains all the bound params for the delete geomaps geomap ID operation typically these are obtained from a http.Request

swagger:parameters DeleteGeomapsGeomapID

func NewDeleteGeomapsGeomapIDParams

func NewDeleteGeomapsGeomapIDParams() DeleteGeomapsGeomapIDParams

NewDeleteGeomapsGeomapIDParams creates a new DeleteGeomapsGeomapIDParams object

There are no default values defined in the spec.

func (*DeleteGeomapsGeomapIDParams) 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 NewDeleteGeomapsGeomapIDParams() beforehand.

type DeleteGeomapsGeomapIDURL

type DeleteGeomapsGeomapIDURL struct {
	GeomapID strfmt.UUID
	// contains filtered or unexported fields
}

DeleteGeomapsGeomapIDURL generates an URL for the delete geomaps geomap ID operation

func (*DeleteGeomapsGeomapIDURL) Build

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

Build a url path and query string

func (*DeleteGeomapsGeomapIDURL) BuildFull

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

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

func (*DeleteGeomapsGeomapIDURL) Must

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

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

func (*DeleteGeomapsGeomapIDURL) SetBasePath

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

func (o *DeleteGeomapsGeomapIDURL) String() string

String returns the string representation of the path with query string

func (*DeleteGeomapsGeomapIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteGeomapsGeomapIDURL) 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 GetGeomaps

type GetGeomaps struct {
	Context *middleware.Context
	Handler GetGeomapsHandler
}
GetGeomaps swagger:route GET /geomaps Geographic maps getGeomaps

List geographic maps

func NewGetGeomaps

func NewGetGeomaps(ctx *middleware.Context, handler GetGeomapsHandler) *GetGeomaps

NewGetGeomaps creates a new http.Handler for the get geomaps operation

func (*GetGeomaps) ServeHTTP

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

type GetGeomapsBadRequest

type GetGeomapsBadRequest struct {

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

GetGeomapsBadRequest Bad request

swagger:response getGeomapsBadRequest

func NewGetGeomapsBadRequest

func NewGetGeomapsBadRequest() *GetGeomapsBadRequest

NewGetGeomapsBadRequest creates GetGeomapsBadRequest with default headers values

func (*GetGeomapsBadRequest) SetPayload

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

SetPayload sets the payload to the get geomaps bad request response

func (*GetGeomapsBadRequest) WithPayload

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

WithPayload adds the payload to the get geomaps bad request response

func (*GetGeomapsBadRequest) WriteResponse

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

WriteResponse to the client

type GetGeomapsDefault

type GetGeomapsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetGeomapsDefault Unexpected Error

swagger:response getGeomapsDefault

func NewGetGeomapsDefault

func NewGetGeomapsDefault(code int) *GetGeomapsDefault

NewGetGeomapsDefault creates GetGeomapsDefault with default headers values

func (*GetGeomapsDefault) SetPayload

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

SetPayload sets the payload to the get geomaps default response

func (*GetGeomapsDefault) SetStatusCode

func (o *GetGeomapsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get geomaps default response

func (*GetGeomapsDefault) WithPayload

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

WithPayload adds the payload to the get geomaps default response

func (*GetGeomapsDefault) WithStatusCode

func (o *GetGeomapsDefault) WithStatusCode(code int) *GetGeomapsDefault

WithStatusCode adds the status to the get geomaps default response

func (*GetGeomapsDefault) WriteResponse

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

WriteResponse to the client

type GetGeomapsGeomapID

type GetGeomapsGeomapID struct {
	Context *middleware.Context
	Handler GetGeomapsGeomapIDHandler
}
GetGeomapsGeomapID swagger:route GET /geomaps/{geomap_id} Geographic maps getGeomapsGeomapId

Show geographic map detail

func NewGetGeomapsGeomapID

func NewGetGeomapsGeomapID(ctx *middleware.Context, handler GetGeomapsGeomapIDHandler) *GetGeomapsGeomapID

NewGetGeomapsGeomapID creates a new http.Handler for the get geomaps geomap ID operation

func (*GetGeomapsGeomapID) ServeHTTP

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

type GetGeomapsGeomapIDDefault

type GetGeomapsGeomapIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetGeomapsGeomapIDDefault Unexpected Error

swagger:response getGeomapsGeomapIdDefault

func NewGetGeomapsGeomapIDDefault

func NewGetGeomapsGeomapIDDefault(code int) *GetGeomapsGeomapIDDefault

NewGetGeomapsGeomapIDDefault creates GetGeomapsGeomapIDDefault with default headers values

func (*GetGeomapsGeomapIDDefault) SetPayload

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

SetPayload sets the payload to the get geomaps geomap ID default response

func (*GetGeomapsGeomapIDDefault) SetStatusCode

func (o *GetGeomapsGeomapIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get geomaps geomap ID default response

func (*GetGeomapsGeomapIDDefault) WithPayload

WithPayload adds the payload to the get geomaps geomap ID default response

func (*GetGeomapsGeomapIDDefault) WithStatusCode

func (o *GetGeomapsGeomapIDDefault) WithStatusCode(code int) *GetGeomapsGeomapIDDefault

WithStatusCode adds the status to the get geomaps geomap ID default response

func (*GetGeomapsGeomapIDDefault) WriteResponse

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

WriteResponse to the client

type GetGeomapsGeomapIDHandler

type GetGeomapsGeomapIDHandler interface {
	Handle(GetGeomapsGeomapIDParams) middleware.Responder
}

GetGeomapsGeomapIDHandler interface for that can handle valid get geomaps geomap ID params

type GetGeomapsGeomapIDHandlerFunc

type GetGeomapsGeomapIDHandlerFunc func(GetGeomapsGeomapIDParams) middleware.Responder

GetGeomapsGeomapIDHandlerFunc turns a function with the right signature into a get geomaps geomap ID handler

func (GetGeomapsGeomapIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetGeomapsGeomapIDNotFound

type GetGeomapsGeomapIDNotFound struct {

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

GetGeomapsGeomapIDNotFound Not Found

swagger:response getGeomapsGeomapIdNotFound

func NewGetGeomapsGeomapIDNotFound

func NewGetGeomapsGeomapIDNotFound() *GetGeomapsGeomapIDNotFound

NewGetGeomapsGeomapIDNotFound creates GetGeomapsGeomapIDNotFound with default headers values

func (*GetGeomapsGeomapIDNotFound) SetPayload

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

SetPayload sets the payload to the get geomaps geomap Id not found response

func (*GetGeomapsGeomapIDNotFound) WithPayload

WithPayload adds the payload to the get geomaps geomap Id not found response

func (*GetGeomapsGeomapIDNotFound) WriteResponse

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

WriteResponse to the client

type GetGeomapsGeomapIDOK

type GetGeomapsGeomapIDOK struct {

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

GetGeomapsGeomapIDOK Shows the details of a specific geomap.

swagger:response getGeomapsGeomapIdOK

func NewGetGeomapsGeomapIDOK

func NewGetGeomapsGeomapIDOK() *GetGeomapsGeomapIDOK

NewGetGeomapsGeomapIDOK creates GetGeomapsGeomapIDOK with default headers values

func (*GetGeomapsGeomapIDOK) SetPayload

func (o *GetGeomapsGeomapIDOK) SetPayload(payload *GetGeomapsGeomapIDOKBody)

SetPayload sets the payload to the get geomaps geomap Id o k response

func (*GetGeomapsGeomapIDOK) WithPayload

WithPayload adds the payload to the get geomaps geomap Id o k response

func (*GetGeomapsGeomapIDOK) WriteResponse

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

WriteResponse to the client

type GetGeomapsGeomapIDOKBody

type GetGeomapsGeomapIDOKBody struct {

	// geomap
	Geomap *models.Geomap `json:"geomap,omitempty"`
}

GetGeomapsGeomapIDOKBody get geomaps geomap ID o k body

swagger:model GetGeomapsGeomapIDOKBody

func (*GetGeomapsGeomapIDOKBody) ContextValidate

func (o *GetGeomapsGeomapIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get geomaps geomap ID o k body based on the context it is used

func (*GetGeomapsGeomapIDOKBody) MarshalBinary

func (o *GetGeomapsGeomapIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetGeomapsGeomapIDOKBody) UnmarshalBinary

func (o *GetGeomapsGeomapIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetGeomapsGeomapIDOKBody) Validate

func (o *GetGeomapsGeomapIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this get geomaps geomap ID o k body

type GetGeomapsGeomapIDParams

type GetGeomapsGeomapIDParams struct {

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

	/*The UUID of the geomap
	  Required: true
	  In: path
	*/
	GeomapID strfmt.UUID
}

GetGeomapsGeomapIDParams contains all the bound params for the get geomaps geomap ID operation typically these are obtained from a http.Request

swagger:parameters GetGeomapsGeomapID

func NewGetGeomapsGeomapIDParams

func NewGetGeomapsGeomapIDParams() GetGeomapsGeomapIDParams

NewGetGeomapsGeomapIDParams creates a new GetGeomapsGeomapIDParams object

There are no default values defined in the spec.

func (*GetGeomapsGeomapIDParams) 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 NewGetGeomapsGeomapIDParams() beforehand.

type GetGeomapsGeomapIDURL

type GetGeomapsGeomapIDURL struct {
	GeomapID strfmt.UUID
	// contains filtered or unexported fields
}

GetGeomapsGeomapIDURL generates an URL for the get geomaps geomap ID operation

func (*GetGeomapsGeomapIDURL) Build

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

Build a url path and query string

func (*GetGeomapsGeomapIDURL) BuildFull

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

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

func (*GetGeomapsGeomapIDURL) Must

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

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

func (*GetGeomapsGeomapIDURL) SetBasePath

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

func (o *GetGeomapsGeomapIDURL) String() string

String returns the string representation of the path with query string

func (*GetGeomapsGeomapIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetGeomapsGeomapIDURL) WithBasePath

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

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 GetGeomapsHandler

type GetGeomapsHandler interface {
	Handle(GetGeomapsParams) middleware.Responder
}

GetGeomapsHandler interface for that can handle valid get geomaps params

type GetGeomapsHandlerFunc

type GetGeomapsHandlerFunc func(GetGeomapsParams) middleware.Responder

GetGeomapsHandlerFunc turns a function with the right signature into a get geomaps handler

func (GetGeomapsHandlerFunc) Handle

Handle executing the request and returning a response

type GetGeomapsOK

type GetGeomapsOK struct {

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

GetGeomapsOK A JSON array of geographic maps

swagger:response getGeomapsOK

func NewGetGeomapsOK

func NewGetGeomapsOK() *GetGeomapsOK

NewGetGeomapsOK creates GetGeomapsOK with default headers values

func (*GetGeomapsOK) SetPayload

func (o *GetGeomapsOK) SetPayload(payload *GetGeomapsOKBody)

SetPayload sets the payload to the get geomaps o k response

func (*GetGeomapsOK) WithPayload

func (o *GetGeomapsOK) WithPayload(payload *GetGeomapsOKBody) *GetGeomapsOK

WithPayload adds the payload to the get geomaps o k response

func (*GetGeomapsOK) WriteResponse

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

WriteResponse to the client

type GetGeomapsOKBody

type GetGeomapsOKBody struct {

	// geomaps
	Geomaps []*models.Geomap `json:"geomaps"`

	// links
	Links []*models.Link `json:"links,omitempty"`
}

GetGeomapsOKBody get geomaps o k body

swagger:model GetGeomapsOKBody

func (*GetGeomapsOKBody) ContextValidate

func (o *GetGeomapsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get geomaps o k body based on the context it is used

func (*GetGeomapsOKBody) MarshalBinary

func (o *GetGeomapsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetGeomapsOKBody) UnmarshalBinary

func (o *GetGeomapsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetGeomapsOKBody) Validate

func (o *GetGeomapsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get geomaps o k body

type GetGeomapsParams

type GetGeomapsParams struct {

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

	/*Sets the page size.
	  In: query
	*/
	Limit *int64
	/*Pagination ID of the last item in the previous list.
	  In: query
	*/
	Marker *strfmt.UUID
	/*Filter for resources not having tags, multiple not-tags are considered as logical AND.
	Should be provided in a comma separated list.

	  In: query
	*/
	NotTags []string
	/*Filter for resources not having tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	  In: query
	*/
	NotTagsAny []string
	/*Sets the page direction.
	  In: query
	*/
	PageReverse *bool
	/*Comma-separated list of sort keys, optinally prefix with - to reverse sort order.
	  In: query
	*/
	Sort *string
	/*Filter for tags, multiple tags are considered as logical AND.
	Should be provided in a comma separated list.

	  In: query
	*/
	Tags []string
	/*Filter for tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	  In: query
	*/
	TagsAny []string
}

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

swagger:parameters GetGeomaps

func NewGetGeomapsParams

func NewGetGeomapsParams() GetGeomapsParams

NewGetGeomapsParams creates a new GetGeomapsParams object

There are no default values defined in the spec.

func (*GetGeomapsParams) BindRequest

func (o *GetGeomapsParams) 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 NewGetGeomapsParams() beforehand.

type GetGeomapsURL

type GetGeomapsURL struct {
	Limit       *int64
	Marker      *strfmt.UUID
	NotTags     []string
	NotTagsAny  []string
	PageReverse *bool
	Sort        *string
	Tags        []string
	TagsAny     []string
	// contains filtered or unexported fields
}

GetGeomapsURL generates an URL for the get geomaps operation

func (*GetGeomapsURL) Build

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

Build a url path and query string

func (*GetGeomapsURL) BuildFull

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

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

func (*GetGeomapsURL) Must

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

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

func (*GetGeomapsURL) SetBasePath

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

func (o *GetGeomapsURL) String() string

String returns the string representation of the path with query string

func (*GetGeomapsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetGeomapsURL) WithBasePath

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

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 PostGeomaps

type PostGeomaps struct {
	Context *middleware.Context
	Handler PostGeomapsHandler
}
PostGeomaps swagger:route POST /geomaps Geographic maps postGeomaps

Create new geographic map

func NewPostGeomaps

func NewPostGeomaps(ctx *middleware.Context, handler PostGeomapsHandler) *PostGeomaps

NewPostGeomaps creates a new http.Handler for the post geomaps operation

func (*PostGeomaps) ServeHTTP

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

type PostGeomapsBadRequest

type PostGeomapsBadRequest struct {

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

PostGeomapsBadRequest Bad request

swagger:response postGeomapsBadRequest

func NewPostGeomapsBadRequest

func NewPostGeomapsBadRequest() *PostGeomapsBadRequest

NewPostGeomapsBadRequest creates PostGeomapsBadRequest with default headers values

func (*PostGeomapsBadRequest) SetPayload

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

SetPayload sets the payload to the post geomaps bad request response

func (*PostGeomapsBadRequest) WithPayload

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

WithPayload adds the payload to the post geomaps bad request response

func (*PostGeomapsBadRequest) WriteResponse

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

WriteResponse to the client

type PostGeomapsBody

type PostGeomapsBody struct {

	// geomap
	// Required: true
	Geomap *models.Geomap `json:"geomap"`
}

PostGeomapsBody post geomaps body

swagger:model PostGeomapsBody

func (*PostGeomapsBody) ContextValidate

func (o *PostGeomapsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this post geomaps body based on the context it is used

func (*PostGeomapsBody) MarshalBinary

func (o *PostGeomapsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostGeomapsBody) UnmarshalBinary

func (o *PostGeomapsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostGeomapsBody) Validate

func (o *PostGeomapsBody) Validate(formats strfmt.Registry) error

Validate validates this post geomaps body

type PostGeomapsCreated

type PostGeomapsCreated struct {

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

PostGeomapsCreated Created geomap.

swagger:response postGeomapsCreated

func NewPostGeomapsCreated

func NewPostGeomapsCreated() *PostGeomapsCreated

NewPostGeomapsCreated creates PostGeomapsCreated with default headers values

func (*PostGeomapsCreated) SetPayload

func (o *PostGeomapsCreated) SetPayload(payload *PostGeomapsCreatedBody)

SetPayload sets the payload to the post geomaps created response

func (*PostGeomapsCreated) WithPayload

WithPayload adds the payload to the post geomaps created response

func (*PostGeomapsCreated) WriteResponse

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

WriteResponse to the client

type PostGeomapsCreatedBody

type PostGeomapsCreatedBody struct {

	// geomap
	Geomap *models.Geomap `json:"geomap,omitempty"`
}

PostGeomapsCreatedBody post geomaps created body

swagger:model PostGeomapsCreatedBody

func (*PostGeomapsCreatedBody) ContextValidate

func (o *PostGeomapsCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this post geomaps created body based on the context it is used

func (*PostGeomapsCreatedBody) MarshalBinary

func (o *PostGeomapsCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostGeomapsCreatedBody) UnmarshalBinary

func (o *PostGeomapsCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostGeomapsCreatedBody) Validate

func (o *PostGeomapsCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this post geomaps created body

type PostGeomapsDefault

type PostGeomapsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostGeomapsDefault Unexpected Error

swagger:response postGeomapsDefault

func NewPostGeomapsDefault

func NewPostGeomapsDefault(code int) *PostGeomapsDefault

NewPostGeomapsDefault creates PostGeomapsDefault with default headers values

func (*PostGeomapsDefault) SetPayload

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

SetPayload sets the payload to the post geomaps default response

func (*PostGeomapsDefault) SetStatusCode

func (o *PostGeomapsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post geomaps default response

func (*PostGeomapsDefault) WithPayload

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

WithPayload adds the payload to the post geomaps default response

func (*PostGeomapsDefault) WithStatusCode

func (o *PostGeomapsDefault) WithStatusCode(code int) *PostGeomapsDefault

WithStatusCode adds the status to the post geomaps default response

func (*PostGeomapsDefault) WriteResponse

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

WriteResponse to the client

type PostGeomapsHandler

type PostGeomapsHandler interface {
	Handle(PostGeomapsParams) middleware.Responder
}

PostGeomapsHandler interface for that can handle valid post geomaps params

type PostGeomapsHandlerFunc

type PostGeomapsHandlerFunc func(PostGeomapsParams) middleware.Responder

PostGeomapsHandlerFunc turns a function with the right signature into a post geomaps handler

func (PostGeomapsHandlerFunc) Handle

Handle executing the request and returning a response

type PostGeomapsNotFound

type PostGeomapsNotFound struct {

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

PostGeomapsNotFound Not Found

swagger:response postGeomapsNotFound

func NewPostGeomapsNotFound

func NewPostGeomapsNotFound() *PostGeomapsNotFound

NewPostGeomapsNotFound creates PostGeomapsNotFound with default headers values

func (*PostGeomapsNotFound) SetPayload

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

SetPayload sets the payload to the post geomaps not found response

func (*PostGeomapsNotFound) WithPayload

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

WithPayload adds the payload to the post geomaps not found response

func (*PostGeomapsNotFound) WriteResponse

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

WriteResponse to the client

type PostGeomapsParams

type PostGeomapsParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Geomap PostGeomapsBody
}

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

swagger:parameters PostGeomaps

func NewPostGeomapsParams

func NewPostGeomapsParams() PostGeomapsParams

NewPostGeomapsParams creates a new PostGeomapsParams object

There are no default values defined in the spec.

func (*PostGeomapsParams) BindRequest

func (o *PostGeomapsParams) 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 NewPostGeomapsParams() beforehand.

type PostGeomapsURL

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

PostGeomapsURL generates an URL for the post geomaps operation

func (*PostGeomapsURL) Build

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

Build a url path and query string

func (*PostGeomapsURL) BuildFull

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

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

func (*PostGeomapsURL) Must

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

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

func (*PostGeomapsURL) SetBasePath

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

func (o *PostGeomapsURL) String() string

String returns the string representation of the path with query string

func (*PostGeomapsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostGeomapsURL) WithBasePath

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

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 PutGeomapsGeomapID

type PutGeomapsGeomapID struct {
	Context *middleware.Context
	Handler PutGeomapsGeomapIDHandler
}
PutGeomapsGeomapID swagger:route PUT /geomaps/{geomap_id} Geographic maps putGeomapsGeomapId

Update a geographic map

func NewPutGeomapsGeomapID

func NewPutGeomapsGeomapID(ctx *middleware.Context, handler PutGeomapsGeomapIDHandler) *PutGeomapsGeomapID

NewPutGeomapsGeomapID creates a new http.Handler for the put geomaps geomap ID operation

func (*PutGeomapsGeomapID) ServeHTTP

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

type PutGeomapsGeomapIDAccepted

type PutGeomapsGeomapIDAccepted struct {

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

PutGeomapsGeomapIDAccepted Updated geomap.

swagger:response putGeomapsGeomapIdAccepted

func NewPutGeomapsGeomapIDAccepted

func NewPutGeomapsGeomapIDAccepted() *PutGeomapsGeomapIDAccepted

NewPutGeomapsGeomapIDAccepted creates PutGeomapsGeomapIDAccepted with default headers values

func (*PutGeomapsGeomapIDAccepted) SetPayload

SetPayload sets the payload to the put geomaps geomap Id accepted response

func (*PutGeomapsGeomapIDAccepted) WithPayload

WithPayload adds the payload to the put geomaps geomap Id accepted response

func (*PutGeomapsGeomapIDAccepted) WriteResponse

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

WriteResponse to the client

type PutGeomapsGeomapIDAcceptedBody

type PutGeomapsGeomapIDAcceptedBody struct {

	// geomap
	Geomap *models.Geomap `json:"geomap,omitempty"`
}

PutGeomapsGeomapIDAcceptedBody put geomaps geomap ID accepted body

swagger:model PutGeomapsGeomapIDAcceptedBody

func (*PutGeomapsGeomapIDAcceptedBody) ContextValidate

func (o *PutGeomapsGeomapIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this put geomaps geomap ID accepted body based on the context it is used

func (*PutGeomapsGeomapIDAcceptedBody) MarshalBinary

func (o *PutGeomapsGeomapIDAcceptedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutGeomapsGeomapIDAcceptedBody) UnmarshalBinary

func (o *PutGeomapsGeomapIDAcceptedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutGeomapsGeomapIDAcceptedBody) Validate

func (o *PutGeomapsGeomapIDAcceptedBody) Validate(formats strfmt.Registry) error

Validate validates this put geomaps geomap ID accepted body

type PutGeomapsGeomapIDBadRequest

type PutGeomapsGeomapIDBadRequest struct {

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

PutGeomapsGeomapIDBadRequest Bad request

swagger:response putGeomapsGeomapIdBadRequest

func NewPutGeomapsGeomapIDBadRequest

func NewPutGeomapsGeomapIDBadRequest() *PutGeomapsGeomapIDBadRequest

NewPutGeomapsGeomapIDBadRequest creates PutGeomapsGeomapIDBadRequest with default headers values

func (*PutGeomapsGeomapIDBadRequest) SetPayload

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

SetPayload sets the payload to the put geomaps geomap Id bad request response

func (*PutGeomapsGeomapIDBadRequest) WithPayload

WithPayload adds the payload to the put geomaps geomap Id bad request response

func (*PutGeomapsGeomapIDBadRequest) WriteResponse

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

WriteResponse to the client

type PutGeomapsGeomapIDBody

type PutGeomapsGeomapIDBody struct {

	// geomap
	// Required: true
	Geomap *models.Geomap `json:"geomap"`
}

PutGeomapsGeomapIDBody put geomaps geomap ID body

swagger:model PutGeomapsGeomapIDBody

func (*PutGeomapsGeomapIDBody) ContextValidate

func (o *PutGeomapsGeomapIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this put geomaps geomap ID body based on the context it is used

func (*PutGeomapsGeomapIDBody) MarshalBinary

func (o *PutGeomapsGeomapIDBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutGeomapsGeomapIDBody) UnmarshalBinary

func (o *PutGeomapsGeomapIDBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutGeomapsGeomapIDBody) Validate

func (o *PutGeomapsGeomapIDBody) Validate(formats strfmt.Registry) error

Validate validates this put geomaps geomap ID body

type PutGeomapsGeomapIDDefault

type PutGeomapsGeomapIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PutGeomapsGeomapIDDefault Unexpected Error

swagger:response putGeomapsGeomapIdDefault

func NewPutGeomapsGeomapIDDefault

func NewPutGeomapsGeomapIDDefault(code int) *PutGeomapsGeomapIDDefault

NewPutGeomapsGeomapIDDefault creates PutGeomapsGeomapIDDefault with default headers values

func (*PutGeomapsGeomapIDDefault) SetPayload

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

SetPayload sets the payload to the put geomaps geomap ID default response

func (*PutGeomapsGeomapIDDefault) SetStatusCode

func (o *PutGeomapsGeomapIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put geomaps geomap ID default response

func (*PutGeomapsGeomapIDDefault) WithPayload

WithPayload adds the payload to the put geomaps geomap ID default response

func (*PutGeomapsGeomapIDDefault) WithStatusCode

func (o *PutGeomapsGeomapIDDefault) WithStatusCode(code int) *PutGeomapsGeomapIDDefault

WithStatusCode adds the status to the put geomaps geomap ID default response

func (*PutGeomapsGeomapIDDefault) WriteResponse

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

WriteResponse to the client

type PutGeomapsGeomapIDHandler

type PutGeomapsGeomapIDHandler interface {
	Handle(PutGeomapsGeomapIDParams) middleware.Responder
}

PutGeomapsGeomapIDHandler interface for that can handle valid put geomaps geomap ID params

type PutGeomapsGeomapIDHandlerFunc

type PutGeomapsGeomapIDHandlerFunc func(PutGeomapsGeomapIDParams) middleware.Responder

PutGeomapsGeomapIDHandlerFunc turns a function with the right signature into a put geomaps geomap ID handler

func (PutGeomapsGeomapIDHandlerFunc) Handle

Handle executing the request and returning a response

type PutGeomapsGeomapIDNotFound

type PutGeomapsGeomapIDNotFound struct {

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

PutGeomapsGeomapIDNotFound Not Found

swagger:response putGeomapsGeomapIdNotFound

func NewPutGeomapsGeomapIDNotFound

func NewPutGeomapsGeomapIDNotFound() *PutGeomapsGeomapIDNotFound

NewPutGeomapsGeomapIDNotFound creates PutGeomapsGeomapIDNotFound with default headers values

func (*PutGeomapsGeomapIDNotFound) SetPayload

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

SetPayload sets the payload to the put geomaps geomap Id not found response

func (*PutGeomapsGeomapIDNotFound) WithPayload

WithPayload adds the payload to the put geomaps geomap Id not found response

func (*PutGeomapsGeomapIDNotFound) WriteResponse

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

WriteResponse to the client

type PutGeomapsGeomapIDParams

type PutGeomapsGeomapIDParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Geomap PutGeomapsGeomapIDBody
	/*The UUID of the geomap
	  Required: true
	  In: path
	*/
	GeomapID strfmt.UUID
}

PutGeomapsGeomapIDParams contains all the bound params for the put geomaps geomap ID operation typically these are obtained from a http.Request

swagger:parameters PutGeomapsGeomapID

func NewPutGeomapsGeomapIDParams

func NewPutGeomapsGeomapIDParams() PutGeomapsGeomapIDParams

NewPutGeomapsGeomapIDParams creates a new PutGeomapsGeomapIDParams object

There are no default values defined in the spec.

func (*PutGeomapsGeomapIDParams) 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 NewPutGeomapsGeomapIDParams() beforehand.

type PutGeomapsGeomapIDURL

type PutGeomapsGeomapIDURL struct {
	GeomapID strfmt.UUID
	// contains filtered or unexported fields
}

PutGeomapsGeomapIDURL generates an URL for the put geomaps geomap ID operation

func (*PutGeomapsGeomapIDURL) Build

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

Build a url path and query string

func (*PutGeomapsGeomapIDURL) BuildFull

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

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

func (*PutGeomapsGeomapIDURL) Must

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

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

func (*PutGeomapsGeomapIDURL) SetBasePath

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

func (o *PutGeomapsGeomapIDURL) String() string

String returns the string representation of the path with query string

func (*PutGeomapsGeomapIDURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PutGeomapsGeomapIDURL) WithBasePath

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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