municipality

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

WithContext adds the context to the municipality search params

func (*MunicipalitySearchParams) WithCount

WithCount adds the count to the municipality search params

func (*MunicipalitySearchParams) WithFields

WithFields adds the fields to the municipality search params

func (*MunicipalitySearchParams) WithFrom

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

WithTimeout adds the timeout to the municipality search params

func (*MunicipalitySearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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