Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetAddressesOK
- type GetAddressesParams
- func (o *GetAddressesParams) SetContext(ctx context.Context)
- func (o *GetAddressesParams) SetHTTPClient(client *http.Client)
- func (o *GetAddressesParams) SetOrganizationID(organizationID int32)
- func (o *GetAddressesParams) SetTimeout(timeout time.Duration)
- func (o *GetAddressesParams) SetType(typeVar *string)
- func (o *GetAddressesParams) WithContext(ctx context.Context) *GetAddressesParams
- func (o *GetAddressesParams) WithHTTPClient(client *http.Client) *GetAddressesParams
- func (o *GetAddressesParams) WithOrganizationID(organizationID int32) *GetAddressesParams
- func (o *GetAddressesParams) WithTimeout(timeout time.Duration) *GetAddressesParams
- func (o *GetAddressesParams) WithType(typeVar *string) *GetAddressesParams
- func (o *GetAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAddressesReader
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 addresses API
func (*Client) GetAddresses ¶
func (a *Client) GetAddresses(params *GetAddressesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAddressesOK, error)
GetAddresses get addresses API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAddresses(params *GetAddressesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAddressesOK, 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 addresses API client.
type GetAddressesOK ¶
type GetAddressesOK struct {
Payload *models.APICollectionOfAddress
}
GetAddressesOK handles this case with default header values.
Success
func NewGetAddressesOK ¶
func NewGetAddressesOK() *GetAddressesOK
NewGetAddressesOK creates a GetAddressesOK with default headers values
func (*GetAddressesOK) Error ¶
func (o *GetAddressesOK) Error() string
func (*GetAddressesOK) GetPayload ¶
func (o *GetAddressesOK) GetPayload() *models.APICollectionOfAddress
type GetAddressesParams ¶
type GetAddressesParams struct { /*OrganizationID*/ OrganizationID int32 /*Type*/ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAddressesParams contains all the parameters to send to the API endpoint for the get addresses operation typically these are written to a http.Request
func NewGetAddressesParams ¶
func NewGetAddressesParams() *GetAddressesParams
NewGetAddressesParams creates a new GetAddressesParams object with the default values initialized.
func NewGetAddressesParamsWithContext ¶
func NewGetAddressesParamsWithContext(ctx context.Context) *GetAddressesParams
NewGetAddressesParamsWithContext creates a new GetAddressesParams object with the default values initialized, and the ability to set a context for a request
func NewGetAddressesParamsWithHTTPClient ¶
func NewGetAddressesParamsWithHTTPClient(client *http.Client) *GetAddressesParams
NewGetAddressesParamsWithHTTPClient creates a new GetAddressesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAddressesParamsWithTimeout ¶
func NewGetAddressesParamsWithTimeout(timeout time.Duration) *GetAddressesParams
NewGetAddressesParamsWithTimeout creates a new GetAddressesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAddressesParams) SetContext ¶
func (o *GetAddressesParams) SetContext(ctx context.Context)
SetContext adds the context to the get addresses params
func (*GetAddressesParams) SetHTTPClient ¶
func (o *GetAddressesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get addresses params
func (*GetAddressesParams) SetOrganizationID ¶
func (o *GetAddressesParams) SetOrganizationID(organizationID int32)
SetOrganizationID adds the organizationId to the get addresses params
func (*GetAddressesParams) SetTimeout ¶
func (o *GetAddressesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get addresses params
func (*GetAddressesParams) SetType ¶
func (o *GetAddressesParams) SetType(typeVar *string)
SetType adds the type to the get addresses params
func (*GetAddressesParams) WithContext ¶
func (o *GetAddressesParams) WithContext(ctx context.Context) *GetAddressesParams
WithContext adds the context to the get addresses params
func (*GetAddressesParams) WithHTTPClient ¶
func (o *GetAddressesParams) WithHTTPClient(client *http.Client) *GetAddressesParams
WithHTTPClient adds the HTTPClient to the get addresses params
func (*GetAddressesParams) WithOrganizationID ¶
func (o *GetAddressesParams) WithOrganizationID(organizationID int32) *GetAddressesParams
WithOrganizationID adds the organizationID to the get addresses params
func (*GetAddressesParams) WithTimeout ¶
func (o *GetAddressesParams) WithTimeout(timeout time.Duration) *GetAddressesParams
WithTimeout adds the timeout to the get addresses params
func (*GetAddressesParams) WithType ¶
func (o *GetAddressesParams) WithType(typeVar *string) *GetAddressesParams
WithType adds the typeVar to the get addresses params
func (*GetAddressesParams) WriteToRequest ¶
func (o *GetAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAddressesReader ¶
type GetAddressesReader struct {
// contains filtered or unexported fields
}
GetAddressesReader is a Reader for the GetAddresses structure.
func (*GetAddressesReader) ReadResponse ¶
func (o *GetAddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.