address

package
v0.0.0-...-14d5a85 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 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 AddressResourceDeleteDeleteForbidden

type AddressResourceDeleteDeleteForbidden struct {
}

AddressResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddressResourceDeleteDeleteForbidden

func NewAddressResourceDeleteDeleteForbidden() *AddressResourceDeleteDeleteForbidden

NewAddressResourceDeleteDeleteForbidden creates a AddressResourceDeleteDeleteForbidden with default headers values

func (*AddressResourceDeleteDeleteForbidden) Code

Code gets the status code for the address resource delete delete forbidden response

func (*AddressResourceDeleteDeleteForbidden) Error

func (*AddressResourceDeleteDeleteForbidden) IsClientError

func (o *AddressResourceDeleteDeleteForbidden) IsClientError() bool

IsClientError returns true when this address resource delete delete forbidden response has a 4xx status code

func (*AddressResourceDeleteDeleteForbidden) IsCode

IsCode returns true when this address resource delete delete forbidden response a status code equal to that given

func (*AddressResourceDeleteDeleteForbidden) IsRedirect

IsRedirect returns true when this address resource delete delete forbidden response has a 3xx status code

func (*AddressResourceDeleteDeleteForbidden) IsServerError

func (o *AddressResourceDeleteDeleteForbidden) IsServerError() bool

IsServerError returns true when this address resource delete delete forbidden response has a 5xx status code

func (*AddressResourceDeleteDeleteForbidden) IsSuccess

IsSuccess returns true when this address resource delete delete forbidden response has a 2xx status code

func (*AddressResourceDeleteDeleteForbidden) String

type AddressResourceDeleteDeleteNoContent

type AddressResourceDeleteDeleteNoContent struct {
}

AddressResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.

Ok

func NewAddressResourceDeleteDeleteNoContent

func NewAddressResourceDeleteDeleteNoContent() *AddressResourceDeleteDeleteNoContent

NewAddressResourceDeleteDeleteNoContent creates a AddressResourceDeleteDeleteNoContent with default headers values

func (*AddressResourceDeleteDeleteNoContent) Code

Code gets the status code for the address resource delete delete no content response

func (*AddressResourceDeleteDeleteNoContent) Error

func (*AddressResourceDeleteDeleteNoContent) IsClientError

func (o *AddressResourceDeleteDeleteNoContent) IsClientError() bool

IsClientError returns true when this address resource delete delete no content response has a 4xx status code

func (*AddressResourceDeleteDeleteNoContent) IsCode

IsCode returns true when this address resource delete delete no content response a status code equal to that given

func (*AddressResourceDeleteDeleteNoContent) IsRedirect

IsRedirect returns true when this address resource delete delete no content response has a 3xx status code

func (*AddressResourceDeleteDeleteNoContent) IsServerError

func (o *AddressResourceDeleteDeleteNoContent) IsServerError() bool

IsServerError returns true when this address resource delete delete no content response has a 5xx status code

func (*AddressResourceDeleteDeleteNoContent) IsSuccess

IsSuccess returns true when this address resource delete delete no content response has a 2xx status code

func (*AddressResourceDeleteDeleteNoContent) String

type AddressResourceDeleteDeleteParams

type AddressResourceDeleteDeleteParams struct {

	/* AddressID.

	   The address id
	*/
	AddressID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the address resource delete delete operation.

Typically these are written to a http.Request.

func NewAddressResourceDeleteDeleteParams

func NewAddressResourceDeleteDeleteParams() *AddressResourceDeleteDeleteParams

NewAddressResourceDeleteDeleteParams creates a new AddressResourceDeleteDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressResourceDeleteDeleteParamsWithContext

func NewAddressResourceDeleteDeleteParamsWithContext(ctx context.Context) *AddressResourceDeleteDeleteParams

NewAddressResourceDeleteDeleteParamsWithContext creates a new AddressResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewAddressResourceDeleteDeleteParamsWithHTTPClient

func NewAddressResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *AddressResourceDeleteDeleteParams

NewAddressResourceDeleteDeleteParamsWithHTTPClient creates a new AddressResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAddressResourceDeleteDeleteParamsWithTimeout

func NewAddressResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *AddressResourceDeleteDeleteParams

NewAddressResourceDeleteDeleteParamsWithTimeout creates a new AddressResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*AddressResourceDeleteDeleteParams) SetAddressID

func (o *AddressResourceDeleteDeleteParams) SetAddressID(addressID int64)

SetAddressID adds the addressId to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) SetContext

SetContext adds the context to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) SetDefaults

func (o *AddressResourceDeleteDeleteParams) SetDefaults()

SetDefaults hydrates default values in the address resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressResourceDeleteDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) WithAddressID

WithAddressID adds the addressID to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) WithContext

WithContext adds the context to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) WithDefaults

WithDefaults hydrates default values in the address resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the address resource delete delete params

