misc

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 15 Imported by: 0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 added in v0.25.0

func (o *AddCountryGroupUnauthorized) ToJSONString() string

type Client

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

Client for misc API

func (*Client) AddCountryGroup deprecated

Deprecated: 2022-08-10 - Use AddCountryGroupShort instead.

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

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=1 (CREATE)
  • Action code : 11201
  • Returns : newly created country group

func (*Client) AddCountryGroupShort added in v0.8.0

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

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

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=1 (CREATE)
  • Action code : 11201
  • Returns : newly created country group

func (*Client) DeleteCountryGroup deprecated

Deprecated: 2022-08-10 - Use DeleteCountryGroupShort instead.

DeleteCountryGroup delete a country group Delete a country groups by its country group code. This endpoint usually used for testing purpose to cleanup test data. Other detail info:

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=8 (DELETE)

func (*Client) DeleteCountryGroupShort added in v0.8.0

func (a *Client) DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, 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. Other detail info:

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=8 (DELETE)

func (*Client) GetCountries deprecated

Deprecated: 2022-08-10 - Use GetCountriesShort instead.

GetCountries list countries List countries. Other detail info:

  • Required permission : login user
  • Action code : 11204
  • Returns : country code list

func (*Client) GetCountriesShort added in v0.8.0

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

GetCountriesShort list countries List countries. Other detail info:

  • Required permission : login user
  • Action code : 11204
  • Returns : country code list

func (*Client) GetCountryGroups deprecated

Deprecated: 2022-08-10 - Use GetCountryGroupsShort instead.

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

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=2 (READ)
  • Action code : 11203
  • Returns : list of country groups

func (*Client) GetCountryGroupsShort added in v0.8.0

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

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

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=2 (READ)
  • Action code : 11203
  • Returns : list of country groups

func (*Client) GetLanguages deprecated

Deprecated: 2022-08-10 - Use GetLanguagesShort instead.

GetLanguages list languages. List languages. Other detail info:

  • Required permission : login user
  • Action code : 11206
  • Returns : language list

func (*Client) GetLanguagesShort added in v0.8.0

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

GetLanguagesShort list languages. List languages. Other detail info:

  • Required permission : login user
  • Action code : 11206
  • Returns : language list

func (*Client) GetTimeZones deprecated

Deprecated: 2022-08-10 - Use GetTimeZonesShort instead.

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

  • Required permission : login user
  • Action code : 11205
  • Returns : time zones

func (*Client) GetTimeZonesShort added in v0.8.0

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

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

  • Required permission : login user
  • Action code : 11205
  • Returns : time zones

func (*Client) PublicGetCountries deprecated

Deprecated: 2022-08-10 - Use PublicGetCountriesShort instead.

PublicGetCountries list countries List countries. Other detail info:

  • Returns : country code list

func (*Client) PublicGetCountriesShort added in v0.8.0

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

PublicGetCountriesShort list countries List countries. Other detail info:

  • Returns : country code list

func (*Client) PublicGetLanguages deprecated

Deprecated: 2022-08-10 - Use PublicGetLanguagesShort instead.

PublicGetLanguages list languages. List languages. Other detail info:

  • Returns : language list

func (*Client) PublicGetLanguagesShort added in v0.8.0

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

PublicGetLanguagesShort list languages. List languages. Other detail info:

  • Returns : language list

func (*Client) PublicGetTime deprecated added in v0.7.0

func (a *Client) PublicGetTime(params *PublicGetTimeParams) (*PublicGetTimeOK, error)

Deprecated: 2022-08-10 - Use PublicGetTimeShort instead.

PublicGetTime get server time Get server time

func (*Client) PublicGetTimeShort added in v0.8.0

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

PublicGetTimeShort get server time Get server time

func (*Client) PublicGetTimeZones deprecated

Deprecated: 2022-08-10 - Use PublicGetTimeZonesShort instead.

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

  • Returns : time zones

func (*Client) PublicGetTimeZonesShort added in v0.8.0

func (a *Client) PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, 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) UpdateCountryGroup deprecated

Deprecated: 2022-08-10 - Use UpdateCountryGroupShort instead.

UpdateCountryGroup 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:

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=4 (UPDATE)
  • Action code : 11202
  • Returns : updated country group

func (*Client) UpdateCountryGroupShort added in v0.8.0

func (a *Client) UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, 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:

  • Required permission : resource = "ADMIN:NAMESPACE:{namespace}:MISC" , action=4 (UPDATE)
  • Action code : 11202
  • Returns : updated country group

type ClientService

