Versions in this module Expand all Collapse all v0 v0.0.1 Oct 26, 2018 Changes in this version + type Client struct + func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client + func (a *Client) CreateLocation(params *CreateLocationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLocationOK, error) + func (a *Client) DeleteLocation(params *DeleteLocationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocationOK, error) + func (a *Client) GetLocation(params *GetLocationParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocationOK, error) + func (a *Client) ListLocations(params *ListLocationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocationsOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UpdateLocation(params *UpdateLocationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocationOK, error) + type CreateLocationBadRequest struct + Payload *models.ErrorResponse + func NewCreateLocationBadRequest() *CreateLocationBadRequest + func (o *CreateLocationBadRequest) Error() string + type CreateLocationDefault struct + Payload *models.ErrorResponse + func NewCreateLocationDefault(code int) *CreateLocationDefault + func (o *CreateLocationDefault) Code() int + func (o *CreateLocationDefault) Error() string + type CreateLocationForbidden struct + func NewCreateLocationForbidden() *CreateLocationForbidden + func (o *CreateLocationForbidden) Error() string + type CreateLocationOK struct + Payload *models.Location + func NewCreateLocationOK() *CreateLocationOK + func (o *CreateLocationOK) Error() string + type CreateLocationParams struct + Authorization string + Context context.Context + CreateLocationRequest *models.CreateLocationRequest + HTTPClient *http.Client + func NewCreateLocationParams() *CreateLocationParams + func NewCreateLocationParamsWithContext(ctx context.Context) *CreateLocationParams + func NewCreateLocationParamsWithHTTPClient(client *http.Client) *CreateLocationParams + func NewCreateLocationParamsWithTimeout(timeout time.Duration) *CreateLocationParams + func (o *CreateLocationParams) SetAuthorization(authorization string) + func (o *CreateLocationParams) SetContext(ctx context.Context) + func (o *CreateLocationParams) SetCreateLocationRequest(createLocationRequest *models.CreateLocationRequest) + func (o *CreateLocationParams) SetHTTPClient(client *http.Client) + func (o *CreateLocationParams) SetTimeout(timeout time.Duration) + func (o *CreateLocationParams) WithAuthorization(authorization string) *CreateLocationParams + func (o *CreateLocationParams) WithContext(ctx context.Context) *CreateLocationParams + func (o *CreateLocationParams) WithCreateLocationRequest(createLocationRequest *models.CreateLocationRequest) *CreateLocationParams + func (o *CreateLocationParams) WithHTTPClient(client *http.Client) *CreateLocationParams + func (o *CreateLocationParams) WithTimeout(timeout time.Duration) *CreateLocationParams + func (o *CreateLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateLocationReader struct + func (o *CreateLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CreateLocationTooManyRequests struct + Payload *models.ErrorResponse + func NewCreateLocationTooManyRequests() *CreateLocationTooManyRequests + func (o *CreateLocationTooManyRequests) Error() string + type CreateLocationUnauthorized struct + func NewCreateLocationUnauthorized() *CreateLocationUnauthorized + func (o *CreateLocationUnauthorized) Error() string + type CreateLocationUnprocessableEntity struct + Payload *models.ErrorResponse + func NewCreateLocationUnprocessableEntity() *CreateLocationUnprocessableEntity + func (o *CreateLocationUnprocessableEntity) Error() string + type DeleteLocationBadRequest struct + Payload *models.ErrorResponse + func NewDeleteLocationBadRequest() *DeleteLocationBadRequest + func (o *DeleteLocationBadRequest) Error() string + type DeleteLocationDefault struct + Payload *models.ErrorResponse + func NewDeleteLocationDefault(code int) *DeleteLocationDefault + func (o *DeleteLocationDefault) Code() int + func (o *DeleteLocationDefault) Error() string + type DeleteLocationForbidden struct + func NewDeleteLocationForbidden() *DeleteLocationForbidden + func (o *DeleteLocationForbidden) Error() string + type DeleteLocationOK struct + Payload models.DeleteLocationResponse + func NewDeleteLocationOK() *DeleteLocationOK + func (o *DeleteLocationOK) Error() string + type DeleteLocationParams struct + Authorization string + Context context.Context + HTTPClient *http.Client + LocationID string + func NewDeleteLocationParams() *DeleteLocationParams + func NewDeleteLocationParamsWithContext(ctx context.Context) *DeleteLocationParams + func NewDeleteLocationParamsWithHTTPClient(client *http.Client) *DeleteLocationParams + func NewDeleteLocationParamsWithTimeout(timeout time.Duration) *DeleteLocationParams + func (o *DeleteLocationParams) SetAuthorization(authorization string) + func (o *DeleteLocationParams) SetContext(ctx context.Context) + func (o *DeleteLocationParams) SetHTTPClient(client *http.Client) + func (o *DeleteLocationParams) SetLocationID(locationID string) + func (o *DeleteLocationParams) SetTimeout(timeout time.Duration) + func (o *DeleteLocationParams) WithAuthorization(authorization string) *DeleteLocationParams + func (o *DeleteLocationParams) WithContext(ctx context.Context) *DeleteLocationParams + func (o *DeleteLocationParams) WithHTTPClient(client *http.Client) *DeleteLocationParams + func (o *DeleteLocationParams) WithLocationID(locationID string) *DeleteLocationParams + func (o *DeleteLocationParams) WithTimeout(timeout time.Duration) *DeleteLocationParams + func (o *DeleteLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteLocationReader struct + func (o *DeleteLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteLocationTooManyRequests struct + Payload *models.ErrorResponse + func NewDeleteLocationTooManyRequests() *DeleteLocationTooManyRequests + func (o *DeleteLocationTooManyRequests) Error() string + type DeleteLocationUnauthorized struct + func NewDeleteLocationUnauthorized() *DeleteLocationUnauthorized + func (o *DeleteLocationUnauthorized) Error() string + type GetLocationBadRequest struct + Payload *models.ErrorResponse + func NewGetLocationBadRequest() *GetLocationBadRequest + func (o *GetLocationBadRequest) Error() string + type GetLocationDefault struct + Payload *models.ErrorResponse + func NewGetLocationDefault(code int) *GetLocationDefault + func (o *GetLocationDefault) Code() int + func (o *GetLocationDefault) Error() string + type GetLocationForbidden struct + func NewGetLocationForbidden() *GetLocationForbidden + func (o *GetLocationForbidden) Error() string + type GetLocationOK struct + Payload *models.Location + func NewGetLocationOK() *GetLocationOK + func (o *GetLocationOK) Error() string + type GetLocationParams struct + Authorization string + Context context.Context + HTTPClient *http.Client + LocationID string + func NewGetLocationParams() *GetLocationParams + func NewGetLocationParamsWithContext(ctx context.Context) *GetLocationParams + func NewGetLocationParamsWithHTTPClient(client *http.Client) *GetLocationParams + func NewGetLocationParamsWithTimeout(timeout time.Duration) *GetLocationParams + func (o *GetLocationParams) SetAuthorization(authorization string) + func (o *GetLocationParams) SetContext(ctx context.Context) + func (o *GetLocationParams) SetHTTPClient(client *http.Client) + func (o *GetLocationParams) SetLocationID(locationID string) + func (o *GetLocationParams) SetTimeout(timeout time.Duration) + func (o *GetLocationParams) WithAuthorization(authorization string) *GetLocationParams + func (o *GetLocationParams) WithContext(ctx context.Context) *GetLocationParams + func (o *GetLocationParams) WithHTTPClient(client *http.Client) *GetLocationParams + func (o *GetLocationParams) WithLocationID(locationID string) *GetLocationParams + func (o *GetLocationParams) WithTimeout(timeout time.Duration) *GetLocationParams + func (o *GetLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetLocationReader struct + func (o *GetLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetLocationTooManyRequests struct + Payload *models.ErrorResponse + func NewGetLocationTooManyRequests() *GetLocationTooManyRequests + func (o *GetLocationTooManyRequests) Error() string + type GetLocationUnauthorized struct + func NewGetLocationUnauthorized() *GetLocationUnauthorized + func (o *GetLocationUnauthorized) Error() string + type ListLocationsDefault struct + Payload *models.ErrorResponse + func NewListLocationsDefault(code int) *ListLocationsDefault + func (o *ListLocationsDefault) Code() int + func (o *ListLocationsDefault) Error() string + type ListLocationsForbidden struct + func NewListLocationsForbidden() *ListLocationsForbidden + func (o *ListLocationsForbidden) Error() string + type ListLocationsOK struct + Payload *models.PagedLocations + func NewListLocationsOK() *ListLocationsOK + func (o *ListLocationsOK) Error() string + type ListLocationsParams struct + Authorization string + Context context.Context + HTTPClient *http.Client + func NewListLocationsParams() *ListLocationsParams + func NewListLocationsParamsWithContext(ctx context.Context) *ListLocationsParams + func NewListLocationsParamsWithHTTPClient(client *http.Client) *ListLocationsParams + func NewListLocationsParamsWithTimeout(timeout time.Duration) *ListLocationsParams + func (o *ListLocationsParams) SetAuthorization(authorization string) + func (o *ListLocationsParams) SetContext(ctx context.Context) + func (o *ListLocationsParams) SetHTTPClient(client *http.Client) + func (o *ListLocationsParams) SetTimeout(timeout time.Duration) + func (o *ListLocationsParams) WithAuthorization(authorization string) *ListLocationsParams + func (o *ListLocationsParams) WithContext(ctx context.Context) *ListLocationsParams + func (o *ListLocationsParams) WithHTTPClient(client *http.Client) *ListLocationsParams + func (o *ListLocationsParams) WithTimeout(timeout time.Duration) *ListLocationsParams + func (o *ListLocationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ListLocationsReader struct + func (o *ListLocationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ListLocationsTooManyRequests struct + Payload *models.ErrorResponse + func NewListLocationsTooManyRequests() *ListLocationsTooManyRequests + func (o *ListLocationsTooManyRequests) Error() string + type ListLocationsUnauthorized struct + func NewListLocationsUnauthorized() *ListLocationsUnauthorized + func (o *ListLocationsUnauthorized) Error() string + type UpdateLocationBadRequest struct + Payload *models.ErrorResponse + func NewUpdateLocationBadRequest() *UpdateLocationBadRequest + func (o *UpdateLocationBadRequest) Error() string + type UpdateLocationDefault struct + Payload *models.ErrorResponse + func NewUpdateLocationDefault(code int) *UpdateLocationDefault + func (o *UpdateLocationDefault) Code() int + func (o *UpdateLocationDefault) Error() string + type UpdateLocationForbidden struct + func NewUpdateLocationForbidden() *UpdateLocationForbidden + func (o *UpdateLocationForbidden) Error() string + type UpdateLocationOK struct + Payload *models.Location + func NewUpdateLocationOK() *UpdateLocationOK + func (o *UpdateLocationOK) Error() string + type UpdateLocationParams struct + Authorization string + Context context.Context + HTTPClient *http.Client + LocationID string + UpdateLocationRequest *models.UpdateLocationRequest + func NewUpdateLocationParams() *UpdateLocationParams + func NewUpdateLocationParamsWithContext(ctx context.Context) *UpdateLocationParams + func NewUpdateLocationParamsWithHTTPClient(client *http.Client) *UpdateLocationParams + func NewUpdateLocationParamsWithTimeout(timeout time.Duration) *UpdateLocationParams + func (o *UpdateLocationParams) SetAuthorization(authorization string) + func (o *UpdateLocationParams) SetContext(ctx context.Context) + func (o *UpdateLocationParams) SetHTTPClient(client *http.Client) + func (o *UpdateLocationParams) SetLocationID(locationID string) + func (o *UpdateLocationParams) SetTimeout(timeout time.Duration) + func (o *UpdateLocationParams) SetUpdateLocationRequest(updateLocationRequest *models.UpdateLocationRequest) + func (o *UpdateLocationParams) WithAuthorization(authorization string) *UpdateLocationParams + func (o *UpdateLocationParams) WithContext(ctx context.Context) *UpdateLocationParams + func (o *UpdateLocationParams) WithHTTPClient(client *http.Client) *UpdateLocationParams + func (o *UpdateLocationParams) WithLocationID(locationID string) *UpdateLocationParams + func (o *UpdateLocationParams) WithTimeout(timeout time.Duration) *UpdateLocationParams + func (o *UpdateLocationParams) WithUpdateLocationRequest(updateLocationRequest *models.UpdateLocationRequest) *UpdateLocationParams + func (o *UpdateLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UpdateLocationReader struct + func (o *UpdateLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UpdateLocationTooManyRequests struct + Payload *models.ErrorResponse + func NewUpdateLocationTooManyRequests() *UpdateLocationTooManyRequests + func (o *UpdateLocationTooManyRequests) Error() string + type UpdateLocationUnauthorized struct + func NewUpdateLocationUnauthorized() *UpdateLocationUnauthorized + func (o *UpdateLocationUnauthorized) Error() string + type UpdateLocationUnprocessableEntity struct + Payload *models.ErrorResponse + func NewUpdateLocationUnprocessableEntity() *UpdateLocationUnprocessableEntity + func (o *UpdateLocationUnprocessableEntity) Error() string