func (*AddressResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressResourceDeleteDeleteReader

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

AddressResourceDeleteDeleteReader is a Reader for the AddressResourceDeleteDelete structure.

func (*AddressResourceDeleteDeleteReader) ReadResponse

func (o *AddressResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressResourceDeleteDeleteUnauthorized

type AddressResourceDeleteDeleteUnauthorized struct {
}

AddressResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressResourceDeleteDeleteUnauthorized

func NewAddressResourceDeleteDeleteUnauthorized() *AddressResourceDeleteDeleteUnauthorized

NewAddressResourceDeleteDeleteUnauthorized creates a AddressResourceDeleteDeleteUnauthorized with default headers values

func (*AddressResourceDeleteDeleteUnauthorized) Code

Code gets the status code for the address resource delete delete unauthorized response

func (*AddressResourceDeleteDeleteUnauthorized) Error

func (*AddressResourceDeleteDeleteUnauthorized) IsClientError

func (o *AddressResourceDeleteDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this address resource delete delete unauthorized response has a 4xx status code

func (*AddressResourceDeleteDeleteUnauthorized) IsCode

IsCode returns true when this address resource delete delete unauthorized response a status code equal to that given

func (*AddressResourceDeleteDeleteUnauthorized) IsRedirect

IsRedirect returns true when this address resource delete delete unauthorized response has a 3xx status code

func (*AddressResourceDeleteDeleteUnauthorized) IsServerError

func (o *AddressResourceDeleteDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this address resource delete delete unauthorized response has a 5xx status code

func (*AddressResourceDeleteDeleteUnauthorized) IsSuccess

IsSuccess returns true when this address resource delete delete unauthorized response has a 2xx status code

func (*AddressResourceDeleteDeleteUnauthorized) String

type AddressResourcePostPostBadRequest

type AddressResourcePostPostBadRequest struct {
}

AddressResourcePostPostBadRequest describes a response with status code 400, with default header values.

Bad Parameter

func NewAddressResourcePostPostBadRequest

func NewAddressResourcePostPostBadRequest() *AddressResourcePostPostBadRequest

NewAddressResourcePostPostBadRequest creates a AddressResourcePostPostBadRequest with default headers values

func (*AddressResourcePostPostBadRequest) Code

Code gets the status code for the address resource post post bad request response

func (*AddressResourcePostPostBadRequest) Error

func (*AddressResourcePostPostBadRequest) IsClientError

func (o *AddressResourcePostPostBadRequest) IsClientError() bool

IsClientError returns true when this address resource post post bad request response has a 4xx status code

func (*AddressResourcePostPostBadRequest) IsCode

func (o *AddressResourcePostPostBadRequest) IsCode(code int) bool

IsCode returns true when this address resource post post bad request response a status code equal to that given

func (*AddressResourcePostPostBadRequest) IsRedirect

func (o *AddressResourcePostPostBadRequest) IsRedirect() bool

IsRedirect returns true when this address resource post post bad request response has a 3xx status code

func (*AddressResourcePostPostBadRequest) IsServerError

func (o *AddressResourcePostPostBadRequest) IsServerError() bool

IsServerError returns true when this address resource post post bad request response has a 5xx status code

func (*AddressResourcePostPostBadRequest) IsSuccess

func (o *AddressResourcePostPostBadRequest) IsSuccess() bool

IsSuccess returns true when this address resource post post bad request response has a 2xx status code

func (*AddressResourcePostPostBadRequest) String

type AddressResourcePostPostForbidden

type AddressResourcePostPostForbidden struct {
}

AddressResourcePostPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddressResourcePostPostForbidden

func NewAddressResourcePostPostForbidden() *AddressResourcePostPostForbidden

NewAddressResourcePostPostForbidden creates a AddressResourcePostPostForbidden with default headers values

func (*AddressResourcePostPostForbidden) Code

Code gets the status code for the address resource post post forbidden response

func (*AddressResourcePostPostForbidden) Error

func (*AddressResourcePostPostForbidden) IsClientError

func (o *AddressResourcePostPostForbidden) IsClientError() bool

IsClientError returns true when this address resource post post forbidden response has a 4xx status code

func (*AddressResourcePostPostForbidden) IsCode

func (o *AddressResourcePostPostForbidden) IsCode(code int) bool

IsCode returns true when this address resource post post forbidden response a status code equal to that given

func (*AddressResourcePostPostForbidden) IsRedirect

func (o *AddressResourcePostPostForbidden) IsRedirect() bool

IsRedirect returns true when this address resource post post forbidden response has a 3xx status code

func (*AddressResourcePostPostForbidden) IsServerError

func (o *AddressResourcePostPostForbidden) IsServerError() bool

IsServerError returns true when this address resource post post forbidden response has a 5xx status code

func (*AddressResourcePostPostForbidden) IsSuccess

func (o *AddressResourcePostPostForbidden) IsSuccess() bool

IsSuccess returns true when this address resource post post forbidden response has a 2xx status code

func (*AddressResourcePostPostForbidden) String

type AddressResourcePostPostNoContent

type AddressResourcePostPostNoContent struct {
}

AddressResourcePostPostNoContent describes a response with status code 204, with default header values.

Ok

func NewAddressResourcePostPostNoContent

func NewAddressResourcePostPostNoContent() *AddressResourcePostPostNoContent

NewAddressResourcePostPostNoContent creates a AddressResourcePostPostNoContent with default headers values

func (*AddressResourcePostPostNoContent) Code

Code gets the status code for the address resource post post no content response

func (*AddressResourcePostPostNoContent) Error

func (*AddressResourcePostPostNoContent) IsClientError

func (o *AddressResourcePostPostNoContent) IsClientError() bool

IsClientError returns true when this address resource post post no content response has a 4xx status code

func (*AddressResourcePostPostNoContent) IsCode

func (o *AddressResourcePostPostNoContent) IsCode(code int) bool

IsCode returns true when this address resource post post no content response a status code equal to that given

func (*AddressResourcePostPostNoContent) IsRedirect

func (o *AddressResourcePostPostNoContent) IsRedirect() bool

IsRedirect returns true when this address resource post post no content response has a 3xx status code

func (*AddressResourcePostPostNoContent) IsServerError

func (o *AddressResourcePostPostNoContent) IsServerError() bool

IsServerError returns true when this address resource post post no content response has a 5xx status code

func (*AddressResourcePostPostNoContent) IsSuccess

func (o *AddressResourcePostPostNoContent) IsSuccess() bool

IsSuccess returns true when this address resource post post no content response has a 2xx status code

func (*AddressResourcePostPostNoContent) String

type AddressResourcePostPostParams

type AddressResourcePostPostParams struct {

	/* AddressID.

	   The address id
	*/
	AddressID int64

	/* Body.

	   Address update representation
	*/
	Body *models.AddressUpdate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressResourcePostPostParams contains all the parameters to send to the API endpoint

for the address resource post post operation.

Typically these are written to a http.Request.

func NewAddressResourcePostPostParams

func NewAddressResourcePostPostParams() *AddressResourcePostPostParams

NewAddressResourcePostPostParams creates a new AddressResourcePostPostParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressResourcePostPostParamsWithContext

func NewAddressResourcePostPostParamsWithContext(ctx context.Context) *AddressResourcePostPostParams

NewAddressResourcePostPostParamsWithContext creates a new AddressResourcePostPostParams object with the ability to set a context for a request.

func NewAddressResourcePostPostParamsWithHTTPClient

func NewAddressResourcePostPostParamsWithHTTPClient(client *http.Client) *AddressResourcePostPostParams

NewAddressResourcePostPostParamsWithHTTPClient creates a new AddressResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewAddressResourcePostPostParamsWithTimeout

func NewAddressResourcePostPostParamsWithTimeout(timeout time.Duration) *AddressResourcePostPostParams

NewAddressResourcePostPostParamsWithTimeout creates a new AddressResourcePostPostParams object with the ability to set a timeout on a request.

func (*AddressResourcePostPostParams) SetAddressID

func (o *AddressResourcePostPostParams) SetAddressID(addressID int64)

SetAddressID adds the addressId to the address resource post post params

func (*AddressResourcePostPostParams) SetBody

SetBody adds the body to the address resource post post params

func (*AddressResourcePostPostParams) SetContext

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

SetContext adds the context to the address resource post post params

func (*AddressResourcePostPostParams) SetDefaults

func (o *AddressResourcePostPostParams) SetDefaults()

SetDefaults hydrates default values in the address resource post post params (not the query body).

All values with no default are reset to their zero value.

func (*AddressResourcePostPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the address resource post post params

func (*AddressResourcePostPostParams) SetTimeout

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

SetTimeout adds the timeout to the address resource post post params

func (*AddressResourcePostPostParams) WithAddressID

WithAddressID adds the addressID to the address resource post post params

func (*AddressResourcePostPostParams) WithBody

WithBody adds the body to the address resource post post params

func (*AddressResourcePostPostParams) WithContext

WithContext adds the context to the address resource post post params

func (*AddressResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the address resource post post params (not the query body).

All values with no default are reset to their zero value.

func (*AddressResourcePostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address resource post post params

func (*AddressResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the address resource post post params

func (*AddressResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressResourcePostPostReader

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

AddressResourcePostPostReader is a Reader for the AddressResourcePostPost structure.

func (*AddressResourcePostPostReader) ReadResponse

func (o *AddressResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressResourcePostPostUnauthorized

type AddressResourcePostPostUnauthorized struct {
}

AddressResourcePostPostUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressResourcePostPostUnauthorized

func NewAddressResourcePostPostUnauthorized() *AddressResourcePostPostUnauthorized

NewAddressResourcePostPostUnauthorized creates a AddressResourcePostPostUnauthorized with default headers values

func (*AddressResourcePostPostUnauthorized) Code

Code gets the status code for the address resource post post unauthorized response

func (*AddressResourcePostPostUnauthorized) Error

func (*AddressResourcePostPostUnauthorized) IsClientError

func (o *AddressResourcePostPostUnauthorized) IsClientError() bool

IsClientError returns true when this address resource post post unauthorized response has a 4xx status code

func (*AddressResourcePostPostUnauthorized) IsCode

IsCode returns true when this address resource post post unauthorized response a status code equal to that given

func (*AddressResourcePostPostUnauthorized) IsRedirect

func (o *AddressResourcePostPostUnauthorized) IsRedirect() bool

IsRedirect returns true when this address resource post post unauthorized response has a 3xx status code

func (*AddressResourcePostPostUnauthorized) IsServerError

func (o *AddressResourcePostPostUnauthorized) IsServerError() bool

IsServerError returns true when this address resource post post unauthorized response has a 5xx status code

func (*AddressResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this address resource post post unauthorized response has a 2xx status code

func (*AddressResourcePostPostUnauthorized) String

type AddressUnitResourceDeleteDeleteForbidden

type AddressUnitResourceDeleteDeleteForbidden struct {
}

AddressUnitResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddressUnitResourceDeleteDeleteForbidden

func NewAddressUnitResourceDeleteDeleteForbidden() *AddressUnitResourceDeleteDeleteForbidden

NewAddressUnitResourceDeleteDeleteForbidden creates a AddressUnitResourceDeleteDeleteForbidden with default headers values

func (*AddressUnitResourceDeleteDeleteForbidden) Code

Code gets the status code for the address unit resource delete delete forbidden response

func (*AddressUnitResourceDeleteDeleteForbidden) Error

func (*AddressUnitResourceDeleteDeleteForbidden) IsClientError

IsClientError returns true when this address unit resource delete delete forbidden response has a 4xx status code

func (*AddressUnitResourceDeleteDeleteForbidden) IsCode

IsCode returns true when this address unit resource delete delete forbidden response a status code equal to that given

func (*AddressUnitResourceDeleteDeleteForbidden) IsRedirect

IsRedirect returns true when this address unit resource delete delete forbidden response has a 3xx status code

func (*AddressUnitResourceDeleteDeleteForbidden) IsServerError

IsServerError returns true when this address unit resource delete delete forbidden response has a 5xx status code

func (*AddressUnitResourceDeleteDeleteForbidden) IsSuccess

IsSuccess returns true when this address unit resource delete delete forbidden response has a 2xx status code

func (*AddressUnitResourceDeleteDeleteForbidden) String

type AddressUnitResourceDeleteDeleteLocked

type AddressUnitResourceDeleteDeleteLocked struct {
}

AddressUnitResourceDeleteDeleteLocked describes a response with status code 423, with default header values.

Locked

func NewAddressUnitResourceDeleteDeleteLocked

func NewAddressUnitResourceDeleteDeleteLocked() *AddressUnitResourceDeleteDeleteLocked

NewAddressUnitResourceDeleteDeleteLocked creates a AddressUnitResourceDeleteDeleteLocked with default headers values

func (*AddressUnitResourceDeleteDeleteLocked) Code

Code gets the status code for the address unit resource delete delete locked response

func (*AddressUnitResourceDeleteDeleteLocked) Error

func (*AddressUnitResourceDeleteDeleteLocked) IsClientError

func (o *AddressUnitResourceDeleteDeleteLocked) IsClientError() bool

IsClientError returns true when this address unit resource delete delete locked response has a 4xx status code

func (*AddressUnitResourceDeleteDeleteLocked) IsCode

IsCode returns true when this address unit resource delete delete locked response a status code equal to that given

func (*AddressUnitResourceDeleteDeleteLocked) IsRedirect

IsRedirect returns true when this address unit resource delete delete locked response has a 3xx status code

func (*AddressUnitResourceDeleteDeleteLocked) IsServerError

func (o *AddressUnitResourceDeleteDeleteLocked) IsServerError() bool

IsServerError returns true when this address unit resource delete delete locked response has a 5xx status code

func (*AddressUnitResourceDeleteDeleteLocked) IsSuccess

IsSuccess returns true when this address unit resource delete delete locked response has a 2xx status code

func (*AddressUnitResourceDeleteDeleteLocked) String

type AddressUnitResourceDeleteDeleteOK

type AddressUnitResourceDeleteDeleteOK struct {
	Payload *models.AdvancedConfirmationResponse
}

AddressUnitResourceDeleteDeleteOK describes a response with status code 200, with default header values.

Ok

func NewAddressUnitResourceDeleteDeleteOK

func NewAddressUnitResourceDeleteDeleteOK() *AddressUnitResourceDeleteDeleteOK

NewAddressUnitResourceDeleteDeleteOK creates a AddressUnitResourceDeleteDeleteOK with default headers values

func (*AddressUnitResourceDeleteDeleteOK) Code

Code gets the status code for the address unit resource delete delete o k response

func (*AddressUnitResourceDeleteDeleteOK) Error

func (*AddressUnitResourceDeleteDeleteOK) GetPayload

func (*AddressUnitResourceDeleteDeleteOK) IsClientError

func (o *AddressUnitResourceDeleteDeleteOK) IsClientError() bool

IsClientError returns true when this address unit resource delete delete o k response has a 4xx status code

func (*AddressUnitResourceDeleteDeleteOK) IsCode

func (o *AddressUnitResourceDeleteDeleteOK) IsCode(code int) bool

IsCode returns true when this address unit resource delete delete o k response a status code equal to that given

func (*AddressUnitResourceDeleteDeleteOK) IsRedirect

func (o *AddressUnitResourceDeleteDeleteOK) IsRedirect() bool

IsRedirect returns true when this address unit resource delete delete o k response has a 3xx status code

func (*AddressUnitResourceDeleteDeleteOK) IsServerError

func (o *AddressUnitResourceDeleteDeleteOK) IsServerError() bool

IsServerError returns true when this address unit resource delete delete o k response has a 5xx status code

func (*AddressUnitResourceDeleteDeleteOK) IsSuccess

func (o *AddressUnitResourceDeleteDeleteOK) IsSuccess() bool

IsSuccess returns true when this address unit resource delete delete o k response has a 2xx status code

func (*AddressUnitResourceDeleteDeleteOK) String

type AddressUnitResourceDeleteDeleteParams

type AddressUnitResourceDeleteDeleteParams struct {

	/* AddressID.

	   The address id
	*/
	AddressID int64

	/* ID.

	   The address unit id
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressUnitResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the address unit resource delete delete operation.

Typically these are written to a http.Request.

func NewAddressUnitResourceDeleteDeleteParams

func NewAddressUnitResourceDeleteDeleteParams() *AddressUnitResourceDeleteDeleteParams

NewAddressUnitResourceDeleteDeleteParams creates a new AddressUnitResourceDeleteDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressUnitResourceDeleteDeleteParamsWithContext

func NewAddressUnitResourceDeleteDeleteParamsWithContext(ctx context.Context) *AddressUnitResourceDeleteDeleteParams

NewAddressUnitResourceDeleteDeleteParamsWithContext creates a new AddressUnitResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewAddressUnitResourceDeleteDeleteParamsWithHTTPClient

func NewAddressUnitResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *AddressUnitResourceDeleteDeleteParams

NewAddressUnitResourceDeleteDeleteParamsWithHTTPClient creates a new AddressUnitResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAddressUnitResourceDeleteDeleteParamsWithTimeout

func NewAddressUnitResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *AddressUnitResourceDeleteDeleteParams

NewAddressUnitResourceDeleteDeleteParamsWithTimeout creates a new AddressUnitResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*AddressUnitResourceDeleteDeleteParams) SetAddressID

func (o *AddressUnitResourceDeleteDeleteParams) SetAddressID(addressID int64)

SetAddressID adds the addressId to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) SetContext

SetContext adds the context to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) SetDefaults

func (o *AddressUnitResourceDeleteDeleteParams) SetDefaults()

SetDefaults hydrates default values in the address unit resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitResourceDeleteDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) SetID

SetID adds the id to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) WithAddressID

WithAddressID adds the addressID to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) WithContext

WithContext adds the context to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) WithDefaults

WithDefaults hydrates default values in the address unit resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) WithID

WithID adds the id to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the address unit resource delete delete params

func (*AddressUnitResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressUnitResourceDeleteDeleteReader

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

AddressUnitResourceDeleteDeleteReader is a Reader for the AddressUnitResourceDeleteDelete structure.

func (*AddressUnitResourceDeleteDeleteReader) ReadResponse

func (o *AddressUnitResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressUnitResourceDeleteDeleteUnauthorized

type AddressUnitResourceDeleteDeleteUnauthorized struct {
}

AddressUnitResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressUnitResourceDeleteDeleteUnauthorized

func NewAddressUnitResourceDeleteDeleteUnauthorized() *AddressUnitResourceDeleteDeleteUnauthorized

NewAddressUnitResourceDeleteDeleteUnauthorized creates a AddressUnitResourceDeleteDeleteUnauthorized with default headers values

func (*AddressUnitResourceDeleteDeleteUnauthorized) Code

Code gets the status code for the address unit resource delete delete unauthorized response

func (*AddressUnitResourceDeleteDeleteUnauthorized) Error

func (*AddressUnitResourceDeleteDeleteUnauthorized) IsClientError

IsClientError returns true when this address unit resource delete delete unauthorized response has a 4xx status code

func (*AddressUnitResourceDeleteDeleteUnauthorized) IsCode

IsCode returns true when this address unit resource delete delete unauthorized response a status code equal to that given

func (*AddressUnitResourceDeleteDeleteUnauthorized) IsRedirect

IsRedirect returns true when this address unit resource delete delete unauthorized response has a 3xx status code

func (*AddressUnitResourceDeleteDeleteUnauthorized) IsServerError

IsServerError returns true when this address unit resource delete delete unauthorized response has a 5xx status code

func (*AddressUnitResourceDeleteDeleteUnauthorized) IsSuccess

IsSuccess returns true when this address unit resource delete delete unauthorized response has a 2xx status code

func (*AddressUnitResourceDeleteDeleteUnauthorized) String

type AddressUnitsResourceDeleteDeleteBadRequest

type AddressUnitsResourceDeleteDeleteBadRequest struct {
}

AddressUnitsResourceDeleteDeleteBadRequest describes a response with status code 400, with default header values.

Bad parameter

func NewAddressUnitsResourceDeleteDeleteBadRequest

func NewAddressUnitsResourceDeleteDeleteBadRequest() *AddressUnitsResourceDeleteDeleteBadRequest

NewAddressUnitsResourceDeleteDeleteBadRequest creates a AddressUnitsResourceDeleteDeleteBadRequest with default headers values

func (*AddressUnitsResourceDeleteDeleteBadRequest) Code

Code gets the status code for the address units resource delete delete bad request response

func (*AddressUnitsResourceDeleteDeleteBadRequest) Error

func (*AddressUnitsResourceDeleteDeleteBadRequest) IsClientError

IsClientError returns true when this address units resource delete delete bad request response has a 4xx status code

func (*AddressUnitsResourceDeleteDeleteBadRequest) IsCode

IsCode returns true when this address units resource delete delete bad request response a status code equal to that given

func (*AddressUnitsResourceDeleteDeleteBadRequest) IsRedirect

IsRedirect returns true when this address units resource delete delete bad request response has a 3xx status code

func (*AddressUnitsResourceDeleteDeleteBadRequest) IsServerError

IsServerError returns true when this address units resource delete delete bad request response has a 5xx status code

func (*AddressUnitsResourceDeleteDeleteBadRequest) IsSuccess

IsSuccess returns true when this address units resource delete delete bad request response has a 2xx status code

func (*AddressUnitsResourceDeleteDeleteBadRequest) String

type AddressUnitsResourceDeleteDeleteForbidden

type AddressUnitsResourceDeleteDeleteForbidden struct {
}

AddressUnitsResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddressUnitsResourceDeleteDeleteForbidden

func NewAddressUnitsResourceDeleteDeleteForbidden() *AddressUnitsResourceDeleteDeleteForbidden

NewAddressUnitsResourceDeleteDeleteForbidden creates a AddressUnitsResourceDeleteDeleteForbidden with default headers values

func (*AddressUnitsResourceDeleteDeleteForbidden) Code

Code gets the status code for the address units resource delete delete forbidden response

func (*AddressUnitsResourceDeleteDeleteForbidden) Error

func (*AddressUnitsResourceDeleteDeleteForbidden) IsClientError

IsClientError returns true when this address units resource delete delete forbidden response has a 4xx status code

func (*AddressUnitsResourceDeleteDeleteForbidden) IsCode

IsCode returns true when this address units resource delete delete forbidden response a status code equal to that given

func (*AddressUnitsResourceDeleteDeleteForbidden) IsRedirect

IsRedirect returns true when this address units resource delete delete forbidden response has a 3xx status code

func (*AddressUnitsResourceDeleteDeleteForbidden) IsServerError

IsServerError returns true when this address units resource delete delete forbidden response has a 5xx status code

func (*AddressUnitsResourceDeleteDeleteForbidden) IsSuccess

IsSuccess returns true when this address units resource delete delete forbidden response has a 2xx status code

func (*AddressUnitsResourceDeleteDeleteForbidden) String

type AddressUnitsResourceDeleteDeleteLocked

type AddressUnitsResourceDeleteDeleteLocked struct {
}

AddressUnitsResourceDeleteDeleteLocked describes a response with status code 423, with default header values.

Locked

func NewAddressUnitsResourceDeleteDeleteLocked

func NewAddressUnitsResourceDeleteDeleteLocked() *AddressUnitsResourceDeleteDeleteLocked

NewAddressUnitsResourceDeleteDeleteLocked creates a AddressUnitsResourceDeleteDeleteLocked with default headers values

func (*AddressUnitsResourceDeleteDeleteLocked) Code

Code gets the status code for the address units resource delete delete locked response

func (*AddressUnitsResourceDeleteDeleteLocked) Error

func (*AddressUnitsResourceDeleteDeleteLocked) IsClientError

func (o *AddressUnitsResourceDeleteDeleteLocked) IsClientError() bool

IsClientError returns true when this address units resource delete delete locked response has a 4xx status code

func (*AddressUnitsResourceDeleteDeleteLocked) IsCode

IsCode returns true when this address units resource delete delete locked response a status code equal to that given

func (*AddressUnitsResourceDeleteDeleteLocked) IsRedirect

IsRedirect returns true when this address units resource delete delete locked response has a 3xx status code

func (*AddressUnitsResourceDeleteDeleteLocked) IsServerError

func (o *AddressUnitsResourceDeleteDeleteLocked) IsServerError() bool

IsServerError returns true when this address units resource delete delete locked response has a 5xx status code

func (*AddressUnitsResourceDeleteDeleteLocked) IsSuccess

IsSuccess returns true when this address units resource delete delete locked response has a 2xx status code

func (*AddressUnitsResourceDeleteDeleteLocked) String

type AddressUnitsResourceDeleteDeleteOK

type AddressUnitsResourceDeleteDeleteOK struct {
	Payload *models.AdvancedConfirmationResponse
}

AddressUnitsResourceDeleteDeleteOK describes a response with status code 200, with default header values.

Ok

func NewAddressUnitsResourceDeleteDeleteOK

func NewAddressUnitsResourceDeleteDeleteOK() *AddressUnitsResourceDeleteDeleteOK

NewAddressUnitsResourceDeleteDeleteOK creates a AddressUnitsResourceDeleteDeleteOK with default headers values

func (*AddressUnitsResourceDeleteDeleteOK) Code

Code gets the status code for the address units resource delete delete o k response

func (*AddressUnitsResourceDeleteDeleteOK) Error

func (*AddressUnitsResourceDeleteDeleteOK) GetPayload

func (*AddressUnitsResourceDeleteDeleteOK) IsClientError

func (o *AddressUnitsResourceDeleteDeleteOK) IsClientError() bool

IsClientError returns true when this address units resource delete delete o k response has a 4xx status code

func (*AddressUnitsResourceDeleteDeleteOK) IsCode

IsCode returns true when this address units resource delete delete o k response a status code equal to that given

func (*AddressUnitsResourceDeleteDeleteOK) IsRedirect

func (o *AddressUnitsResourceDeleteDeleteOK) IsRedirect() bool

IsRedirect returns true when this address units resource delete delete o k response has a 3xx status code

func (*AddressUnitsResourceDeleteDeleteOK) IsServerError

func (o *AddressUnitsResourceDeleteDeleteOK) IsServerError() bool

IsServerError returns true when this address units resource delete delete o k response has a 5xx status code

func (*AddressUnitsResourceDeleteDeleteOK) IsSuccess

IsSuccess returns true when this address units resource delete delete o k response has a 2xx status code

func (*AddressUnitsResourceDeleteDeleteOK) String

type AddressUnitsResourceDeleteDeleteParams

type AddressUnitsResourceDeleteDeleteParams struct {

	/* AddressID.

	   The address id
	*/
	AddressID int64

	/* Body.

	   Address unit IDs to delete
	*/
	Body []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressUnitsResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the address units resource delete delete operation.

Typically these are written to a http.Request.

func NewAddressUnitsResourceDeleteDeleteParams

func NewAddressUnitsResourceDeleteDeleteParams() *AddressUnitsResourceDeleteDeleteParams

NewAddressUnitsResourceDeleteDeleteParams creates a new AddressUnitsResourceDeleteDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressUnitsResourceDeleteDeleteParamsWithContext

func NewAddressUnitsResourceDeleteDeleteParamsWithContext(ctx context.Context) *AddressUnitsResourceDeleteDeleteParams

NewAddressUnitsResourceDeleteDeleteParamsWithContext creates a new AddressUnitsResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewAddressUnitsResourceDeleteDeleteParamsWithHTTPClient

func NewAddressUnitsResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *AddressUnitsResourceDeleteDeleteParams

NewAddressUnitsResourceDeleteDeleteParamsWithHTTPClient creates a new AddressUnitsResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAddressUnitsResourceDeleteDeleteParamsWithTimeout

func NewAddressUnitsResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *AddressUnitsResourceDeleteDeleteParams

NewAddressUnitsResourceDeleteDeleteParamsWithTimeout creates a new AddressUnitsResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*AddressUnitsResourceDeleteDeleteParams) SetAddressID

func (o *AddressUnitsResourceDeleteDeleteParams) SetAddressID(addressID int64)

SetAddressID adds the addressId to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) SetBody

SetBody adds the body to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) SetContext

SetContext adds the context to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) SetDefaults

func (o *AddressUnitsResourceDeleteDeleteParams) SetDefaults()

SetDefaults hydrates default values in the address units resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitsResourceDeleteDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) WithAddressID

WithAddressID adds the addressID to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) WithBody

WithBody adds the body to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) WithContext

WithContext adds the context to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) WithDefaults

WithDefaults hydrates default values in the address units resource delete delete params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitsResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the address units resource delete delete params

func (*AddressUnitsResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressUnitsResourceDeleteDeleteReader

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

AddressUnitsResourceDeleteDeleteReader is a Reader for the AddressUnitsResourceDeleteDelete structure.

func (*AddressUnitsResourceDeleteDeleteReader) ReadResponse

func (o *AddressUnitsResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressUnitsResourceDeleteDeleteUnauthorized

type AddressUnitsResourceDeleteDeleteUnauthorized struct {
}

AddressUnitsResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressUnitsResourceDeleteDeleteUnauthorized

func NewAddressUnitsResourceDeleteDeleteUnauthorized() *AddressUnitsResourceDeleteDeleteUnauthorized

NewAddressUnitsResourceDeleteDeleteUnauthorized creates a AddressUnitsResourceDeleteDeleteUnauthorized with default headers values

func (*AddressUnitsResourceDeleteDeleteUnauthorized) Code

Code gets the status code for the address units resource delete delete unauthorized response

func (*AddressUnitsResourceDeleteDeleteUnauthorized) Error

func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsClientError

IsClientError returns true when this address units resource delete delete unauthorized response has a 4xx status code

func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsCode

IsCode returns true when this address units resource delete delete unauthorized response a status code equal to that given

func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsRedirect

IsRedirect returns true when this address units resource delete delete unauthorized response has a 3xx status code

func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsServerError

IsServerError returns true when this address units resource delete delete unauthorized response has a 5xx status code

func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsSuccess

IsSuccess returns true when this address units resource delete delete unauthorized response has a 2xx status code

func (*AddressUnitsResourceDeleteDeleteUnauthorized) String

type AddressUnitsResourceGetGetBadRequest

type AddressUnitsResourceGetGetBadRequest struct {
}

AddressUnitsResourceGetGetBadRequest describes a response with status code 400, with default header values.

Bad Parameter

func NewAddressUnitsResourceGetGetBadRequest

func NewAddressUnitsResourceGetGetBadRequest() *AddressUnitsResourceGetGetBadRequest

NewAddressUnitsResourceGetGetBadRequest creates a AddressUnitsResourceGetGetBadRequest with default headers values

func (*AddressUnitsResourceGetGetBadRequest) Code

Code gets the status code for the address units resource get get bad request response

func (*AddressUnitsResourceGetGetBadRequest) Error

func (*AddressUnitsResourceGetGetBadRequest) IsClientError

func (o *AddressUnitsResourceGetGetBadRequest) IsClientError() bool

IsClientError returns true when this address units resource get get bad request response has a 4xx status code

func (*AddressUnitsResourceGetGetBadRequest) IsCode

IsCode returns true when this address units resource get get bad request response a status code equal to that given

func (*AddressUnitsResourceGetGetBadRequest) IsRedirect

IsRedirect returns true when this address units resource get get bad request response has a 3xx status code

func (*AddressUnitsResourceGetGetBadRequest) IsServerError

func (o *AddressUnitsResourceGetGetBadRequest) IsServerError() bool

IsServerError returns true when this address units resource get get bad request response has a 5xx status code

func (*AddressUnitsResourceGetGetBadRequest) IsSuccess

IsSuccess returns true when this address units resource get get bad request response has a 2xx status code

func (*AddressUnitsResourceGetGetBadRequest) String

type AddressUnitsResourceGetGetOK

type AddressUnitsResourceGetGetOK struct {
	Payload []*models.AddressUnitResponse
}

AddressUnitsResourceGetGetOK describes a response with status code 200, with default header values.

successful operation

func NewAddressUnitsResourceGetGetOK

func NewAddressUnitsResourceGetGetOK() *AddressUnitsResourceGetGetOK

NewAddressUnitsResourceGetGetOK creates a AddressUnitsResourceGetGetOK with default headers values

func (*AddressUnitsResourceGetGetOK) Code

Code gets the status code for the address units resource get get o k response

func (*AddressUnitsResourceGetGetOK) Error

func (*AddressUnitsResourceGetGetOK) GetPayload

func (*AddressUnitsResourceGetGetOK) IsClientError

func (o *AddressUnitsResourceGetGetOK) IsClientError() bool

IsClientError returns true when this address units resource get get o k response has a 4xx status code

func (*AddressUnitsResourceGetGetOK) IsCode

func (o *AddressUnitsResourceGetGetOK) IsCode(code int) bool

IsCode returns true when this address units resource get get o k response a status code equal to that given

func (*AddressUnitsResourceGetGetOK) IsRedirect

func (o *AddressUnitsResourceGetGetOK) IsRedirect() bool

IsRedirect returns true when this address units resource get get o k response has a 3xx status code

func (*AddressUnitsResourceGetGetOK) IsServerError

func (o *AddressUnitsResourceGetGetOK) IsServerError() bool

IsServerError returns true when this address units resource get get o k response has a 5xx status code

func (*AddressUnitsResourceGetGetOK) IsSuccess

func (o *AddressUnitsResourceGetGetOK) IsSuccess() bool

IsSuccess returns true when this address units resource get get o k response has a 2xx status code

func (*AddressUnitsResourceGetGetOK) String

type AddressUnitsResourceGetGetParams

type AddressUnitsResourceGetGetParams struct {

	/* AddressID.

	   The address id
	*/
	AddressID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressUnitsResourceGetGetParams contains all the parameters to send to the API endpoint

for the address units resource get get operation.

Typically these are written to a http.Request.

func NewAddressUnitsResourceGetGetParams

func NewAddressUnitsResourceGetGetParams() *AddressUnitsResourceGetGetParams

NewAddressUnitsResourceGetGetParams creates a new AddressUnitsResourceGetGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressUnitsResourceGetGetParamsWithContext

func NewAddressUnitsResourceGetGetParamsWithContext(ctx context.Context) *AddressUnitsResourceGetGetParams

NewAddressUnitsResourceGetGetParamsWithContext creates a new AddressUnitsResourceGetGetParams object with the ability to set a context for a request.

func NewAddressUnitsResourceGetGetParamsWithHTTPClient

func NewAddressUnitsResourceGetGetParamsWithHTTPClient(client *http.Client) *AddressUnitsResourceGetGetParams

NewAddressUnitsResourceGetGetParamsWithHTTPClient creates a new AddressUnitsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewAddressUnitsResourceGetGetParamsWithTimeout

func NewAddressUnitsResourceGetGetParamsWithTimeout(timeout time.Duration) *AddressUnitsResourceGetGetParams

NewAddressUnitsResourceGetGetParamsWithTimeout creates a new AddressUnitsResourceGetGetParams object with the ability to set a timeout on a request.

func (*AddressUnitsResourceGetGetParams) SetAddressID

func (o *AddressUnitsResourceGetGetParams) SetAddressID(addressID int64)

SetAddressID adds the addressId to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) SetContext

SetContext adds the context to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) SetDefaults

func (o *AddressUnitsResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the address units resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitsResourceGetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) SetTimeout

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

SetTimeout adds the timeout to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) WithAddressID

WithAddressID adds the addressID to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) WithContext

WithContext adds the context to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the address units resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitsResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the address units resource get get params

func (*AddressUnitsResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressUnitsResourceGetGetReader

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

AddressUnitsResourceGetGetReader is a Reader for the AddressUnitsResourceGetGet structure.

func (*AddressUnitsResourceGetGetReader) ReadResponse

func (o *AddressUnitsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressUnitsResourceGetGetUnauthorized

type AddressUnitsResourceGetGetUnauthorized struct {
}

AddressUnitsResourceGetGetUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressUnitsResourceGetGetUnauthorized

func NewAddressUnitsResourceGetGetUnauthorized() *AddressUnitsResourceGetGetUnauthorized

NewAddressUnitsResourceGetGetUnauthorized creates a AddressUnitsResourceGetGetUnauthorized with default headers values

func (*AddressUnitsResourceGetGetUnauthorized) Code

Code gets the status code for the address units resource get get unauthorized response

func (*AddressUnitsResourceGetGetUnauthorized) Error

func (*AddressUnitsResourceGetGetUnauthorized) IsClientError

func (o *AddressUnitsResourceGetGetUnauthorized) IsClientError() bool

IsClientError returns true when this address units resource get get unauthorized response has a 4xx status code

func (*AddressUnitsResourceGetGetUnauthorized) IsCode

IsCode returns true when this address units resource get get unauthorized response a status code equal to that given

func (*AddressUnitsResourceGetGetUnauthorized) IsRedirect

IsRedirect returns true when this address units resource get get unauthorized response has a 3xx status code

func (*AddressUnitsResourceGetGetUnauthorized) IsServerError

func (o *AddressUnitsResourceGetGetUnauthorized) IsServerError() bool

IsServerError returns true when this address units resource get get unauthorized response has a 5xx status code

func (*AddressUnitsResourceGetGetUnauthorized) IsSuccess

IsSuccess returns true when this address units resource get get unauthorized response has a 2xx status code

func (*AddressUnitsResourceGetGetUnauthorized) String

type AddressUnitsResourcePutPutBadRequest

type AddressUnitsResourcePutPutBadRequest struct {
}

AddressUnitsResourcePutPutBadRequest describes a response with status code 400, with default header values.

Bad Parameter

func NewAddressUnitsResourcePutPutBadRequest

func NewAddressUnitsResourcePutPutBadRequest() *AddressUnitsResourcePutPutBadRequest

NewAddressUnitsResourcePutPutBadRequest creates a AddressUnitsResourcePutPutBadRequest with default headers values

func (*AddressUnitsResourcePutPutBadRequest) Code

Code gets the status code for the address units resource put put bad request response

func (*AddressUnitsResourcePutPutBadRequest) Error

func (*AddressUnitsResourcePutPutBadRequest) IsClientError

func (o *AddressUnitsResourcePutPutBadRequest) IsClientError() bool

IsClientError returns true when this address units resource put put bad request response has a 4xx status code

func (*AddressUnitsResourcePutPutBadRequest) IsCode

IsCode returns true when this address units resource put put bad request response a status code equal to that given

func (*AddressUnitsResourcePutPutBadRequest) IsRedirect

IsRedirect returns true when this address units resource put put bad request response has a 3xx status code

func (*AddressUnitsResourcePutPutBadRequest) IsServerError

func (o *AddressUnitsResourcePutPutBadRequest) IsServerError() bool

IsServerError returns true when this address units resource put put bad request response has a 5xx status code

func (*AddressUnitsResourcePutPutBadRequest) IsSuccess

IsSuccess returns true when this address units resource put put bad request response has a 2xx status code

func (*AddressUnitsResourcePutPutBadRequest) String

type AddressUnitsResourcePutPutForbidden

type AddressUnitsResourcePutPutForbidden struct {
}

AddressUnitsResourcePutPutForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddressUnitsResourcePutPutForbidden

func NewAddressUnitsResourcePutPutForbidden() *AddressUnitsResourcePutPutForbidden

NewAddressUnitsResourcePutPutForbidden creates a AddressUnitsResourcePutPutForbidden with default headers values

func (*AddressUnitsResourcePutPutForbidden) Code

Code gets the status code for the address units resource put put forbidden response

func (*AddressUnitsResourcePutPutForbidden) Error

func (*AddressUnitsResourcePutPutForbidden) IsClientError

func (o *AddressUnitsResourcePutPutForbidden) IsClientError() bool

IsClientError returns true when this address units resource put put forbidden response has a 4xx status code

func (*AddressUnitsResourcePutPutForbidden) IsCode

IsCode returns true when this address units resource put put forbidden response a status code equal to that given

func (*AddressUnitsResourcePutPutForbidden) IsRedirect

func (o *AddressUnitsResourcePutPutForbidden) IsRedirect() bool

IsRedirect returns true when this address units resource put put forbidden response has a 3xx status code

func (*AddressUnitsResourcePutPutForbidden) IsServerError

func (o *AddressUnitsResourcePutPutForbidden) IsServerError() bool

IsServerError returns true when this address units resource put put forbidden response has a 5xx status code

func (*AddressUnitsResourcePutPutForbidden) IsSuccess

IsSuccess returns true when this address units resource put put forbidden response has a 2xx status code

func (*AddressUnitsResourcePutPutForbidden) String

type AddressUnitsResourcePutPutOK

type AddressUnitsResourcePutPutOK struct {
	Payload *models.AddressUnitResponse
}

AddressUnitsResourcePutPutOK describes a response with status code 200, with default header values.

Ok

func NewAddressUnitsResourcePutPutOK

func NewAddressUnitsResourcePutPutOK() *AddressUnitsResourcePutPutOK

NewAddressUnitsResourcePutPutOK creates a AddressUnitsResourcePutPutOK with default headers values

func (*AddressUnitsResourcePutPutOK) Code

Code gets the status code for the address units resource put put o k response

func (*AddressUnitsResourcePutPutOK) Error

func (*AddressUnitsResourcePutPutOK) GetPayload

func (*AddressUnitsResourcePutPutOK) IsClientError

func (o *AddressUnitsResourcePutPutOK) IsClientError() bool

IsClientError returns true when this address units resource put put o k response has a 4xx status code

func (*AddressUnitsResourcePutPutOK) IsCode

func (o *AddressUnitsResourcePutPutOK) IsCode(code int) bool

IsCode returns true when this address units resource put put o k response a status code equal to that given

func (*AddressUnitsResourcePutPutOK) IsRedirect

func (o *AddressUnitsResourcePutPutOK) IsRedirect() bool

IsRedirect returns true when this address units resource put put o k response has a 3xx status code

func (*AddressUnitsResourcePutPutOK) IsServerError

func (o *AddressUnitsResourcePutPutOK) IsServerError() bool

IsServerError returns true when this address units resource put put o k response has a 5xx status code

func (*AddressUnitsResourcePutPutOK) IsSuccess

func (o *AddressUnitsResourcePutPutOK) IsSuccess() bool

IsSuccess returns true when this address units resource put put o k response has a 2xx status code

func (*AddressUnitsResourcePutPutOK) String

type AddressUnitsResourcePutPutParams

type AddressUnitsResourcePutPutParams struct {

	/* AddressID.

	   The address id
	*/
	AddressID int64

	/* Body.

	   Address unit representation
	*/
	Body *models.AddressUnit

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressUnitsResourcePutPutParams contains all the parameters to send to the API endpoint

for the address units resource put put operation.

Typically these are written to a http.Request.

func NewAddressUnitsResourcePutPutParams

func NewAddressUnitsResourcePutPutParams() *AddressUnitsResourcePutPutParams

NewAddressUnitsResourcePutPutParams creates a new AddressUnitsResourcePutPutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressUnitsResourcePutPutParamsWithContext

func NewAddressUnitsResourcePutPutParamsWithContext(ctx context.Context) *AddressUnitsResourcePutPutParams

NewAddressUnitsResourcePutPutParamsWithContext creates a new AddressUnitsResourcePutPutParams object with the ability to set a context for a request.

func NewAddressUnitsResourcePutPutParamsWithHTTPClient

func NewAddressUnitsResourcePutPutParamsWithHTTPClient(client *http.Client) *AddressUnitsResourcePutPutParams

NewAddressUnitsResourcePutPutParamsWithHTTPClient creates a new AddressUnitsResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewAddressUnitsResourcePutPutParamsWithTimeout

func NewAddressUnitsResourcePutPutParamsWithTimeout(timeout time.Duration) *AddressUnitsResourcePutPutParams

NewAddressUnitsResourcePutPutParamsWithTimeout creates a new AddressUnitsResourcePutPutParams object with the ability to set a timeout on a request.

func (*AddressUnitsResourcePutPutParams) SetAddressID

func (o *AddressUnitsResourcePutPutParams) SetAddressID(addressID int64)

SetAddressID adds the addressId to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) SetBody

SetBody adds the body to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) SetContext

SetContext adds the context to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) SetDefaults

func (o *AddressUnitsResourcePutPutParams) SetDefaults()

SetDefaults hydrates default values in the address units resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitsResourcePutPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) SetTimeout

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

SetTimeout adds the timeout to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) WithAddressID

WithAddressID adds the addressID to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) WithBody

WithBody adds the body to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) WithContext

