Documentation
¶
Index ¶
- type Client
- func (a *Client) OutletsGetAllOutlets(params *OutletsGetAllOutletsParams) (*OutletsGetAllOutletsOK, error)
- func (a *Client) OutletsGetOutletsByGeolocation(params *OutletsGetOutletsByGeolocationParams) (*OutletsGetOutletsByGeolocationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type OutletsGetAllOutletsBadRequest
- type OutletsGetAllOutletsForbidden
- type OutletsGetAllOutletsOK
- type OutletsGetAllOutletsParams
- func NewOutletsGetAllOutletsParams() *OutletsGetAllOutletsParams
- func NewOutletsGetAllOutletsParamsWithContext(ctx context.Context) *OutletsGetAllOutletsParams
- func NewOutletsGetAllOutletsParamsWithHTTPClient(client *http.Client) *OutletsGetAllOutletsParams
- func NewOutletsGetAllOutletsParamsWithTimeout(timeout time.Duration) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) SetContext(ctx context.Context)
- func (o *OutletsGetAllOutletsParams) SetDevid(devid *string)
- func (o *OutletsGetAllOutletsParams) SetHTTPClient(client *http.Client)
- func (o *OutletsGetAllOutletsParams) SetMaxResults(maxResults *int32)
- func (o *OutletsGetAllOutletsParams) SetSignature(signature *string)
- func (o *OutletsGetAllOutletsParams) SetTimeout(timeout time.Duration)
- func (o *OutletsGetAllOutletsParams) SetToken(token *string)
- func (o *OutletsGetAllOutletsParams) WithContext(ctx context.Context) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) WithDevid(devid *string) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) WithHTTPClient(client *http.Client) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) WithMaxResults(maxResults *int32) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) WithSignature(signature *string) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) WithTimeout(timeout time.Duration) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) WithToken(token *string) *OutletsGetAllOutletsParams
- func (o *OutletsGetAllOutletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OutletsGetAllOutletsReader
- type OutletsGetOutletsByGeolocationBadRequest
- type OutletsGetOutletsByGeolocationForbidden
- type OutletsGetOutletsByGeolocationOK
- type OutletsGetOutletsByGeolocationParams
- func NewOutletsGetOutletsByGeolocationParams() *OutletsGetOutletsByGeolocationParams
- func NewOutletsGetOutletsByGeolocationParamsWithContext(ctx context.Context) *OutletsGetOutletsByGeolocationParams
- func NewOutletsGetOutletsByGeolocationParamsWithHTTPClient(client *http.Client) *OutletsGetOutletsByGeolocationParams
- func NewOutletsGetOutletsByGeolocationParamsWithTimeout(timeout time.Duration) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) SetContext(ctx context.Context)
- func (o *OutletsGetOutletsByGeolocationParams) SetDevid(devid *string)
- func (o *OutletsGetOutletsByGeolocationParams) SetHTTPClient(client *http.Client)
- func (o *OutletsGetOutletsByGeolocationParams) SetLatitude(latitude float32)
- func (o *OutletsGetOutletsByGeolocationParams) SetLongitude(longitude float32)
- func (o *OutletsGetOutletsByGeolocationParams) SetMaxDistance(maxDistance *float64)
- func (o *OutletsGetOutletsByGeolocationParams) SetMaxResults(maxResults *int32)
- func (o *OutletsGetOutletsByGeolocationParams) SetSignature(signature *string)
- func (o *OutletsGetOutletsByGeolocationParams) SetTimeout(timeout time.Duration)
- func (o *OutletsGetOutletsByGeolocationParams) SetToken(token *string)
- func (o *OutletsGetOutletsByGeolocationParams) WithContext(ctx context.Context) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithDevid(devid *string) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithHTTPClient(client *http.Client) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithLatitude(latitude float32) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithLongitude(longitude float32) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithMaxDistance(maxDistance *float64) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithMaxResults(maxResults *int32) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithSignature(signature *string) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithTimeout(timeout time.Duration) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WithToken(token *string) *OutletsGetOutletsByGeolocationParams
- func (o *OutletsGetOutletsByGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OutletsGetOutletsByGeolocationReader
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 outlets API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new outlets API client.
func (*Client) OutletsGetAllOutlets ¶
func (a *Client) OutletsGetAllOutlets(params *OutletsGetAllOutletsParams) (*OutletsGetAllOutletsOK, error)
OutletsGetAllOutlets lists all ticket outlets
func (*Client) OutletsGetOutletsByGeolocation ¶
func (a *Client) OutletsGetOutletsByGeolocation(params *OutletsGetOutletsByGeolocationParams) (*OutletsGetOutletsByGeolocationOK, error)
OutletsGetOutletsByGeolocation lists ticket outlets near a specific location
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type OutletsGetAllOutletsBadRequest ¶
type OutletsGetAllOutletsBadRequest struct {
Payload *models.V3ErrorResponse
}
OutletsGetAllOutletsBadRequest handles this case with default header values.
Invalid Request
func NewOutletsGetAllOutletsBadRequest ¶
func NewOutletsGetAllOutletsBadRequest() *OutletsGetAllOutletsBadRequest
NewOutletsGetAllOutletsBadRequest creates a OutletsGetAllOutletsBadRequest with default headers values
func (*OutletsGetAllOutletsBadRequest) Error ¶
func (o *OutletsGetAllOutletsBadRequest) Error() string
func (*OutletsGetAllOutletsBadRequest) GetPayload ¶
func (o *OutletsGetAllOutletsBadRequest) GetPayload() *models.V3ErrorResponse
type OutletsGetAllOutletsForbidden ¶
type OutletsGetAllOutletsForbidden struct {
Payload *models.V3ErrorResponse
}
OutletsGetAllOutletsForbidden handles this case with default header values.
Access Denied
func NewOutletsGetAllOutletsForbidden ¶
func NewOutletsGetAllOutletsForbidden() *OutletsGetAllOutletsForbidden
NewOutletsGetAllOutletsForbidden creates a OutletsGetAllOutletsForbidden with default headers values
func (*OutletsGetAllOutletsForbidden) Error ¶
func (o *OutletsGetAllOutletsForbidden) Error() string
func (*OutletsGetAllOutletsForbidden) GetPayload ¶
func (o *OutletsGetAllOutletsForbidden) GetPayload() *models.V3ErrorResponse
type OutletsGetAllOutletsOK ¶
type OutletsGetAllOutletsOK struct {
Payload *models.V3OutletResponse
}
OutletsGetAllOutletsOK handles this case with default header values.
Ticket outlets.
func NewOutletsGetAllOutletsOK ¶
func NewOutletsGetAllOutletsOK() *OutletsGetAllOutletsOK
NewOutletsGetAllOutletsOK creates a OutletsGetAllOutletsOK with default headers values
func (*OutletsGetAllOutletsOK) Error ¶
func (o *OutletsGetAllOutletsOK) Error() string
func (*OutletsGetAllOutletsOK) GetPayload ¶
func (o *OutletsGetAllOutletsOK) GetPayload() *models.V3OutletResponse
type OutletsGetAllOutletsParams ¶
type OutletsGetAllOutletsParams struct { /*Devid Your developer id */ Devid *string /*MaxResults Maximum number of results returned (default = 30) */ MaxResults *int32 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OutletsGetAllOutletsParams contains all the parameters to send to the API endpoint for the outlets get all outlets operation typically these are written to a http.Request
func NewOutletsGetAllOutletsParams ¶
func NewOutletsGetAllOutletsParams() *OutletsGetAllOutletsParams
NewOutletsGetAllOutletsParams creates a new OutletsGetAllOutletsParams object with the default values initialized.
func NewOutletsGetAllOutletsParamsWithContext ¶
func NewOutletsGetAllOutletsParamsWithContext(ctx context.Context) *OutletsGetAllOutletsParams
NewOutletsGetAllOutletsParamsWithContext creates a new OutletsGetAllOutletsParams object with the default values initialized, and the ability to set a context for a request
func NewOutletsGetAllOutletsParamsWithHTTPClient ¶
func NewOutletsGetAllOutletsParamsWithHTTPClient(client *http.Client) *OutletsGetAllOutletsParams
NewOutletsGetAllOutletsParamsWithHTTPClient creates a new OutletsGetAllOutletsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOutletsGetAllOutletsParamsWithTimeout ¶
func NewOutletsGetAllOutletsParamsWithTimeout(timeout time.Duration) *OutletsGetAllOutletsParams
NewOutletsGetAllOutletsParamsWithTimeout creates a new OutletsGetAllOutletsParams object with the default values initialized, and the ability to set a timeout on a request
func (*OutletsGetAllOutletsParams) SetContext ¶
func (o *OutletsGetAllOutletsParams) SetContext(ctx context.Context)
SetContext adds the context to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) SetDevid ¶
func (o *OutletsGetAllOutletsParams) SetDevid(devid *string)
SetDevid adds the devid to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) SetHTTPClient ¶
func (o *OutletsGetAllOutletsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) SetMaxResults ¶
func (o *OutletsGetAllOutletsParams) SetMaxResults(maxResults *int32)
SetMaxResults adds the maxResults to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) SetSignature ¶
func (o *OutletsGetAllOutletsParams) SetSignature(signature *string)
SetSignature adds the signature to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) SetTimeout ¶
func (o *OutletsGetAllOutletsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) SetToken ¶
func (o *OutletsGetAllOutletsParams) SetToken(token *string)
SetToken adds the token to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WithContext ¶
func (o *OutletsGetAllOutletsParams) WithContext(ctx context.Context) *OutletsGetAllOutletsParams
WithContext adds the context to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WithDevid ¶
func (o *OutletsGetAllOutletsParams) WithDevid(devid *string) *OutletsGetAllOutletsParams
WithDevid adds the devid to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WithHTTPClient ¶
func (o *OutletsGetAllOutletsParams) WithHTTPClient(client *http.Client) *OutletsGetAllOutletsParams
WithHTTPClient adds the HTTPClient to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WithMaxResults ¶
func (o *OutletsGetAllOutletsParams) WithMaxResults(maxResults *int32) *OutletsGetAllOutletsParams
WithMaxResults adds the maxResults to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WithSignature ¶
func (o *OutletsGetAllOutletsParams) WithSignature(signature *string) *OutletsGetAllOutletsParams
WithSignature adds the signature to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WithTimeout ¶
func (o *OutletsGetAllOutletsParams) WithTimeout(timeout time.Duration) *OutletsGetAllOutletsParams
WithTimeout adds the timeout to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WithToken ¶
func (o *OutletsGetAllOutletsParams) WithToken(token *string) *OutletsGetAllOutletsParams
WithToken adds the token to the outlets get all outlets params
func (*OutletsGetAllOutletsParams) WriteToRequest ¶
func (o *OutletsGetAllOutletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OutletsGetAllOutletsReader ¶
type OutletsGetAllOutletsReader struct {
// contains filtered or unexported fields
}
OutletsGetAllOutletsReader is a Reader for the OutletsGetAllOutlets structure.
func (*OutletsGetAllOutletsReader) ReadResponse ¶
func (o *OutletsGetAllOutletsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OutletsGetOutletsByGeolocationBadRequest ¶
type OutletsGetOutletsByGeolocationBadRequest struct {
Payload *models.V3ErrorResponse
}
OutletsGetOutletsByGeolocationBadRequest handles this case with default header values.
Invalid Request
func NewOutletsGetOutletsByGeolocationBadRequest ¶
func NewOutletsGetOutletsByGeolocationBadRequest() *OutletsGetOutletsByGeolocationBadRequest
NewOutletsGetOutletsByGeolocationBadRequest creates a OutletsGetOutletsByGeolocationBadRequest with default headers values
func (*OutletsGetOutletsByGeolocationBadRequest) Error ¶
func (o *OutletsGetOutletsByGeolocationBadRequest) Error() string
func (*OutletsGetOutletsByGeolocationBadRequest) GetPayload ¶
func (o *OutletsGetOutletsByGeolocationBadRequest) GetPayload() *models.V3ErrorResponse
type OutletsGetOutletsByGeolocationForbidden ¶
type OutletsGetOutletsByGeolocationForbidden struct {
Payload *models.V3ErrorResponse
}
OutletsGetOutletsByGeolocationForbidden handles this case with default header values.
Access Denied
func NewOutletsGetOutletsByGeolocationForbidden ¶
func NewOutletsGetOutletsByGeolocationForbidden() *OutletsGetOutletsByGeolocationForbidden
NewOutletsGetOutletsByGeolocationForbidden creates a OutletsGetOutletsByGeolocationForbidden with default headers values
func (*OutletsGetOutletsByGeolocationForbidden) Error ¶
func (o *OutletsGetOutletsByGeolocationForbidden) Error() string
func (*OutletsGetOutletsByGeolocationForbidden) GetPayload ¶
func (o *OutletsGetOutletsByGeolocationForbidden) GetPayload() *models.V3ErrorResponse
type OutletsGetOutletsByGeolocationOK ¶
type OutletsGetOutletsByGeolocationOK struct {
Payload *models.V3OutletGeolocationResponse
}
OutletsGetOutletsByGeolocationOK handles this case with default header values.
Ticket outlets near the specified location.
func NewOutletsGetOutletsByGeolocationOK ¶
func NewOutletsGetOutletsByGeolocationOK() *OutletsGetOutletsByGeolocationOK
NewOutletsGetOutletsByGeolocationOK creates a OutletsGetOutletsByGeolocationOK with default headers values
func (*OutletsGetOutletsByGeolocationOK) Error ¶
func (o *OutletsGetOutletsByGeolocationOK) Error() string
func (*OutletsGetOutletsByGeolocationOK) GetPayload ¶
func (o *OutletsGetOutletsByGeolocationOK) GetPayload() *models.V3OutletGeolocationResponse
type OutletsGetOutletsByGeolocationParams ¶
type OutletsGetOutletsByGeolocationParams struct { /*Devid Your developer id */ Devid *string /*Latitude Geographic coordinate of latitude */ Latitude float32 /*Longitude Geographic coordinate of longitude */ Longitude float32 /*MaxDistance Filter by maximum distance (in metres) from location specified via latitude and longitude parameters (default = 300) */ MaxDistance *float64 /*MaxResults Maximum number of results returned (default = 30) */ MaxResults *int32 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OutletsGetOutletsByGeolocationParams contains all the parameters to send to the API endpoint for the outlets get outlets by geolocation operation typically these are written to a http.Request
func NewOutletsGetOutletsByGeolocationParams ¶
func NewOutletsGetOutletsByGeolocationParams() *OutletsGetOutletsByGeolocationParams
NewOutletsGetOutletsByGeolocationParams creates a new OutletsGetOutletsByGeolocationParams object with the default values initialized.
func NewOutletsGetOutletsByGeolocationParamsWithContext ¶
func NewOutletsGetOutletsByGeolocationParamsWithContext(ctx context.Context) *OutletsGetOutletsByGeolocationParams
NewOutletsGetOutletsByGeolocationParamsWithContext creates a new OutletsGetOutletsByGeolocationParams object with the default values initialized, and the ability to set a context for a request
func NewOutletsGetOutletsByGeolocationParamsWithHTTPClient ¶
func NewOutletsGetOutletsByGeolocationParamsWithHTTPClient(client *http.Client) *OutletsGetOutletsByGeolocationParams
NewOutletsGetOutletsByGeolocationParamsWithHTTPClient creates a new OutletsGetOutletsByGeolocationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOutletsGetOutletsByGeolocationParamsWithTimeout ¶
func NewOutletsGetOutletsByGeolocationParamsWithTimeout(timeout time.Duration) *OutletsGetOutletsByGeolocationParams
NewOutletsGetOutletsByGeolocationParamsWithTimeout creates a new OutletsGetOutletsByGeolocationParams object with the default values initialized, and the ability to set a timeout on a request
func (*OutletsGetOutletsByGeolocationParams) SetContext ¶
func (o *OutletsGetOutletsByGeolocationParams) SetContext(ctx context.Context)
SetContext adds the context to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetDevid ¶
func (o *OutletsGetOutletsByGeolocationParams) SetDevid(devid *string)
SetDevid adds the devid to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetHTTPClient ¶
func (o *OutletsGetOutletsByGeolocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetLatitude ¶
func (o *OutletsGetOutletsByGeolocationParams) SetLatitude(latitude float32)
SetLatitude adds the latitude to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetLongitude ¶
func (o *OutletsGetOutletsByGeolocationParams) SetLongitude(longitude float32)
SetLongitude adds the longitude to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetMaxDistance ¶
func (o *OutletsGetOutletsByGeolocationParams) SetMaxDistance(maxDistance *float64)
SetMaxDistance adds the maxDistance to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetMaxResults ¶
func (o *OutletsGetOutletsByGeolocationParams) SetMaxResults(maxResults *int32)
SetMaxResults adds the maxResults to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetSignature ¶
func (o *OutletsGetOutletsByGeolocationParams) SetSignature(signature *string)
SetSignature adds the signature to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetTimeout ¶
func (o *OutletsGetOutletsByGeolocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) SetToken ¶
func (o *OutletsGetOutletsByGeolocationParams) SetToken(token *string)
SetToken adds the token to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithContext ¶
func (o *OutletsGetOutletsByGeolocationParams) WithContext(ctx context.Context) *OutletsGetOutletsByGeolocationParams
WithContext adds the context to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithDevid ¶
func (o *OutletsGetOutletsByGeolocationParams) WithDevid(devid *string) *OutletsGetOutletsByGeolocationParams
WithDevid adds the devid to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithHTTPClient ¶
func (o *OutletsGetOutletsByGeolocationParams) WithHTTPClient(client *http.Client) *OutletsGetOutletsByGeolocationParams
WithHTTPClient adds the HTTPClient to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithLatitude ¶
func (o *OutletsGetOutletsByGeolocationParams) WithLatitude(latitude float32) *OutletsGetOutletsByGeolocationParams
WithLatitude adds the latitude to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithLongitude ¶
func (o *OutletsGetOutletsByGeolocationParams) WithLongitude(longitude float32) *OutletsGetOutletsByGeolocationParams
WithLongitude adds the longitude to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithMaxDistance ¶
func (o *OutletsGetOutletsByGeolocationParams) WithMaxDistance(maxDistance *float64) *OutletsGetOutletsByGeolocationParams
WithMaxDistance adds the maxDistance to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithMaxResults ¶
func (o *OutletsGetOutletsByGeolocationParams) WithMaxResults(maxResults *int32) *OutletsGetOutletsByGeolocationParams
WithMaxResults adds the maxResults to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithSignature ¶
func (o *OutletsGetOutletsByGeolocationParams) WithSignature(signature *string) *OutletsGetOutletsByGeolocationParams
WithSignature adds the signature to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithTimeout ¶
func (o *OutletsGetOutletsByGeolocationParams) WithTimeout(timeout time.Duration) *OutletsGetOutletsByGeolocationParams
WithTimeout adds the timeout to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WithToken ¶
func (o *OutletsGetOutletsByGeolocationParams) WithToken(token *string) *OutletsGetOutletsByGeolocationParams
WithToken adds the token to the outlets get outlets by geolocation params
func (*OutletsGetOutletsByGeolocationParams) WriteToRequest ¶
func (o *OutletsGetOutletsByGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OutletsGetOutletsByGeolocationReader ¶
type OutletsGetOutletsByGeolocationReader struct {
// contains filtered or unexported fields
}
OutletsGetOutletsByGeolocationReader is a Reader for the OutletsGetOutletsByGeolocation structure.
func (*OutletsGetOutletsByGeolocationReader) ReadResponse ¶
func (o *OutletsGetOutletsByGeolocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.