Documentation ¶
Index ¶
- type Client
- type ClientService
- type MunicipalitySearchOK
- type MunicipalitySearchParams
- func NewMunicipalitySearchParams() *MunicipalitySearchParams
- func NewMunicipalitySearchParamsWithContext(ctx context.Context) *MunicipalitySearchParams
- func NewMunicipalitySearchParamsWithHTTPClient(client *http.Client) *MunicipalitySearchParams
- func NewMunicipalitySearchParamsWithTimeout(timeout time.Duration) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) SetContext(ctx context.Context)
- func (o *MunicipalitySearchParams) SetCount(count *int64)
- func (o *MunicipalitySearchParams) SetFields(fields *string)
- func (o *MunicipalitySearchParams) SetFrom(from *int64)
- func (o *MunicipalitySearchParams) SetHTTPClient(client *http.Client)
- func (o *MunicipalitySearchParams) SetIncludePayrollTaxZones(includePayrollTaxZones *bool)
- func (o *MunicipalitySearchParams) SetSorting(sorting *string)
- func (o *MunicipalitySearchParams) SetTimeout(timeout time.Duration)
- func (o *MunicipalitySearchParams) WithContext(ctx context.Context) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WithCount(count *int64) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WithFields(fields *string) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WithFrom(from *int64) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WithHTTPClient(client *http.Client) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WithIncludePayrollTaxZones(includePayrollTaxZones *bool) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WithSorting(sorting *string) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WithTimeout(timeout time.Duration) *MunicipalitySearchParams
- func (o *MunicipalitySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MunicipalitySearchReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for municipality API
func (*Client) MunicipalitySearch ¶
func (a *Client) MunicipalitySearch(params *MunicipalitySearchParams, authInfo runtime.ClientAuthInfoWriter) (*MunicipalitySearchOK, error)
MunicipalitySearch bs e t a get municipalities
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { MunicipalitySearch(params *MunicipalitySearchParams, authInfo runtime.ClientAuthInfoWriter) (*MunicipalitySearchOK, 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 municipality API client.
type MunicipalitySearchOK ¶
type MunicipalitySearchOK struct {
Payload *models.ListResponseMunicipality
}
MunicipalitySearchOK handles this case with default header values.
successful operation
func NewMunicipalitySearchOK ¶
func NewMunicipalitySearchOK() *MunicipalitySearchOK
NewMunicipalitySearchOK creates a MunicipalitySearchOK with default headers values
func (*MunicipalitySearchOK) Error ¶
func (o *MunicipalitySearchOK) Error() string
func (*MunicipalitySearchOK) GetPayload ¶
func (o *MunicipalitySearchOK) GetPayload() *models.ListResponseMunicipality
type MunicipalitySearchParams ¶
type MunicipalitySearchParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*IncludePayrollTaxZones Equals */ IncludePayrollTaxZones *bool /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MunicipalitySearchParams contains all the parameters to send to the API endpoint for the municipality search operation typically these are written to a http.Request
func NewMunicipalitySearchParams ¶
func NewMunicipalitySearchParams() *MunicipalitySearchParams
NewMunicipalitySearchParams creates a new MunicipalitySearchParams object with the default values initialized.
func NewMunicipalitySearchParamsWithContext ¶
func NewMunicipalitySearchParamsWithContext(ctx context.Context) *MunicipalitySearchParams
NewMunicipalitySearchParamsWithContext creates a new MunicipalitySearchParams object with the default values initialized, and the ability to set a context for a request
func NewMunicipalitySearchParamsWithHTTPClient ¶
func NewMunicipalitySearchParamsWithHTTPClient(client *http.Client) *MunicipalitySearchParams
NewMunicipalitySearchParamsWithHTTPClient creates a new MunicipalitySearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewMunicipalitySearchParamsWithTimeout ¶
func NewMunicipalitySearchParamsWithTimeout(timeout time.Duration) *MunicipalitySearchParams
NewMunicipalitySearchParamsWithTimeout creates a new MunicipalitySearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*MunicipalitySearchParams) SetContext ¶
func (o *MunicipalitySearchParams) SetContext(ctx context.Context)
SetContext adds the context to the municipality search params
func (*MunicipalitySearchParams) SetCount ¶
func (o *MunicipalitySearchParams) SetCount(count *int64)
SetCount adds the count to the municipality search params
func (*MunicipalitySearchParams) SetFields ¶
func (o *MunicipalitySearchParams) SetFields(fields *string)
SetFields adds the fields to the municipality search params
func (*MunicipalitySearchParams) SetFrom ¶
func (o *MunicipalitySearchParams) SetFrom(from *int64)
SetFrom adds the from to the municipality search params
func (*MunicipalitySearchParams) SetHTTPClient ¶
func (o *MunicipalitySearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the municipality search params
func (*MunicipalitySearchParams) SetIncludePayrollTaxZones ¶
func (o *MunicipalitySearchParams) SetIncludePayrollTaxZones(includePayrollTaxZones *bool)
SetIncludePayrollTaxZones adds the includePayrollTaxZones to the municipality search params
func (*MunicipalitySearchParams) SetSorting ¶
func (o *MunicipalitySearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the municipality search params
func (*MunicipalitySearchParams) SetTimeout ¶
func (o *MunicipalitySearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the municipality search params
func (*MunicipalitySearchParams) WithContext ¶
func (o *MunicipalitySearchParams) WithContext(ctx context.Context) *MunicipalitySearchParams
WithContext adds the context to the municipality search params
func (*MunicipalitySearchParams) WithCount ¶
func (o *MunicipalitySearchParams) WithCount(count *int64) *MunicipalitySearchParams
WithCount adds the count to the municipality search params
func (*MunicipalitySearchParams) WithFields ¶
func (o *MunicipalitySearchParams) WithFields(fields *string) *MunicipalitySearchParams
WithFields adds the fields to the municipality search params
func (*MunicipalitySearchParams) WithFrom ¶
func (o *MunicipalitySearchParams) WithFrom(from *int64) *MunicipalitySearchParams
WithFrom adds the from to the municipality search params
func (*MunicipalitySearchParams) WithHTTPClient ¶
func (o *MunicipalitySearchParams) WithHTTPClient(client *http.Client) *MunicipalitySearchParams
WithHTTPClient adds the HTTPClient to the municipality search params
func (*MunicipalitySearchParams) WithIncludePayrollTaxZones ¶
func (o *MunicipalitySearchParams) WithIncludePayrollTaxZones(includePayrollTaxZones *bool) *MunicipalitySearchParams
WithIncludePayrollTaxZones adds the includePayrollTaxZones to the municipality search params
func (*MunicipalitySearchParams) WithSorting ¶
func (o *MunicipalitySearchParams) WithSorting(sorting *string) *MunicipalitySearchParams
WithSorting adds the sorting to the municipality search params
func (*MunicipalitySearchParams) WithTimeout ¶
func (o *MunicipalitySearchParams) WithTimeout(timeout time.Duration) *MunicipalitySearchParams
WithTimeout adds the timeout to the municipality search params
func (*MunicipalitySearchParams) WriteToRequest ¶
func (o *MunicipalitySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MunicipalitySearchReader ¶
type MunicipalitySearchReader struct {
// contains filtered or unexported fields
}
MunicipalitySearchReader is a Reader for the MunicipalitySearch structure.
func (*MunicipalitySearchReader) ReadResponse ¶
func (o *MunicipalitySearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.