{"modulePath":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk","version":"v0.4.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package misc\n\n## Types\n\n```go\ntype AddCountryGroupBadRequest struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nAddCountryGroupBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20019\u003c/td\u003e\u003ctd\u003eunable to parse request body\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11234\u003c/td\u003e\u003ctd\u003eUnable to {action}: A country can't be assigned to more than one country group\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewAddCountryGroupBadRequest() *AddCountryGroupBadRequest\n```\nNewAddCountryGroupBadRequest creates a AddCountryGroupBadRequest with default headers values\n\n```go\nfunc (o *AddCountryGroupBadRequest) Error() string\n```\n\n```go\nfunc (o *AddCountryGroupBadRequest) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *AddCountryGroupBadRequest) ToJSONString() string\n```\n\n```go\ntype AddCountryGroupConflict struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nAddCountryGroupConflict handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11235\u003c/td\u003e\u003ctd\u003eUnable to {action}: Country group with specified code is already exist\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewAddCountryGroupConflict() *AddCountryGroupConflict\n```\nNewAddCountryGroupConflict creates a AddCountryGroupConflict with default headers values\n\n```go\nfunc (o *AddCountryGroupConflict) Error() string\n```\n\n```go\nfunc (o *AddCountryGroupConflict) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *AddCountryGroupConflict) ToJSONString() string\n```\n\n```go\ntype AddCountryGroupCreated struct {\n\tPayload *basicclientmodels.AddCountryGroupResponse\n}\n```\nAddCountryGroupCreated handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewAddCountryGroupCreated() *AddCountryGroupCreated\n```\nNewAddCountryGroupCreated creates a AddCountryGroupCreated with default headers values\n\n```go\nfunc (o *AddCountryGroupCreated) Error() string\n```\n\n```go\nfunc (o *AddCountryGroupCreated) GetPayload() *basicclientmodels.AddCountryGroupResponse\n```\n\n```go\nfunc (o *AddCountryGroupCreated) ToJSONString() string\n```\n\n```go\ntype AddCountryGroupForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nAddCountryGroupForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewAddCountryGroupForbidden() *AddCountryGroupForbidden\n```\nNewAddCountryGroupForbidden creates a AddCountryGroupForbidden with default headers values\n\n```go\nfunc (o *AddCountryGroupForbidden) Error() string\n```\n\n```go\nfunc (o *AddCountryGroupForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *AddCountryGroupForbidden) ToJSONString() string\n```\n\n```go\ntype AddCountryGroupParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Body*/\n\tBody *basicclientmodels.AddCountryGroupRequest\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nAddCountryGroupParams contains all the parameters to send to the API endpoint for the add country group operation typically these are written to a http.Request\n\n```go\nfunc NewAddCountryGroupParams() *AddCountryGroupParams\n```\nNewAddCountryGroupParams creates a new AddCountryGroupParams object with the default values initialized.\n\n```go\nfunc NewAddCountryGroupParamsWithContext(ctx context.Context) *AddCountryGroupParams\n```\nNewAddCountryGroupParamsWithContext creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewAddCountryGroupParamsWithHTTPClient(client *http.Client) *AddCountryGroupParams\n```\nNewAddCountryGroupParamsWithHTTPClient creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewAddCountryGroupParamsWithTimeout(timeout time.Duration) *AddCountryGroupParams\n```\nNewAddCountryGroupParamsWithTimeout creates a new AddCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *AddCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) SetBody(body *basicclientmodels.AddCountryGroupRequest)\n```\nSetBody adds the body to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *AddCountryGroupParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) WithBody(body *basicclientmodels.AddCountryGroupRequest) *AddCountryGroupParams\n```\nWithBody adds the body to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) WithContext(ctx context.Context) *AddCountryGroupParams\n```\nWithContext adds the context to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) WithHTTPClient(client *http.Client) *AddCountryGroupParams\n```\nWithHTTPClient adds the HTTPClient to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) WithNamespace(namespace string) *AddCountryGroupParams\n```\nWithNamespace adds the namespace to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) WithTimeout(timeout time.Duration) *AddCountryGroupParams\n```\nWithTimeout adds the timeout to the add country group params\n\n```go\nfunc (o *AddCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype AddCountryGroupReader struct {\n\t// contains filtered or unexported fields\n}\n```\nAddCountryGroupReader is a Reader for the AddCountryGroup structure.\n\n```go\nfunc (o *AddCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype AddCountryGroupResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData *basicclientmodels.AddCountryGroupResponse\n\n\tError400 *basicclientmodels.ErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError409 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *AddCountryGroupResponse) Unpack() (*basicclientmodels.AddCountryGroupResponse, *basicclientmodels.ApiError)\n```\n\n```go\ntype AddCountryGroupUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nAddCountryGroupUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewAddCountryGroupUnauthorized() *AddCountryGroupUnauthorized\n```\nNewAddCountryGroupUnauthorized creates a AddCountryGroupUnauthorized with default headers values\n\n```go\nfunc (o *AddCountryGroupUnauthorized) Error() string\n```\n\n```go\nfunc (o *AddCountryGroupUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *AddCountryGroupUnauthorized) ToJSONString() string\n```\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient for misc API\n\n```go\nfunc (a *Client) AddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupResponse, error)\n```\nAddCountryGroupShort add a country group Add a country groups Country code must follow ISO3166-1 alpha-2. Other detail info:\n\n  - Action code : 11201\n  - Returns : newly created country group\n\n```go\nfunc (a *Client) DeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupResponse, error)\n```\nDeleteCountryGroupShort delete a country group Delete a country groups by its country group code. This endpoint usually used for testing purpose to cleanup test data.\n\n```go\nfunc (a *Client) GetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesResponse, error)\n```\nGetCountriesShort list countries List countries. Other detail info:\n\n  - Action code : 11204\n  - Returns : country code list\n\n```go\nfunc (a *Client) GetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsResponse, error)\n```\nGetCountryGroupsShort list country groups List country groups. Will return all available country groups if the query param is not specified Other detail info:\n\n  - Action code : 11203\n  - Returns : list of country groups\n\n```go\nfunc (a *Client) GetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesResponse, error)\n```\nGetLanguagesShort list languages. List languages. Other detail info:\n\n  - Action code : 11206\n  - Returns : language list\n\n```go\nfunc (a *Client) GetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesResponse, error)\n```\nGetTimeZonesShort list time zones List time zones. Other detail info:\n\n  - Action code : 11205\n  - Returns : time zones\n\n```go\nfunc (a *Client) PublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesResponse, error)\n```\nPublicGetCountriesShort list countries List countries. Other detail info:\n\n  - Returns : country code list\n\n```go\nfunc (a *Client) PublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesResponse, error)\n```\nPublicGetLanguagesShort list languages. List languages. Other detail info:\n\n  - Returns : language list\n\n```go\nfunc (a *Client) PublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeResponse, error)\n```\nPublicGetTimeShort get server time Get server time\n\n```go\nfunc (a *Client) PublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesResponse, error)\n```\nPublicGetTimeZonesShort list time zones List time zones. Other detail info:\n\n  - Returns : time zones\n\n```go\nfunc (a *Client) SetTransport(transport runtime.ClientTransport)\n```\nSetTransport changes the transport on the client\n\n```go\nfunc (a *Client) UpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupResponse, error)\n```\nUpdateCountryGroupShort 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:\n\n  - Action code : 11202\n  - Returns : updated country group\n\n```go\ntype ClientService interface {\n\tGetCountriesShort(params *GetCountriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountriesResponse, error)\n\tGetCountryGroupsShort(params *GetCountryGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCountryGroupsResponse, error)\n\tAddCountryGroupShort(params *AddCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AddCountryGroupResponse, error)\n\tUpdateCountryGroupShort(params *UpdateCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCountryGroupResponse, error)\n\tDeleteCountryGroupShort(params *DeleteCountryGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCountryGroupResponse, error)\n\tGetLanguagesShort(params *GetLanguagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetLanguagesResponse, error)\n\tGetTimeZonesShort(params *GetTimeZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetTimeZonesResponse, error)\n\tPublicGetTimeShort(params *PublicGetTimeParams) (*PublicGetTimeResponse, error)\n\tPublicGetCountriesShort(params *PublicGetCountriesParams) (*PublicGetCountriesResponse, error)\n\tPublicGetLanguagesShort(params *PublicGetLanguagesParams) (*PublicGetLanguagesResponse, error)\n\tPublicGetTimeZonesShort(params *PublicGetTimeZonesParams) (*PublicGetTimeZonesResponse, error)\n\n\tSetTransport(transport runtime.ClientTransport)\n}\n```\nClientService is the interface for Client methods\n\n```go\nfunc New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService\n```\nNew creates a new misc API client.\n\n```go\ntype DeleteCountryGroupBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nDeleteCountryGroupBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewDeleteCountryGroupBadRequest() *DeleteCountryGroupBadRequest\n```\nNewDeleteCountryGroupBadRequest creates a DeleteCountryGroupBadRequest with default headers values\n\n```go\nfunc (o *DeleteCountryGroupBadRequest) Error() string\n```\n\n```go\nfunc (o *DeleteCountryGroupBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *DeleteCountryGroupBadRequest) ToJSONString() string\n```\n\n```go\ntype DeleteCountryGroupForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nDeleteCountryGroupForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewDeleteCountryGroupForbidden() *DeleteCountryGroupForbidden\n```\nNewDeleteCountryGroupForbidden creates a DeleteCountryGroupForbidden with default headers values\n\n```go\nfunc (o *DeleteCountryGroupForbidden) Error() string\n```\n\n```go\nfunc (o *DeleteCountryGroupForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *DeleteCountryGroupForbidden) ToJSONString() string\n```\n\n```go\ntype DeleteCountryGroupNotFound struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nDeleteCountryGroupNotFound handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11233\u003c/td\u003e\u003ctd\u003eUnable to {action}: Country group with code [{countryGroupCode}] is not found\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewDeleteCountryGroupNotFound() *DeleteCountryGroupNotFound\n```\nNewDeleteCountryGroupNotFound creates a DeleteCountryGroupNotFound with default headers values\n\n```go\nfunc (o *DeleteCountryGroupNotFound) Error() string\n```\n\n```go\nfunc (o *DeleteCountryGroupNotFound) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *DeleteCountryGroupNotFound) ToJSONString() string\n```\n\n```go\ntype DeleteCountryGroupOK struct {\n}\n```\nDeleteCountryGroupOK handles this case with default header values.\n\n\tSuccessful operation\n\n```go\nfunc NewDeleteCountryGroupOK() *DeleteCountryGroupOK\n```\nNewDeleteCountryGroupOK creates a DeleteCountryGroupOK with default headers values\n\n```go\nfunc (o *DeleteCountryGroupOK) Error() string\n```\n\n```go\ntype DeleteCountryGroupParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*CountryGroupCode\n\t  groupCode, only accept alphabet and whitespace\n\n\t*/\n\tCountryGroupCode string\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nDeleteCountryGroupParams contains all the parameters to send to the API endpoint for the delete country group operation typically these are written to a http.Request\n\n```go\nfunc NewDeleteCountryGroupParams() *DeleteCountryGroupParams\n```\nNewDeleteCountryGroupParams creates a new DeleteCountryGroupParams object with the default values initialized.\n\n```go\nfunc NewDeleteCountryGroupParamsWithContext(ctx context.Context) *DeleteCountryGroupParams\n```\nNewDeleteCountryGroupParamsWithContext creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewDeleteCountryGroupParamsWithHTTPClient(client *http.Client) *DeleteCountryGroupParams\n```\nNewDeleteCountryGroupParamsWithHTTPClient creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewDeleteCountryGroupParamsWithTimeout(timeout time.Duration) *DeleteCountryGroupParams\n```\nNewDeleteCountryGroupParamsWithTimeout creates a new DeleteCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *DeleteCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) SetCountryGroupCode(countryGroupCode string)\n```\nSetCountryGroupCode adds the countryGroupCode to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *DeleteCountryGroupParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) WithContext(ctx context.Context) *DeleteCountryGroupParams\n```\nWithContext adds the context to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *DeleteCountryGroupParams\n```\nWithCountryGroupCode adds the countryGroupCode to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) WithHTTPClient(client *http.Client) *DeleteCountryGroupParams\n```\nWithHTTPClient adds the HTTPClient to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) WithNamespace(namespace string) *DeleteCountryGroupParams\n```\nWithNamespace adds the namespace to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) WithTimeout(timeout time.Duration) *DeleteCountryGroupParams\n```\nWithTimeout adds the timeout to the delete country group params\n\n```go\nfunc (o *DeleteCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype DeleteCountryGroupReader struct {\n\t// contains filtered or unexported fields\n}\n```\nDeleteCountryGroupReader is a Reader for the DeleteCountryGroup structure.\n\n```go\nfunc (o *DeleteCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype DeleteCountryGroupResponse struct {\n\tbasicclientmodels.ApiResponse\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError404 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *DeleteCountryGroupResponse) Unpack() *basicclientmodels.ApiError\n```\n\n```go\ntype DeleteCountryGroupUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nDeleteCountryGroupUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewDeleteCountryGroupUnauthorized() *DeleteCountryGroupUnauthorized\n```\nNewDeleteCountryGroupUnauthorized creates a DeleteCountryGroupUnauthorized with default headers values\n\n```go\nfunc (o *DeleteCountryGroupUnauthorized) Error() string\n```\n\n```go\nfunc (o *DeleteCountryGroupUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *DeleteCountryGroupUnauthorized) ToJSONString() string\n```\n\n```go\ntype GetCountriesBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nGetCountriesBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetCountriesBadRequest() *GetCountriesBadRequest\n```\nNewGetCountriesBadRequest creates a GetCountriesBadRequest with default headers values\n\n```go\nfunc (o *GetCountriesBadRequest) Error() string\n```\n\n```go\nfunc (o *GetCountriesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *GetCountriesBadRequest) ToJSONString() string\n```\n\n```go\ntype GetCountriesOK struct {\n\tPayload []*basicclientmodels.CountryObject\n}\n```\nGetCountriesOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewGetCountriesOK() *GetCountriesOK\n```\nNewGetCountriesOK creates a GetCountriesOK with default headers values\n\n```go\nfunc (o *GetCountriesOK) Error() string\n```\n\n```go\nfunc (o *GetCountriesOK) GetPayload() []*basicclientmodels.CountryObject\n```\n\n```go\nfunc (o *GetCountriesOK) ToJSONString() string\n```\n\n```go\ntype GetCountriesParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*Lang\n\t  language value from language tag, allowed format: en, en-US\n\n\t*/\n\tLang *string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nGetCountriesParams contains all the parameters to send to the API endpoint for the get countries operation typically these are written to a http.Request\n\n```go\nfunc NewGetCountriesParams() *GetCountriesParams\n```\nNewGetCountriesParams creates a new GetCountriesParams object with the default values initialized.\n\n```go\nfunc NewGetCountriesParamsWithContext(ctx context.Context) *GetCountriesParams\n```\nNewGetCountriesParamsWithContext creates a new GetCountriesParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewGetCountriesParamsWithHTTPClient(client *http.Client) *GetCountriesParams\n```\nNewGetCountriesParamsWithHTTPClient creates a new GetCountriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewGetCountriesParamsWithTimeout(timeout time.Duration) *GetCountriesParams\n```\nNewGetCountriesParamsWithTimeout creates a new GetCountriesParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *GetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the get countries params\n\n```go\nfunc (o *GetCountriesParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the get countries params\n\n```go\nfunc (o *GetCountriesParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *GetCountriesParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the get countries params\n\n```go\nfunc (o *GetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the get countries params\n\n```go\nfunc (o *GetCountriesParams) SetLang(lang *string)\n```\nSetLang adds the lang to the get countries params\n\n```go\nfunc (o *GetCountriesParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the get countries params\n\n```go\nfunc (o *GetCountriesParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the get countries params\n\n```go\nfunc (o *GetCountriesParams) WithContext(ctx context.Context) *GetCountriesParams\n```\nWithContext adds the context to the get countries params\n\n```go\nfunc (o *GetCountriesParams) WithHTTPClient(client *http.Client) *GetCountriesParams\n```\nWithHTTPClient adds the HTTPClient to the get countries params\n\n```go\nfunc (o *GetCountriesParams) WithLang(lang *string) *GetCountriesParams\n```\nWithLang adds the lang to the get countries params\n\n```go\nfunc (o *GetCountriesParams) WithNamespace(namespace string) *GetCountriesParams\n```\nWithNamespace adds the namespace to the get countries params\n\n```go\nfunc (o *GetCountriesParams) WithTimeout(timeout time.Duration) *GetCountriesParams\n```\nWithTimeout adds the timeout to the get countries params\n\n```go\nfunc (o *GetCountriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype GetCountriesReader struct {\n\t// contains filtered or unexported fields\n}\n```\nGetCountriesReader is a Reader for the GetCountries structure.\n\n```go\nfunc (o *GetCountriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype GetCountriesResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData []*basicclientmodels.CountryObject\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *GetCountriesResponse) Unpack() ([]*basicclientmodels.CountryObject, *basicclientmodels.ApiError)\n```\n\n```go\ntype GetCountriesUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGetCountriesUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetCountriesUnauthorized() *GetCountriesUnauthorized\n```\nNewGetCountriesUnauthorized creates a GetCountriesUnauthorized with default headers values\n\n```go\nfunc (o *GetCountriesUnauthorized) Error() string\n```\n\n```go\nfunc (o *GetCountriesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GetCountriesUnauthorized) ToJSONString() string\n```\n\n```go\ntype GetCountryGroupsBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nGetCountryGroupsBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetCountryGroupsBadRequest() *GetCountryGroupsBadRequest\n```\nNewGetCountryGroupsBadRequest creates a GetCountryGroupsBadRequest with default headers values\n\n```go\nfunc (o *GetCountryGroupsBadRequest) Error() string\n```\n\n```go\nfunc (o *GetCountryGroupsBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *GetCountryGroupsBadRequest) ToJSONString() string\n```\n\n```go\ntype GetCountryGroupsForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGetCountryGroupsForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetCountryGroupsForbidden() *GetCountryGroupsForbidden\n```\nNewGetCountryGroupsForbidden creates a GetCountryGroupsForbidden with default headers values\n\n```go\nfunc (o *GetCountryGroupsForbidden) Error() string\n```\n\n```go\nfunc (o *GetCountryGroupsForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GetCountryGroupsForbidden) ToJSONString() string\n```\n\n```go\ntype GetCountryGroupsNotFound struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGetCountryGroupsNotFound handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11233\u003c/td\u003e\u003ctd\u003eUnable to {action}: Country group with code [{countryGroupCode}] is not found\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetCountryGroupsNotFound() *GetCountryGroupsNotFound\n```\nNewGetCountryGroupsNotFound creates a GetCountryGroupsNotFound with default headers values\n\n```go\nfunc (o *GetCountryGroupsNotFound) Error() string\n```\n\n```go\nfunc (o *GetCountryGroupsNotFound) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GetCountryGroupsNotFound) ToJSONString() string\n```\n\n```go\ntype GetCountryGroupsOK struct {\n\tPayload []*basicclientmodels.RetrieveCountryGroupResponse\n}\n```\nGetCountryGroupsOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewGetCountryGroupsOK() *GetCountryGroupsOK\n```\nNewGetCountryGroupsOK creates a GetCountryGroupsOK with default headers values\n\n```go\nfunc (o *GetCountryGroupsOK) Error() string\n```\n\n```go\nfunc (o *GetCountryGroupsOK) GetPayload() []*basicclientmodels.RetrieveCountryGroupResponse\n```\n\n```go\nfunc (o *GetCountryGroupsOK) ToJSONString() string\n```\n\n```go\ntype GetCountryGroupsParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*GroupCode\n\t  groupCode, only accept alphabet and whitespace\n\n\t*/\n\tGroupCode *string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nGetCountryGroupsParams contains all the parameters to send to the API endpoint for the get country groups operation typically these are written to a http.Request\n\n```go\nfunc NewGetCountryGroupsParams() *GetCountryGroupsParams\n```\nNewGetCountryGroupsParams creates a new GetCountryGroupsParams object with the default values initialized.\n\n```go\nfunc NewGetCountryGroupsParamsWithContext(ctx context.Context) *GetCountryGroupsParams\n```\nNewGetCountryGroupsParamsWithContext creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewGetCountryGroupsParamsWithHTTPClient(client *http.Client) *GetCountryGroupsParams\n```\nNewGetCountryGroupsParamsWithHTTPClient creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewGetCountryGroupsParamsWithTimeout(timeout time.Duration) *GetCountryGroupsParams\n```\nNewGetCountryGroupsParamsWithTimeout creates a new GetCountryGroupsParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *GetCountryGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *GetCountryGroupsParams) SetGroupCode(groupCode *string)\n```\nSetGroupCode adds the groupCode to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) WithContext(ctx context.Context) *GetCountryGroupsParams\n```\nWithContext adds the context to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) WithGroupCode(groupCode *string) *GetCountryGroupsParams\n```\nWithGroupCode adds the groupCode to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) WithHTTPClient(client *http.Client) *GetCountryGroupsParams\n```\nWithHTTPClient adds the HTTPClient to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) WithNamespace(namespace string) *GetCountryGroupsParams\n```\nWithNamespace adds the namespace to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) WithTimeout(timeout time.Duration) *GetCountryGroupsParams\n```\nWithTimeout adds the timeout to the get country groups params\n\n```go\nfunc (o *GetCountryGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype GetCountryGroupsReader struct {\n\t// contains filtered or unexported fields\n}\n```\nGetCountryGroupsReader is a Reader for the GetCountryGroups structure.\n\n```go\nfunc (o *GetCountryGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype GetCountryGroupsResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData []*basicclientmodels.RetrieveCountryGroupResponse\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError404 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *GetCountryGroupsResponse) Unpack() ([]*basicclientmodels.RetrieveCountryGroupResponse, *basicclientmodels.ApiError)\n```\n\n```go\ntype GetCountryGroupsUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGetCountryGroupsUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetCountryGroupsUnauthorized() *GetCountryGroupsUnauthorized\n```\nNewGetCountryGroupsUnauthorized creates a GetCountryGroupsUnauthorized with default headers values\n\n```go\nfunc (o *GetCountryGroupsUnauthorized) Error() string\n```\n\n```go\nfunc (o *GetCountryGroupsUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GetCountryGroupsUnauthorized) ToJSONString() string\n```\n\n```go\ntype GetLanguagesBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nGetLanguagesBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetLanguagesBadRequest() *GetLanguagesBadRequest\n```\nNewGetLanguagesBadRequest creates a GetLanguagesBadRequest with default headers values\n\n```go\nfunc (o *GetLanguagesBadRequest) Error() string\n```\n\n```go\nfunc (o *GetLanguagesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *GetLanguagesBadRequest) ToJSONString() string\n```\n\n```go\ntype GetLanguagesOK struct {\n\tPayload map[string]string\n}\n```\nGetLanguagesOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewGetLanguagesOK() *GetLanguagesOK\n```\nNewGetLanguagesOK creates a GetLanguagesOK with default headers values\n\n```go\nfunc (o *GetLanguagesOK) Error() string\n```\n\n```go\nfunc (o *GetLanguagesOK) GetPayload() map[string]string\n```\n\n```go\nfunc (o *GetLanguagesOK) ToJSONString() string\n```\n\n```go\ntype GetLanguagesParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nGetLanguagesParams contains all the parameters to send to the API endpoint for the get languages operation typically these are written to a http.Request\n\n```go\nfunc NewGetLanguagesParams() *GetLanguagesParams\n```\nNewGetLanguagesParams creates a new GetLanguagesParams object with the default values initialized.\n\n```go\nfunc NewGetLanguagesParamsWithContext(ctx context.Context) *GetLanguagesParams\n```\nNewGetLanguagesParamsWithContext creates a new GetLanguagesParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewGetLanguagesParamsWithHTTPClient(client *http.Client) *GetLanguagesParams\n```\nNewGetLanguagesParamsWithHTTPClient creates a new GetLanguagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewGetLanguagesParamsWithTimeout(timeout time.Duration) *GetLanguagesParams\n```\nNewGetLanguagesParamsWithTimeout creates a new GetLanguagesParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *GetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *GetLanguagesParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) WithContext(ctx context.Context) *GetLanguagesParams\n```\nWithContext adds the context to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) WithHTTPClient(client *http.Client) *GetLanguagesParams\n```\nWithHTTPClient adds the HTTPClient to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) WithNamespace(namespace string) *GetLanguagesParams\n```\nWithNamespace adds the namespace to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) WithTimeout(timeout time.Duration) *GetLanguagesParams\n```\nWithTimeout adds the timeout to the get languages params\n\n```go\nfunc (o *GetLanguagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype GetLanguagesReader struct {\n\t// contains filtered or unexported fields\n}\n```\nGetLanguagesReader is a Reader for the GetLanguages structure.\n\n```go\nfunc (o *GetLanguagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype GetLanguagesResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData map[string]string\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *GetLanguagesResponse) Unpack() (map[string]string, *basicclientmodels.ApiError)\n```\n\n```go\ntype GetLanguagesUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGetLanguagesUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetLanguagesUnauthorized() *GetLanguagesUnauthorized\n```\nNewGetLanguagesUnauthorized creates a GetLanguagesUnauthorized with default headers values\n\n```go\nfunc (o *GetLanguagesUnauthorized) Error() string\n```\n\n```go\nfunc (o *GetLanguagesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GetLanguagesUnauthorized) ToJSONString() string\n```\n\n```go\ntype GetTimeZonesBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nGetTimeZonesBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetTimeZonesBadRequest() *GetTimeZonesBadRequest\n```\nNewGetTimeZonesBadRequest creates a GetTimeZonesBadRequest with default headers values\n\n```go\nfunc (o *GetTimeZonesBadRequest) Error() string\n```\n\n```go\nfunc (o *GetTimeZonesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *GetTimeZonesBadRequest) ToJSONString() string\n```\n\n```go\ntype GetTimeZonesOK struct {\n\tPayload []string\n}\n```\nGetTimeZonesOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewGetTimeZonesOK() *GetTimeZonesOK\n```\nNewGetTimeZonesOK creates a GetTimeZonesOK with default headers values\n\n```go\nfunc (o *GetTimeZonesOK) Error() string\n```\n\n```go\nfunc (o *GetTimeZonesOK) GetPayload() []string\n```\n\n```go\nfunc (o *GetTimeZonesOK) ToJSONString() string\n```\n\n```go\ntype GetTimeZonesParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nGetTimeZonesParams contains all the parameters to send to the API endpoint for the get time zones operation typically these are written to a http.Request\n\n```go\nfunc NewGetTimeZonesParams() *GetTimeZonesParams\n```\nNewGetTimeZonesParams creates a new GetTimeZonesParams object with the default values initialized.\n\n```go\nfunc NewGetTimeZonesParamsWithContext(ctx context.Context) *GetTimeZonesParams\n```\nNewGetTimeZonesParamsWithContext creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewGetTimeZonesParamsWithHTTPClient(client *http.Client) *GetTimeZonesParams\n```\nNewGetTimeZonesParamsWithHTTPClient creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewGetTimeZonesParamsWithTimeout(timeout time.Duration) *GetTimeZonesParams\n```\nNewGetTimeZonesParamsWithTimeout creates a new GetTimeZonesParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *GetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *GetTimeZonesParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) WithContext(ctx context.Context) *GetTimeZonesParams\n```\nWithContext adds the context to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) WithHTTPClient(client *http.Client) *GetTimeZonesParams\n```\nWithHTTPClient adds the HTTPClient to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) WithNamespace(namespace string) *GetTimeZonesParams\n```\nWithNamespace adds the namespace to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) WithTimeout(timeout time.Duration) *GetTimeZonesParams\n```\nWithTimeout adds the timeout to the get time zones params\n\n```go\nfunc (o *GetTimeZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype GetTimeZonesReader struct {\n\t// contains filtered or unexported fields\n}\n```\nGetTimeZonesReader is a Reader for the GetTimeZones structure.\n\n```go\nfunc (o *GetTimeZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype GetTimeZonesResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData []string\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *GetTimeZonesResponse) Unpack() ([]string, *basicclientmodels.ApiError)\n```\n\n```go\ntype GetTimeZonesUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nGetTimeZonesUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewGetTimeZonesUnauthorized() *GetTimeZonesUnauthorized\n```\nNewGetTimeZonesUnauthorized creates a GetTimeZonesUnauthorized with default headers values\n\n```go\nfunc (o *GetTimeZonesUnauthorized) Error() string\n```\n\n```go\nfunc (o *GetTimeZonesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *GetTimeZonesUnauthorized) ToJSONString() string\n```\n\n```go\ntype PublicGetCountriesBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nPublicGetCountriesBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGetCountriesBadRequest() *PublicGetCountriesBadRequest\n```\nNewPublicGetCountriesBadRequest creates a PublicGetCountriesBadRequest with default headers values\n\n```go\nfunc (o *PublicGetCountriesBadRequest) Error() string\n```\n\n```go\nfunc (o *PublicGetCountriesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *PublicGetCountriesBadRequest) ToJSONString() string\n```\n\n```go\ntype PublicGetCountriesOK struct {\n\tPayload []*basicclientmodels.CountryObject\n}\n```\nPublicGetCountriesOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewPublicGetCountriesOK() *PublicGetCountriesOK\n```\nNewPublicGetCountriesOK creates a PublicGetCountriesOK with default headers values\n\n```go\nfunc (o *PublicGetCountriesOK) Error() string\n```\n\n```go\nfunc (o *PublicGetCountriesOK) GetPayload() []*basicclientmodels.CountryObject\n```\n\n```go\nfunc (o *PublicGetCountriesOK) ToJSONString() string\n```\n\n```go\ntype PublicGetCountriesParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\t/*Lang\n\t  language value from language tag, allowed format: en, en-US\n\n\t*/\n\tLang *string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nPublicGetCountriesParams contains all the parameters to send to the API endpoint for the public get countries operation typically these are written to a http.Request\n\n```go\nfunc NewPublicGetCountriesParams() *PublicGetCountriesParams\n```\nNewPublicGetCountriesParams creates a new PublicGetCountriesParams object with the default values initialized.\n\n```go\nfunc NewPublicGetCountriesParamsWithContext(ctx context.Context) *PublicGetCountriesParams\n```\nNewPublicGetCountriesParamsWithContext creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewPublicGetCountriesParamsWithHTTPClient(client *http.Client) *PublicGetCountriesParams\n```\nNewPublicGetCountriesParamsWithHTTPClient creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewPublicGetCountriesParamsWithTimeout(timeout time.Duration) *PublicGetCountriesParams\n```\nNewPublicGetCountriesParamsWithTimeout creates a new PublicGetCountriesParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *PublicGetCountriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *PublicGetCountriesParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) SetLang(lang *string)\n```\nSetLang adds the lang to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) WithContext(ctx context.Context) *PublicGetCountriesParams\n```\nWithContext adds the context to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) WithHTTPClient(client *http.Client) *PublicGetCountriesParams\n```\nWithHTTPClient adds the HTTPClient to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) WithLang(lang *string) *PublicGetCountriesParams\n```\nWithLang adds the lang to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) WithNamespace(namespace string) *PublicGetCountriesParams\n```\nWithNamespace adds the namespace to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) WithTimeout(timeout time.Duration) *PublicGetCountriesParams\n```\nWithTimeout adds the timeout to the public get countries params\n\n```go\nfunc (o *PublicGetCountriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype PublicGetCountriesReader struct {\n\t// contains filtered or unexported fields\n}\n```\nPublicGetCountriesReader is a Reader for the PublicGetCountries structure.\n\n```go\nfunc (o *PublicGetCountriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype PublicGetCountriesResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData []*basicclientmodels.CountryObject\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n}\n```\n\n```go\nfunc (m *PublicGetCountriesResponse) Unpack() ([]*basicclientmodels.CountryObject, *basicclientmodels.ApiError)\n```\n\n```go\ntype PublicGetLanguagesBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nPublicGetLanguagesBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGetLanguagesBadRequest() *PublicGetLanguagesBadRequest\n```\nNewPublicGetLanguagesBadRequest creates a PublicGetLanguagesBadRequest with default headers values\n\n```go\nfunc (o *PublicGetLanguagesBadRequest) Error() string\n```\n\n```go\nfunc (o *PublicGetLanguagesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *PublicGetLanguagesBadRequest) ToJSONString() string\n```\n\n```go\ntype PublicGetLanguagesOK struct {\n\tPayload map[string]interface{}\n}\n```\nPublicGetLanguagesOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewPublicGetLanguagesOK() *PublicGetLanguagesOK\n```\nNewPublicGetLanguagesOK creates a PublicGetLanguagesOK with default headers values\n\n```go\nfunc (o *PublicGetLanguagesOK) Error() string\n```\n\n```go\nfunc (o *PublicGetLanguagesOK) GetPayload() map[string]interface{}\n```\n\n```go\nfunc (o *PublicGetLanguagesOK) ToJSONString() string\n```\n\n```go\ntype PublicGetLanguagesParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nPublicGetLanguagesParams contains all the parameters to send to the API endpoint for the public get languages operation typically these are written to a http.Request\n\n```go\nfunc NewPublicGetLanguagesParams() *PublicGetLanguagesParams\n```\nNewPublicGetLanguagesParams creates a new PublicGetLanguagesParams object with the default values initialized.\n\n```go\nfunc NewPublicGetLanguagesParamsWithContext(ctx context.Context) *PublicGetLanguagesParams\n```\nNewPublicGetLanguagesParamsWithContext creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewPublicGetLanguagesParamsWithHTTPClient(client *http.Client) *PublicGetLanguagesParams\n```\nNewPublicGetLanguagesParamsWithHTTPClient creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewPublicGetLanguagesParamsWithTimeout(timeout time.Duration) *PublicGetLanguagesParams\n```\nNewPublicGetLanguagesParamsWithTimeout creates a new PublicGetLanguagesParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *PublicGetLanguagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *PublicGetLanguagesParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) WithContext(ctx context.Context) *PublicGetLanguagesParams\n```\nWithContext adds the context to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) WithHTTPClient(client *http.Client) *PublicGetLanguagesParams\n```\nWithHTTPClient adds the HTTPClient to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) WithNamespace(namespace string) *PublicGetLanguagesParams\n```\nWithNamespace adds the namespace to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) WithTimeout(timeout time.Duration) *PublicGetLanguagesParams\n```\nWithTimeout adds the timeout to the public get languages params\n\n```go\nfunc (o *PublicGetLanguagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype PublicGetLanguagesReader struct {\n\t// contains filtered or unexported fields\n}\n```\nPublicGetLanguagesReader is a Reader for the PublicGetLanguages structure.\n\n```go\nfunc (o *PublicGetLanguagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype PublicGetLanguagesResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData map[string]interface{}\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n}\n```\n\n```go\nfunc (m *PublicGetLanguagesResponse) Unpack() (map[string]interface{}, *basicclientmodels.ApiError)\n```\n\n```go\ntype PublicGetTimeOK struct {\n\tPayload *basicclientmodels.RetrieveTimeResponse\n}\n```\nPublicGetTimeOK handles this case with default header values.\n\n\tSuccess retrieve server time\n\n```go\nfunc NewPublicGetTimeOK() *PublicGetTimeOK\n```\nNewPublicGetTimeOK creates a PublicGetTimeOK with default headers values\n\n```go\nfunc (o *PublicGetTimeOK) Error() string\n```\n\n```go\nfunc (o *PublicGetTimeOK) GetPayload() *basicclientmodels.RetrieveTimeResponse\n```\n\n```go\nfunc (o *PublicGetTimeOK) ToJSONString() string\n```\n\n```go\ntype PublicGetTimeParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nPublicGetTimeParams contains all the parameters to send to the API endpoint for the public get time operation typically these are written to a http.Request\n\n```go\nfunc NewPublicGetTimeParams() *PublicGetTimeParams\n```\nNewPublicGetTimeParams creates a new PublicGetTimeParams object with the default values initialized.\n\n```go\nfunc NewPublicGetTimeParamsWithContext(ctx context.Context) *PublicGetTimeParams\n```\nNewPublicGetTimeParamsWithContext creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewPublicGetTimeParamsWithHTTPClient(client *http.Client) *PublicGetTimeParams\n```\nNewPublicGetTimeParamsWithHTTPClient creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewPublicGetTimeParamsWithTimeout(timeout time.Duration) *PublicGetTimeParams\n```\nNewPublicGetTimeParamsWithTimeout creates a new PublicGetTimeParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *PublicGetTimeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *PublicGetTimeParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) WithContext(ctx context.Context) *PublicGetTimeParams\n```\nWithContext adds the context to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) WithHTTPClient(client *http.Client) *PublicGetTimeParams\n```\nWithHTTPClient adds the HTTPClient to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) WithTimeout(timeout time.Duration) *PublicGetTimeParams\n```\nWithTimeout adds the timeout to the public get time params\n\n```go\nfunc (o *PublicGetTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype PublicGetTimeReader struct {\n\t// contains filtered or unexported fields\n}\n```\nPublicGetTimeReader is a Reader for the PublicGetTime structure.\n\n```go\nfunc (o *PublicGetTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype PublicGetTimeResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData *basicclientmodels.RetrieveTimeResponse\n}\n```\n\n```go\nfunc (m *PublicGetTimeResponse) Unpack() (*basicclientmodels.RetrieveTimeResponse, *basicclientmodels.ApiError)\n```\n\n```go\ntype PublicGetTimeZonesBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nPublicGetTimeZonesBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewPublicGetTimeZonesBadRequest() *PublicGetTimeZonesBadRequest\n```\nNewPublicGetTimeZonesBadRequest creates a PublicGetTimeZonesBadRequest with default headers values\n\n```go\nfunc (o *PublicGetTimeZonesBadRequest) Error() string\n```\n\n```go\nfunc (o *PublicGetTimeZonesBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *PublicGetTimeZonesBadRequest) ToJSONString() string\n```\n\n```go\ntype PublicGetTimeZonesOK struct {\n\tPayload []string\n}\n```\nPublicGetTimeZonesOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewPublicGetTimeZonesOK() *PublicGetTimeZonesOK\n```\nNewPublicGetTimeZonesOK creates a PublicGetTimeZonesOK with default headers values\n\n```go\nfunc (o *PublicGetTimeZonesOK) Error() string\n```\n\n```go\nfunc (o *PublicGetTimeZonesOK) GetPayload() []string\n```\n\n```go\nfunc (o *PublicGetTimeZonesOK) ToJSONString() string\n```\n\n```go\ntype PublicGetTimeZonesParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nPublicGetTimeZonesParams 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\n\n```go\nfunc NewPublicGetTimeZonesParams() *PublicGetTimeZonesParams\n```\nNewPublicGetTimeZonesParams creates a new PublicGetTimeZonesParams object with the default values initialized.\n\n```go\nfunc NewPublicGetTimeZonesParamsWithContext(ctx context.Context) *PublicGetTimeZonesParams\n```\nNewPublicGetTimeZonesParamsWithContext creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewPublicGetTimeZonesParamsWithHTTPClient(client *http.Client) *PublicGetTimeZonesParams\n```\nNewPublicGetTimeZonesParamsWithHTTPClient creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewPublicGetTimeZonesParamsWithTimeout(timeout time.Duration) *PublicGetTimeZonesParams\n```\nNewPublicGetTimeZonesParamsWithTimeout creates a new PublicGetTimeZonesParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *PublicGetTimeZonesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *PublicGetTimeZonesParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) WithContext(ctx context.Context) *PublicGetTimeZonesParams\n```\nWithContext adds the context to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) WithHTTPClient(client *http.Client) *PublicGetTimeZonesParams\n```\nWithHTTPClient adds the HTTPClient to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) WithNamespace(namespace string) *PublicGetTimeZonesParams\n```\nWithNamespace adds the namespace to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) WithTimeout(timeout time.Duration) *PublicGetTimeZonesParams\n```\nWithTimeout adds the timeout to the public get time zones params\n\n```go\nfunc (o *PublicGetTimeZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype PublicGetTimeZonesReader struct {\n\t// contains filtered or unexported fields\n}\n```\nPublicGetTimeZonesReader is a Reader for the PublicGetTimeZones structure.\n\n```go\nfunc (o *PublicGetTimeZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype PublicGetTimeZonesResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData []string\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n}\n```\n\n```go\nfunc (m *PublicGetTimeZonesResponse) Unpack() ([]string, *basicclientmodels.ApiError)\n```\n\n```go\ntype UpdateCountryGroupBadRequest struct {\n\tPayload *basicclientmodels.ValidationErrorEntity\n}\n```\nUpdateCountryGroupBadRequest handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20002\u003c/td\u003e\u003ctd\u003evalidation error\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20019\u003c/td\u003e\u003ctd\u003eunable to parse request body\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11234\u003c/td\u003e\u003ctd\u003eUnable to {action}: A country can't be assigned to more than one country group\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewUpdateCountryGroupBadRequest() *UpdateCountryGroupBadRequest\n```\nNewUpdateCountryGroupBadRequest creates a UpdateCountryGroupBadRequest with default headers values\n\n```go\nfunc (o *UpdateCountryGroupBadRequest) Error() string\n```\n\n```go\nfunc (o *UpdateCountryGroupBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity\n```\n\n```go\nfunc (o *UpdateCountryGroupBadRequest) ToJSONString() string\n```\n\n```go\ntype UpdateCountryGroupForbidden struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nUpdateCountryGroupForbidden handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20013\u003c/td\u003e\u003ctd\u003einsufficient permission\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewUpdateCountryGroupForbidden() *UpdateCountryGroupForbidden\n```\nNewUpdateCountryGroupForbidden creates a UpdateCountryGroupForbidden with default headers values\n\n```go\nfunc (o *UpdateCountryGroupForbidden) Error() string\n```\n\n```go\nfunc (o *UpdateCountryGroupForbidden) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *UpdateCountryGroupForbidden) ToJSONString() string\n```\n\n```go\ntype UpdateCountryGroupNotFound struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nUpdateCountryGroupNotFound handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e11233\u003c/td\u003e\u003ctd\u003eUnable to {action}: Country group with code [{countryGroupCode}] is not found\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewUpdateCountryGroupNotFound() *UpdateCountryGroupNotFound\n```\nNewUpdateCountryGroupNotFound creates a UpdateCountryGroupNotFound with default headers values\n\n```go\nfunc (o *UpdateCountryGroupNotFound) Error() string\n```\n\n```go\nfunc (o *UpdateCountryGroupNotFound) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *UpdateCountryGroupNotFound) ToJSONString() string\n```\n\n```go\ntype UpdateCountryGroupOK struct {\n\tPayload *basicclientmodels.CountryGroupObject\n}\n```\nUpdateCountryGroupOK handles this case with default header values.\n\n\tsuccessful operation\n\n```go\nfunc NewUpdateCountryGroupOK() *UpdateCountryGroupOK\n```\nNewUpdateCountryGroupOK creates a UpdateCountryGroupOK with default headers values\n\n```go\nfunc (o *UpdateCountryGroupOK) Error() string\n```\n\n```go\nfunc (o *UpdateCountryGroupOK) GetPayload() *basicclientmodels.CountryGroupObject\n```\n\n```go\nfunc (o *UpdateCountryGroupOK) ToJSONString() string\n```\n\n```go\ntype UpdateCountryGroupParams struct {\n\n\t/*RetryPolicy*/\n\tRetryPolicy *utils.Retry\n\t/*Body*/\n\tBody *basicclientmodels.UpdateCountryGroupRequest\n\t/*CountryGroupCode\n\t  groupCode, only accept alphabet and whitespace\n\n\t*/\n\tCountryGroupCode string\n\t/*Namespace\n\t  namespace, only accept alphabet and numeric\n\n\t*/\n\tNamespace string\n\n\tAuthInfoWriter runtime.ClientAuthInfoWriter\n\tContext        context.Context\n\tHTTPClient     *http.Client\n\n\t// XFlightId is an optional parameter from this SDK\n\tXFlightId *string\n\t// contains filtered or unexported fields\n}\n```\nUpdateCountryGroupParams contains all the parameters to send to the API endpoint for the update country group operation typically these are written to a http.Request\n\n```go\nfunc NewUpdateCountryGroupParams() *UpdateCountryGroupParams\n```\nNewUpdateCountryGroupParams creates a new UpdateCountryGroupParams object with the default values initialized.\n\n```go\nfunc NewUpdateCountryGroupParamsWithContext(ctx context.Context) *UpdateCountryGroupParams\n```\nNewUpdateCountryGroupParamsWithContext creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a context for a request\n\n```go\nfunc NewUpdateCountryGroupParamsWithHTTPClient(client *http.Client) *UpdateCountryGroupParams\n```\nNewUpdateCountryGroupParamsWithHTTPClient creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request\n\n```go\nfunc NewUpdateCountryGroupParamsWithTimeout(timeout time.Duration) *UpdateCountryGroupParams\n```\nNewUpdateCountryGroupParamsWithTimeout creates a new UpdateCountryGroupParams object with the default values initialized, and the ability to set a timeout on a request\n\n```go\nfunc (o *UpdateCountryGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)\n```\nSetAuthInfoWriter adds the authInfoWriter to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) SetBody(body *basicclientmodels.UpdateCountryGroupRequest)\n```\nSetBody adds the body to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) SetContext(ctx context.Context)\n```\nSetContext adds the context to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) SetCountryGroupCode(countryGroupCode string)\n```\nSetCountryGroupCode adds the countryGroupCode to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) SetFlightId(flightId string)\n```\nSetFlightId adds the flightId as the header value for this specific endpoint\n\n```go\nfunc (o *UpdateCountryGroupParams) SetHTTPClient(client *http.Client)\n```\nSetHTTPClient adds the HTTPClient to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)\n```\nSetHTTPClient adds the HTTPClient Transport to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) SetNamespace(namespace string)\n```\nSetNamespace adds the namespace to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) SetTimeout(timeout time.Duration)\n```\nSetTimeout adds the timeout to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) WithBody(body *basicclientmodels.UpdateCountryGroupRequest) *UpdateCountryGroupParams\n```\nWithBody adds the body to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) WithContext(ctx context.Context) *UpdateCountryGroupParams\n```\nWithContext adds the context to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) WithCountryGroupCode(countryGroupCode string) *UpdateCountryGroupParams\n```\nWithCountryGroupCode adds the countryGroupCode to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) WithHTTPClient(client *http.Client) *UpdateCountryGroupParams\n```\nWithHTTPClient adds the HTTPClient to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) WithNamespace(namespace string) *UpdateCountryGroupParams\n```\nWithNamespace adds the namespace to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) WithTimeout(timeout time.Duration) *UpdateCountryGroupParams\n```\nWithTimeout adds the timeout to the update country group params\n\n```go\nfunc (o *UpdateCountryGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error\n```\nWriteToRequest writes these params to a swagger request\n\n```go\ntype UpdateCountryGroupReader struct {\n\t// contains filtered or unexported fields\n}\n```\nUpdateCountryGroupReader is a Reader for the UpdateCountryGroup structure.\n\n```go\nfunc (o *UpdateCountryGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)\n```\nReadResponse reads a server response into the received o.\n\n```go\ntype UpdateCountryGroupResponse struct {\n\tbasicclientmodels.ApiResponse\n\tData *basicclientmodels.CountryGroupObject\n\n\tError400 *basicclientmodels.ValidationErrorEntity\n\tError401 *basicclientmodels.ErrorEntity\n\tError403 *basicclientmodels.ErrorEntity\n\tError404 *basicclientmodels.ErrorEntity\n}\n```\n\n```go\nfunc (m *UpdateCountryGroupResponse) Unpack() (*basicclientmodels.CountryGroupObject, *basicclientmodels.ApiError)\n```\n\n```go\ntype UpdateCountryGroupUnauthorized struct {\n\tPayload *basicclientmodels.ErrorEntity\n}\n```\nUpdateCountryGroupUnauthorized handles this case with default header values.\n\n\t\u003ctable\u003e\u003ctr\u003e\u003ctd\u003eerrorCode\u003c/td\u003e\u003ctd\u003eerrorMessage\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e20001\u003c/td\u003e\u003ctd\u003eunauthorized\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n```go\nfunc NewUpdateCountryGroupUnauthorized() *UpdateCountryGroupUnauthorized\n```\nNewUpdateCountryGroupUnauthorized creates a UpdateCountryGroupUnauthorized with default headers values\n\n```go\nfunc (o *UpdateCountryGroupUnauthorized) Error() string\n```\n\n```go\nfunc (o *UpdateCountryGroupUnauthorized) GetPayload() *basicclientmodels.ErrorEntity\n```\n\n```go\nfunc (o *UpdateCountryGroupUnauthorized) ToJSONString() string\n```\n\n","path":"github.com/AccelByte/accelbyte-go-modular-sdk/basic-sdk/pkg/basicclient/misc","name":"misc","synopsis":"","isRedistributable":true}