WithContext adds the context to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) WithDefaults

WithDefaults hydrates default values in the address units resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*AddressUnitsResourcePutPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) WithTimeout

WithTimeout adds the timeout to the address units resource put put params

func (*AddressUnitsResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressUnitsResourcePutPutReader

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

AddressUnitsResourcePutPutReader is a Reader for the AddressUnitsResourcePutPut structure.

func (*AddressUnitsResourcePutPutReader) ReadResponse

func (o *AddressUnitsResourcePutPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressUnitsResourcePutPutUnauthorized

type AddressUnitsResourcePutPutUnauthorized struct {
}

AddressUnitsResourcePutPutUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressUnitsResourcePutPutUnauthorized

func NewAddressUnitsResourcePutPutUnauthorized() *AddressUnitsResourcePutPutUnauthorized

NewAddressUnitsResourcePutPutUnauthorized creates a AddressUnitsResourcePutPutUnauthorized with default headers values

func (*AddressUnitsResourcePutPutUnauthorized) Code

Code gets the status code for the address units resource put put unauthorized response

func (*AddressUnitsResourcePutPutUnauthorized) Error

func (*AddressUnitsResourcePutPutUnauthorized) IsClientError

func (o *AddressUnitsResourcePutPutUnauthorized) IsClientError() bool

IsClientError returns true when this address units resource put put unauthorized response has a 4xx status code

func (*AddressUnitsResourcePutPutUnauthorized) IsCode

IsCode returns true when this address units resource put put unauthorized response a status code equal to that given

func (*AddressUnitsResourcePutPutUnauthorized) IsRedirect

IsRedirect returns true when this address units resource put put unauthorized response has a 3xx status code

func (*AddressUnitsResourcePutPutUnauthorized) IsServerError

func (o *AddressUnitsResourcePutPutUnauthorized) IsServerError() bool

IsServerError returns true when this address units resource put put unauthorized response has a 5xx status code

func (*AddressUnitsResourcePutPutUnauthorized) IsSuccess

IsSuccess returns true when this address units resource put put unauthorized response has a 2xx status code

func (*AddressUnitsResourcePutPutUnauthorized) String

type AddressesResourceGetGetOK

type AddressesResourceGetGetOK struct {
	Payload []*models.Address
}

AddressesResourceGetGetOK describes a response with status code 200, with default header values.

successful operation

func NewAddressesResourceGetGetOK

func NewAddressesResourceGetGetOK() *AddressesResourceGetGetOK

NewAddressesResourceGetGetOK creates a AddressesResourceGetGetOK with default headers values

func (*AddressesResourceGetGetOK) Code

func (o *AddressesResourceGetGetOK) Code() int

Code gets the status code for the addresses resource get get o k response

func (*AddressesResourceGetGetOK) Error

func (o *AddressesResourceGetGetOK) Error() string

func (*AddressesResourceGetGetOK) GetPayload

func (o *AddressesResourceGetGetOK) GetPayload() []*models.Address

func (*AddressesResourceGetGetOK) IsClientError

func (o *AddressesResourceGetGetOK) IsClientError() bool

IsClientError returns true when this addresses resource get get o k response has a 4xx status code

func (*AddressesResourceGetGetOK) IsCode

func (o *AddressesResourceGetGetOK) IsCode(code int) bool

IsCode returns true when this addresses resource get get o k response a status code equal to that given

func (*AddressesResourceGetGetOK) IsRedirect

func (o *AddressesResourceGetGetOK) IsRedirect() bool

IsRedirect returns true when this addresses resource get get o k response has a 3xx status code

func (*AddressesResourceGetGetOK) IsServerError

func (o *AddressesResourceGetGetOK) IsServerError() bool

IsServerError returns true when this addresses resource get get o k response has a 5xx status code

func (*AddressesResourceGetGetOK) IsSuccess

func (o *AddressesResourceGetGetOK) IsSuccess() bool

IsSuccess returns true when this addresses resource get get o k response has a 2xx status code

func (*AddressesResourceGetGetOK) String

func (o *AddressesResourceGetGetOK) String() string

type AddressesResourceGetGetParams

type AddressesResourceGetGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressesResourceGetGetParams contains all the parameters to send to the API endpoint

for the addresses resource get get operation.

Typically these are written to a http.Request.

func NewAddressesResourceGetGetParams

func NewAddressesResourceGetGetParams() *AddressesResourceGetGetParams

NewAddressesResourceGetGetParams creates a new AddressesResourceGetGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressesResourceGetGetParamsWithContext

func NewAddressesResourceGetGetParamsWithContext(ctx context.Context) *AddressesResourceGetGetParams

NewAddressesResourceGetGetParamsWithContext creates a new AddressesResourceGetGetParams object with the ability to set a context for a request.

func NewAddressesResourceGetGetParamsWithHTTPClient

func NewAddressesResourceGetGetParamsWithHTTPClient(client *http.Client) *AddressesResourceGetGetParams

NewAddressesResourceGetGetParamsWithHTTPClient creates a new AddressesResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewAddressesResourceGetGetParamsWithTimeout

func NewAddressesResourceGetGetParamsWithTimeout(timeout time.Duration) *AddressesResourceGetGetParams

NewAddressesResourceGetGetParamsWithTimeout creates a new AddressesResourceGetGetParams object with the ability to set a timeout on a request.

func (*AddressesResourceGetGetParams) SetContext

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

SetContext adds the context to the addresses resource get get params

func (*AddressesResourceGetGetParams) SetDefaults

func (o *AddressesResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the addresses resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*AddressesResourceGetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the addresses resource get get params

func (*AddressesResourceGetGetParams) SetTimeout

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

SetTimeout adds the timeout to the addresses resource get get params

func (*AddressesResourceGetGetParams) WithContext

WithContext adds the context to the addresses resource get get params

func (*AddressesResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the addresses resource get get params (not the query body).

All values with no default are reset to their zero value.

func (*AddressesResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the addresses resource get get params

func (*AddressesResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the addresses resource get get params

func (*AddressesResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressesResourceGetGetReader

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

AddressesResourceGetGetReader is a Reader for the AddressesResourceGetGet structure.

func (*AddressesResourceGetGetReader) ReadResponse

func (o *AddressesResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressesResourceGetGetUnauthorized

type AddressesResourceGetGetUnauthorized struct {
}

AddressesResourceGetGetUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressesResourceGetGetUnauthorized

func NewAddressesResourceGetGetUnauthorized() *AddressesResourceGetGetUnauthorized

NewAddressesResourceGetGetUnauthorized creates a AddressesResourceGetGetUnauthorized with default headers values

func (*AddressesResourceGetGetUnauthorized) Code

Code gets the status code for the addresses resource get get unauthorized response

func (*AddressesResourceGetGetUnauthorized) Error

func (*AddressesResourceGetGetUnauthorized) IsClientError

func (o *AddressesResourceGetGetUnauthorized) IsClientError() bool

IsClientError returns true when this addresses resource get get unauthorized response has a 4xx status code

func (*AddressesResourceGetGetUnauthorized) IsCode

IsCode returns true when this addresses resource get get unauthorized response a status code equal to that given

func (*AddressesResourceGetGetUnauthorized) IsRedirect

func (o *AddressesResourceGetGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this addresses resource get get unauthorized response has a 3xx status code

func (*AddressesResourceGetGetUnauthorized) IsServerError

func (o *AddressesResourceGetGetUnauthorized) IsServerError() bool

IsServerError returns true when this addresses resource get get unauthorized response has a 5xx status code

func (*AddressesResourceGetGetUnauthorized) IsSuccess

IsSuccess returns true when this addresses resource get get unauthorized response has a 2xx status code

func (*AddressesResourceGetGetUnauthorized) String

type AddressesResourcePutPutBadRequest

type AddressesResourcePutPutBadRequest struct {
}

AddressesResourcePutPutBadRequest describes a response with status code 400, with default header values.

Bad Parameter

func NewAddressesResourcePutPutBadRequest

func NewAddressesResourcePutPutBadRequest() *AddressesResourcePutPutBadRequest

NewAddressesResourcePutPutBadRequest creates a AddressesResourcePutPutBadRequest with default headers values

func (*AddressesResourcePutPutBadRequest) Code

Code gets the status code for the addresses resource put put bad request response

func (*AddressesResourcePutPutBadRequest) Error

func (*AddressesResourcePutPutBadRequest) IsClientError

func (o *AddressesResourcePutPutBadRequest) IsClientError() bool

IsClientError returns true when this addresses resource put put bad request response has a 4xx status code

func (*AddressesResourcePutPutBadRequest) IsCode

func (o *AddressesResourcePutPutBadRequest) IsCode(code int) bool

IsCode returns true when this addresses resource put put bad request response a status code equal to that given

func (*AddressesResourcePutPutBadRequest) IsRedirect

func (o *AddressesResourcePutPutBadRequest) IsRedirect() bool

IsRedirect returns true when this addresses resource put put bad request response has a 3xx status code

func (*AddressesResourcePutPutBadRequest) IsServerError

func (o *AddressesResourcePutPutBadRequest) IsServerError() bool

IsServerError returns true when this addresses resource put put bad request response has a 5xx status code

func (*AddressesResourcePutPutBadRequest) IsSuccess

func (o *AddressesResourcePutPutBadRequest) IsSuccess() bool

IsSuccess returns true when this addresses resource put put bad request response has a 2xx status code

func (*AddressesResourcePutPutBadRequest) String

type AddressesResourcePutPutOK

type AddressesResourcePutPutOK struct {
	Payload *models.Address
}

AddressesResourcePutPutOK describes a response with status code 200, with default header values.

Ok

func NewAddressesResourcePutPutOK

func NewAddressesResourcePutPutOK() *AddressesResourcePutPutOK

NewAddressesResourcePutPutOK creates a AddressesResourcePutPutOK with default headers values

func (*AddressesResourcePutPutOK) Code

func (o *AddressesResourcePutPutOK) Code() int

Code gets the status code for the addresses resource put put o k response

func (*AddressesResourcePutPutOK) Error

func (o *AddressesResourcePutPutOK) Error() string

func (*AddressesResourcePutPutOK) GetPayload

func (o *AddressesResourcePutPutOK) GetPayload() *models.Address

func (*AddressesResourcePutPutOK) IsClientError

func (o *AddressesResourcePutPutOK) IsClientError() bool

IsClientError returns true when this addresses resource put put o k response has a 4xx status code

func (*AddressesResourcePutPutOK) IsCode

func (o *AddressesResourcePutPutOK) IsCode(code int) bool

IsCode returns true when this addresses resource put put o k response a status code equal to that given

func (*AddressesResourcePutPutOK) IsRedirect

func (o *AddressesResourcePutPutOK) IsRedirect() bool

IsRedirect returns true when this addresses resource put put o k response has a 3xx status code

func (*AddressesResourcePutPutOK) IsServerError

func (o *AddressesResourcePutPutOK) IsServerError() bool

IsServerError returns true when this addresses resource put put o k response has a 5xx status code

func (*AddressesResourcePutPutOK) IsSuccess

func (o *AddressesResourcePutPutOK) IsSuccess() bool

IsSuccess returns true when this addresses resource put put o k response has a 2xx status code

func (*AddressesResourcePutPutOK) String

func (o *AddressesResourcePutPutOK) String() string

type AddressesResourcePutPutParams

type AddressesResourcePutPutParams struct {

	/* Body.

	   Address create representation
	*/
	Body *models.AddressCreate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddressesResourcePutPutParams contains all the parameters to send to the API endpoint

for the addresses resource put put operation.

Typically these are written to a http.Request.

func NewAddressesResourcePutPutParams

func NewAddressesResourcePutPutParams() *AddressesResourcePutPutParams

NewAddressesResourcePutPutParams creates a new AddressesResourcePutPutParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddressesResourcePutPutParamsWithContext

func NewAddressesResourcePutPutParamsWithContext(ctx context.Context) *AddressesResourcePutPutParams

NewAddressesResourcePutPutParamsWithContext creates a new AddressesResourcePutPutParams object with the ability to set a context for a request.

func NewAddressesResourcePutPutParamsWithHTTPClient

func NewAddressesResourcePutPutParamsWithHTTPClient(client *http.Client) *AddressesResourcePutPutParams

NewAddressesResourcePutPutParamsWithHTTPClient creates a new AddressesResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewAddressesResourcePutPutParamsWithTimeout

func NewAddressesResourcePutPutParamsWithTimeout(timeout time.Duration) *AddressesResourcePutPutParams

NewAddressesResourcePutPutParamsWithTimeout creates a new AddressesResourcePutPutParams object with the ability to set a timeout on a request.

func (*AddressesResourcePutPutParams) SetBody

SetBody adds the body to the addresses resource put put params

func (*AddressesResourcePutPutParams) SetContext

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

SetContext adds the context to the addresses resource put put params

func (*AddressesResourcePutPutParams) SetDefaults

func (o *AddressesResourcePutPutParams) SetDefaults()

SetDefaults hydrates default values in the addresses resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*AddressesResourcePutPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the addresses resource put put params

func (*AddressesResourcePutPutParams) SetTimeout

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

SetTimeout adds the timeout to the addresses resource put put params

func (*AddressesResourcePutPutParams) WithBody

WithBody adds the body to the addresses resource put put params

func (*AddressesResourcePutPutParams) WithContext

WithContext adds the context to the addresses resource put put params

func (*AddressesResourcePutPutParams) WithDefaults

WithDefaults hydrates default values in the addresses resource put put params (not the query body).

All values with no default are reset to their zero value.

func (*AddressesResourcePutPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the addresses resource put put params

func (*AddressesResourcePutPutParams) WithTimeout

WithTimeout adds the timeout to the addresses resource put put params

func (*AddressesResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddressesResourcePutPutReader

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

AddressesResourcePutPutReader is a Reader for the AddressesResourcePutPut structure.

func (*AddressesResourcePutPutReader) ReadResponse

func (o *AddressesResourcePutPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddressesResourcePutPutUnauthorized

type AddressesResourcePutPutUnauthorized struct {
}

AddressesResourcePutPutUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewAddressesResourcePutPutUnauthorized

func NewAddressesResourcePutPutUnauthorized() *AddressesResourcePutPutUnauthorized

NewAddressesResourcePutPutUnauthorized creates a AddressesResourcePutPutUnauthorized with default headers values

func (*AddressesResourcePutPutUnauthorized) Code

Code gets the status code for the addresses resource put put unauthorized response

func (*AddressesResourcePutPutUnauthorized) Error

func (*AddressesResourcePutPutUnauthorized) IsClientError

func (o *AddressesResourcePutPutUnauthorized) IsClientError() bool

IsClientError returns true when this addresses resource put put unauthorized response has a 4xx status code

func (*AddressesResourcePutPutUnauthorized) IsCode

IsCode returns true when this addresses resource put put unauthorized response a status code equal to that given

func (*AddressesResourcePutPutUnauthorized) IsRedirect

func (o *AddressesResourcePutPutUnauthorized) IsRedirect() bool

IsRedirect returns true when this addresses resource put put unauthorized response has a 3xx status code

func (*AddressesResourcePutPutUnauthorized) IsServerError

func (o *AddressesResourcePutPutUnauthorized) IsServerError() bool

IsServerError returns true when this addresses resource put put unauthorized response has a 5xx status code

func (*AddressesResourcePutPutUnauthorized) IsSuccess

IsSuccess returns true when this addresses resource put put unauthorized response has a 2xx status code

func (*AddressesResourcePutPutUnauthorized) String

type Client

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

Client for address API

func (*Client) AddressResourceDeleteDelete

func (a *Client) AddressResourceDeleteDelete(params *AddressResourceDeleteDeleteParams, opts ...ClientOption) (*AddressResourceDeleteDeleteNoContent, error)

AddressResourceDeleteDelete deletes an address

func (*Client) AddressResourcePostPost

func (a *Client) AddressResourcePostPost(params *AddressResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressResourcePostPostNoContent, error)

AddressResourcePostPost updates an address

func (*Client) AddressUnitResourceDeleteDelete

func (a *Client) AddressUnitResourceDeleteDelete(params *AddressUnitResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitResourceDeleteDeleteOK, error)

AddressUnitResourceDeleteDelete deletes an address unit

func (*Client) AddressUnitsResourceDeleteDelete

func (a *Client) AddressUnitsResourceDeleteDelete(params *AddressUnitsResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitsResourceDeleteDeleteOK, error)

AddressUnitsResourceDeleteDelete deletes address units asynchronously

func (*Client) AddressUnitsResourceGetGet

func (a *Client) AddressUnitsResourceGetGet(params *AddressUnitsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitsResourceGetGetOK, error)

AddressUnitsResourceGetGet gets a list of address units

func (*Client) AddressUnitsResourcePutPut

func (a *Client) AddressUnitsResourcePutPut(params *AddressUnitsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitsResourcePutPutOK, error)

AddressUnitsResourcePutPut creates an address unit

func (*Client) AddressesResourceGetGet

func (a *Client) AddressesResourceGetGet(params *AddressesResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressesResourceGetGetOK, error)

AddressesResourceGetGet gets a list of addresses

func (*Client) AddressesResourcePutPut

func (a *Client) AddressesResourcePutPut(params *AddressesResourcePutPutParams, opts ...ClientOption) (*AddressesResourcePutPutOK, error)

AddressesResourcePutPut creates an address

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddressResourceDeleteDelete(params *AddressResourceDeleteDeleteParams, opts ...ClientOption) (*AddressResourceDeleteDeleteNoContent, error)

	AddressResourcePostPost(params *AddressResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressResourcePostPostNoContent, error)

	AddressUnitResourceDeleteDelete(params *AddressUnitResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitResourceDeleteDeleteOK, error)

	AddressUnitsResourceDeleteDelete(params *AddressUnitsResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitsResourceDeleteDeleteOK, error)

	AddressUnitsResourceGetGet(params *AddressUnitsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitsResourceGetGetOK, error)

	AddressUnitsResourcePutPut(params *AddressUnitsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressUnitsResourcePutPutOK, error)

	AddressesResourceGetGet(params *AddressesResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressesResourceGetGetOK, error)

	AddressesResourcePutPut(params *AddressesResourcePutPutParams, opts ...ClientOption) (*AddressesResourcePutPutOK, 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 address API client.

Jump to

Keyboard shortcuts

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