misc

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 15 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCountryGroupBadRequest

type AddCountryGroupBadRequest struct {
	Payload *basicclientmodels.ErrorEntity
}

AddCountryGroupBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>11234</td><td>Unable to {action}: A country can't be assigned to more than one country group</td></tr></table>

func NewAddCountryGroupBadRequest

func NewAddCountryGroupBadRequest() *AddCountryGroupBadRequest

NewAddCountryGroupBadRequest creates a AddCountryGroupBadRequest with default headers values

func (*AddCountryGroupBadRequest) Error

func (o *AddCountryGroupBadRequest) Error() string

func (*AddCountryGroupBadRequest) GetPayload

func (*AddCountryGroupBadRequest) ToJSONString

func (o *AddCountryGroupBadRequest) ToJSONString() string

type AddCountryGroupConflict

type AddCountryGroupConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

AddCountryGroupConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11235</td><td>Unable to {action}: Country group with specified code is already exist</td></tr></table>

func NewAddCountryGroupConflict

func NewAddCountryGroupConflict() *AddCountryGroupConflict

NewAddCountryGroupConflict creates a AddCountryGroupConflict with default headers values

func (*AddCountryGroupConflict) Error

func (o *AddCountryGroupConflict) Error() string

func (*AddCountryGroupConflict) GetPayload

func (*AddCountryGroupConflict) ToJSONString

func (o *AddCountryGroupConflict) ToJSONString() string

type AddCountryGroupCreated

type AddCountryGroupCreated struct {
	Payload *basicclientmodels.AddCountryGroupResponse
}

AddCountryGroupCreated handles this case with default header values.

successful operation

func NewAddCountryGroupCreated

func NewAddCountryGroupCreated() *AddCountryGroupCreated

NewAddCountryGroupCreated creates a AddCountryGroupCreated with default headers values

func (*AddCountryGroupCreated) Error

func (o *AddCountryGroupCreated) Error() string

func (*AddCountryGroupCreated) GetPayload

func (*AddCountryGroupCreated) ToJSONString

func (o *AddCountryGroupCreated) ToJSONString() string

type AddCountryGroupForbidden

type AddCountryGroupForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

AddCountryGroupForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewAddCountryGroupForbidden

func NewAddCountryGroupForbidden() *AddCountryGroupForbidden

NewAddCountryGroupForbidden creates a AddCountryGroupForbidden with default headers values

func (*AddCountryGroupForbidden) Error

func (o *AddCountryGroupForbidden) Error() string

func (*AddCountryGroupForbidden) GetPayload

func (*AddCountryGroupForbidden) ToJSONString

func (o *AddCountryGroupForbidden) ToJSONString() string

type AddCountryGroupParams

type AddCountryGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.AddCountryGroupRequest
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AddCountryGroupParams contains all the parameters to send to the API endpoint for the add country group operation typically these are written to a http.Request

func NewAddCountryGroupParams

func NewAddCountryGroupParams() *AddCountryGroupParams

NewAddCountryGroupParams creates a new AddCountryGroupParams object with the default values initialized.

func NewAddCountryGroupParamsWithContext

func NewAddCountryGroupParamsWithContext(ctx context.Context) *AddCountryGroupParams

NewAddCountryGroupParamsWithContext creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a context for a request

func NewAddCountryGroupParamsWithHTTPClient

func NewAddCountryGroupParamsWithHTTPClient(client *http.Client) *AddCountryGroupParams

NewAddCountryGroupParamsWithHTTPClient creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddCountryGroupParamsWithTimeout

func NewAddCountryGroupParamsWithTimeout(timeout time.Duration) *AddCountryGroupParams

NewAddCountryGroupParamsWithTimeout creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddCountryGroupParams) SetAuthInfoWriter

func (o *AddCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the add country group params

func (*AddCountryGroupParams) SetBody

SetBody adds the body to the add country group params

func (*AddCountryGroupParams) SetContext

func (o *AddCountryGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the add country group params

func (*AddCountryGroupParams) SetFlightId

func (o *AddCountryGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AddCountryGroupParams) SetHTTPClient

func (o *AddCountryGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add country group params

func (*AddCountryGroupParams) SetHTTPClientTransport

func (o *AddCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the add country group params

func (*AddCountryGroupParams) SetNamespace

func (o *AddCountryGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add country group params

func (*AddCountryGroupParams) SetTimeout

func (o *AddCountryGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add country group params

func (*AddCountryGroupParams) WithBody

WithBody adds the body to the add country group params

func (*AddCountryGroupParams) WithContext

WithContext adds the context to the add country group params

func (*AddCountryGroupParams) WithHTTPClient

func (o *AddCountryGroupParams) WithHTTPClient(client *http.Client) *AddCountryGroupParams

WithHTTPClient adds the HTTPClient to the add country group params

func (*AddCountryGroupParams) WithNamespace

func (o *AddCountryGroupParams) WithNamespace(namespace string) *AddCountryGroupParams

WithNamespace adds the namespace to the add country group params

func (*AddCountryGroupParams) WithTimeout

func (o *AddCountryGroupParams) WithTimeout(timeout time.Duration) *AddCountryGroupParams

WithTimeout adds the timeout to the add country group params

func (*AddCountryGroupParams) WriteToRequest

func (o *AddCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddCountryGroupReader

type AddCountryGroupReader struct {
	// contains filtered or unexported fields
}

AddCountryGroupReader is a Reader for the AddCountryGroup structure.

func (*AddCountryGroupReader) ReadResponse

func (o *AddCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddCountryGroupUnauthorized

type AddCountryGroupUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

AddCountryGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewAddCountryGroupUnauthorized

func NewAddCountryGroupUnauthorized() *AddCountryGroupUnauthorized

NewAddCountryGroupUnauthorized creates a AddCountryGroupUnauthorized with default headers values

func (*AddCountryGroupUnauthorized) Error

func (*AddCountryGroupUnauthorized) GetPayload

func (*AddCountryGroupUnauthorized) ToJSONString

func (o *AddCountryGroupUnauthorized) ToJSONString() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for misc API

func (*Client) AddCountryGroupShort

func (a *Client) AddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupResponse, error)

AddCountryGroupShort add a country group Add a country groups Country code must follow ISO3166-1 alpha-2. Other detail info:

  • Action code : 11201
  • Returns : newly created country group

func (*Client) DeleteCountryGroupShort

func (a *Client) DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupResponse, error)

DeleteCountryGroupShort delete a country group Delete a country groups by its country group code. This endpoint usually used for testing purpose to cleanup test data.

func (*Client) GetCountriesShort

func (a *Client) GetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesResponse, error)

GetCountriesShort list countries List countries. Other detail info:

  • Action code : 11204
  • Returns : country code list

func (*Client) GetCountryGroupsShort

func (a *Client) GetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsResponse, error)

GetCountryGroupsShort list country groups List country groups. Will return all available country groups if the query param is not specified Other detail info:

  • Action code : 11203
  • Returns : list of country groups

func (*Client) GetLanguagesShort

func (a *Client) GetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesResponse, error)

GetLanguagesShort list languages. List languages. Other detail info:

  • Action code : 11206
  • Returns : language list

func (*Client) GetTimeZonesShort

func (a *Client) GetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesResponse, error)

GetTimeZonesShort list time zones List time zones. Other detail info:

  • Action code : 11205
  • Returns : time zones

func (*Client) PublicGetCountriesShort

func (a *Client) PublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesResponse, error)

PublicGetCountriesShort list countries List countries. Other detail info:

  • Returns : country code list

func (*Client) PublicGetLanguagesShort

func (a *Client) PublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesResponse, error)

