outlets

package
v3.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 11 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 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 (*OutletsGetAllOutletsBadRequest) GetPayload

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

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

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

WithContext adds the context to the outlets get all outlets params

func (*OutletsGetAllOutletsParams) WithDevid

WithDevid adds the devid to the outlets get all outlets params

func (*OutletsGetAllOutletsParams) WithHTTPClient

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

WithTimeout adds the timeout to the outlets get all outlets params

func (*OutletsGetAllOutletsParams) WithToken

WithToken adds the token to the outlets get all outlets params

func (*OutletsGetAllOutletsParams) WriteToRequest

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

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

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

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

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

WithContext adds the context to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithDevid

WithDevid adds the devid to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithLatitude

WithLatitude adds the latitude to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithLongitude

WithLongitude adds the longitude to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithMaxDistance

WithMaxDistance adds the maxDistance to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithMaxResults

WithMaxResults adds the maxResults to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithSignature

WithSignature adds the signature to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithTimeout

WithTimeout adds the timeout to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WithToken

WithToken adds the token to the outlets get outlets by geolocation params

func (*OutletsGetOutletsByGeolocationParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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