geographic_maps

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

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

Code gets the status code for the delete geomaps geomap ID default response

func (*DeleteGeomapsGeomapIDDefault) Error

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

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

Code gets the status code for the delete geomaps geomap Id no content response

func (*DeleteGeomapsGeomapIDNoContent) Error

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

type DeleteGeomapsGeomapIDNotFound

type DeleteGeomapsGeomapIDNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the delete geomaps geomap Id not found response

func (*DeleteGeomapsGeomapIDNotFound) Error

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

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

WithContext adds the context to the delete geomaps geomap ID params

func (*DeleteGeomapsGeomapIDParams) WithDefaults

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

WithGeomapID adds the geomapID to the delete geomaps geomap ID params

func (*DeleteGeomapsGeomapIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete geomaps geomap ID params

func (*DeleteGeomapsGeomapIDParams) WithTimeout

WithTimeout adds the timeout to the delete geomaps geomap ID params

func (*DeleteGeomapsGeomapIDParams) WriteToRequest

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

type GetGeomapsBadRequest struct {
	Payload *models.Error
}

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

type GetGeomapsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

type GetGeomapsGeomapIDNotFound struct {
	Payload *models.Error
}

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 (*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 (*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

type GetGeomapsGeomapIDOKBody struct {

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

GetGeomapsGeomapIDOKBody get geomaps geomap ID o k body swagger:model GetGeomapsGeomapIDOKBody

func (*GetGeomapsGeomapIDOKBody) ContextValidate

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

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

func (*GetGeomapsGeomapIDOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetGeomapsGeomapIDOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetGeomapsGeomapIDOKBody) Validate

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

Validate validates this get geomaps geomap ID o k body

type GetGeomapsGeomapIDParams

type GetGeomapsGeomapIDParams struct {

	/* 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

WithContext adds the context to the get geomaps geomap ID params

func (*GetGeomapsGeomapIDParams) WithDefaults

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

WithTimeout adds the timeout to the get geomaps geomap ID params

func (*GetGeomapsGeomapIDParams) WriteToRequest

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

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

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

func (*GetGeomapsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetGeomapsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetGeomapsOKBody) Validate

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

Validate validates this get geomaps o k body

type GetGeomapsParams

type GetGeomapsParams struct {

	/* 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

type PostGeomapsBadRequest struct {
	Payload *models.Error
}

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

type PostGeomapsBody struct {

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

PostGeomapsBody post geomaps body swagger:model PostGeomapsBody

func (*PostGeomapsBody) ContextValidate

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

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

func (*PostGeomapsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostGeomapsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostGeomapsBody) Validate

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

Validate validates this post geomaps body

type PostGeomapsCreated

type PostGeomapsCreated struct {
	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

type PostGeomapsCreatedBody struct {

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

PostGeomapsCreatedBody post geomaps created body swagger:model PostGeomapsCreatedBody

func (*PostGeomapsCreatedBody) ContextValidate

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

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

func (*PostGeomapsCreatedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostGeomapsCreatedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostGeomapsCreatedBody) Validate

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

Validate validates this post geomaps created body

type PostGeomapsDefault

type PostGeomapsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

type PostGeomapsNotFound struct {
	Payload *models.Error
}

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 (*PutGeomapsGeomapIDAccepted) GetPayload

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

func (*PutGeomapsGeomapIDAcceptedBody) Validate

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

Validate validates this put geomaps geomap ID accepted body

type PutGeomapsGeomapIDBadRequest

type PutGeomapsGeomapIDBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the put geomaps geomap Id bad request response

func (*PutGeomapsGeomapIDBadRequest) Error

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

type PutGeomapsGeomapIDBody

type PutGeomapsGeomapIDBody struct {

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

PutGeomapsGeomapIDBody put geomaps geomap ID body swagger:model PutGeomapsGeomapIDBody

func (*PutGeomapsGeomapIDBody) ContextValidate

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

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

func (*PutGeomapsGeomapIDBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PutGeomapsGeomapIDBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutGeomapsGeomapIDBody) Validate

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

Validate validates this put geomaps geomap ID body

type PutGeomapsGeomapIDDefault

type PutGeomapsGeomapIDDefault struct {
	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

type PutGeomapsGeomapIDNotFound struct {
	Payload *models.Error
}

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 (*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

WithContext adds the context to the put geomaps geomap ID params

func (*PutGeomapsGeomapIDParams) WithDefaults

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

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

WithTimeout adds the timeout to the put geomaps geomap ID params

func (*PutGeomapsGeomapIDParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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