type ClientService interface {
	GetCountries(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, *GetCountriesBadRequest, *GetCountriesUnauthorized, error)
	GetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesOK, error)
	GetCountryGroups(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, *GetCountryGroupsBadRequest, *GetCountryGroupsUnauthorized, *GetCountryGroupsForbidden, *GetCountryGroupsNotFound, error)
	GetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsOK, error)
	AddCountryGroup(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, *AddCountryGroupBadRequest, *AddCountryGroupUnauthorized, *AddCountryGroupForbidden, *AddCountryGroupConflict, error)
	AddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupCreated, error)
	UpdateCountryGroup(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, *UpdateCountryGroupBadRequest, *UpdateCountryGroupUnauthorized, *UpdateCountryGroupForbidden, *UpdateCountryGroupNotFound, error)
	UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupOK, error)
	DeleteCountryGroup(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, *DeleteCountryGroupBadRequest, *DeleteCountryGroupUnauthorized, *DeleteCountryGroupForbidden, *DeleteCountryGroupNotFound, error)
	DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupOK, error)
	GetLanguages(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, *GetLanguagesBadRequest, *GetLanguagesUnauthorized, error)
	GetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesOK, error)
	GetTimeZones(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, *GetTimeZonesBadRequest, *GetTimeZonesUnauthorized, error)
	GetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesOK, error)
	PublicGetTime(params *PublicGetTimeParams) (*PublicGetTimeOK, error)
	PublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeOK, error)
	PublicGetCountries(params *PublicGetCountriesParams) (*PublicGetCountriesOK, *PublicGetCountriesBadRequest, error)
	PublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesOK, error)
	PublicGetLanguages(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, *PublicGetLanguagesBadRequest, error)
	PublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesOK, error)
	PublicGetTimeZones(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, *PublicGetTimeZonesBadRequest, error)
	PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesOK, 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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

func (o *DeleteCountryGroupNotFound) ToJSONString() string

type DeleteCountryGroupOK added in v0.7.0

type DeleteCountryGroupOK struct {
}

DeleteCountryGroupOK handles this case with default header values.

Successful operation

func NewDeleteCountryGroupOK added in v0.7.0

func NewDeleteCountryGroupOK() *DeleteCountryGroupOK

NewDeleteCountryGroupOK creates a DeleteCountryGroupOK with default headers values

func (*DeleteCountryGroupOK) Error added in v0.7.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

func (o *GetLanguagesBadRequest) ToJSONString() string

type GetLanguagesOK

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

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]interface{}

func (*GetLanguagesOK) ToJSONString added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 PublicGetTimeOK added in v0.7.0

type PublicGetTimeOK struct {
	Payload *basicclientmodels.RetrieveTimeResponse
}

PublicGetTimeOK handles this case with default header values.

Success retrieve server time

func NewPublicGetTimeOK added in v0.7.0

func NewPublicGetTimeOK() *PublicGetTimeOK

NewPublicGetTimeOK creates a PublicGetTimeOK with default headers values

func (*PublicGetTimeOK) Error added in v0.7.0

func (o *PublicGetTimeOK) Error() string

func (*PublicGetTimeOK) GetPayload added in v0.7.0

func (*PublicGetTimeOK) ToJSONString added in v0.25.0

func (o *PublicGetTimeOK) ToJSONString() string

type PublicGetTimeParams added in v0.7.0

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 added in v0.7.0

func NewPublicGetTimeParams() *PublicGetTimeParams

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

func NewPublicGetTimeParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public get time params

func (*PublicGetTimeParams) SetContext added in v0.7.0

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

SetContext adds the context to the public get time params

func (*PublicGetTimeParams) SetFlightId added in v0.63.0

func (o *PublicGetTimeParams) SetFlightId(flightId string)

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

func (*PublicGetTimeParams) SetHTTPClient added in v0.7.0

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

SetHTTPClient adds the HTTPClient to the public get time params

func (*PublicGetTimeParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public get time params

func (*PublicGetTimeParams) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the public get time params

func (*PublicGetTimeParams) WithContext added in v0.7.0

WithContext adds the context to the public get time params

func (*PublicGetTimeParams) WithHTTPClient added in v0.7.0

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

WithHTTPClient adds the HTTPClient to the public get time params

func (*PublicGetTimeParams) WithTimeout added in v0.7.0

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

WithTimeout adds the timeout to the public get time params

func (*PublicGetTimeParams) WriteToRequest added in v0.7.0

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

WriteToRequest writes these params to a swagger request

type PublicGetTimeReader added in v0.7.0

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

PublicGetTimeReader is a Reader for the PublicGetTime structure.

func (*PublicGetTimeReader) ReadResponse added in v0.7.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 added in v0.25.0

func (o *UpdateCountryGroupUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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