Documentation
¶
Index ¶
- Constants
- type DeleteGeomapsGeomapID
- type DeleteGeomapsGeomapIDDefault
- func (o *DeleteGeomapsGeomapIDDefault) SetPayload(payload *models.Error)
- func (o *DeleteGeomapsGeomapIDDefault) SetStatusCode(code int)
- func (o *DeleteGeomapsGeomapIDDefault) WithPayload(payload *models.Error) *DeleteGeomapsGeomapIDDefault
- func (o *DeleteGeomapsGeomapIDDefault) WithStatusCode(code int) *DeleteGeomapsGeomapIDDefault
- func (o *DeleteGeomapsGeomapIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteGeomapsGeomapIDHandler
- type DeleteGeomapsGeomapIDHandlerFunc
- type DeleteGeomapsGeomapIDNoContent
- type DeleteGeomapsGeomapIDNotFound
- type DeleteGeomapsGeomapIDParams
- type DeleteGeomapsGeomapIDURL
- func (o *DeleteGeomapsGeomapIDURL) Build() (*url.URL, error)
- func (o *DeleteGeomapsGeomapIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteGeomapsGeomapIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteGeomapsGeomapIDURL) SetBasePath(bp string)
- func (o *DeleteGeomapsGeomapIDURL) String() string
- func (o *DeleteGeomapsGeomapIDURL) StringFull(scheme, host string) string
- func (o *DeleteGeomapsGeomapIDURL) WithBasePath(bp string) *DeleteGeomapsGeomapIDURL
- type GetGeomaps
- type GetGeomapsBadRequest
- type GetGeomapsDefault
- func (o *GetGeomapsDefault) SetPayload(payload *models.Error)
- func (o *GetGeomapsDefault) SetStatusCode(code int)
- func (o *GetGeomapsDefault) WithPayload(payload *models.Error) *GetGeomapsDefault
- func (o *GetGeomapsDefault) WithStatusCode(code int) *GetGeomapsDefault
- func (o *GetGeomapsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGeomapsGeomapID
- type GetGeomapsGeomapIDDefault
- func (o *GetGeomapsGeomapIDDefault) SetPayload(payload *models.Error)
- func (o *GetGeomapsGeomapIDDefault) SetStatusCode(code int)
- func (o *GetGeomapsGeomapIDDefault) WithPayload(payload *models.Error) *GetGeomapsGeomapIDDefault
- func (o *GetGeomapsGeomapIDDefault) WithStatusCode(code int) *GetGeomapsGeomapIDDefault
- func (o *GetGeomapsGeomapIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGeomapsGeomapIDHandler
- type GetGeomapsGeomapIDHandlerFunc
- type GetGeomapsGeomapIDNotFound
- type GetGeomapsGeomapIDOK
- type GetGeomapsGeomapIDOKBody
- func (o *GetGeomapsGeomapIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetGeomapsGeomapIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetGeomapsGeomapIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetGeomapsGeomapIDOKBody) Validate(formats strfmt.Registry) error
- type GetGeomapsGeomapIDParams
- type GetGeomapsGeomapIDURL
- func (o *GetGeomapsGeomapIDURL) Build() (*url.URL, error)
- func (o *GetGeomapsGeomapIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGeomapsGeomapIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGeomapsGeomapIDURL) SetBasePath(bp string)
- func (o *GetGeomapsGeomapIDURL) String() string
- func (o *GetGeomapsGeomapIDURL) StringFull(scheme, host string) string
- func (o *GetGeomapsGeomapIDURL) WithBasePath(bp string) *GetGeomapsGeomapIDURL
- type GetGeomapsHandler
- type GetGeomapsHandlerFunc
- type GetGeomapsOK
- type GetGeomapsOKBody
- type GetGeomapsParams
- type GetGeomapsURL
- func (o *GetGeomapsURL) Build() (*url.URL, error)
- func (o *GetGeomapsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGeomapsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGeomapsURL) SetBasePath(bp string)
- func (o *GetGeomapsURL) String() string
- func (o *GetGeomapsURL) StringFull(scheme, host string) string
- func (o *GetGeomapsURL) WithBasePath(bp string) *GetGeomapsURL
- type PostGeomaps
- type PostGeomapsBadRequest
- type PostGeomapsBody
- type PostGeomapsCreated
- type PostGeomapsCreatedBody
- func (o *PostGeomapsCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PostGeomapsCreatedBody) MarshalBinary() ([]byte, error)
- func (o *PostGeomapsCreatedBody) UnmarshalBinary(b []byte) error
- func (o *PostGeomapsCreatedBody) Validate(formats strfmt.Registry) error
- type PostGeomapsDefault
- func (o *PostGeomapsDefault) SetPayload(payload *models.Error)
- func (o *PostGeomapsDefault) SetStatusCode(code int)
- func (o *PostGeomapsDefault) WithPayload(payload *models.Error) *PostGeomapsDefault
- func (o *PostGeomapsDefault) WithStatusCode(code int) *PostGeomapsDefault
- func (o *PostGeomapsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostGeomapsHandler
- type PostGeomapsHandlerFunc
- type PostGeomapsNotFound
- type PostGeomapsParams
- type PostGeomapsURL
- func (o *PostGeomapsURL) Build() (*url.URL, error)
- func (o *PostGeomapsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostGeomapsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostGeomapsURL) SetBasePath(bp string)
- func (o *PostGeomapsURL) String() string
- func (o *PostGeomapsURL) StringFull(scheme, host string) string
- func (o *PostGeomapsURL) WithBasePath(bp string) *PostGeomapsURL
- type PutGeomapsGeomapID
- type PutGeomapsGeomapIDAccepted
- func (o *PutGeomapsGeomapIDAccepted) SetPayload(payload *PutGeomapsGeomapIDAcceptedBody)
- func (o *PutGeomapsGeomapIDAccepted) WithPayload(payload *PutGeomapsGeomapIDAcceptedBody) *PutGeomapsGeomapIDAccepted
- func (o *PutGeomapsGeomapIDAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutGeomapsGeomapIDAcceptedBody
- func (o *PutGeomapsGeomapIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutGeomapsGeomapIDAcceptedBody) MarshalBinary() ([]byte, error)
- func (o *PutGeomapsGeomapIDAcceptedBody) UnmarshalBinary(b []byte) error
- func (o *PutGeomapsGeomapIDAcceptedBody) Validate(formats strfmt.Registry) error
- type PutGeomapsGeomapIDBadRequest
- type PutGeomapsGeomapIDBody
- func (o *PutGeomapsGeomapIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutGeomapsGeomapIDBody) MarshalBinary() ([]byte, error)
- func (o *PutGeomapsGeomapIDBody) UnmarshalBinary(b []byte) error
- func (o *PutGeomapsGeomapIDBody) Validate(formats strfmt.Registry) error
- type PutGeomapsGeomapIDDefault
- func (o *PutGeomapsGeomapIDDefault) SetPayload(payload *models.Error)
- func (o *PutGeomapsGeomapIDDefault) SetStatusCode(code int)
- func (o *PutGeomapsGeomapIDDefault) WithPayload(payload *models.Error) *PutGeomapsGeomapIDDefault
- func (o *PutGeomapsGeomapIDDefault) WithStatusCode(code int) *PutGeomapsGeomapIDDefault
- func (o *PutGeomapsGeomapIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutGeomapsGeomapIDHandler
- type PutGeomapsGeomapIDHandlerFunc
- type PutGeomapsGeomapIDNotFound
- type PutGeomapsGeomapIDParams
- type PutGeomapsGeomapIDURL
- func (o *PutGeomapsGeomapIDURL) Build() (*url.URL, error)
- func (o *PutGeomapsGeomapIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutGeomapsGeomapIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutGeomapsGeomapIDURL) SetBasePath(bp string)
- func (o *PutGeomapsGeomapIDURL) String() string
- func (o *PutGeomapsGeomapIDURL) StringFull(scheme, host string) string
- func (o *PutGeomapsGeomapIDURL) WithBasePath(bp string) *PutGeomapsGeomapIDURL
Constants ¶
const DeleteGeomapsGeomapIDNoContentCode int = 204
DeleteGeomapsGeomapIDNoContentCode is the HTTP code returned for type DeleteGeomapsGeomapIDNoContent
const DeleteGeomapsGeomapIDNotFoundCode int = 404
DeleteGeomapsGeomapIDNotFoundCode is the HTTP code returned for type DeleteGeomapsGeomapIDNotFound
const GetGeomapsBadRequestCode int = 400
GetGeomapsBadRequestCode is the HTTP code returned for type GetGeomapsBadRequest
const GetGeomapsGeomapIDNotFoundCode int = 404
GetGeomapsGeomapIDNotFoundCode is the HTTP code returned for type GetGeomapsGeomapIDNotFound
const GetGeomapsGeomapIDOKCode int = 200
GetGeomapsGeomapIDOKCode is the HTTP code returned for type GetGeomapsGeomapIDOK
const GetGeomapsOKCode int = 200
GetGeomapsOKCode is the HTTP code returned for type GetGeomapsOK
const PostGeomapsBadRequestCode int = 400
PostGeomapsBadRequestCode is the HTTP code returned for type PostGeomapsBadRequest
const PostGeomapsCreatedCode int = 201
PostGeomapsCreatedCode is the HTTP code returned for type PostGeomapsCreated
const PostGeomapsNotFoundCode int = 404
PostGeomapsNotFoundCode is the HTTP code returned for type PostGeomapsNotFound
const PutGeomapsGeomapIDAcceptedCode int = 202
PutGeomapsGeomapIDAcceptedCode is the HTTP code returned for type PutGeomapsGeomapIDAccepted
const PutGeomapsGeomapIDBadRequestCode int = 400
PutGeomapsGeomapIDBadRequestCode is the HTTP code returned for type PutGeomapsGeomapIDBadRequest
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 ¶
func (o *DeleteGeomapsGeomapIDDefault) WithPayload(payload *models.Error) *DeleteGeomapsGeomapIDDefault
WithPayload adds the payload to the delete geomaps geomap ID default response
func (*DeleteGeomapsGeomapIDDefault) WithStatusCode ¶
func (o *DeleteGeomapsGeomapIDDefault) WithStatusCode(code int) *DeleteGeomapsGeomapIDDefault
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 ¶
func (fn DeleteGeomapsGeomapIDHandlerFunc) Handle(params DeleteGeomapsGeomapIDParams) middleware.Responder
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 ¶
func (o *DeleteGeomapsGeomapIDNotFound) WithPayload(payload *models.Error) *DeleteGeomapsGeomapIDNotFound
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 ¶
func (o *DeleteGeomapsGeomapIDParams) 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 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 ¶
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 ¶
func (o *DeleteGeomapsGeomapIDURL) WithBasePath(bp string) *DeleteGeomapsGeomapIDURL
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 ¶
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 ¶
func (o *GetGeomapsGeomapIDDefault) WithPayload(payload *models.Error) *GetGeomapsGeomapIDDefault
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 ¶
func (fn GetGeomapsGeomapIDHandlerFunc) Handle(params GetGeomapsGeomapIDParams) middleware.Responder
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 ¶
func (o *GetGeomapsGeomapIDNotFound) WithPayload(payload *models.Error) *GetGeomapsGeomapIDNotFound
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 ¶
func (o *GetGeomapsGeomapIDOK) WithPayload(payload *GetGeomapsGeomapIDOKBody) *GetGeomapsGeomapIDOK
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 ¶
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
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 ¶
func (o *GetGeomapsGeomapIDParams) 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 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 ¶
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 ¶
func (fn GetGeomapsHandlerFunc) Handle(params GetGeomapsParams) middleware.Responder
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 ¶
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
type GetGeomapsParams ¶
type GetGeomapsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Filter geographic map by datacenter ID In: query */ DatacenterID *strfmt.UUID /*Filter geographic map by default datacenter ID In: query */ DefaultDatacenterID *strfmt.UUID /*Sets the page size. In: query */ Limit *int64 /*Pagination ID of the last item in the previous list. In: query */ Marker *strfmt.UUID /*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 }
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 { DatacenterID *strfmt.UUID DefaultDatacenterID *strfmt.UUID Limit *int64 Marker *strfmt.UUID PageReverse *bool Sort *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 ¶
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 ¶
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 ¶
PostGeomapsBody post geomaps body
swagger:model PostGeomapsBody
func (*PostGeomapsBody) ContextValidate ¶
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
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 ¶
func (o *PostGeomapsCreated) WithPayload(payload *PostGeomapsCreatedBody) *PostGeomapsCreated
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 ¶
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
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 ¶
func (fn PostGeomapsHandlerFunc) Handle(params PostGeomapsParams) middleware.Responder
Handle executing the request and returning a response
type PostGeomapsNotFound ¶
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 ¶
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 ¶
func (o *PutGeomapsGeomapIDAccepted) SetPayload(payload *PutGeomapsGeomapIDAcceptedBody)
SetPayload sets the payload to the put geomaps geomap Id accepted response
func (*PutGeomapsGeomapIDAccepted) WithPayload ¶
func (o *PutGeomapsGeomapIDAccepted) WithPayload(payload *PutGeomapsGeomapIDAcceptedBody) *PutGeomapsGeomapIDAccepted
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
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 ¶
func (o *PutGeomapsGeomapIDBadRequest) WithPayload(payload *models.Error) *PutGeomapsGeomapIDBadRequest
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
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 ¶
func (o *PutGeomapsGeomapIDDefault) WithPayload(payload *models.Error) *PutGeomapsGeomapIDDefault
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 ¶
func (fn PutGeomapsGeomapIDHandlerFunc) Handle(params PutGeomapsGeomapIDParams) middleware.Responder
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 ¶
func (o *PutGeomapsGeomapIDNotFound) WithPayload(payload *models.Error) *PutGeomapsGeomapIDNotFound
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 ¶
func (o *PutGeomapsGeomapIDParams) 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 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 ¶
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
Source Files
¶
- delete_geomaps_geomap_id.go
- delete_geomaps_geomap_id_parameters.go
- delete_geomaps_geomap_id_responses.go
- delete_geomaps_geomap_id_urlbuilder.go
- get_geomaps.go
- get_geomaps_geomap_id.go
- get_geomaps_geomap_id_parameters.go
- get_geomaps_geomap_id_responses.go
- get_geomaps_geomap_id_urlbuilder.go
- get_geomaps_parameters.go
- get_geomaps_responses.go
- get_geomaps_urlbuilder.go
- post_geomaps.go
- post_geomaps_parameters.go
- post_geomaps_responses.go
- post_geomaps_urlbuilder.go
- put_geomaps_geomap_id.go
- put_geomaps_geomap_id_parameters.go
- put_geomaps_geomap_id_responses.go
- put_geomaps_geomap_id_urlbuilder.go