PublicGetLanguagesShort list languages. List languages. Other detail info:

  • Returns : language list

func (*Client) PublicGetTimeShort

func (a *Client) PublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeResponse, error)

PublicGetTimeShort get server time Get server time

func (*Client) PublicGetTimeZonesShort

func (a *Client) PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesResponse, error)

PublicGetTimeZonesShort list time zones List time zones. Other detail info:

  • Returns : time zones

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateCountryGroupShort

func (a *Client) UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupResponse, error)

UpdateCountryGroupShort update a country group Update a country groups. The countryGroupCode must be exist beforehand. Valid update behaviour : - To update countryGroupName only, do not include countries key or just specify it with empty array. - To update countries only, do not include countryGroupName key or just specify it with blank value. Other detail info:

  • Action code : 11202
  • Returns : updated country group

type ClientService

type ClientService interface {
	GetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesResponse, error)
	GetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsResponse, error)
	AddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupResponse, error)
	UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupResponse, error)
	DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupResponse, error)
	GetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesResponse, error)
	GetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesResponse, error)
	PublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeResponse, error)
	PublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesResponse, error)
	PublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesResponse, error)
	PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesResponse, 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 misc API client.

type DeleteCountryGroupBadRequest

type DeleteCountryGroupBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

DeleteCountryGroupBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewDeleteCountryGroupBadRequest

func NewDeleteCountryGroupBadRequest() *DeleteCountryGroupBadRequest

NewDeleteCountryGroupBadRequest creates a DeleteCountryGroupBadRequest with default headers values

func (*DeleteCountryGroupBadRequest) Error

func (*DeleteCountryGroupBadRequest) GetPayload

func (*DeleteCountryGroupBadRequest) ToJSONString

func (o *DeleteCountryGroupBadRequest) ToJSONString() string

type DeleteCountryGroupForbidden

type DeleteCountryGroupForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteCountryGroupForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewDeleteCountryGroupForbidden

func NewDeleteCountryGroupForbidden() *DeleteCountryGroupForbidden

NewDeleteCountryGroupForbidden creates a DeleteCountryGroupForbidden with default headers values

func (*DeleteCountryGroupForbidden) Error

func (*DeleteCountryGroupForbidden) GetPayload

func (*DeleteCountryGroupForbidden) ToJSONString

func (o *DeleteCountryGroupForbidden) ToJSONString() string

type DeleteCountryGroupNotFound

type DeleteCountryGroupNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteCountryGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11233</td><td>Unable to {action}: Country group with code [{countryGroupCode}] is not found</td></tr></table>

func NewDeleteCountryGroupNotFound

func NewDeleteCountryGroupNotFound() *DeleteCountryGroupNotFound

NewDeleteCountryGroupNotFound creates a DeleteCountryGroupNotFound with default headers values

func (*DeleteCountryGroupNotFound) Error

func (*DeleteCountryGroupNotFound) GetPayload

func (*DeleteCountryGroupNotFound) ToJSONString

func (o *DeleteCountryGroupNotFound) ToJSONString() string

type DeleteCountryGroupOK

type DeleteCountryGroupOK struct {
}

DeleteCountryGroupOK handles this case with default header values.

Successful operation

func NewDeleteCountryGroupOK

func NewDeleteCountryGroupOK() *DeleteCountryGroupOK

NewDeleteCountryGroupOK creates a DeleteCountryGroupOK with default headers values

func (*DeleteCountryGroupOK) Error

func (o *DeleteCountryGroupOK) Error() string

type DeleteCountryGroupParams

type DeleteCountryGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CountryGroupCode
	  groupCode, only accept alphabet and whitespace

	*/
	CountryGroupCode string
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

DeleteCountryGroupParams contains all the parameters to send to the API endpoint for the delete country group operation typically these are written to a http.Request

func NewDeleteCountryGroupParams

func NewDeleteCountryGroupParams() *DeleteCountryGroupParams

NewDeleteCountryGroupParams creates a new DeleteCountryGroupParams object with the default values initialized.

func NewDeleteCountryGroupParamsWithContext

func NewDeleteCountryGroupParamsWithContext(ctx context.Context) *DeleteCountryGroupParams

NewDeleteCountryGroupParamsWithContext creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCountryGroupParamsWithHTTPClient

func NewDeleteCountryGroupParamsWithHTTPClient(client *http.Client) *DeleteCountryGroupParams

NewDeleteCountryGroupParamsWithHTTPClient creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCountryGroupParamsWithTimeout

func NewDeleteCountryGroupParamsWithTimeout(timeout time.Duration) *DeleteCountryGroupParams

NewDeleteCountryGroupParamsWithTimeout creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCountryGroupParams) SetAuthInfoWriter

