Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteGeomapsGeomapID(params *DeleteGeomapsGeomapIDParams, opts ...ClientOption) (*DeleteGeomapsGeomapIDNoContent, error)
- func (a *Client) GetGeomaps(params *GetGeomapsParams, opts ...ClientOption) (*GetGeomapsOK, error)
- func (a *Client) GetGeomapsGeomapID(params *GetGeomapsGeomapIDParams, opts ...ClientOption) (*GetGeomapsGeomapIDOK, error)
- func (a *Client) PostGeomaps(params *PostGeomapsParams, opts ...ClientOption) (*PostGeomapsCreated, error)
- func (a *Client) PutGeomapsGeomapID(params *PutGeomapsGeomapIDParams, opts ...ClientOption) (*PutGeomapsGeomapIDAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteGeomapsGeomapIDDefault
- func (o *DeleteGeomapsGeomapIDDefault) Code() int
- func (o *DeleteGeomapsGeomapIDDefault) Error() string
- func (o *DeleteGeomapsGeomapIDDefault) GetPayload() *models.Error
- func (o *DeleteGeomapsGeomapIDDefault) IsClientError() bool
- func (o *DeleteGeomapsGeomapIDDefault) IsCode(code int) bool
- func (o *DeleteGeomapsGeomapIDDefault) IsRedirect() bool
- func (o *DeleteGeomapsGeomapIDDefault) IsServerError() bool
- func (o *DeleteGeomapsGeomapIDDefault) IsSuccess() bool
- func (o *DeleteGeomapsGeomapIDDefault) String() string
- type DeleteGeomapsGeomapIDNoContent
- func (o *DeleteGeomapsGeomapIDNoContent) Code() int
- func (o *DeleteGeomapsGeomapIDNoContent) Error() string
- func (o *DeleteGeomapsGeomapIDNoContent) IsClientError() bool
- func (o *DeleteGeomapsGeomapIDNoContent) IsCode(code int) bool
- func (o *DeleteGeomapsGeomapIDNoContent) IsRedirect() bool
- func (o *DeleteGeomapsGeomapIDNoContent) IsServerError() bool
- func (o *DeleteGeomapsGeomapIDNoContent) IsSuccess() bool
- func (o *DeleteGeomapsGeomapIDNoContent) String() string
- type DeleteGeomapsGeomapIDNotFound
- func (o *DeleteGeomapsGeomapIDNotFound) Code() int
- func (o *DeleteGeomapsGeomapIDNotFound) Error() string
- func (o *DeleteGeomapsGeomapIDNotFound) GetPayload() *models.Error
- func (o *DeleteGeomapsGeomapIDNotFound) IsClientError() bool
- func (o *DeleteGeomapsGeomapIDNotFound) IsCode(code int) bool
- func (o *DeleteGeomapsGeomapIDNotFound) IsRedirect() bool
- func (o *DeleteGeomapsGeomapIDNotFound) IsServerError() bool
- func (o *DeleteGeomapsGeomapIDNotFound) IsSuccess() bool
- func (o *DeleteGeomapsGeomapIDNotFound) String() string
- type DeleteGeomapsGeomapIDParams
- func NewDeleteGeomapsGeomapIDParams() *DeleteGeomapsGeomapIDParams
- func NewDeleteGeomapsGeomapIDParamsWithContext(ctx context.Context) *DeleteGeomapsGeomapIDParams
- func NewDeleteGeomapsGeomapIDParamsWithHTTPClient(client *http.Client) *DeleteGeomapsGeomapIDParams
- func NewDeleteGeomapsGeomapIDParamsWithTimeout(timeout time.Duration) *DeleteGeomapsGeomapIDParams
- func (o *DeleteGeomapsGeomapIDParams) SetContext(ctx context.Context)
- func (o *DeleteGeomapsGeomapIDParams) SetDefaults()
- func (o *DeleteGeomapsGeomapIDParams) SetGeomapID(geomapID strfmt.UUID)
- func (o *DeleteGeomapsGeomapIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGeomapsGeomapIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGeomapsGeomapIDParams) WithContext(ctx context.Context) *DeleteGeomapsGeomapIDParams
- func (o *DeleteGeomapsGeomapIDParams) WithDefaults() *DeleteGeomapsGeomapIDParams
- func (o *DeleteGeomapsGeomapIDParams) WithGeomapID(geomapID strfmt.UUID) *DeleteGeomapsGeomapIDParams
- func (o *DeleteGeomapsGeomapIDParams) WithHTTPClient(client *http.Client) *DeleteGeomapsGeomapIDParams
- func (o *DeleteGeomapsGeomapIDParams) WithTimeout(timeout time.Duration) *DeleteGeomapsGeomapIDParams
- func (o *DeleteGeomapsGeomapIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGeomapsGeomapIDReader
- type GetGeomapsBadRequest
- func (o *GetGeomapsBadRequest) Code() int
- func (o *GetGeomapsBadRequest) Error() string
- func (o *GetGeomapsBadRequest) GetPayload() *models.Error
- func (o *GetGeomapsBadRequest) IsClientError() bool
- func (o *GetGeomapsBadRequest) IsCode(code int) bool
- func (o *GetGeomapsBadRequest) IsRedirect() bool
- func (o *GetGeomapsBadRequest) IsServerError() bool
- func (o *GetGeomapsBadRequest) IsSuccess() bool
- func (o *GetGeomapsBadRequest) String() string
- type GetGeomapsDefault
- func (o *GetGeomapsDefault) Code() int
- func (o *GetGeomapsDefault) Error() string
- func (o *GetGeomapsDefault) GetPayload() *models.Error
- func (o *GetGeomapsDefault) IsClientError() bool
- func (o *GetGeomapsDefault) IsCode(code int) bool
- func (o *GetGeomapsDefault) IsRedirect() bool
- func (o *GetGeomapsDefault) IsServerError() bool
- func (o *GetGeomapsDefault) IsSuccess() bool
- func (o *GetGeomapsDefault) String() string
- type GetGeomapsGeomapIDDefault
- func (o *GetGeomapsGeomapIDDefault) Code() int
- func (o *GetGeomapsGeomapIDDefault) Error() string
- func (o *GetGeomapsGeomapIDDefault) GetPayload() *models.Error
- func (o *GetGeomapsGeomapIDDefault) IsClientError() bool
- func (o *GetGeomapsGeomapIDDefault) IsCode(code int) bool
- func (o *GetGeomapsGeomapIDDefault) IsRedirect() bool
- func (o *GetGeomapsGeomapIDDefault) IsServerError() bool
- func (o *GetGeomapsGeomapIDDefault) IsSuccess() bool
- func (o *GetGeomapsGeomapIDDefault) String() string
- type GetGeomapsGeomapIDNotFound
- func (o *GetGeomapsGeomapIDNotFound) Code() int
- func (o *GetGeomapsGeomapIDNotFound) Error() string
- func (o *GetGeomapsGeomapIDNotFound) GetPayload() *models.Error
- func (o *GetGeomapsGeomapIDNotFound) IsClientError() bool
- func (o *GetGeomapsGeomapIDNotFound) IsCode(code int) bool
- func (o *GetGeomapsGeomapIDNotFound) IsRedirect() bool
- func (o *GetGeomapsGeomapIDNotFound) IsServerError() bool
- func (o *GetGeomapsGeomapIDNotFound) IsSuccess() bool
- func (o *GetGeomapsGeomapIDNotFound) String() string
- type GetGeomapsGeomapIDOK
- func (o *GetGeomapsGeomapIDOK) Code() int
- func (o *GetGeomapsGeomapIDOK) Error() string
- func (o *GetGeomapsGeomapIDOK) GetPayload() *GetGeomapsGeomapIDOKBody
- func (o *GetGeomapsGeomapIDOK) IsClientError() bool
- func (o *GetGeomapsGeomapIDOK) IsCode(code int) bool
- func (o *GetGeomapsGeomapIDOK) IsRedirect() bool
- func (o *GetGeomapsGeomapIDOK) IsServerError() bool
- func (o *GetGeomapsGeomapIDOK) IsSuccess() bool
- func (o *GetGeomapsGeomapIDOK) String() string
- 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
- func NewGetGeomapsGeomapIDParams() *GetGeomapsGeomapIDParams
- func NewGetGeomapsGeomapIDParamsWithContext(ctx context.Context) *GetGeomapsGeomapIDParams
- func NewGetGeomapsGeomapIDParamsWithHTTPClient(client *http.Client) *GetGeomapsGeomapIDParams
- func NewGetGeomapsGeomapIDParamsWithTimeout(timeout time.Duration) *GetGeomapsGeomapIDParams
- func (o *GetGeomapsGeomapIDParams) SetContext(ctx context.Context)
- func (o *GetGeomapsGeomapIDParams) SetDefaults()
- func (o *GetGeomapsGeomapIDParams) SetGeomapID(geomapID strfmt.UUID)
- func (o *GetGeomapsGeomapIDParams) SetHTTPClient(client *http.Client)
- func (o *GetGeomapsGeomapIDParams) SetTimeout(timeout time.Duration)
- func (o *GetGeomapsGeomapIDParams) WithContext(ctx context.Context) *GetGeomapsGeomapIDParams
- func (o *GetGeomapsGeomapIDParams) WithDefaults() *GetGeomapsGeomapIDParams
- func (o *GetGeomapsGeomapIDParams) WithGeomapID(geomapID strfmt.UUID) *GetGeomapsGeomapIDParams
- func (o *GetGeomapsGeomapIDParams) WithHTTPClient(client *http.Client) *GetGeomapsGeomapIDParams
- func (o *GetGeomapsGeomapIDParams) WithTimeout(timeout time.Duration) *GetGeomapsGeomapIDParams
- func (o *GetGeomapsGeomapIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGeomapsGeomapIDReader
- type GetGeomapsOK
- func (o *GetGeomapsOK) Code() int
- func (o *GetGeomapsOK) Error() string
- func (o *GetGeomapsOK) GetPayload() *GetGeomapsOKBody
- func (o *GetGeomapsOK) IsClientError() bool
- func (o *GetGeomapsOK) IsCode(code int) bool
- func (o *GetGeomapsOK) IsRedirect() bool
- func (o *GetGeomapsOK) IsServerError() bool
- func (o *GetGeomapsOK) IsSuccess() bool
- func (o *GetGeomapsOK) String() string
- type GetGeomapsOKBody
- type GetGeomapsParams
- func (o *GetGeomapsParams) SetContext(ctx context.Context)
- func (o *GetGeomapsParams) SetDefaults()
- func (o *GetGeomapsParams) SetHTTPClient(client *http.Client)
- func (o *GetGeomapsParams) SetLimit(limit *int64)
- func (o *GetGeomapsParams) SetMarker(marker *strfmt.UUID)
- func (o *GetGeomapsParams) SetNotTags(notTags []string)
- func (o *GetGeomapsParams) SetNotTagsAny(notTagsAny []string)
- func (o *GetGeomapsParams) SetPageReverse(pageReverse *bool)
- func (o *GetGeomapsParams) SetSort(sort *string)
- func (o *GetGeomapsParams) SetTags(tags []string)
- func (o *GetGeomapsParams) SetTagsAny(tagsAny []string)
- func (o *GetGeomapsParams) SetTimeout(timeout time.Duration)
- func (o *GetGeomapsParams) WithContext(ctx context.Context) *GetGeomapsParams
- func (o *GetGeomapsParams) WithDefaults() *GetGeomapsParams
- func (o *GetGeomapsParams) WithHTTPClient(client *http.Client) *GetGeomapsParams
- func (o *GetGeomapsParams) WithLimit(limit *int64) *GetGeomapsParams
- func (o *GetGeomapsParams) WithMarker(marker *strfmt.UUID) *GetGeomapsParams
- func (o *GetGeomapsParams) WithNotTags(notTags []string) *GetGeomapsParams
- func (o *GetGeomapsParams) WithNotTagsAny(notTagsAny []string) *GetGeomapsParams
- func (o *GetGeomapsParams) WithPageReverse(pageReverse *bool) *GetGeomapsParams
- func (o *GetGeomapsParams) WithSort(sort *string) *GetGeomapsParams
- func (o *GetGeomapsParams) WithTags(tags []string) *GetGeomapsParams
- func (o *GetGeomapsParams) WithTagsAny(tagsAny []string) *GetGeomapsParams
- func (o *GetGeomapsParams) WithTimeout(timeout time.Duration) *GetGeomapsParams
- func (o *GetGeomapsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGeomapsReader
- type PostGeomapsBadRequest
- func (o *PostGeomapsBadRequest) Code() int
- func (o *PostGeomapsBadRequest) Error() string
- func (o *PostGeomapsBadRequest) GetPayload() *models.Error
- func (o *PostGeomapsBadRequest) IsClientError() bool
- func (o *PostGeomapsBadRequest) IsCode(code int) bool
- func (o *PostGeomapsBadRequest) IsRedirect() bool
- func (o *PostGeomapsBadRequest) IsServerError() bool
- func (o *PostGeomapsBadRequest) IsSuccess() bool
- func (o *PostGeomapsBadRequest) String() string
- type PostGeomapsBody
- type PostGeomapsCreated
- func (o *PostGeomapsCreated) Code() int
- func (o *PostGeomapsCreated) Error() string
- func (o *PostGeomapsCreated) GetPayload() *PostGeomapsCreatedBody
- func (o *PostGeomapsCreated) IsClientError() bool
- func (o *PostGeomapsCreated) IsCode(code int) bool
- func (o *PostGeomapsCreated) IsRedirect() bool
- func (o *PostGeomapsCreated) IsServerError() bool
- func (o *PostGeomapsCreated) IsSuccess() bool
- func (o *PostGeomapsCreated) String() string
- 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) Code() int
- func (o *PostGeomapsDefault) Error() string
- func (o *PostGeomapsDefault) GetPayload() *models.Error
- func (o *PostGeomapsDefault) IsClientError() bool
- func (o *PostGeomapsDefault) IsCode(code int) bool
- func (o *PostGeomapsDefault) IsRedirect() bool
- func (o *PostGeomapsDefault) IsServerError() bool
- func (o *PostGeomapsDefault) IsSuccess() bool
- func (o *PostGeomapsDefault) String() string
- type PostGeomapsNotFound
- func (o *PostGeomapsNotFound) Code() int
- func (o *PostGeomapsNotFound) Error() string
- func (o *PostGeomapsNotFound) GetPayload() *models.Error
- func (o *PostGeomapsNotFound) IsClientError() bool
- func (o *PostGeomapsNotFound) IsCode(code int) bool
- func (o *PostGeomapsNotFound) IsRedirect() bool
- func (o *PostGeomapsNotFound) IsServerError() bool
- func (o *PostGeomapsNotFound) IsSuccess() bool
- func (o *PostGeomapsNotFound) String() string
- type PostGeomapsParams
- func (o *PostGeomapsParams) SetContext(ctx context.Context)
- func (o *PostGeomapsParams) SetDefaults()
- func (o *PostGeomapsParams) SetGeomap(geomap PostGeomapsBody)
- func (o *PostGeomapsParams) SetHTTPClient(client *http.Client)
- func (o *PostGeomapsParams) SetTimeout(timeout time.Duration)
- func (o *PostGeomapsParams) WithContext(ctx context.Context) *PostGeomapsParams
- func (o *PostGeomapsParams) WithDefaults() *PostGeomapsParams
- func (o *PostGeomapsParams) WithGeomap(geomap PostGeomapsBody) *PostGeomapsParams
- func (o *PostGeomapsParams) WithHTTPClient(client *http.Client) *PostGeomapsParams
- func (o *PostGeomapsParams) WithTimeout(timeout time.Duration) *PostGeomapsParams
- func (o *PostGeomapsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGeomapsReader
- type PutGeomapsGeomapIDAccepted
- func (o *PutGeomapsGeomapIDAccepted) Code() int
- func (o *PutGeomapsGeomapIDAccepted) Error() string
- func (o *PutGeomapsGeomapIDAccepted) GetPayload() *PutGeomapsGeomapIDAcceptedBody
- func (o *PutGeomapsGeomapIDAccepted) IsClientError() bool
- func (o *PutGeomapsGeomapIDAccepted) IsCode(code int) bool
- func (o *PutGeomapsGeomapIDAccepted) IsRedirect() bool
- func (o *PutGeomapsGeomapIDAccepted) IsServerError() bool
- func (o *PutGeomapsGeomapIDAccepted) IsSuccess() bool
- func (o *PutGeomapsGeomapIDAccepted) String() string
- 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
- func (o *PutGeomapsGeomapIDBadRequest) Code() int
- func (o *PutGeomapsGeomapIDBadRequest) Error() string
- func (o *PutGeomapsGeomapIDBadRequest) GetPayload() *models.Error
- func (o *PutGeomapsGeomapIDBadRequest) IsClientError() bool
- func (o *PutGeomapsGeomapIDBadRequest) IsCode(code int) bool
- func (o *PutGeomapsGeomapIDBadRequest) IsRedirect() bool
- func (o *PutGeomapsGeomapIDBadRequest) IsServerError() bool
- func (o *PutGeomapsGeomapIDBadRequest) IsSuccess() bool
- func (o *PutGeomapsGeomapIDBadRequest) String() string
- 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) Code() int
- func (o *PutGeomapsGeomapIDDefault) Error() string
- func (o *PutGeomapsGeomapIDDefault) GetPayload() *models.Error
- func (o *PutGeomapsGeomapIDDefault) IsClientError() bool
- func (o *PutGeomapsGeomapIDDefault) IsCode(code int) bool
- func (o *PutGeomapsGeomapIDDefault) IsRedirect() bool
- func (o *PutGeomapsGeomapIDDefault) IsServerError() bool
- func (o *PutGeomapsGeomapIDDefault) IsSuccess() bool
- func (o *PutGeomapsGeomapIDDefault) String() string
- type PutGeomapsGeomapIDNotFound
- func (o *PutGeomapsGeomapIDNotFound) Code() int
- func (o *PutGeomapsGeomapIDNotFound) Error() string
- func (o *PutGeomapsGeomapIDNotFound) GetPayload() *models.Error
- func (o *PutGeomapsGeomapIDNotFound) IsClientError() bool
- func (o *PutGeomapsGeomapIDNotFound) IsCode(code int) bool
- func (o *PutGeomapsGeomapIDNotFound) IsRedirect() bool
- func (o *PutGeomapsGeomapIDNotFound) IsServerError() bool
- func (o *PutGeomapsGeomapIDNotFound) IsSuccess() bool
- func (o *PutGeomapsGeomapIDNotFound) String() string
- type PutGeomapsGeomapIDParams
- func NewPutGeomapsGeomapIDParams() *PutGeomapsGeomapIDParams
- func NewPutGeomapsGeomapIDParamsWithContext(ctx context.Context) *PutGeomapsGeomapIDParams
- func NewPutGeomapsGeomapIDParamsWithHTTPClient(client *http.Client) *PutGeomapsGeomapIDParams
- func NewPutGeomapsGeomapIDParamsWithTimeout(timeout time.Duration) *PutGeomapsGeomapIDParams
- func (o *PutGeomapsGeomapIDParams) SetContext(ctx context.Context)
- func (o *PutGeomapsGeomapIDParams) SetDefaults()
- func (o *PutGeomapsGeomapIDParams) SetGeomap(geomap PutGeomapsGeomapIDBody)
- func (o *PutGeomapsGeomapIDParams) SetGeomapID(geomapID strfmt.UUID)
- func (o *PutGeomapsGeomapIDParams) SetHTTPClient(client *http.Client)
- func (o *PutGeomapsGeomapIDParams) SetTimeout(timeout time.Duration)
- func (o *PutGeomapsGeomapIDParams) WithContext(ctx context.Context) *PutGeomapsGeomapIDParams
- func (o *PutGeomapsGeomapIDParams) WithDefaults() *PutGeomapsGeomapIDParams
- func (o *PutGeomapsGeomapIDParams) WithGeomap(geomap PutGeomapsGeomapIDBody) *PutGeomapsGeomapIDParams
- func (o *PutGeomapsGeomapIDParams) WithGeomapID(geomapID strfmt.UUID) *PutGeomapsGeomapIDParams
- func (o *PutGeomapsGeomapIDParams) WithHTTPClient(client *http.Client) *PutGeomapsGeomapIDParams
- func (o *PutGeomapsGeomapIDParams) WithTimeout(timeout time.Duration) *PutGeomapsGeomapIDParams
- func (o *PutGeomapsGeomapIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGeomapsGeomapIDReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for geographic maps API
func (*Client) DeleteGeomapsGeomapID ¶
func (a *Client) DeleteGeomapsGeomapID(params *DeleteGeomapsGeomapIDParams, opts ...ClientOption) (*DeleteGeomapsGeomapIDNoContent, error)
DeleteGeomapsGeomapID deletes a geographic map
func (*Client) GetGeomaps ¶
func (a *Client) GetGeomaps(params *GetGeomapsParams, opts ...ClientOption) (*GetGeomapsOK, error)
GetGeomaps lists geographic maps
func (*Client) GetGeomapsGeomapID ¶
func (a *Client) GetGeomapsGeomapID(params *GetGeomapsGeomapIDParams, opts ...ClientOption) (*GetGeomapsGeomapIDOK, error)
GetGeomapsGeomapID shows geographic map detail
func (*Client) PostGeomaps ¶
func (a *Client) PostGeomaps(params *PostGeomapsParams, opts ...ClientOption) (*PostGeomapsCreated, error)
PostGeomaps creates new geographic map
func (*Client) PutGeomapsGeomapID ¶
func (a *Client) PutGeomapsGeomapID(params *PutGeomapsGeomapIDParams, opts ...ClientOption) (*PutGeomapsGeomapIDAccepted, error)
PutGeomapsGeomapID updates a geographic map
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteGeomapsGeomapID(params *DeleteGeomapsGeomapIDParams, opts ...ClientOption) (*DeleteGeomapsGeomapIDNoContent, error) GetGeomaps(params *GetGeomapsParams, opts ...ClientOption) (*GetGeomapsOK, error) GetGeomapsGeomapID(params *GetGeomapsGeomapIDParams, opts ...ClientOption) (*GetGeomapsGeomapIDOK, error) PostGeomaps(params *PostGeomapsParams, opts ...ClientOption) (*PostGeomapsCreated, error) PutGeomapsGeomapID(params *PutGeomapsGeomapIDParams, opts ...ClientOption) (*PutGeomapsGeomapIDAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new geographic maps API client.
type DeleteGeomapsGeomapIDDefault ¶
type DeleteGeomapsGeomapIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteGeomapsGeomapIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewDeleteGeomapsGeomapIDDefault ¶
func NewDeleteGeomapsGeomapIDDefault(code int) *DeleteGeomapsGeomapIDDefault
NewDeleteGeomapsGeomapIDDefault creates a DeleteGeomapsGeomapIDDefault with default headers values
func (*DeleteGeomapsGeomapIDDefault) Code ¶
func (o *DeleteGeomapsGeomapIDDefault) Code() int
Code gets the status code for the delete geomaps geomap ID default response
func (*DeleteGeomapsGeomapIDDefault) Error ¶
func (o *DeleteGeomapsGeomapIDDefault) Error() string
func (*DeleteGeomapsGeomapIDDefault) GetPayload ¶
func (o *DeleteGeomapsGeomapIDDefault) GetPayload() *models.Error
func (*DeleteGeomapsGeomapIDDefault) IsClientError ¶
func (o *DeleteGeomapsGeomapIDDefault) IsClientError() bool
IsClientError returns true when this delete geomaps geomap ID default response has a 4xx status code
func (*DeleteGeomapsGeomapIDDefault) IsCode ¶
func (o *DeleteGeomapsGeomapIDDefault) IsCode(code int) bool
IsCode returns true when this delete geomaps geomap ID default response a status code equal to that given
func (*DeleteGeomapsGeomapIDDefault) IsRedirect ¶
func (o *DeleteGeomapsGeomapIDDefault) IsRedirect() bool
IsRedirect returns true when this delete geomaps geomap ID default response has a 3xx status code
func (*DeleteGeomapsGeomapIDDefault) IsServerError ¶
func (o *DeleteGeomapsGeomapIDDefault) IsServerError() bool
IsServerError returns true when this delete geomaps geomap ID default response has a 5xx status code
func (*DeleteGeomapsGeomapIDDefault) IsSuccess ¶
func (o *DeleteGeomapsGeomapIDDefault) IsSuccess() bool
IsSuccess returns true when this delete geomaps geomap ID default response has a 2xx status code
func (*DeleteGeomapsGeomapIDDefault) String ¶
func (o *DeleteGeomapsGeomapIDDefault) String() string
type DeleteGeomapsGeomapIDNoContent ¶
type DeleteGeomapsGeomapIDNoContent struct { }
DeleteGeomapsGeomapIDNoContent describes a response with status code 204, with default header values.
Resource successfully deleted.
func NewDeleteGeomapsGeomapIDNoContent ¶
func NewDeleteGeomapsGeomapIDNoContent() *DeleteGeomapsGeomapIDNoContent
NewDeleteGeomapsGeomapIDNoContent creates a DeleteGeomapsGeomapIDNoContent with default headers values
func (*DeleteGeomapsGeomapIDNoContent) Code ¶
func (o *DeleteGeomapsGeomapIDNoContent) Code() int
Code gets the status code for the delete geomaps geomap Id no content response
func (*DeleteGeomapsGeomapIDNoContent) Error ¶
func (o *DeleteGeomapsGeomapIDNoContent) Error() string
func (*DeleteGeomapsGeomapIDNoContent) IsClientError ¶
func (o *DeleteGeomapsGeomapIDNoContent) IsClientError() bool
IsClientError returns true when this delete geomaps geomap Id no content response has a 4xx status code
func (*DeleteGeomapsGeomapIDNoContent) IsCode ¶
func (o *DeleteGeomapsGeomapIDNoContent) IsCode(code int) bool
IsCode returns true when this delete geomaps geomap Id no content response a status code equal to that given
func (*DeleteGeomapsGeomapIDNoContent) IsRedirect ¶
func (o *DeleteGeomapsGeomapIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete geomaps geomap Id no content response has a 3xx status code
func (*DeleteGeomapsGeomapIDNoContent) IsServerError ¶
func (o *DeleteGeomapsGeomapIDNoContent) IsServerError() bool
IsServerError returns true when this delete geomaps geomap Id no content response has a 5xx status code
func (*DeleteGeomapsGeomapIDNoContent) IsSuccess ¶
func (o *DeleteGeomapsGeomapIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete geomaps geomap Id no content response has a 2xx status code
func (*DeleteGeomapsGeomapIDNoContent) String ¶
func (o *DeleteGeomapsGeomapIDNoContent) String() string
type DeleteGeomapsGeomapIDNotFound ¶
DeleteGeomapsGeomapIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteGeomapsGeomapIDNotFound ¶
func NewDeleteGeomapsGeomapIDNotFound() *DeleteGeomapsGeomapIDNotFound
NewDeleteGeomapsGeomapIDNotFound creates a DeleteGeomapsGeomapIDNotFound with default headers values
func (*DeleteGeomapsGeomapIDNotFound) Code ¶
func (o *DeleteGeomapsGeomapIDNotFound) Code() int
Code gets the status code for the delete geomaps geomap Id not found response
func (*DeleteGeomapsGeomapIDNotFound) Error ¶
func (o *DeleteGeomapsGeomapIDNotFound) Error() string
func (*DeleteGeomapsGeomapIDNotFound) GetPayload ¶
func (o *DeleteGeomapsGeomapIDNotFound) GetPayload() *models.Error
func (*DeleteGeomapsGeomapIDNotFound) IsClientError ¶
func (o *DeleteGeomapsGeomapIDNotFound) IsClientError() bool
IsClientError returns true when this delete geomaps geomap Id not found response has a 4xx status code
func (*DeleteGeomapsGeomapIDNotFound) IsCode ¶
func (o *DeleteGeomapsGeomapIDNotFound) IsCode(code int) bool
IsCode returns true when this delete geomaps geomap Id not found response a status code equal to that given
func (*DeleteGeomapsGeomapIDNotFound) IsRedirect ¶
func (o *DeleteGeomapsGeomapIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete geomaps geomap Id not found response has a 3xx status code
func (*DeleteGeomapsGeomapIDNotFound) IsServerError ¶
func (o *DeleteGeomapsGeomapIDNotFound) IsServerError() bool
IsServerError returns true when this delete geomaps geomap Id not found response has a 5xx status code
func (*DeleteGeomapsGeomapIDNotFound) IsSuccess ¶
func (o *DeleteGeomapsGeomapIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete geomaps geomap Id not found response has a 2xx status code
func (*DeleteGeomapsGeomapIDNotFound) String ¶
func (o *DeleteGeomapsGeomapIDNotFound) String() string
type DeleteGeomapsGeomapIDParams ¶
type DeleteGeomapsGeomapIDParams struct { /* GeomapID. The UUID of the geomap Format: uuid */ GeomapID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteGeomapsGeomapIDParams contains all the parameters to send to the API endpoint
for the delete geomaps geomap ID operation. Typically these are written to a http.Request.
func NewDeleteGeomapsGeomapIDParams ¶
func NewDeleteGeomapsGeomapIDParams() *DeleteGeomapsGeomapIDParams
NewDeleteGeomapsGeomapIDParams creates a new DeleteGeomapsGeomapIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteGeomapsGeomapIDParamsWithContext ¶
func NewDeleteGeomapsGeomapIDParamsWithContext(ctx context.Context) *DeleteGeomapsGeomapIDParams
NewDeleteGeomapsGeomapIDParamsWithContext creates a new DeleteGeomapsGeomapIDParams object with the ability to set a context for a request.
func NewDeleteGeomapsGeomapIDParamsWithHTTPClient ¶
func NewDeleteGeomapsGeomapIDParamsWithHTTPClient(client *http.Client) *DeleteGeomapsGeomapIDParams
NewDeleteGeomapsGeomapIDParamsWithHTTPClient creates a new DeleteGeomapsGeomapIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGeomapsGeomapIDParamsWithTimeout ¶
func NewDeleteGeomapsGeomapIDParamsWithTimeout(timeout time.Duration) *DeleteGeomapsGeomapIDParams
NewDeleteGeomapsGeomapIDParamsWithTimeout creates a new DeleteGeomapsGeomapIDParams object with the ability to set a timeout on a request.
func (*DeleteGeomapsGeomapIDParams) SetContext ¶
func (o *DeleteGeomapsGeomapIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) SetDefaults ¶
func (o *DeleteGeomapsGeomapIDParams) SetDefaults()
SetDefaults hydrates default values in the delete geomaps geomap ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGeomapsGeomapIDParams) SetGeomapID ¶
func (o *DeleteGeomapsGeomapIDParams) SetGeomapID(geomapID strfmt.UUID)
SetGeomapID adds the geomapId to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) SetHTTPClient ¶
func (o *DeleteGeomapsGeomapIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) SetTimeout ¶
func (o *DeleteGeomapsGeomapIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) WithContext ¶
func (o *DeleteGeomapsGeomapIDParams) WithContext(ctx context.Context) *DeleteGeomapsGeomapIDParams
WithContext adds the context to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) WithDefaults ¶
func (o *DeleteGeomapsGeomapIDParams) WithDefaults() *DeleteGeomapsGeomapIDParams
WithDefaults hydrates default values in the delete geomaps geomap ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGeomapsGeomapIDParams) WithGeomapID ¶
func (o *DeleteGeomapsGeomapIDParams) WithGeomapID(geomapID strfmt.UUID) *DeleteGeomapsGeomapIDParams
WithGeomapID adds the geomapID to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) WithHTTPClient ¶
func (o *DeleteGeomapsGeomapIDParams) WithHTTPClient(client *http.Client) *DeleteGeomapsGeomapIDParams
WithHTTPClient adds the HTTPClient to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) WithTimeout ¶
func (o *DeleteGeomapsGeomapIDParams) WithTimeout(timeout time.Duration) *DeleteGeomapsGeomapIDParams
WithTimeout adds the timeout to the delete geomaps geomap ID params
func (*DeleteGeomapsGeomapIDParams) WriteToRequest ¶
func (o *DeleteGeomapsGeomapIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGeomapsGeomapIDReader ¶
type DeleteGeomapsGeomapIDReader struct {
// contains filtered or unexported fields
}
DeleteGeomapsGeomapIDReader is a Reader for the DeleteGeomapsGeomapID structure.
func (*DeleteGeomapsGeomapIDReader) ReadResponse ¶
func (o *DeleteGeomapsGeomapIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGeomapsBadRequest ¶
GetGeomapsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetGeomapsBadRequest ¶
func NewGetGeomapsBadRequest() *GetGeomapsBadRequest
NewGetGeomapsBadRequest creates a GetGeomapsBadRequest with default headers values
func (*GetGeomapsBadRequest) Code ¶
func (o *GetGeomapsBadRequest) Code() int
Code gets the status code for the get geomaps bad request response
func (*GetGeomapsBadRequest) Error ¶
func (o *GetGeomapsBadRequest) Error() string
func (*GetGeomapsBadRequest) GetPayload ¶
func (o *GetGeomapsBadRequest) GetPayload() *models.Error
func (*GetGeomapsBadRequest) IsClientError ¶
func (o *GetGeomapsBadRequest) IsClientError() bool
IsClientError returns true when this get geomaps bad request response has a 4xx status code
func (*GetGeomapsBadRequest) IsCode ¶
func (o *GetGeomapsBadRequest) IsCode(code int) bool
IsCode returns true when this get geomaps bad request response a status code equal to that given
func (*GetGeomapsBadRequest) IsRedirect ¶
func (o *GetGeomapsBadRequest) IsRedirect() bool
IsRedirect returns true when this get geomaps bad request response has a 3xx status code
func (*GetGeomapsBadRequest) IsServerError ¶
func (o *GetGeomapsBadRequest) IsServerError() bool
IsServerError returns true when this get geomaps bad request response has a 5xx status code
func (*GetGeomapsBadRequest) IsSuccess ¶
func (o *GetGeomapsBadRequest) IsSuccess() bool
IsSuccess returns true when this get geomaps bad request response has a 2xx status code
func (*GetGeomapsBadRequest) String ¶
func (o *GetGeomapsBadRequest) String() string
type GetGeomapsDefault ¶
GetGeomapsDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetGeomapsDefault ¶
func NewGetGeomapsDefault(code int) *GetGeomapsDefault
NewGetGeomapsDefault creates a GetGeomapsDefault with default headers values
func (*GetGeomapsDefault) Code ¶
func (o *GetGeomapsDefault) Code() int
Code gets the status code for the get geomaps default response
func (*GetGeomapsDefault) Error ¶
func (o *GetGeomapsDefault) Error() string
func (*GetGeomapsDefault) GetPayload ¶
func (o *GetGeomapsDefault) GetPayload() *models.Error
func (*GetGeomapsDefault) IsClientError ¶
func (o *GetGeomapsDefault) IsClientError() bool
IsClientError returns true when this get geomaps default response has a 4xx status code
func (*GetGeomapsDefault) IsCode ¶
func (o *GetGeomapsDefault) IsCode(code int) bool
IsCode returns true when this get geomaps default response a status code equal to that given
func (*GetGeomapsDefault) IsRedirect ¶
func (o *GetGeomapsDefault) IsRedirect() bool
IsRedirect returns true when this get geomaps default response has a 3xx status code
func (*GetGeomapsDefault) IsServerError ¶
func (o *GetGeomapsDefault) IsServerError() bool
IsServerError returns true when this get geomaps default response has a 5xx status code
func (*GetGeomapsDefault) IsSuccess ¶
func (o *GetGeomapsDefault) IsSuccess() bool
IsSuccess returns true when this get geomaps default response has a 2xx status code
func (*GetGeomapsDefault) String ¶
func (o *GetGeomapsDefault) String() string
type GetGeomapsGeomapIDDefault ¶
type GetGeomapsGeomapIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetGeomapsGeomapIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetGeomapsGeomapIDDefault ¶
func NewGetGeomapsGeomapIDDefault(code int) *GetGeomapsGeomapIDDefault
NewGetGeomapsGeomapIDDefault creates a GetGeomapsGeomapIDDefault with default headers values
func (*GetGeomapsGeomapIDDefault) Code ¶
func (o *GetGeomapsGeomapIDDefault) Code() int
Code gets the status code for the get geomaps geomap ID default response
func (*GetGeomapsGeomapIDDefault) Error ¶
func (o *GetGeomapsGeomapIDDefault) Error() string
func (*GetGeomapsGeomapIDDefault) GetPayload ¶
func (o *GetGeomapsGeomapIDDefault) GetPayload() *models.Error
func (*GetGeomapsGeomapIDDefault) IsClientError ¶
func (o *GetGeomapsGeomapIDDefault) IsClientError() bool
IsClientError returns true when this get geomaps geomap ID default response has a 4xx status code
func (*GetGeomapsGeomapIDDefault) IsCode ¶
func (o *GetGeomapsGeomapIDDefault) IsCode(code int) bool
IsCode returns true when this get geomaps geomap ID default response a status code equal to that given
func (*GetGeomapsGeomapIDDefault) IsRedirect ¶
func (o *GetGeomapsGeomapIDDefault) IsRedirect() bool
IsRedirect returns true when this get geomaps geomap ID default response has a 3xx status code
func (*GetGeomapsGeomapIDDefault) IsServerError ¶
func (o *GetGeomapsGeomapIDDefault) IsServerError() bool
IsServerError returns true when this get geomaps geomap ID default response has a 5xx status code
func (*GetGeomapsGeomapIDDefault) IsSuccess ¶
func (o *GetGeomapsGeomapIDDefault) IsSuccess() bool
IsSuccess returns true when this get geomaps geomap ID default response has a 2xx status code
func (*GetGeomapsGeomapIDDefault) String ¶
func (o *GetGeomapsGeomapIDDefault) String() string
type GetGeomapsGeomapIDNotFound ¶
GetGeomapsGeomapIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetGeomapsGeomapIDNotFound ¶
func NewGetGeomapsGeomapIDNotFound() *GetGeomapsGeomapIDNotFound
NewGetGeomapsGeomapIDNotFound creates a GetGeomapsGeomapIDNotFound with default headers values
func (*GetGeomapsGeomapIDNotFound) Code ¶
func (o *GetGeomapsGeomapIDNotFound) Code() int
Code gets the status code for the get geomaps geomap Id not found response
func (*GetGeomapsGeomapIDNotFound) Error ¶
func (o *GetGeomapsGeomapIDNotFound) Error() string
func (*GetGeomapsGeomapIDNotFound) GetPayload ¶
func (o *GetGeomapsGeomapIDNotFound) GetPayload() *models.Error
func (*GetGeomapsGeomapIDNotFound) IsClientError ¶
func (o *GetGeomapsGeomapIDNotFound) IsClientError() bool
IsClientError returns true when this get geomaps geomap Id not found response has a 4xx status code
func (*GetGeomapsGeomapIDNotFound) IsCode ¶
func (o *GetGeomapsGeomapIDNotFound) IsCode(code int) bool
IsCode returns true when this get geomaps geomap Id not found response a status code equal to that given
func (*GetGeomapsGeomapIDNotFound) IsRedirect ¶
func (o *GetGeomapsGeomapIDNotFound) IsRedirect() bool
IsRedirect returns true when this get geomaps geomap Id not found response has a 3xx status code
func (*GetGeomapsGeomapIDNotFound) IsServerError ¶
func (o *GetGeomapsGeomapIDNotFound) IsServerError() bool
IsServerError returns true when this get geomaps geomap Id not found response has a 5xx status code
func (*GetGeomapsGeomapIDNotFound) IsSuccess ¶
func (o *GetGeomapsGeomapIDNotFound) IsSuccess() bool
IsSuccess returns true when this get geomaps geomap Id not found response has a 2xx status code
func (*GetGeomapsGeomapIDNotFound) String ¶
func (o *GetGeomapsGeomapIDNotFound) String() string
type GetGeomapsGeomapIDOK ¶
type GetGeomapsGeomapIDOK struct {
Payload *GetGeomapsGeomapIDOKBody
}
GetGeomapsGeomapIDOK describes a response with status code 200, with default header values.
Shows the details of a specific geomap.
func NewGetGeomapsGeomapIDOK ¶
func NewGetGeomapsGeomapIDOK() *GetGeomapsGeomapIDOK
NewGetGeomapsGeomapIDOK creates a GetGeomapsGeomapIDOK with default headers values
func (*GetGeomapsGeomapIDOK) Code ¶
func (o *GetGeomapsGeomapIDOK) Code() int
Code gets the status code for the get geomaps geomap Id o k response
func (*GetGeomapsGeomapIDOK) Error ¶
func (o *GetGeomapsGeomapIDOK) Error() string
func (*GetGeomapsGeomapIDOK) GetPayload ¶
func (o *GetGeomapsGeomapIDOK) GetPayload() *GetGeomapsGeomapIDOKBody
func (*GetGeomapsGeomapIDOK) IsClientError ¶
func (o *GetGeomapsGeomapIDOK) IsClientError() bool
IsClientError returns true when this get geomaps geomap Id o k response has a 4xx status code
func (*GetGeomapsGeomapIDOK) IsCode ¶
func (o *GetGeomapsGeomapIDOK) IsCode(code int) bool
IsCode returns true when this get geomaps geomap Id o k response a status code equal to that given
func (*GetGeomapsGeomapIDOK) IsRedirect ¶
func (o *GetGeomapsGeomapIDOK) IsRedirect() bool
IsRedirect returns true when this get geomaps geomap Id o k response has a 3xx status code
func (*GetGeomapsGeomapIDOK) IsServerError ¶
func (o *GetGeomapsGeomapIDOK) IsServerError() bool
IsServerError returns true when this get geomaps geomap Id o k response has a 5xx status code
func (*GetGeomapsGeomapIDOK) IsSuccess ¶
func (o *GetGeomapsGeomapIDOK) IsSuccess() bool
IsSuccess returns true when this get geomaps geomap Id o k response has a 2xx status code
func (*GetGeomapsGeomapIDOK) String ¶
func (o *GetGeomapsGeomapIDOK) String() string
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 { /* GeomapID. The UUID of the geomap Format: uuid */ GeomapID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGeomapsGeomapIDParams contains all the parameters to send to the API endpoint
for the get geomaps geomap ID operation. Typically these are written to a http.Request.
func NewGetGeomapsGeomapIDParams ¶
func NewGetGeomapsGeomapIDParams() *GetGeomapsGeomapIDParams
NewGetGeomapsGeomapIDParams creates a new GetGeomapsGeomapIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGeomapsGeomapIDParamsWithContext ¶
func NewGetGeomapsGeomapIDParamsWithContext(ctx context.Context) *GetGeomapsGeomapIDParams
NewGetGeomapsGeomapIDParamsWithContext creates a new GetGeomapsGeomapIDParams object with the ability to set a context for a request.
func NewGetGeomapsGeomapIDParamsWithHTTPClient ¶
func NewGetGeomapsGeomapIDParamsWithHTTPClient(client *http.Client) *GetGeomapsGeomapIDParams
NewGetGeomapsGeomapIDParamsWithHTTPClient creates a new GetGeomapsGeomapIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetGeomapsGeomapIDParamsWithTimeout ¶
func NewGetGeomapsGeomapIDParamsWithTimeout(timeout time.Duration) *GetGeomapsGeomapIDParams
NewGetGeomapsGeomapIDParamsWithTimeout creates a new GetGeomapsGeomapIDParams object with the ability to set a timeout on a request.
func (*GetGeomapsGeomapIDParams) SetContext ¶
func (o *GetGeomapsGeomapIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) SetDefaults ¶
func (o *GetGeomapsGeomapIDParams) SetDefaults()
SetDefaults hydrates default values in the get geomaps geomap ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetGeomapsGeomapIDParams) SetGeomapID ¶
func (o *GetGeomapsGeomapIDParams) SetGeomapID(geomapID strfmt.UUID)
SetGeomapID adds the geomapId to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) SetHTTPClient ¶
func (o *GetGeomapsGeomapIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) SetTimeout ¶
func (o *GetGeomapsGeomapIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) WithContext ¶
func (o *GetGeomapsGeomapIDParams) WithContext(ctx context.Context) *GetGeomapsGeomapIDParams
WithContext adds the context to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) WithDefaults ¶
func (o *GetGeomapsGeomapIDParams) WithDefaults() *GetGeomapsGeomapIDParams
WithDefaults hydrates default values in the get geomaps geomap ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetGeomapsGeomapIDParams) WithGeomapID ¶
func (o *GetGeomapsGeomapIDParams) WithGeomapID(geomapID strfmt.UUID) *GetGeomapsGeomapIDParams
WithGeomapID adds the geomapID to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) WithHTTPClient ¶
func (o *GetGeomapsGeomapIDParams) WithHTTPClient(client *http.Client) *GetGeomapsGeomapIDParams
WithHTTPClient adds the HTTPClient to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) WithTimeout ¶
func (o *GetGeomapsGeomapIDParams) WithTimeout(timeout time.Duration) *GetGeomapsGeomapIDParams
WithTimeout adds the timeout to the get geomaps geomap ID params
func (*GetGeomapsGeomapIDParams) WriteToRequest ¶
func (o *GetGeomapsGeomapIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGeomapsGeomapIDReader ¶
type GetGeomapsGeomapIDReader struct {
// contains filtered or unexported fields
}
GetGeomapsGeomapIDReader is a Reader for the GetGeomapsGeomapID structure.
func (*GetGeomapsGeomapIDReader) ReadResponse ¶
func (o *GetGeomapsGeomapIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGeomapsOK ¶
type GetGeomapsOK struct {
Payload *GetGeomapsOKBody
}
GetGeomapsOK describes a response with status code 200, with default header values.
A JSON array of geographic maps
func NewGetGeomapsOK ¶
func NewGetGeomapsOK() *GetGeomapsOK
NewGetGeomapsOK creates a GetGeomapsOK with default headers values
func (*GetGeomapsOK) Code ¶
func (o *GetGeomapsOK) Code() int
Code gets the status code for the get geomaps o k response
func (*GetGeomapsOK) Error ¶
func (o *GetGeomapsOK) Error() string
func (*GetGeomapsOK) GetPayload ¶
func (o *GetGeomapsOK) GetPayload() *GetGeomapsOKBody
func (*GetGeomapsOK) IsClientError ¶
func (o *GetGeomapsOK) IsClientError() bool
IsClientError returns true when this get geomaps o k response has a 4xx status code
func (*GetGeomapsOK) IsCode ¶
func (o *GetGeomapsOK) IsCode(code int) bool
IsCode returns true when this get geomaps o k response a status code equal to that given
func (*GetGeomapsOK) IsRedirect ¶
func (o *GetGeomapsOK) IsRedirect() bool
IsRedirect returns true when this get geomaps o k response has a 3xx status code
func (*GetGeomapsOK) IsServerError ¶
func (o *GetGeomapsOK) IsServerError() bool
IsServerError returns true when this get geomaps o k response has a 5xx status code
func (*GetGeomapsOK) IsSuccess ¶
func (o *GetGeomapsOK) IsSuccess() bool
IsSuccess returns true when this get geomaps o k response has a 2xx status code
func (*GetGeomapsOK) String ¶
func (o *GetGeomapsOK) String() string
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 { /* Limit. Sets the page size. */ Limit *int64 /* Marker. Pagination ID of the last item in the previous list. Format: uuid */ Marker *strfmt.UUID /* NotTags. Filter for resources not having tags, multiple not-tags are considered as logical AND. Should be provided in a comma separated list. */ NotTags []string /* NotTagsAny. Filter for resources not having tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. */ NotTagsAny []string /* PageReverse. Sets the page direction. */ PageReverse *bool /* Sort. Comma-separated list of sort keys, optinally prefix with - to reverse sort order. */ Sort *string /* Tags. Filter for tags, multiple tags are considered as logical AND. Should be provided in a comma separated list. */ Tags []string /* TagsAny. Filter for tags, multiple tags are considered as logical OR. Should be provided in a comma separated list. */ TagsAny []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGeomapsParams contains all the parameters to send to the API endpoint
for the get geomaps operation. Typically these are written to a http.Request.
func NewGetGeomapsParams ¶
func NewGetGeomapsParams() *GetGeomapsParams
NewGetGeomapsParams creates a new GetGeomapsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGeomapsParamsWithContext ¶
func NewGetGeomapsParamsWithContext(ctx context.Context) *GetGeomapsParams
NewGetGeomapsParamsWithContext creates a new GetGeomapsParams object with the ability to set a context for a request.
func NewGetGeomapsParamsWithHTTPClient ¶
func NewGetGeomapsParamsWithHTTPClient(client *http.Client) *GetGeomapsParams
NewGetGeomapsParamsWithHTTPClient creates a new GetGeomapsParams object with the ability to set a custom HTTPClient for a request.
func NewGetGeomapsParamsWithTimeout ¶
func NewGetGeomapsParamsWithTimeout(timeout time.Duration) *GetGeomapsParams
NewGetGeomapsParamsWithTimeout creates a new GetGeomapsParams object with the ability to set a timeout on a request.
func (*GetGeomapsParams) SetContext ¶
func (o *GetGeomapsParams) SetContext(ctx context.Context)
SetContext adds the context to the get geomaps params
func (*GetGeomapsParams) SetDefaults ¶
func (o *GetGeomapsParams) SetDefaults()
SetDefaults hydrates default values in the get geomaps params (not the query body).
All values with no default are reset to their zero value.
func (*GetGeomapsParams) SetHTTPClient ¶
func (o *GetGeomapsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get geomaps params
func (*GetGeomapsParams) SetLimit ¶
func (o *GetGeomapsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get geomaps params
func (*GetGeomapsParams) SetMarker ¶
func (o *GetGeomapsParams) SetMarker(marker *strfmt.UUID)
SetMarker adds the marker to the get geomaps params
func (*GetGeomapsParams) SetNotTags ¶
func (o *GetGeomapsParams) SetNotTags(notTags []string)
SetNotTags adds the notTags to the get geomaps params
func (*GetGeomapsParams) SetNotTagsAny ¶
func (o *GetGeomapsParams) SetNotTagsAny(notTagsAny []string)
SetNotTagsAny adds the notTagsAny to the get geomaps params
func (*GetGeomapsParams) SetPageReverse ¶
func (o *GetGeomapsParams) SetPageReverse(pageReverse *bool)
SetPageReverse adds the pageReverse to the get geomaps params
func (*GetGeomapsParams) SetSort ¶
func (o *GetGeomapsParams) SetSort(sort *string)
SetSort adds the sort to the get geomaps params
func (*GetGeomapsParams) SetTags ¶
func (o *GetGeomapsParams) SetTags(tags []string)
SetTags adds the tags to the get geomaps params
func (*GetGeomapsParams) SetTagsAny ¶
func (o *GetGeomapsParams) SetTagsAny(tagsAny []string)
SetTagsAny adds the tagsAny to the get geomaps params
func (*GetGeomapsParams) SetTimeout ¶
func (o *GetGeomapsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get geomaps params
func (*GetGeomapsParams) WithContext ¶
func (o *GetGeomapsParams) WithContext(ctx context.Context) *GetGeomapsParams
WithContext adds the context to the get geomaps params
func (*GetGeomapsParams) WithDefaults ¶
func (o *GetGeomapsParams) WithDefaults() *GetGeomapsParams
WithDefaults hydrates default values in the get geomaps params (not the query body).
All values with no default are reset to their zero value.
func (*GetGeomapsParams) WithHTTPClient ¶
func (o *GetGeomapsParams) WithHTTPClient(client *http.Client) *GetGeomapsParams
WithHTTPClient adds the HTTPClient to the get geomaps params
func (*GetGeomapsParams) WithLimit ¶
func (o *GetGeomapsParams) WithLimit(limit *int64) *GetGeomapsParams
WithLimit adds the limit to the get geomaps params
func (*GetGeomapsParams) WithMarker ¶
func (o *GetGeomapsParams) WithMarker(marker *strfmt.UUID) *GetGeomapsParams
WithMarker adds the marker to the get geomaps params
func (*GetGeomapsParams) WithNotTags ¶
func (o *GetGeomapsParams) WithNotTags(notTags []string) *GetGeomapsParams
WithNotTags adds the notTags to the get geomaps params
func (*GetGeomapsParams) WithNotTagsAny ¶
func (o *GetGeomapsParams) WithNotTagsAny(notTagsAny []string) *GetGeomapsParams
WithNotTagsAny adds the notTagsAny to the get geomaps params
func (*GetGeomapsParams) WithPageReverse ¶
func (o *GetGeomapsParams) WithPageReverse(pageReverse *bool) *GetGeomapsParams
WithPageReverse adds the pageReverse to the get geomaps params
func (*GetGeomapsParams) WithSort ¶
func (o *GetGeomapsParams) WithSort(sort *string) *GetGeomapsParams
WithSort adds the sort to the get geomaps params
func (*GetGeomapsParams) WithTags ¶
func (o *GetGeomapsParams) WithTags(tags []string) *GetGeomapsParams
WithTags adds the tags to the get geomaps params
func (*GetGeomapsParams) WithTagsAny ¶
func (o *GetGeomapsParams) WithTagsAny(tagsAny []string) *GetGeomapsParams
WithTagsAny adds the tagsAny to the get geomaps params
func (*GetGeomapsParams) WithTimeout ¶
func (o *GetGeomapsParams) WithTimeout(timeout time.Duration) *GetGeomapsParams
WithTimeout adds the timeout to the get geomaps params
func (*GetGeomapsParams) WriteToRequest ¶
func (o *GetGeomapsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGeomapsReader ¶
type GetGeomapsReader struct {
// contains filtered or unexported fields
}
GetGeomapsReader is a Reader for the GetGeomaps structure.
func (*GetGeomapsReader) ReadResponse ¶
func (o *GetGeomapsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGeomapsBadRequest ¶
PostGeomapsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPostGeomapsBadRequest ¶
func NewPostGeomapsBadRequest() *PostGeomapsBadRequest
NewPostGeomapsBadRequest creates a PostGeomapsBadRequest with default headers values
func (*PostGeomapsBadRequest) Code ¶
func (o *PostGeomapsBadRequest) Code() int
Code gets the status code for the post geomaps bad request response
func (*PostGeomapsBadRequest) Error ¶
func (o *PostGeomapsBadRequest) Error() string
func (*PostGeomapsBadRequest) GetPayload ¶
func (o *PostGeomapsBadRequest) GetPayload() *models.Error
func (*PostGeomapsBadRequest) IsClientError ¶
func (o *PostGeomapsBadRequest) IsClientError() bool
IsClientError returns true when this post geomaps bad request response has a 4xx status code
func (*PostGeomapsBadRequest) IsCode ¶
func (o *PostGeomapsBadRequest) IsCode(code int) bool
IsCode returns true when this post geomaps bad request response a status code equal to that given
func (*PostGeomapsBadRequest) IsRedirect ¶
func (o *PostGeomapsBadRequest) IsRedirect() bool
IsRedirect returns true when this post geomaps bad request response has a 3xx status code
func (*PostGeomapsBadRequest) IsServerError ¶
func (o *PostGeomapsBadRequest) IsServerError() bool
IsServerError returns true when this post geomaps bad request response has a 5xx status code
func (*PostGeomapsBadRequest) IsSuccess ¶
func (o *PostGeomapsBadRequest) IsSuccess() bool
IsSuccess returns true when this post geomaps bad request response has a 2xx status code
func (*PostGeomapsBadRequest) String ¶
func (o *PostGeomapsBadRequest) String() string
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 {
Payload *PostGeomapsCreatedBody
}
PostGeomapsCreated describes a response with status code 201, with default header values.
Created geomap.
func NewPostGeomapsCreated ¶
func NewPostGeomapsCreated() *PostGeomapsCreated
NewPostGeomapsCreated creates a PostGeomapsCreated with default headers values
func (*PostGeomapsCreated) Code ¶
func (o *PostGeomapsCreated) Code() int
Code gets the status code for the post geomaps created response
func (*PostGeomapsCreated) Error ¶
func (o *PostGeomapsCreated) Error() string
func (*PostGeomapsCreated) GetPayload ¶
func (o *PostGeomapsCreated) GetPayload() *PostGeomapsCreatedBody
func (*PostGeomapsCreated) IsClientError ¶
func (o *PostGeomapsCreated) IsClientError() bool
IsClientError returns true when this post geomaps created response has a 4xx status code
func (*PostGeomapsCreated) IsCode ¶
func (o *PostGeomapsCreated) IsCode(code int) bool
IsCode returns true when this post geomaps created response a status code equal to that given
func (*PostGeomapsCreated) IsRedirect ¶
func (o *PostGeomapsCreated) IsRedirect() bool
IsRedirect returns true when this post geomaps created response has a 3xx status code
func (*PostGeomapsCreated) IsServerError ¶
func (o *PostGeomapsCreated) IsServerError() bool
IsServerError returns true when this post geomaps created response has a 5xx status code
func (*PostGeomapsCreated) IsSuccess ¶
func (o *PostGeomapsCreated) IsSuccess() bool
IsSuccess returns true when this post geomaps created response has a 2xx status code
func (*PostGeomapsCreated) String ¶
func (o *PostGeomapsCreated) String() string
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 ¶
PostGeomapsDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPostGeomapsDefault ¶
func NewPostGeomapsDefault(code int) *PostGeomapsDefault
NewPostGeomapsDefault creates a PostGeomapsDefault with default headers values
func (*PostGeomapsDefault) Code ¶
func (o *PostGeomapsDefault) Code() int
Code gets the status code for the post geomaps default response
func (*PostGeomapsDefault) Error ¶
func (o *PostGeomapsDefault) Error() string
func (*PostGeomapsDefault) GetPayload ¶
func (o *PostGeomapsDefault) GetPayload() *models.Error
func (*PostGeomapsDefault) IsClientError ¶
func (o *PostGeomapsDefault) IsClientError() bool
IsClientError returns true when this post geomaps default response has a 4xx status code
func (*PostGeomapsDefault) IsCode ¶
func (o *PostGeomapsDefault) IsCode(code int) bool
IsCode returns true when this post geomaps default response a status code equal to that given
func (*PostGeomapsDefault) IsRedirect ¶
func (o *PostGeomapsDefault) IsRedirect() bool
IsRedirect returns true when this post geomaps default response has a 3xx status code
func (*PostGeomapsDefault) IsServerError ¶
func (o *PostGeomapsDefault) IsServerError() bool
IsServerError returns true when this post geomaps default response has a 5xx status code
func (*PostGeomapsDefault) IsSuccess ¶
func (o *PostGeomapsDefault) IsSuccess() bool
IsSuccess returns true when this post geomaps default response has a 2xx status code
func (*PostGeomapsDefault) String ¶
func (o *PostGeomapsDefault) String() string
type PostGeomapsNotFound ¶
PostGeomapsNotFound describes a response with status code 404, with default header values.
Not Found
func NewPostGeomapsNotFound ¶
func NewPostGeomapsNotFound() *PostGeomapsNotFound
NewPostGeomapsNotFound creates a PostGeomapsNotFound with default headers values
func (*PostGeomapsNotFound) Code ¶
func (o *PostGeomapsNotFound) Code() int
Code gets the status code for the post geomaps not found response
func (*PostGeomapsNotFound) Error ¶
func (o *PostGeomapsNotFound) Error() string
func (*PostGeomapsNotFound) GetPayload ¶
func (o *PostGeomapsNotFound) GetPayload() *models.Error
func (*PostGeomapsNotFound) IsClientError ¶
func (o *PostGeomapsNotFound) IsClientError() bool
IsClientError returns true when this post geomaps not found response has a 4xx status code
func (*PostGeomapsNotFound) IsCode ¶
func (o *PostGeomapsNotFound) IsCode(code int) bool
IsCode returns true when this post geomaps not found response a status code equal to that given
func (*PostGeomapsNotFound) IsRedirect ¶
func (o *PostGeomapsNotFound) IsRedirect() bool
IsRedirect returns true when this post geomaps not found response has a 3xx status code
func (*PostGeomapsNotFound) IsServerError ¶
func (o *PostGeomapsNotFound) IsServerError() bool
IsServerError returns true when this post geomaps not found response has a 5xx status code
func (*PostGeomapsNotFound) IsSuccess ¶
func (o *PostGeomapsNotFound) IsSuccess() bool
IsSuccess returns true when this post geomaps not found response has a 2xx status code
func (*PostGeomapsNotFound) String ¶
func (o *PostGeomapsNotFound) String() string
type PostGeomapsParams ¶
type PostGeomapsParams struct { // Geomap. Geomap PostGeomapsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostGeomapsParams contains all the parameters to send to the API endpoint
for the post geomaps operation. Typically these are written to a http.Request.
func NewPostGeomapsParams ¶
func NewPostGeomapsParams() *PostGeomapsParams
NewPostGeomapsParams creates a new PostGeomapsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostGeomapsParamsWithContext ¶
func NewPostGeomapsParamsWithContext(ctx context.Context) *PostGeomapsParams
NewPostGeomapsParamsWithContext creates a new PostGeomapsParams object with the ability to set a context for a request.
func NewPostGeomapsParamsWithHTTPClient ¶
func NewPostGeomapsParamsWithHTTPClient(client *http.Client) *PostGeomapsParams
NewPostGeomapsParamsWithHTTPClient creates a new PostGeomapsParams object with the ability to set a custom HTTPClient for a request.
func NewPostGeomapsParamsWithTimeout ¶
func NewPostGeomapsParamsWithTimeout(timeout time.Duration) *PostGeomapsParams
NewPostGeomapsParamsWithTimeout creates a new PostGeomapsParams object with the ability to set a timeout on a request.
func (*PostGeomapsParams) SetContext ¶
func (o *PostGeomapsParams) SetContext(ctx context.Context)
SetContext adds the context to the post geomaps params
func (*PostGeomapsParams) SetDefaults ¶
func (o *PostGeomapsParams) SetDefaults()
SetDefaults hydrates default values in the post geomaps params (not the query body).
All values with no default are reset to their zero value.
func (*PostGeomapsParams) SetGeomap ¶
func (o *PostGeomapsParams) SetGeomap(geomap PostGeomapsBody)
SetGeomap adds the geomap to the post geomaps params
func (*PostGeomapsParams) SetHTTPClient ¶
func (o *PostGeomapsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post geomaps params
func (*PostGeomapsParams) SetTimeout ¶
func (o *PostGeomapsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post geomaps params
func (*PostGeomapsParams) WithContext ¶
func (o *PostGeomapsParams) WithContext(ctx context.Context) *PostGeomapsParams
WithContext adds the context to the post geomaps params
func (*PostGeomapsParams) WithDefaults ¶
func (o *PostGeomapsParams) WithDefaults() *PostGeomapsParams
WithDefaults hydrates default values in the post geomaps params (not the query body).
All values with no default are reset to their zero value.
func (*PostGeomapsParams) WithGeomap ¶
func (o *PostGeomapsParams) WithGeomap(geomap PostGeomapsBody) *PostGeomapsParams
WithGeomap adds the geomap to the post geomaps params
func (*PostGeomapsParams) WithHTTPClient ¶
func (o *PostGeomapsParams) WithHTTPClient(client *http.Client) *PostGeomapsParams
WithHTTPClient adds the HTTPClient to the post geomaps params
func (*PostGeomapsParams) WithTimeout ¶
func (o *PostGeomapsParams) WithTimeout(timeout time.Duration) *PostGeomapsParams
WithTimeout adds the timeout to the post geomaps params
func (*PostGeomapsParams) WriteToRequest ¶
func (o *PostGeomapsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGeomapsReader ¶
type PostGeomapsReader struct {
// contains filtered or unexported fields
}
PostGeomapsReader is a Reader for the PostGeomaps structure.
func (*PostGeomapsReader) ReadResponse ¶
func (o *PostGeomapsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGeomapsGeomapIDAccepted ¶
type PutGeomapsGeomapIDAccepted struct {
Payload *PutGeomapsGeomapIDAcceptedBody
}
PutGeomapsGeomapIDAccepted describes a response with status code 202, with default header values.
Updated geomap.
func NewPutGeomapsGeomapIDAccepted ¶
func NewPutGeomapsGeomapIDAccepted() *PutGeomapsGeomapIDAccepted
NewPutGeomapsGeomapIDAccepted creates a PutGeomapsGeomapIDAccepted with default headers values
func (*PutGeomapsGeomapIDAccepted) Code ¶
func (o *PutGeomapsGeomapIDAccepted) Code() int
Code gets the status code for the put geomaps geomap Id accepted response
func (*PutGeomapsGeomapIDAccepted) Error ¶
func (o *PutGeomapsGeomapIDAccepted) Error() string
func (*PutGeomapsGeomapIDAccepted) GetPayload ¶
func (o *PutGeomapsGeomapIDAccepted) GetPayload() *PutGeomapsGeomapIDAcceptedBody
func (*PutGeomapsGeomapIDAccepted) IsClientError ¶
func (o *PutGeomapsGeomapIDAccepted) IsClientError() bool
IsClientError returns true when this put geomaps geomap Id accepted response has a 4xx status code
func (*PutGeomapsGeomapIDAccepted) IsCode ¶
func (o *PutGeomapsGeomapIDAccepted) IsCode(code int) bool
IsCode returns true when this put geomaps geomap Id accepted response a status code equal to that given
func (*PutGeomapsGeomapIDAccepted) IsRedirect ¶
func (o *PutGeomapsGeomapIDAccepted) IsRedirect() bool
IsRedirect returns true when this put geomaps geomap Id accepted response has a 3xx status code
func (*PutGeomapsGeomapIDAccepted) IsServerError ¶
func (o *PutGeomapsGeomapIDAccepted) IsServerError() bool
IsServerError returns true when this put geomaps geomap Id accepted response has a 5xx status code
func (*PutGeomapsGeomapIDAccepted) IsSuccess ¶
func (o *PutGeomapsGeomapIDAccepted) IsSuccess() bool
IsSuccess returns true when this put geomaps geomap Id accepted response has a 2xx status code
func (*PutGeomapsGeomapIDAccepted) String ¶
func (o *PutGeomapsGeomapIDAccepted) String() string
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 ¶
PutGeomapsGeomapIDBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPutGeomapsGeomapIDBadRequest ¶
func NewPutGeomapsGeomapIDBadRequest() *PutGeomapsGeomapIDBadRequest
NewPutGeomapsGeomapIDBadRequest creates a PutGeomapsGeomapIDBadRequest with default headers values
func (*PutGeomapsGeomapIDBadRequest) Code ¶
func (o *PutGeomapsGeomapIDBadRequest) Code() int
Code gets the status code for the put geomaps geomap Id bad request response
func (*PutGeomapsGeomapIDBadRequest) Error ¶
func (o *PutGeomapsGeomapIDBadRequest) Error() string
func (*PutGeomapsGeomapIDBadRequest) GetPayload ¶
func (o *PutGeomapsGeomapIDBadRequest) GetPayload() *models.Error
func (*PutGeomapsGeomapIDBadRequest) IsClientError ¶
func (o *PutGeomapsGeomapIDBadRequest) IsClientError() bool
IsClientError returns true when this put geomaps geomap Id bad request response has a 4xx status code
func (*PutGeomapsGeomapIDBadRequest) IsCode ¶
func (o *PutGeomapsGeomapIDBadRequest) IsCode(code int) bool
IsCode returns true when this put geomaps geomap Id bad request response a status code equal to that given
func (*PutGeomapsGeomapIDBadRequest) IsRedirect ¶
func (o *PutGeomapsGeomapIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put geomaps geomap Id bad request response has a 3xx status code
func (*PutGeomapsGeomapIDBadRequest) IsServerError ¶
func (o *PutGeomapsGeomapIDBadRequest) IsServerError() bool
IsServerError returns true when this put geomaps geomap Id bad request response has a 5xx status code
func (*PutGeomapsGeomapIDBadRequest) IsSuccess ¶
func (o *PutGeomapsGeomapIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put geomaps geomap Id bad request response has a 2xx status code
func (*PutGeomapsGeomapIDBadRequest) String ¶
func (o *PutGeomapsGeomapIDBadRequest) String() string
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 { Payload *models.Error // contains filtered or unexported fields }
PutGeomapsGeomapIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPutGeomapsGeomapIDDefault ¶
func NewPutGeomapsGeomapIDDefault(code int) *PutGeomapsGeomapIDDefault
NewPutGeomapsGeomapIDDefault creates a PutGeomapsGeomapIDDefault with default headers values
func (*PutGeomapsGeomapIDDefault) Code ¶
func (o *PutGeomapsGeomapIDDefault) Code() int
Code gets the status code for the put geomaps geomap ID default response
func (*PutGeomapsGeomapIDDefault) Error ¶
func (o *PutGeomapsGeomapIDDefault) Error() string
func (*PutGeomapsGeomapIDDefault) GetPayload ¶
func (o *PutGeomapsGeomapIDDefault) GetPayload() *models.Error
func (*PutGeomapsGeomapIDDefault) IsClientError ¶
func (o *PutGeomapsGeomapIDDefault) IsClientError() bool
IsClientError returns true when this put geomaps geomap ID default response has a 4xx status code
func (*PutGeomapsGeomapIDDefault) IsCode ¶
func (o *PutGeomapsGeomapIDDefault) IsCode(code int) bool
IsCode returns true when this put geomaps geomap ID default response a status code equal to that given
func (*PutGeomapsGeomapIDDefault) IsRedirect ¶
func (o *PutGeomapsGeomapIDDefault) IsRedirect() bool
IsRedirect returns true when this put geomaps geomap ID default response has a 3xx status code
func (*PutGeomapsGeomapIDDefault) IsServerError ¶
func (o *PutGeomapsGeomapIDDefault) IsServerError() bool
IsServerError returns true when this put geomaps geomap ID default response has a 5xx status code
func (*PutGeomapsGeomapIDDefault) IsSuccess ¶
func (o *PutGeomapsGeomapIDDefault) IsSuccess() bool
IsSuccess returns true when this put geomaps geomap ID default response has a 2xx status code
func (*PutGeomapsGeomapIDDefault) String ¶
func (o *PutGeomapsGeomapIDDefault) String() string
type PutGeomapsGeomapIDNotFound ¶
PutGeomapsGeomapIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutGeomapsGeomapIDNotFound ¶
func NewPutGeomapsGeomapIDNotFound() *PutGeomapsGeomapIDNotFound
NewPutGeomapsGeomapIDNotFound creates a PutGeomapsGeomapIDNotFound with default headers values
func (*PutGeomapsGeomapIDNotFound) Code ¶
func (o *PutGeomapsGeomapIDNotFound) Code() int
Code gets the status code for the put geomaps geomap Id not found response
func (*PutGeomapsGeomapIDNotFound) Error ¶
func (o *PutGeomapsGeomapIDNotFound) Error() string
func (*PutGeomapsGeomapIDNotFound) GetPayload ¶
func (o *PutGeomapsGeomapIDNotFound) GetPayload() *models.Error
func (*PutGeomapsGeomapIDNotFound) IsClientError ¶
func (o *PutGeomapsGeomapIDNotFound) IsClientError() bool
IsClientError returns true when this put geomaps geomap Id not found response has a 4xx status code
func (*PutGeomapsGeomapIDNotFound) IsCode ¶
func (o *PutGeomapsGeomapIDNotFound) IsCode(code int) bool
IsCode returns true when this put geomaps geomap Id not found response a status code equal to that given
func (*PutGeomapsGeomapIDNotFound) IsRedirect ¶
func (o *PutGeomapsGeomapIDNotFound) IsRedirect() bool
IsRedirect returns true when this put geomaps geomap Id not found response has a 3xx status code
func (*PutGeomapsGeomapIDNotFound) IsServerError ¶
func (o *PutGeomapsGeomapIDNotFound) IsServerError() bool
IsServerError returns true when this put geomaps geomap Id not found response has a 5xx status code
func (*PutGeomapsGeomapIDNotFound) IsSuccess ¶
func (o *PutGeomapsGeomapIDNotFound) IsSuccess() bool
IsSuccess returns true when this put geomaps geomap Id not found response has a 2xx status code
func (*PutGeomapsGeomapIDNotFound) String ¶
func (o *PutGeomapsGeomapIDNotFound) String() string
type PutGeomapsGeomapIDParams ¶
type PutGeomapsGeomapIDParams struct { // Geomap. Geomap PutGeomapsGeomapIDBody /* GeomapID. The UUID of the geomap Format: uuid */ GeomapID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGeomapsGeomapIDParams contains all the parameters to send to the API endpoint
for the put geomaps geomap ID operation. Typically these are written to a http.Request.
func NewPutGeomapsGeomapIDParams ¶
func NewPutGeomapsGeomapIDParams() *PutGeomapsGeomapIDParams
NewPutGeomapsGeomapIDParams creates a new PutGeomapsGeomapIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutGeomapsGeomapIDParamsWithContext ¶
func NewPutGeomapsGeomapIDParamsWithContext(ctx context.Context) *PutGeomapsGeomapIDParams
NewPutGeomapsGeomapIDParamsWithContext creates a new PutGeomapsGeomapIDParams object with the ability to set a context for a request.
func NewPutGeomapsGeomapIDParamsWithHTTPClient ¶
func NewPutGeomapsGeomapIDParamsWithHTTPClient(client *http.Client) *PutGeomapsGeomapIDParams
NewPutGeomapsGeomapIDParamsWithHTTPClient creates a new PutGeomapsGeomapIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutGeomapsGeomapIDParamsWithTimeout ¶
func NewPutGeomapsGeomapIDParamsWithTimeout(timeout time.Duration) *PutGeomapsGeomapIDParams
NewPutGeomapsGeomapIDParamsWithTimeout creates a new PutGeomapsGeomapIDParams object with the ability to set a timeout on a request.
func (*PutGeomapsGeomapIDParams) SetContext ¶
func (o *PutGeomapsGeomapIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) SetDefaults ¶
func (o *PutGeomapsGeomapIDParams) SetDefaults()
SetDefaults hydrates default values in the put geomaps geomap ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutGeomapsGeomapIDParams) SetGeomap ¶
func (o *PutGeomapsGeomapIDParams) SetGeomap(geomap PutGeomapsGeomapIDBody)
SetGeomap adds the geomap to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) SetGeomapID ¶
func (o *PutGeomapsGeomapIDParams) SetGeomapID(geomapID strfmt.UUID)
SetGeomapID adds the geomapId to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) SetHTTPClient ¶
func (o *PutGeomapsGeomapIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) SetTimeout ¶
func (o *PutGeomapsGeomapIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) WithContext ¶
func (o *PutGeomapsGeomapIDParams) WithContext(ctx context.Context) *PutGeomapsGeomapIDParams
WithContext adds the context to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) WithDefaults ¶
func (o *PutGeomapsGeomapIDParams) WithDefaults() *PutGeomapsGeomapIDParams
WithDefaults hydrates default values in the put geomaps geomap ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutGeomapsGeomapIDParams) WithGeomap ¶
func (o *PutGeomapsGeomapIDParams) WithGeomap(geomap PutGeomapsGeomapIDBody) *PutGeomapsGeomapIDParams
WithGeomap adds the geomap to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) WithGeomapID ¶
func (o *PutGeomapsGeomapIDParams) WithGeomapID(geomapID strfmt.UUID) *PutGeomapsGeomapIDParams
WithGeomapID adds the geomapID to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) WithHTTPClient ¶
func (o *PutGeomapsGeomapIDParams) WithHTTPClient(client *http.Client) *PutGeomapsGeomapIDParams
WithHTTPClient adds the HTTPClient to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) WithTimeout ¶
func (o *PutGeomapsGeomapIDParams) WithTimeout(timeout time.Duration) *PutGeomapsGeomapIDParams
WithTimeout adds the timeout to the put geomaps geomap ID params
func (*PutGeomapsGeomapIDParams) WriteToRequest ¶
func (o *PutGeomapsGeomapIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGeomapsGeomapIDReader ¶
type PutGeomapsGeomapIDReader struct {
// contains filtered or unexported fields
}
PutGeomapsGeomapIDReader is a Reader for the PutGeomapsGeomapID structure.
func (*PutGeomapsGeomapIDReader) ReadResponse ¶
func (o *PutGeomapsGeomapIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_geomaps_geomap_id_parameters.go
- delete_geomaps_geomap_id_responses.go
- geographic_maps_client.go
- get_geomaps_geomap_id_parameters.go
- get_geomaps_geomap_id_responses.go
- get_geomaps_parameters.go
- get_geomaps_responses.go
- post_geomaps_parameters.go
- post_geomaps_responses.go
- put_geomaps_geomap_id_parameters.go
- put_geomaps_geomap_id_responses.go