func (o *DeleteCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete country group params

func (*DeleteCountryGroupParams) SetContext

func (o *DeleteCountryGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the delete country group params

func (*DeleteCountryGroupParams) SetCountryGroupCode

func (o *DeleteCountryGroupParams) SetCountryGroupCode(countryGroupCode string)

SetCountryGroupCode adds the countryGroupCode to the delete country group params

func (*DeleteCountryGroupParams) SetFlightId

func (o *DeleteCountryGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteCountryGroupParams) SetHTTPClient

func (o *DeleteCountryGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete country group params

func (*DeleteCountryGroupParams) SetHTTPClientTransport

func (o *DeleteCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete country group params

func (*DeleteCountryGroupParams) SetNamespace

func (o *DeleteCountryGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete country group params

func (*DeleteCountryGroupParams) SetTimeout

func (o *DeleteCountryGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete country group params

func (*DeleteCountryGroupParams) WithContext

WithContext adds the context to the delete country group params

func (*DeleteCountryGroupParams) WithCountryGroupCode

func (o *DeleteCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *DeleteCountryGroupParams

WithCountryGroupCode adds the countryGroupCode to the delete country group params

func (*DeleteCountryGroupParams) WithHTTPClient

func (o *DeleteCountryGroupParams) WithHTTPClient(client *http.Client) *DeleteCountryGroupParams

WithHTTPClient adds the HTTPClient to the delete country group params

func (*DeleteCountryGroupParams) WithNamespace

func (o *DeleteCountryGroupParams) WithNamespace(namespace string) *DeleteCountryGroupParams

WithNamespace adds the namespace to the delete country group params

func (*DeleteCountryGroupParams) WithTimeout

WithTimeout adds the timeout to the delete country group params

func (*DeleteCountryGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCountryGroupReader

type DeleteCountryGroupReader struct {
	// contains filtered or unexported fields
}

DeleteCountryGroupReader is a Reader for the DeleteCountryGroup structure.

func (*DeleteCountryGroupReader) ReadResponse

func (o *DeleteCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteCountryGroupResponse

func (*DeleteCountryGroupResponse) Unpack

type DeleteCountryGroupUnauthorized

type DeleteCountryGroupUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteCountryGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewDeleteCountryGroupUnauthorized

func NewDeleteCountryGroupUnauthorized() *DeleteCountryGroupUnauthorized

NewDeleteCountryGroupUnauthorized creates a DeleteCountryGroupUnauthorized with default headers values

func (*DeleteCountryGroupUnauthorized) Error

func (*DeleteCountryGroupUnauthorized) GetPayload

func (*DeleteCountryGroupUnauthorized) ToJSONString

func (o *DeleteCountryGroupUnauthorized) ToJSONString() string

type GetCountriesBadRequest

type GetCountriesBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetCountriesBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCountriesBadRequest

func NewGetCountriesBadRequest() *GetCountriesBadRequest

NewGetCountriesBadRequest creates a GetCountriesBadRequest with default headers values

func (*GetCountriesBadRequest) Error

func (o *GetCountriesBadRequest) Error() string

func (*GetCountriesBadRequest) GetPayload

func (*GetCountriesBadRequest) ToJSONString

func (o *GetCountriesBadRequest) ToJSONString() string

type GetCountriesOK

type GetCountriesOK struct {
	Payload []*basicclientmodels.CountryObject
}

GetCountriesOK handles this case with default header values.

successful operation

func NewGetCountriesOK

func NewGetCountriesOK() *GetCountriesOK

NewGetCountriesOK creates a GetCountriesOK with default headers values

func (*GetCountriesOK) Error

func (o *GetCountriesOK) Error() string

func (*GetCountriesOK) GetPayload

func (o *GetCountriesOK) GetPayload() []*basicclientmodels.CountryObject

func (*GetCountriesOK) ToJSONString

func (o *GetCountriesOK) ToJSONString() string

type GetCountriesParams

type GetCountriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*Lang
	  language value from language tag, allowed format: en, en-US

	*/
	Lang *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetCountriesParams contains all the parameters to send to the API endpoint for the get countries operation typically these are written to a http.Request

func NewGetCountriesParams

func NewGetCountriesParams() *GetCountriesParams

NewGetCountriesParams creates a new GetCountriesParams object with the default values initialized.

func NewGetCountriesParamsWithContext

func NewGetCountriesParamsWithContext(ctx context.Context) *GetCountriesParams

NewGetCountriesParamsWithContext creates a new GetCountriesParams object with the default values initialized, and the ability to set a context for a request

func NewGetCountriesParamsWithHTTPClient

func NewGetCountriesParamsWithHTTPClient(client *http.Client) *GetCountriesParams

NewGetCountriesParamsWithHTTPClient creates a new GetCountriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCountriesParamsWithTimeout

func NewGetCountriesParamsWithTimeout(timeout time.Duration) *GetCountriesParams

NewGetCountriesParamsWithTimeout creates a new GetCountriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCountriesParams) SetAuthInfoWriter

func (o *GetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get countries params

func (*GetCountriesParams) SetContext

func (o *GetCountriesParams) SetContext(ctx context.Context)

SetContext adds the context to the get countries params

func (*GetCountriesParams) SetFlightId

func (o *GetCountriesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetCountriesParams) SetHTTPClient

func (o *GetCountriesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get countries params

func (*GetCountriesParams) SetHTTPClientTransport

func (o *GetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get countries params

func (*GetCountriesParams) SetLang

func (o *GetCountriesParams) SetLang(lang *string)

SetLang adds the lang to the get countries params

func (*GetCountriesParams) SetNamespace

func (o *GetCountriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get countries params

func (*GetCountriesParams) SetTimeout

func (o *GetCountriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get countries params

func (*GetCountriesParams) WithContext

WithContext adds the context to the get countries params

func (*GetCountriesParams) WithHTTPClient

func (o *GetCountriesParams) WithHTTPClient(client *http.Client) *GetCountriesParams

WithHTTPClient adds the HTTPClient to the get countries params

func (*GetCountriesParams) WithLang

func (o *GetCountriesParams) WithLang(lang *string) *GetCountriesParams

WithLang adds the lang to the get countries params

func (*GetCountriesParams) WithNamespace

func (o *GetCountriesParams) WithNamespace(namespace string) *GetCountriesParams

WithNamespace adds the namespace to the get countries params

func (*GetCountriesParams) WithTimeout

func (o *GetCountriesParams) WithTimeout(timeout time.Duration) *GetCountriesParams

WithTimeout adds the timeout to the get countries params

func (*GetCountriesParams) WriteToRequest

func (o *GetCountriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCountriesReader

type GetCountriesReader struct {
	// contains filtered or unexported fields
}

GetCountriesReader is a Reader for the GetCountries structure.

func (*GetCountriesReader) ReadResponse

func (o *GetCountriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCountriesUnauthorized

type GetCountriesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCountriesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetCountriesUnauthorized

func NewGetCountriesUnauthorized() *GetCountriesUnauthorized

NewGetCountriesUnauthorized creates a GetCountriesUnauthorized with default headers values

func (*GetCountriesUnauthorized) Error

func (o *GetCountriesUnauthorized) Error() string

func (*GetCountriesUnauthorized) GetPayload

func (*GetCountriesUnauthorized) ToJSONString

func (o *GetCountriesUnauthorized) ToJSONString() string

type GetCountryGroupsBadRequest

type GetCountryGroupsBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetCountryGroupsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetCountryGroupsBadRequest

func NewGetCountryGroupsBadRequest() *GetCountryGroupsBadRequest

NewGetCountryGroupsBadRequest creates a GetCountryGroupsBadRequest with default headers values

func (*GetCountryGroupsBadRequest) Error

func (*GetCountryGroupsBadRequest) GetPayload

func (*GetCountryGroupsBadRequest) ToJSONString

func (o *GetCountryGroupsBadRequest) ToJSONString() string

type GetCountryGroupsForbidden

type GetCountryGroupsForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCountryGroupsForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetCountryGroupsForbidden

func NewGetCountryGroupsForbidden() *GetCountryGroupsForbidden

NewGetCountryGroupsForbidden creates a GetCountryGroupsForbidden with default headers values

func (*GetCountryGroupsForbidden) Error

func (o *GetCountryGroupsForbidden) Error() string

func (*GetCountryGroupsForbidden) GetPayload

func (*GetCountryGroupsForbidden) ToJSONString

func (o *GetCountryGroupsForbidden) ToJSONString() string

type GetCountryGroupsNotFound

type GetCountryGroupsNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCountryGroupsNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11233</td><td>Unable to {action}: Country group with code [{countryGroupCode}] is not found</td></tr></table>

func NewGetCountryGroupsNotFound

func NewGetCountryGroupsNotFound() *GetCountryGroupsNotFound

NewGetCountryGroupsNotFound creates a GetCountryGroupsNotFound with default headers values

func (*GetCountryGroupsNotFound) Error

func (o *GetCountryGroupsNotFound) Error() string

func (*GetCountryGroupsNotFound) GetPayload

func (*GetCountryGroupsNotFound) ToJSONString

func (o *GetCountryGroupsNotFound) ToJSONString() string

type GetCountryGroupsOK

type GetCountryGroupsOK struct {
	Payload []*basicclientmodels.RetrieveCountryGroupResponse
}

GetCountryGroupsOK handles this case with default header values.

successful operation

func NewGetCountryGroupsOK

func NewGetCountryGroupsOK() *GetCountryGroupsOK

NewGetCountryGroupsOK creates a GetCountryGroupsOK with default headers values

func (*GetCountryGroupsOK) Error

func (o *GetCountryGroupsOK) Error() string

func (*GetCountryGroupsOK) GetPayload

func (*GetCountryGroupsOK) ToJSONString

func (o *GetCountryGroupsOK) ToJSONString() string

type GetCountryGroupsParams

type GetCountryGroupsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*GroupCode
	  groupCode, only accept alphabet and whitespace

	*/
	GroupCode *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetCountryGroupsParams contains all the parameters to send to the API endpoint for the get country groups operation typically these are written to a http.Request

func NewGetCountryGroupsParams

func NewGetCountryGroupsParams() *GetCountryGroupsParams

NewGetCountryGroupsParams creates a new GetCountryGroupsParams object with the default values initialized.

func NewGetCountryGroupsParamsWithContext

func NewGetCountryGroupsParamsWithContext(ctx context.Context) *GetCountryGroupsParams

NewGetCountryGroupsParamsWithContext creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a context for a request

func NewGetCountryGroupsParamsWithHTTPClient

func NewGetCountryGroupsParamsWithHTTPClient(client *http.Client) *GetCountryGroupsParams

NewGetCountryGroupsParamsWithHTTPClient creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCountryGroupsParamsWithTimeout

func NewGetCountryGroupsParamsWithTimeout(timeout time.Duration) *GetCountryGroupsParams

NewGetCountryGroupsParamsWithTimeout creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCountryGroupsParams) SetAuthInfoWriter

func (o *GetCountryGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get country groups params

func (*GetCountryGroupsParams) SetContext

func (o *GetCountryGroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the get country groups params

func (*GetCountryGroupsParams) SetFlightId

func (o *GetCountryGroupsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetCountryGroupsParams) SetGroupCode

func (o *GetCountryGroupsParams) SetGroupCode(groupCode *string)

SetGroupCode adds the groupCode to the get country groups params

func (*GetCountryGroupsParams) SetHTTPClient

func (o *GetCountryGroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get country groups params

func (*GetCountryGroupsParams) SetHTTPClientTransport

func (o *GetCountryGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get country groups params

func (*GetCountryGroupsParams) SetNamespace

func (o *GetCountryGroupsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get country groups params

func (*GetCountryGroupsParams) SetTimeout

func (o *GetCountryGroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get country groups params

func (*GetCountryGroupsParams) WithContext

WithContext adds the context to the get country groups params

func (*GetCountryGroupsParams) WithGroupCode

func (o *GetCountryGroupsParams) WithGroupCode(groupCode *string) *GetCountryGroupsParams

WithGroupCode adds the groupCode to the get country groups params

func (*GetCountryGroupsParams) WithHTTPClient

func (o *GetCountryGroupsParams) WithHTTPClient(client *http.Client) *GetCountryGroupsParams

WithHTTPClient adds the HTTPClient to the get country groups params

func (*GetCountryGroupsParams) WithNamespace

func (o *GetCountryGroupsParams) WithNamespace(namespace string) *GetCountryGroupsParams

WithNamespace adds the namespace to the get country groups params

func (*GetCountryGroupsParams) WithTimeout

WithTimeout adds the timeout to the get country groups params

func (*GetCountryGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCountryGroupsReader

type GetCountryGroupsReader struct {
	// contains filtered or unexported fields
}

GetCountryGroupsReader is a Reader for the GetCountryGroups structure.

func (*GetCountryGroupsReader) ReadResponse

func (o *GetCountryGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCountryGroupsUnauthorized

type GetCountryGroupsUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetCountryGroupsUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetCountryGroupsUnauthorized

func NewGetCountryGroupsUnauthorized() *GetCountryGroupsUnauthorized

NewGetCountryGroupsUnauthorized creates a GetCountryGroupsUnauthorized with default headers values

func (*GetCountryGroupsUnauthorized) Error

func (*GetCountryGroupsUnauthorized) GetPayload

func (*GetCountryGroupsUnauthorized) ToJSONString

func (o *GetCountryGroupsUnauthorized) ToJSONString() string

type GetLanguagesBadRequest

type GetLanguagesBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetLanguagesBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetLanguagesBadRequest

func NewGetLanguagesBadRequest() *GetLanguagesBadRequest

NewGetLanguagesBadRequest creates a GetLanguagesBadRequest with default headers values

func (*GetLanguagesBadRequest) Error

func (o *GetLanguagesBadRequest) Error() string

func (*GetLanguagesBadRequest) GetPayload

func (*GetLanguagesBadRequest) ToJSONString

func (o *GetLanguagesBadRequest) ToJSONString() string

type GetLanguagesOK

type GetLanguagesOK struct {
	Payload map[string]string
}

GetLanguagesOK handles this case with default header values.

successful operation

func NewGetLanguagesOK

func NewGetLanguagesOK() *GetLanguagesOK

NewGetLanguagesOK creates a GetLanguagesOK with default headers values

func (*GetLanguagesOK) Error

func (o *GetLanguagesOK) Error() string

func (*GetLanguagesOK) GetPayload

func (o *GetLanguagesOK) GetPayload() map[string]string

func (*GetLanguagesOK) ToJSONString

func (o *GetLanguagesOK) ToJSONString() string

type GetLanguagesParams

type GetLanguagesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetLanguagesParams contains all the parameters to send to the API endpoint for the get languages operation typically these are written to a http.Request

func NewGetLanguagesParams

func NewGetLanguagesParams() *GetLanguagesParams

NewGetLanguagesParams creates a new GetLanguagesParams object with the default values initialized.

func NewGetLanguagesParamsWithContext

func NewGetLanguagesParamsWithContext(ctx context.Context) *GetLanguagesParams

NewGetLanguagesParamsWithContext creates a new GetLanguagesParams object with the default values initialized, and the ability to set a context for a request

func NewGetLanguagesParamsWithHTTPClient

func NewGetLanguagesParamsWithHTTPClient(client *http.Client) *GetLanguagesParams

NewGetLanguagesParamsWithHTTPClient creates a new GetLanguagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetLanguagesParamsWithTimeout

func NewGetLanguagesParamsWithTimeout(timeout time.Duration) *GetLanguagesParams

NewGetLanguagesParamsWithTimeout creates a new GetLanguagesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetLanguagesParams) SetAuthInfoWriter

func (o *GetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get languages params

func (*GetLanguagesParams) SetContext

func (o *GetLanguagesParams) SetContext(ctx context.Context)

SetContext adds the context to the get languages params

func (*GetLanguagesParams) SetFlightId

func (o *GetLanguagesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetLanguagesParams) SetHTTPClient

func (o *GetLanguagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get languages params

func (*GetLanguagesParams) SetHTTPClientTransport

func (o *GetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get languages params

func (*GetLanguagesParams) SetNamespace

func (o *GetLanguagesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get languages params

func (*GetLanguagesParams) SetTimeout

func (o *GetLanguagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get languages params

func (*GetLanguagesParams) WithContext

WithContext adds the context to the get languages params

func (*GetLanguagesParams) WithHTTPClient

func (o *GetLanguagesParams) WithHTTPClient(client *http.Client) *GetLanguagesParams

WithHTTPClient adds the HTTPClient to the get languages params

func (*GetLanguagesParams) WithNamespace

func (o *GetLanguagesParams) WithNamespace(namespace string) *GetLanguagesParams

WithNamespace adds the namespace to the get languages params

func (*GetLanguagesParams) WithTimeout

func (o *GetLanguagesParams) WithTimeout(timeout time.Duration) *GetLanguagesParams

WithTimeout adds the timeout to the get languages params

func (*GetLanguagesParams) WriteToRequest

func (o *GetLanguagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLanguagesReader

type GetLanguagesReader struct {
	// contains filtered or unexported fields
}

GetLanguagesReader is a Reader for the GetLanguages structure.

func (*GetLanguagesReader) ReadResponse

func (o *GetLanguagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLanguagesResponse

type GetLanguagesResponse struct {
	basicclientmodels.ApiResponse
	Data map[string]string

	Error400 *basicclientmodels.ValidationErrorEntity
	Error401 *basicclientmodels.ErrorEntity
}

func (*GetLanguagesResponse) Unpack

type GetLanguagesUnauthorized

type GetLanguagesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetLanguagesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetLanguagesUnauthorized

func NewGetLanguagesUnauthorized() *GetLanguagesUnauthorized

NewGetLanguagesUnauthorized creates a GetLanguagesUnauthorized with default headers values

func (*GetLanguagesUnauthorized) Error

func (o *GetLanguagesUnauthorized) Error() string

func (*GetLanguagesUnauthorized) GetPayload

func (*GetLanguagesUnauthorized) ToJSONString

func (o *GetLanguagesUnauthorized) ToJSONString() string

type GetTimeZonesBadRequest

type GetTimeZonesBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetTimeZonesBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetTimeZonesBadRequest

func NewGetTimeZonesBadRequest() *GetTimeZonesBadRequest

NewGetTimeZonesBadRequest creates a GetTimeZonesBadRequest with default headers values

func (*GetTimeZonesBadRequest) Error

func (o *GetTimeZonesBadRequest) Error() string

func (*GetTimeZonesBadRequest) GetPayload

func (*GetTimeZonesBadRequest) ToJSONString

func (o *GetTimeZonesBadRequest) ToJSONString() string

type GetTimeZonesOK

type GetTimeZonesOK struct {
	Payload []string
}

GetTimeZonesOK handles this case with default header values.

successful operation

func NewGetTimeZonesOK

func NewGetTimeZonesOK() *GetTimeZonesOK

NewGetTimeZonesOK creates a GetTimeZonesOK with default headers values

func (*GetTimeZonesOK) Error

func (o *GetTimeZonesOK) Error() string

func (*GetTimeZonesOK) GetPayload

func (o *GetTimeZonesOK) GetPayload() []string

func (*GetTimeZonesOK) ToJSONString

func (o *GetTimeZonesOK) ToJSONString() string

type GetTimeZonesParams

type GetTimeZonesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetTimeZonesParams contains all the parameters to send to the API endpoint for the get time zones operation typically these are written to a http.Request

func NewGetTimeZonesParams

func NewGetTimeZonesParams() *GetTimeZonesParams

NewGetTimeZonesParams creates a new GetTimeZonesParams object with the default values initialized.

func NewGetTimeZonesParamsWithContext

func NewGetTimeZonesParamsWithContext(ctx context.Context) *GetTimeZonesParams

NewGetTimeZonesParamsWithContext creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a context for a request

func NewGetTimeZonesParamsWithHTTPClient

func NewGetTimeZonesParamsWithHTTPClient(client *http.Client) *GetTimeZonesParams

NewGetTimeZonesParamsWithHTTPClient creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTimeZonesParamsWithTimeout

func NewGetTimeZonesParamsWithTimeout(timeout time.Duration) *GetTimeZonesParams

NewGetTimeZonesParamsWithTimeout creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTimeZonesParams) SetAuthInfoWriter

func (o *GetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get time zones params

func (*GetTimeZonesParams) SetContext

func (o *GetTimeZonesParams) SetContext(ctx context.Context)

SetContext adds the context to the get time zones params

func (*GetTimeZonesParams) SetFlightId

func (o *GetTimeZonesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetTimeZonesParams) SetHTTPClient

func (o *GetTimeZonesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get time zones params

func (*GetTimeZonesParams) SetHTTPClientTransport

func (o *GetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get time zones params

func (*GetTimeZonesParams) SetNamespace

func (o *GetTimeZonesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get time zones params

func (*GetTimeZonesParams) SetTimeout

func (o *GetTimeZonesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get time zones params

func (*GetTimeZonesParams) WithContext

WithContext adds the context to the get time zones params

func (*GetTimeZonesParams) WithHTTPClient

func (o *GetTimeZonesParams) WithHTTPClient(client *http.Client) *GetTimeZonesParams

WithHTTPClient adds the HTTPClient to the get time zones params

func (*GetTimeZonesParams) WithNamespace

func (o *GetTimeZonesParams) WithNamespace(namespace string) *GetTimeZonesParams

WithNamespace adds the namespace to the get time zones params

func (*GetTimeZonesParams) WithTimeout

func (o *GetTimeZonesParams) WithTimeout(timeout time.Duration) *GetTimeZonesParams

WithTimeout adds the timeout to the get time zones params

func (*GetTimeZonesParams) WriteToRequest

func (o *GetTimeZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTimeZonesReader

type GetTimeZonesReader struct {
	// contains filtered or unexported fields
}

GetTimeZonesReader is a Reader for the GetTimeZones structure.

func (*GetTimeZonesReader) ReadResponse

func (o *GetTimeZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTimeZonesResponse

type GetTimeZonesResponse struct {
	basicclientmodels.ApiResponse
	Data []string

	Error400 *basicclientmodels.ValidationErrorEntity
	Error401 *basicclientmodels.ErrorEntity
}

func (*GetTimeZonesResponse) Unpack

type GetTimeZonesUnauthorized

type GetTimeZonesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetTimeZonesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetTimeZonesUnauthorized

func NewGetTimeZonesUnauthorized() *GetTimeZonesUnauthorized

NewGetTimeZonesUnauthorized creates a GetTimeZonesUnauthorized with default headers values

func (*GetTimeZonesUnauthorized) Error

func (o *GetTimeZonesUnauthorized) Error() string

func (*GetTimeZonesUnauthorized) GetPayload

func (*GetTimeZonesUnauthorized) ToJSONString

func (o *GetTimeZonesUnauthorized) ToJSONString() string

type PublicGetCountriesBadRequest

type PublicGetCountriesBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetCountriesBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPublicGetCountriesBadRequest

func NewPublicGetCountriesBadRequest() *PublicGetCountriesBadRequest

NewPublicGetCountriesBadRequest creates a PublicGetCountriesBadRequest with default headers values

func (*PublicGetCountriesBadRequest) Error

func (*PublicGetCountriesBadRequest) GetPayload

func (*PublicGetCountriesBadRequest) ToJSONString

func (o *PublicGetCountriesBadRequest) ToJSONString() string

type PublicGetCountriesOK

type PublicGetCountriesOK struct {
	Payload []*basicclientmodels.CountryObject
}

PublicGetCountriesOK handles this case with default header values.

successful operation

func NewPublicGetCountriesOK

func NewPublicGetCountriesOK() *PublicGetCountriesOK

NewPublicGetCountriesOK creates a PublicGetCountriesOK with default headers values

func (*PublicGetCountriesOK) Error

func (o *PublicGetCountriesOK) Error() string

func (*PublicGetCountriesOK) GetPayload

func (*PublicGetCountriesOK) ToJSONString

func (o *PublicGetCountriesOK) ToJSONString() string

type PublicGetCountriesParams

type PublicGetCountriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*Lang
	  language value from language tag, allowed format: en, en-US

	*/
	Lang *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetCountriesParams contains all the parameters to send to the API endpoint for the public get countries operation typically these are written to a http.Request

func NewPublicGetCountriesParams

func NewPublicGetCountriesParams() *PublicGetCountriesParams

NewPublicGetCountriesParams creates a new PublicGetCountriesParams object with the default values initialized.

func NewPublicGetCountriesParamsWithContext

func NewPublicGetCountriesParamsWithContext(ctx context.Context) *PublicGetCountriesParams

NewPublicGetCountriesParamsWithContext creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetCountriesParamsWithHTTPClient

func NewPublicGetCountriesParamsWithHTTPClient(client *http.Client) *PublicGetCountriesParams

NewPublicGetCountriesParamsWithHTTPClient creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetCountriesParamsWithTimeout

func NewPublicGetCountriesParamsWithTimeout(timeout time.Duration) *PublicGetCountriesParams

NewPublicGetCountriesParamsWithTimeout creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetCountriesParams) SetAuthInfoWriter

func (o *PublicGetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get countries params

func (*PublicGetCountriesParams) SetContext

func (o *PublicGetCountriesParams) SetContext(ctx context.Context)

SetContext adds the context to the public get countries params

func (*PublicGetCountriesParams) SetFlightId

func (o *PublicGetCountriesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetCountriesParams) SetHTTPClient

func (o *PublicGetCountriesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get countries params

func (*PublicGetCountriesParams) SetHTTPClientTransport

func (o *PublicGetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get countries params

func (*PublicGetCountriesParams) SetLang

func (o *PublicGetCountriesParams) SetLang(lang *string)

SetLang adds the lang to the public get countries params

func (*PublicGetCountriesParams) SetNamespace

func (o *PublicGetCountriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get countries params

func (*PublicGetCountriesParams) SetTimeout

func (o *PublicGetCountriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get countries params

func (*PublicGetCountriesParams) WithContext

WithContext adds the context to the public get countries params

func (*PublicGetCountriesParams) WithHTTPClient

func (o *PublicGetCountriesParams) WithHTTPClient(client *http.Client) *PublicGetCountriesParams

WithHTTPClient adds the HTTPClient to the public get countries params

func (*PublicGetCountriesParams) WithLang

WithLang adds the lang to the public get countries params

func (*PublicGetCountriesParams) WithNamespace

func (o *PublicGetCountriesParams) WithNamespace(namespace string) *PublicGetCountriesParams

WithNamespace adds the namespace to the public get countries params

func (*PublicGetCountriesParams) WithTimeout

WithTimeout adds the timeout to the public get countries params

func (*PublicGetCountriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetCountriesReader

type PublicGetCountriesReader struct {
	// contains filtered or unexported fields
}

PublicGetCountriesReader is a Reader for the PublicGetCountries structure.

func (*PublicGetCountriesReader) ReadResponse

func (o *PublicGetCountriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetCountriesResponse

type PublicGetCountriesResponse struct {
	basicclientmodels.ApiResponse
	Data []*basicclientmodels.CountryObject

	Error400 *basicclientmodels.ValidationErrorEntity
}

func (*PublicGetCountriesResponse) Unpack

type PublicGetLanguagesBadRequest

type PublicGetLanguagesBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetLanguagesBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPublicGetLanguagesBadRequest

func NewPublicGetLanguagesBadRequest() *PublicGetLanguagesBadRequest

NewPublicGetLanguagesBadRequest creates a PublicGetLanguagesBadRequest with default headers values

func (*PublicGetLanguagesBadRequest) Error

func (*PublicGetLanguagesBadRequest) GetPayload

func (*PublicGetLanguagesBadRequest) ToJSONString

func (o *PublicGetLanguagesBadRequest) ToJSONString() string

type PublicGetLanguagesOK

type PublicGetLanguagesOK struct {
	Payload map[string]interface{}
}

PublicGetLanguagesOK handles this case with default header values.

successful operation

func NewPublicGetLanguagesOK

func NewPublicGetLanguagesOK() *PublicGetLanguagesOK

NewPublicGetLanguagesOK creates a PublicGetLanguagesOK with default headers values

func (*PublicGetLanguagesOK) Error

func (o *PublicGetLanguagesOK) Error() string

func (*PublicGetLanguagesOK) GetPayload

func (o *PublicGetLanguagesOK) GetPayload() map[string]interface{}

func (*PublicGetLanguagesOK) ToJSONString

func (o *PublicGetLanguagesOK) ToJSONString() string

type PublicGetLanguagesParams

type PublicGetLanguagesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetLanguagesParams contains all the parameters to send to the API endpoint for the public get languages operation typically these are written to a http.Request

func NewPublicGetLanguagesParams

func NewPublicGetLanguagesParams() *PublicGetLanguagesParams

NewPublicGetLanguagesParams creates a new PublicGetLanguagesParams object with the default values initialized.

func NewPublicGetLanguagesParamsWithContext

func NewPublicGetLanguagesParamsWithContext(ctx context.Context) *PublicGetLanguagesParams

NewPublicGetLanguagesParamsWithContext creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetLanguagesParamsWithHTTPClient

func NewPublicGetLanguagesParamsWithHTTPClient(client *http.Client) *PublicGetLanguagesParams

NewPublicGetLanguagesParamsWithHTTPClient creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetLanguagesParamsWithTimeout

func NewPublicGetLanguagesParamsWithTimeout(timeout time.Duration) *PublicGetLanguagesParams

NewPublicGetLanguagesParamsWithTimeout creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetLanguagesParams) SetAuthInfoWriter

func (o *PublicGetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get languages params

func (*PublicGetLanguagesParams) SetContext

func (o *PublicGetLanguagesParams) SetContext(ctx context.Context)

SetContext adds the context to the public get languages params

func (*PublicGetLanguagesParams) SetFlightId

func (o *PublicGetLanguagesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetLanguagesParams) SetHTTPClient

func (o *PublicGetLanguagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get languages params

func (*PublicGetLanguagesParams) SetHTTPClientTransport

func (o *PublicGetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get languages params

func (*PublicGetLanguagesParams) SetNamespace

func (o *PublicGetLanguagesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get languages params

func (*PublicGetLanguagesParams) SetTimeout

func (o *PublicGetLanguagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get languages params

func (*PublicGetLanguagesParams) WithContext

WithContext adds the context to the public get languages params

func (*PublicGetLanguagesParams) WithHTTPClient

func (o *PublicGetLanguagesParams) WithHTTPClient(client *http.Client) *PublicGetLanguagesParams

WithHTTPClient adds the HTTPClient to the public get languages params

func (*PublicGetLanguagesParams) WithNamespace

func (o *PublicGetLanguagesParams) WithNamespace(namespace string) *PublicGetLanguagesParams

WithNamespace adds the namespace to the public get languages params

func (*PublicGetLanguagesParams) WithTimeout

WithTimeout adds the timeout to the public get languages params

func (*PublicGetLanguagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetLanguagesReader

type PublicGetLanguagesReader struct {
	// contains filtered or unexported fields
}

PublicGetLanguagesReader is a Reader for the PublicGetLanguages structure.

func (*PublicGetLanguagesReader) ReadResponse

func (o *PublicGetLanguagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetLanguagesResponse

type PublicGetLanguagesResponse struct {
	basicclientmodels.ApiResponse
	Data map[string]interface{}

	Error400 *basicclientmodels.ValidationErrorEntity
}

func (*PublicGetLanguagesResponse) Unpack

func (m *PublicGetLanguagesResponse) Unpack() (map[string]interface{}, *basicclientmodels.ApiError)

type PublicGetTimeOK

type PublicGetTimeOK struct {
	Payload *basicclientmodels.RetrieveTimeResponse
}

PublicGetTimeOK handles this case with default header values.

Success retrieve server time

func NewPublicGetTimeOK

func NewPublicGetTimeOK() *PublicGetTimeOK

NewPublicGetTimeOK creates a PublicGetTimeOK with default headers values

func (*PublicGetTimeOK) Error

func (o *PublicGetTimeOK) Error() string

func (*PublicGetTimeOK) GetPayload

func (*PublicGetTimeOK) ToJSONString

func (o *PublicGetTimeOK) ToJSONString() string

type PublicGetTimeParams

type PublicGetTimeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetTimeParams contains all the parameters to send to the API endpoint for the public get time operation typically these are written to a http.Request

func NewPublicGetTimeParams

func NewPublicGetTimeParams() *PublicGetTimeParams

NewPublicGetTimeParams creates a new PublicGetTimeParams object with the default values initialized.

func NewPublicGetTimeParamsWithContext

func NewPublicGetTimeParamsWithContext(ctx context.Context) *PublicGetTimeParams

NewPublicGetTimeParamsWithContext creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetTimeParamsWithHTTPClient

func NewPublicGetTimeParamsWithHTTPClient(client *http.Client) *PublicGetTimeParams

NewPublicGetTimeParamsWithHTTPClient creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetTimeParamsWithTimeout

func NewPublicGetTimeParamsWithTimeout(timeout time.Duration) *PublicGetTimeParams

NewPublicGetTimeParamsWithTimeout creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetTimeParams) SetAuthInfoWriter

func (o *PublicGetTimeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get time params

func (*PublicGetTimeParams) SetContext

func (o *PublicGetTimeParams) SetContext(ctx context.Context)

SetContext adds the context to the public get time params

func (*PublicGetTimeParams) SetFlightId

func (o *PublicGetTimeParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetTimeParams) SetHTTPClient

func (o *PublicGetTimeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get time params

func (*PublicGetTimeParams) SetHTTPClientTransport

func (o *PublicGetTimeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get time params

func (*PublicGetTimeParams) SetTimeout

func (o *PublicGetTimeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get time params

func (*PublicGetTimeParams) WithContext

WithContext adds the context to the public get time params

func (*PublicGetTimeParams) WithHTTPClient

func (o *PublicGetTimeParams) WithHTTPClient(client *http.Client) *PublicGetTimeParams

WithHTTPClient adds the HTTPClient to the public get time params

func (*PublicGetTimeParams) WithTimeout

func (o *PublicGetTimeParams) WithTimeout(timeout time.Duration) *PublicGetTimeParams

WithTimeout adds the timeout to the public get time params

func (*PublicGetTimeParams) WriteToRequest

func (o *PublicGetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PublicGetTimeReader

type PublicGetTimeReader struct {
	// contains filtered or unexported fields
}

PublicGetTimeReader is a Reader for the PublicGetTime structure.

func (*PublicGetTimeReader) ReadResponse

func (o *PublicGetTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetTimeZonesBadRequest

type PublicGetTimeZonesBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetTimeZonesBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPublicGetTimeZonesBadRequest

func NewPublicGetTimeZonesBadRequest() *PublicGetTimeZonesBadRequest

NewPublicGetTimeZonesBadRequest creates a PublicGetTimeZonesBadRequest with default headers values

func (*PublicGetTimeZonesBadRequest) Error

func (*PublicGetTimeZonesBadRequest) GetPayload

func (*PublicGetTimeZonesBadRequest) ToJSONString

func (o *PublicGetTimeZonesBadRequest) ToJSONString() string

type PublicGetTimeZonesOK

type PublicGetTimeZonesOK struct {
	Payload []string
}

PublicGetTimeZonesOK handles this case with default header values.

successful operation

func NewPublicGetTimeZonesOK

func NewPublicGetTimeZonesOK() *PublicGetTimeZonesOK

NewPublicGetTimeZonesOK creates a PublicGetTimeZonesOK with default headers values

func (*PublicGetTimeZonesOK) Error

func (o *PublicGetTimeZonesOK) Error() string

func (*PublicGetTimeZonesOK) GetPayload

func (o *PublicGetTimeZonesOK) GetPayload() []string

func (*PublicGetTimeZonesOK) ToJSONString

func (o *PublicGetTimeZonesOK) ToJSONString() string

type PublicGetTimeZonesParams

type PublicGetTimeZonesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetTimeZonesParams contains all the parameters to send to the API endpoint for the public get time zones operation typically these are written to a http.Request

func NewPublicGetTimeZonesParams

func NewPublicGetTimeZonesParams() *PublicGetTimeZonesParams

NewPublicGetTimeZonesParams creates a new PublicGetTimeZonesParams object with the default values initialized.

func NewPublicGetTimeZonesParamsWithContext

func NewPublicGetTimeZonesParamsWithContext(ctx context.Context) *PublicGetTimeZonesParams

NewPublicGetTimeZonesParamsWithContext creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetTimeZonesParamsWithHTTPClient

func NewPublicGetTimeZonesParamsWithHTTPClient(client *http.Client) *PublicGetTimeZonesParams

NewPublicGetTimeZonesParamsWithHTTPClient creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetTimeZonesParamsWithTimeout

func NewPublicGetTimeZonesParamsWithTimeout(timeout time.Duration) *PublicGetTimeZonesParams

NewPublicGetTimeZonesParamsWithTimeout creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetTimeZonesParams) SetAuthInfoWriter

func (o *PublicGetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get time zones params

func (*PublicGetTimeZonesParams) SetContext

func (o *PublicGetTimeZonesParams) SetContext(ctx context.Context)

SetContext adds the context to the public get time zones params

func (*PublicGetTimeZonesParams) SetFlightId

func (o *PublicGetTimeZonesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetTimeZonesParams) SetHTTPClient

func (o *PublicGetTimeZonesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get time zones params

func (*PublicGetTimeZonesParams) SetHTTPClientTransport

func (o *PublicGetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get time zones params

func (*PublicGetTimeZonesParams) SetNamespace

func (o *PublicGetTimeZonesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get time zones params

func (*PublicGetTimeZonesParams) SetTimeout

func (o *PublicGetTimeZonesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get time zones params

func (*PublicGetTimeZonesParams) WithContext

WithContext adds the context to the public get time zones params

func (*PublicGetTimeZonesParams) WithHTTPClient

func (o *PublicGetTimeZonesParams) WithHTTPClient(client *http.Client) *PublicGetTimeZonesParams

WithHTTPClient adds the HTTPClient to the public get time zones params

func (*PublicGetTimeZonesParams) WithNamespace

func (o *PublicGetTimeZonesParams) WithNamespace(namespace string) *PublicGetTimeZonesParams

WithNamespace adds the namespace to the public get time zones params

func (*PublicGetTimeZonesParams) WithTimeout

WithTimeout adds the timeout to the public get time zones params

func (*PublicGetTimeZonesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetTimeZonesReader

type PublicGetTimeZonesReader struct {
	// contains filtered or unexported fields
}

PublicGetTimeZonesReader is a Reader for the PublicGetTimeZones structure.

func (*PublicGetTimeZonesReader) ReadResponse

func (o *PublicGetTimeZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetTimeZonesResponse

type PublicGetTimeZonesResponse struct {
	basicclientmodels.ApiResponse
	Data []string

	Error400 *basicclientmodels.ValidationErrorEntity
}

func (*PublicGetTimeZonesResponse) Unpack

type UpdateCountryGroupBadRequest

type UpdateCountryGroupBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateCountryGroupBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>11234</td><td>Unable to {action}: A country can't be assigned to more than one country group</td></tr></table>

func NewUpdateCountryGroupBadRequest

func NewUpdateCountryGroupBadRequest() *UpdateCountryGroupBadRequest

NewUpdateCountryGroupBadRequest creates a UpdateCountryGroupBadRequest with default headers values

func (*UpdateCountryGroupBadRequest) Error

func (*UpdateCountryGroupBadRequest) GetPayload

func (*UpdateCountryGroupBadRequest) ToJSONString

func (o *UpdateCountryGroupBadRequest) ToJSONString() string

type UpdateCountryGroupForbidden

type UpdateCountryGroupForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCountryGroupForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewUpdateCountryGroupForbidden

func NewUpdateCountryGroupForbidden() *UpdateCountryGroupForbidden

NewUpdateCountryGroupForbidden creates a UpdateCountryGroupForbidden with default headers values

func (*UpdateCountryGroupForbidden) Error

func (*UpdateCountryGroupForbidden) GetPayload

func (*UpdateCountryGroupForbidden) ToJSONString

func (o *UpdateCountryGroupForbidden) ToJSONString() string

type UpdateCountryGroupNotFound

type UpdateCountryGroupNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCountryGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11233</td><td>Unable to {action}: Country group with code [{countryGroupCode}] is not found</td></tr></table>

func NewUpdateCountryGroupNotFound

func NewUpdateCountryGroupNotFound() *UpdateCountryGroupNotFound

NewUpdateCountryGroupNotFound creates a UpdateCountryGroupNotFound with default headers values

func (*UpdateCountryGroupNotFound) Error

func (*UpdateCountryGroupNotFound) GetPayload

func (*UpdateCountryGroupNotFound) ToJSONString

func (o *UpdateCountryGroupNotFound) ToJSONString() string

type UpdateCountryGroupOK

type UpdateCountryGroupOK struct {
	Payload *basicclientmodels.CountryGroupObject
}

UpdateCountryGroupOK handles this case with default header values.

successful operation

func NewUpdateCountryGroupOK

func NewUpdateCountryGroupOK() *UpdateCountryGroupOK

NewUpdateCountryGroupOK creates a UpdateCountryGroupOK with default headers values

func (*UpdateCountryGroupOK) Error

func (o *UpdateCountryGroupOK) Error() string

func (*UpdateCountryGroupOK) GetPayload

func (*UpdateCountryGroupOK) ToJSONString

func (o *UpdateCountryGroupOK) ToJSONString() string

type UpdateCountryGroupParams

type UpdateCountryGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.UpdateCountryGroupRequest
	/*CountryGroupCode
	  groupCode, only accept alphabet and whitespace

	*/
	CountryGroupCode string
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateCountryGroupParams contains all the parameters to send to the API endpoint for the update country group operation typically these are written to a http.Request

func NewUpdateCountryGroupParams

func NewUpdateCountryGroupParams() *UpdateCountryGroupParams

NewUpdateCountryGroupParams creates a new UpdateCountryGroupParams object with the default values initialized.

func NewUpdateCountryGroupParamsWithContext

func NewUpdateCountryGroupParamsWithContext(ctx context.Context) *UpdateCountryGroupParams

NewUpdateCountryGroupParamsWithContext creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateCountryGroupParamsWithHTTPClient

func NewUpdateCountryGroupParamsWithHTTPClient(client *http.Client) *UpdateCountryGroupParams

NewUpdateCountryGroupParamsWithHTTPClient creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateCountryGroupParamsWithTimeout

func NewUpdateCountryGroupParamsWithTimeout(timeout time.Duration) *UpdateCountryGroupParams

NewUpdateCountryGroupParamsWithTimeout creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateCountryGroupParams) SetAuthInfoWriter

func (o *UpdateCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update country group params

func (*UpdateCountryGroupParams) SetBody

SetBody adds the body to the update country group params

func (*UpdateCountryGroupParams) SetContext

func (o *UpdateCountryGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the update country group params

func (*UpdateCountryGroupParams) SetCountryGroupCode

func (o *UpdateCountryGroupParams) SetCountryGroupCode(countryGroupCode string)

SetCountryGroupCode adds the countryGroupCode to the update country group params

func (*UpdateCountryGroupParams) SetFlightId

func (o *UpdateCountryGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateCountryGroupParams) SetHTTPClient

func (o *UpdateCountryGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update country group params

func (*UpdateCountryGroupParams) SetHTTPClientTransport

func (o *UpdateCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update country group params

func (*UpdateCountryGroupParams) SetNamespace

func (o *UpdateCountryGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update country group params

func (*UpdateCountryGroupParams) SetTimeout

func (o *UpdateCountryGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update country group params

func (*UpdateCountryGroupParams) WithBody

WithBody adds the body to the update country group params

func (*UpdateCountryGroupParams) WithContext

WithContext adds the context to the update country group params

func (*UpdateCountryGroupParams) WithCountryGroupCode

func (o *UpdateCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *UpdateCountryGroupParams

WithCountryGroupCode adds the countryGroupCode to the update country group params

func (*UpdateCountryGroupParams) WithHTTPClient

func (o *UpdateCountryGroupParams) WithHTTPClient(client *http.Client) *UpdateCountryGroupParams

WithHTTPClient adds the HTTPClient to the update country group params

func (*UpdateCountryGroupParams) WithNamespace

func (o *UpdateCountryGroupParams) WithNamespace(namespace string) *UpdateCountryGroupParams

WithNamespace adds the namespace to the update country group params

func (*UpdateCountryGroupParams) WithTimeout

WithTimeout adds the timeout to the update country group params

func (*UpdateCountryGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCountryGroupReader

type UpdateCountryGroupReader struct {
	// contains filtered or unexported fields
}

UpdateCountryGroupReader is a Reader for the UpdateCountryGroup structure.

func (*UpdateCountryGroupReader) ReadResponse

func (o *UpdateCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateCountryGroupUnauthorized

type UpdateCountryGroupUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateCountryGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewUpdateCountryGroupUnauthorized

func NewUpdateCountryGroupUnauthorized() *UpdateCountryGroupUnauthorized

NewUpdateCountryGroupUnauthorized creates a UpdateCountryGroupUnauthorized with default headers values

func (*UpdateCountryGroupUnauthorized) Error

func (*UpdateCountryGroupUnauthorized) GetPayload

func (*UpdateCountryGroupUnauthorized) ToJSONString

func (o *UpdateCountryGroupUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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