Documentation ¶
Index ¶
- type AddressResourceDeleteDeleteForbidden
- func (o *AddressResourceDeleteDeleteForbidden) Code() int
- func (o *AddressResourceDeleteDeleteForbidden) Error() string
- func (o *AddressResourceDeleteDeleteForbidden) IsClientError() bool
- func (o *AddressResourceDeleteDeleteForbidden) IsCode(code int) bool
- func (o *AddressResourceDeleteDeleteForbidden) IsRedirect() bool
- func (o *AddressResourceDeleteDeleteForbidden) IsServerError() bool
- func (o *AddressResourceDeleteDeleteForbidden) IsSuccess() bool
- func (o *AddressResourceDeleteDeleteForbidden) String() string
- type AddressResourceDeleteDeleteNoContent
- func (o *AddressResourceDeleteDeleteNoContent) Code() int
- func (o *AddressResourceDeleteDeleteNoContent) Error() string
- func (o *AddressResourceDeleteDeleteNoContent) IsClientError() bool
- func (o *AddressResourceDeleteDeleteNoContent) IsCode(code int) bool
- func (o *AddressResourceDeleteDeleteNoContent) IsRedirect() bool
- func (o *AddressResourceDeleteDeleteNoContent) IsServerError() bool
- func (o *AddressResourceDeleteDeleteNoContent) IsSuccess() bool
- func (o *AddressResourceDeleteDeleteNoContent) String() string
- type AddressResourceDeleteDeleteParams
- func NewAddressResourceDeleteDeleteParams() *AddressResourceDeleteDeleteParams
- func NewAddressResourceDeleteDeleteParamsWithContext(ctx context.Context) *AddressResourceDeleteDeleteParams
- func NewAddressResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *AddressResourceDeleteDeleteParams
- func NewAddressResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *AddressResourceDeleteDeleteParams
- func (o *AddressResourceDeleteDeleteParams) SetAddressID(addressID int64)
- func (o *AddressResourceDeleteDeleteParams) SetContext(ctx context.Context)
- func (o *AddressResourceDeleteDeleteParams) SetDefaults()
- func (o *AddressResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AddressResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AddressResourceDeleteDeleteParams) WithAddressID(addressID int64) *AddressResourceDeleteDeleteParams
- func (o *AddressResourceDeleteDeleteParams) WithContext(ctx context.Context) *AddressResourceDeleteDeleteParams
- func (o *AddressResourceDeleteDeleteParams) WithDefaults() *AddressResourceDeleteDeleteParams
- func (o *AddressResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *AddressResourceDeleteDeleteParams
- func (o *AddressResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *AddressResourceDeleteDeleteParams
- func (o *AddressResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressResourceDeleteDeleteReader
- type AddressResourceDeleteDeleteUnauthorized
- func (o *AddressResourceDeleteDeleteUnauthorized) Code() int
- func (o *AddressResourceDeleteDeleteUnauthorized) Error() string
- func (o *AddressResourceDeleteDeleteUnauthorized) IsClientError() bool
- func (o *AddressResourceDeleteDeleteUnauthorized) IsCode(code int) bool
- func (o *AddressResourceDeleteDeleteUnauthorized) IsRedirect() bool
- func (o *AddressResourceDeleteDeleteUnauthorized) IsServerError() bool
- func (o *AddressResourceDeleteDeleteUnauthorized) IsSuccess() bool
- func (o *AddressResourceDeleteDeleteUnauthorized) String() string
- type AddressResourcePostPostBadRequest
- func (o *AddressResourcePostPostBadRequest) Code() int
- func (o *AddressResourcePostPostBadRequest) Error() string
- func (o *AddressResourcePostPostBadRequest) IsClientError() bool
- func (o *AddressResourcePostPostBadRequest) IsCode(code int) bool
- func (o *AddressResourcePostPostBadRequest) IsRedirect() bool
- func (o *AddressResourcePostPostBadRequest) IsServerError() bool
- func (o *AddressResourcePostPostBadRequest) IsSuccess() bool
- func (o *AddressResourcePostPostBadRequest) String() string
- type AddressResourcePostPostForbidden
- func (o *AddressResourcePostPostForbidden) Code() int
- func (o *AddressResourcePostPostForbidden) Error() string
- func (o *AddressResourcePostPostForbidden) IsClientError() bool
- func (o *AddressResourcePostPostForbidden) IsCode(code int) bool
- func (o *AddressResourcePostPostForbidden) IsRedirect() bool
- func (o *AddressResourcePostPostForbidden) IsServerError() bool
- func (o *AddressResourcePostPostForbidden) IsSuccess() bool
- func (o *AddressResourcePostPostForbidden) String() string
- type AddressResourcePostPostNoContent
- func (o *AddressResourcePostPostNoContent) Code() int
- func (o *AddressResourcePostPostNoContent) Error() string
- func (o *AddressResourcePostPostNoContent) IsClientError() bool
- func (o *AddressResourcePostPostNoContent) IsCode(code int) bool
- func (o *AddressResourcePostPostNoContent) IsRedirect() bool
- func (o *AddressResourcePostPostNoContent) IsServerError() bool
- func (o *AddressResourcePostPostNoContent) IsSuccess() bool
- func (o *AddressResourcePostPostNoContent) String() string
- type AddressResourcePostPostParams
- func NewAddressResourcePostPostParams() *AddressResourcePostPostParams
- func NewAddressResourcePostPostParamsWithContext(ctx context.Context) *AddressResourcePostPostParams
- func NewAddressResourcePostPostParamsWithHTTPClient(client *http.Client) *AddressResourcePostPostParams
- func NewAddressResourcePostPostParamsWithTimeout(timeout time.Duration) *AddressResourcePostPostParams
- func (o *AddressResourcePostPostParams) SetAddressID(addressID int64)
- func (o *AddressResourcePostPostParams) SetBody(body *models.AddressUpdate)
- func (o *AddressResourcePostPostParams) SetContext(ctx context.Context)
- func (o *AddressResourcePostPostParams) SetDefaults()
- func (o *AddressResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *AddressResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *AddressResourcePostPostParams) WithAddressID(addressID int64) *AddressResourcePostPostParams
- func (o *AddressResourcePostPostParams) WithBody(body *models.AddressUpdate) *AddressResourcePostPostParams
- func (o *AddressResourcePostPostParams) WithContext(ctx context.Context) *AddressResourcePostPostParams
- func (o *AddressResourcePostPostParams) WithDefaults() *AddressResourcePostPostParams
- func (o *AddressResourcePostPostParams) WithHTTPClient(client *http.Client) *AddressResourcePostPostParams
- func (o *AddressResourcePostPostParams) WithTimeout(timeout time.Duration) *AddressResourcePostPostParams
- func (o *AddressResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressResourcePostPostReader
- type AddressResourcePostPostUnauthorized
- func (o *AddressResourcePostPostUnauthorized) Code() int
- func (o *AddressResourcePostPostUnauthorized) Error() string
- func (o *AddressResourcePostPostUnauthorized) IsClientError() bool
- func (o *AddressResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *AddressResourcePostPostUnauthorized) IsRedirect() bool
- func (o *AddressResourcePostPostUnauthorized) IsServerError() bool
- func (o *AddressResourcePostPostUnauthorized) IsSuccess() bool
- func (o *AddressResourcePostPostUnauthorized) String() string
- type AddressUnitResourceDeleteDeleteForbidden
- func (o *AddressUnitResourceDeleteDeleteForbidden) Code() int
- func (o *AddressUnitResourceDeleteDeleteForbidden) Error() string
- func (o *AddressUnitResourceDeleteDeleteForbidden) IsClientError() bool
- func (o *AddressUnitResourceDeleteDeleteForbidden) IsCode(code int) bool
- func (o *AddressUnitResourceDeleteDeleteForbidden) IsRedirect() bool
- func (o *AddressUnitResourceDeleteDeleteForbidden) IsServerError() bool
- func (o *AddressUnitResourceDeleteDeleteForbidden) IsSuccess() bool
- func (o *AddressUnitResourceDeleteDeleteForbidden) String() string
- type AddressUnitResourceDeleteDeleteLocked
- func (o *AddressUnitResourceDeleteDeleteLocked) Code() int
- func (o *AddressUnitResourceDeleteDeleteLocked) Error() string
- func (o *AddressUnitResourceDeleteDeleteLocked) IsClientError() bool
- func (o *AddressUnitResourceDeleteDeleteLocked) IsCode(code int) bool
- func (o *AddressUnitResourceDeleteDeleteLocked) IsRedirect() bool
- func (o *AddressUnitResourceDeleteDeleteLocked) IsServerError() bool
- func (o *AddressUnitResourceDeleteDeleteLocked) IsSuccess() bool
- func (o *AddressUnitResourceDeleteDeleteLocked) String() string
- type AddressUnitResourceDeleteDeleteOK
- func (o *AddressUnitResourceDeleteDeleteOK) Code() int
- func (o *AddressUnitResourceDeleteDeleteOK) Error() string
- func (o *AddressUnitResourceDeleteDeleteOK) GetPayload() *models.AdvancedConfirmationResponse
- func (o *AddressUnitResourceDeleteDeleteOK) IsClientError() bool
- func (o *AddressUnitResourceDeleteDeleteOK) IsCode(code int) bool
- func (o *AddressUnitResourceDeleteDeleteOK) IsRedirect() bool
- func (o *AddressUnitResourceDeleteDeleteOK) IsServerError() bool
- func (o *AddressUnitResourceDeleteDeleteOK) IsSuccess() bool
- func (o *AddressUnitResourceDeleteDeleteOK) String() string
- type AddressUnitResourceDeleteDeleteParams
- func NewAddressUnitResourceDeleteDeleteParams() *AddressUnitResourceDeleteDeleteParams
- func NewAddressUnitResourceDeleteDeleteParamsWithContext(ctx context.Context) *AddressUnitResourceDeleteDeleteParams
- func NewAddressUnitResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *AddressUnitResourceDeleteDeleteParams
- func NewAddressUnitResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *AddressUnitResourceDeleteDeleteParams
- func (o *AddressUnitResourceDeleteDeleteParams) SetAddressID(addressID int64)
- func (o *AddressUnitResourceDeleteDeleteParams) SetContext(ctx context.Context)
- func (o *AddressUnitResourceDeleteDeleteParams) SetDefaults()
- func (o *AddressUnitResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AddressUnitResourceDeleteDeleteParams) SetID(id string)
- func (o *AddressUnitResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AddressUnitResourceDeleteDeleteParams) WithAddressID(addressID int64) *AddressUnitResourceDeleteDeleteParams
- func (o *AddressUnitResourceDeleteDeleteParams) WithContext(ctx context.Context) *AddressUnitResourceDeleteDeleteParams
- func (o *AddressUnitResourceDeleteDeleteParams) WithDefaults() *AddressUnitResourceDeleteDeleteParams
- func (o *AddressUnitResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *AddressUnitResourceDeleteDeleteParams
- func (o *AddressUnitResourceDeleteDeleteParams) WithID(id string) *AddressUnitResourceDeleteDeleteParams
- func (o *AddressUnitResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *AddressUnitResourceDeleteDeleteParams
- func (o *AddressUnitResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressUnitResourceDeleteDeleteReader
- type AddressUnitResourceDeleteDeleteUnauthorized
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) Code() int
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) Error() string
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsClientError() bool
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsCode(code int) bool
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsRedirect() bool
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsServerError() bool
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsSuccess() bool
- func (o *AddressUnitResourceDeleteDeleteUnauthorized) String() string
- type AddressUnitsResourceDeleteDeleteBadRequest
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) Code() int
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) Error() string
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsClientError() bool
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsCode(code int) bool
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsRedirect() bool
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsServerError() bool
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsSuccess() bool
- func (o *AddressUnitsResourceDeleteDeleteBadRequest) String() string
- type AddressUnitsResourceDeleteDeleteForbidden
- func (o *AddressUnitsResourceDeleteDeleteForbidden) Code() int
- func (o *AddressUnitsResourceDeleteDeleteForbidden) Error() string
- func (o *AddressUnitsResourceDeleteDeleteForbidden) IsClientError() bool
- func (o *AddressUnitsResourceDeleteDeleteForbidden) IsCode(code int) bool
- func (o *AddressUnitsResourceDeleteDeleteForbidden) IsRedirect() bool
- func (o *AddressUnitsResourceDeleteDeleteForbidden) IsServerError() bool
- func (o *AddressUnitsResourceDeleteDeleteForbidden) IsSuccess() bool
- func (o *AddressUnitsResourceDeleteDeleteForbidden) String() string
- type AddressUnitsResourceDeleteDeleteLocked
- func (o *AddressUnitsResourceDeleteDeleteLocked) Code() int
- func (o *AddressUnitsResourceDeleteDeleteLocked) Error() string
- func (o *AddressUnitsResourceDeleteDeleteLocked) IsClientError() bool
- func (o *AddressUnitsResourceDeleteDeleteLocked) IsCode(code int) bool
- func (o *AddressUnitsResourceDeleteDeleteLocked) IsRedirect() bool
- func (o *AddressUnitsResourceDeleteDeleteLocked) IsServerError() bool
- func (o *AddressUnitsResourceDeleteDeleteLocked) IsSuccess() bool
- func (o *AddressUnitsResourceDeleteDeleteLocked) String() string
- type AddressUnitsResourceDeleteDeleteOK
- func (o *AddressUnitsResourceDeleteDeleteOK) Code() int
- func (o *AddressUnitsResourceDeleteDeleteOK) Error() string
- func (o *AddressUnitsResourceDeleteDeleteOK) GetPayload() *models.AdvancedConfirmationResponse
- func (o *AddressUnitsResourceDeleteDeleteOK) IsClientError() bool
- func (o *AddressUnitsResourceDeleteDeleteOK) IsCode(code int) bool
- func (o *AddressUnitsResourceDeleteDeleteOK) IsRedirect() bool
- func (o *AddressUnitsResourceDeleteDeleteOK) IsServerError() bool
- func (o *AddressUnitsResourceDeleteDeleteOK) IsSuccess() bool
- func (o *AddressUnitsResourceDeleteDeleteOK) String() string
- type AddressUnitsResourceDeleteDeleteParams
- func NewAddressUnitsResourceDeleteDeleteParams() *AddressUnitsResourceDeleteDeleteParams
- func NewAddressUnitsResourceDeleteDeleteParamsWithContext(ctx context.Context) *AddressUnitsResourceDeleteDeleteParams
- func NewAddressUnitsResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *AddressUnitsResourceDeleteDeleteParams
- func NewAddressUnitsResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *AddressUnitsResourceDeleteDeleteParams
- func (o *AddressUnitsResourceDeleteDeleteParams) SetAddressID(addressID int64)
- func (o *AddressUnitsResourceDeleteDeleteParams) SetBody(body []string)
- func (o *AddressUnitsResourceDeleteDeleteParams) SetContext(ctx context.Context)
- func (o *AddressUnitsResourceDeleteDeleteParams) SetDefaults()
- func (o *AddressUnitsResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AddressUnitsResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AddressUnitsResourceDeleteDeleteParams) WithAddressID(addressID int64) *AddressUnitsResourceDeleteDeleteParams
- func (o *AddressUnitsResourceDeleteDeleteParams) WithBody(body []string) *AddressUnitsResourceDeleteDeleteParams
- func (o *AddressUnitsResourceDeleteDeleteParams) WithContext(ctx context.Context) *AddressUnitsResourceDeleteDeleteParams
- func (o *AddressUnitsResourceDeleteDeleteParams) WithDefaults() *AddressUnitsResourceDeleteDeleteParams
- func (o *AddressUnitsResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *AddressUnitsResourceDeleteDeleteParams
- func (o *AddressUnitsResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *AddressUnitsResourceDeleteDeleteParams
- func (o *AddressUnitsResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressUnitsResourceDeleteDeleteReader
- type AddressUnitsResourceDeleteDeleteUnauthorized
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) Code() int
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) Error() string
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsClientError() bool
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsCode(code int) bool
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsRedirect() bool
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsServerError() bool
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsSuccess() bool
- func (o *AddressUnitsResourceDeleteDeleteUnauthorized) String() string
- type AddressUnitsResourceGetGetBadRequest
- func (o *AddressUnitsResourceGetGetBadRequest) Code() int
- func (o *AddressUnitsResourceGetGetBadRequest) Error() string
- func (o *AddressUnitsResourceGetGetBadRequest) IsClientError() bool
- func (o *AddressUnitsResourceGetGetBadRequest) IsCode(code int) bool
- func (o *AddressUnitsResourceGetGetBadRequest) IsRedirect() bool
- func (o *AddressUnitsResourceGetGetBadRequest) IsServerError() bool
- func (o *AddressUnitsResourceGetGetBadRequest) IsSuccess() bool
- func (o *AddressUnitsResourceGetGetBadRequest) String() string
- type AddressUnitsResourceGetGetOK
- func (o *AddressUnitsResourceGetGetOK) Code() int
- func (o *AddressUnitsResourceGetGetOK) Error() string
- func (o *AddressUnitsResourceGetGetOK) GetPayload() []*models.AddressUnitResponse
- func (o *AddressUnitsResourceGetGetOK) IsClientError() bool
- func (o *AddressUnitsResourceGetGetOK) IsCode(code int) bool
- func (o *AddressUnitsResourceGetGetOK) IsRedirect() bool
- func (o *AddressUnitsResourceGetGetOK) IsServerError() bool
- func (o *AddressUnitsResourceGetGetOK) IsSuccess() bool
- func (o *AddressUnitsResourceGetGetOK) String() string
- type AddressUnitsResourceGetGetParams
- func NewAddressUnitsResourceGetGetParams() *AddressUnitsResourceGetGetParams
- func NewAddressUnitsResourceGetGetParamsWithContext(ctx context.Context) *AddressUnitsResourceGetGetParams
- func NewAddressUnitsResourceGetGetParamsWithHTTPClient(client *http.Client) *AddressUnitsResourceGetGetParams
- func NewAddressUnitsResourceGetGetParamsWithTimeout(timeout time.Duration) *AddressUnitsResourceGetGetParams
- func (o *AddressUnitsResourceGetGetParams) SetAddressID(addressID int64)
- func (o *AddressUnitsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *AddressUnitsResourceGetGetParams) SetDefaults()
- func (o *AddressUnitsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *AddressUnitsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *AddressUnitsResourceGetGetParams) WithAddressID(addressID int64) *AddressUnitsResourceGetGetParams
- func (o *AddressUnitsResourceGetGetParams) WithContext(ctx context.Context) *AddressUnitsResourceGetGetParams
- func (o *AddressUnitsResourceGetGetParams) WithDefaults() *AddressUnitsResourceGetGetParams
- func (o *AddressUnitsResourceGetGetParams) WithHTTPClient(client *http.Client) *AddressUnitsResourceGetGetParams
- func (o *AddressUnitsResourceGetGetParams) WithTimeout(timeout time.Duration) *AddressUnitsResourceGetGetParams
- func (o *AddressUnitsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressUnitsResourceGetGetReader
- type AddressUnitsResourceGetGetUnauthorized
- func (o *AddressUnitsResourceGetGetUnauthorized) Code() int
- func (o *AddressUnitsResourceGetGetUnauthorized) Error() string
- func (o *AddressUnitsResourceGetGetUnauthorized) IsClientError() bool
- func (o *AddressUnitsResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *AddressUnitsResourceGetGetUnauthorized) IsRedirect() bool
- func (o *AddressUnitsResourceGetGetUnauthorized) IsServerError() bool
- func (o *AddressUnitsResourceGetGetUnauthorized) IsSuccess() bool
- func (o *AddressUnitsResourceGetGetUnauthorized) String() string
- type AddressUnitsResourcePutPutBadRequest
- func (o *AddressUnitsResourcePutPutBadRequest) Code() int
- func (o *AddressUnitsResourcePutPutBadRequest) Error() string
- func (o *AddressUnitsResourcePutPutBadRequest) IsClientError() bool
- func (o *AddressUnitsResourcePutPutBadRequest) IsCode(code int) bool
- func (o *AddressUnitsResourcePutPutBadRequest) IsRedirect() bool
- func (o *AddressUnitsResourcePutPutBadRequest) IsServerError() bool
- func (o *AddressUnitsResourcePutPutBadRequest) IsSuccess() bool
- func (o *AddressUnitsResourcePutPutBadRequest) String() string
- type AddressUnitsResourcePutPutForbidden
- func (o *AddressUnitsResourcePutPutForbidden) Code() int
- func (o *AddressUnitsResourcePutPutForbidden) Error() string
- func (o *AddressUnitsResourcePutPutForbidden) IsClientError() bool
- func (o *AddressUnitsResourcePutPutForbidden) IsCode(code int) bool
- func (o *AddressUnitsResourcePutPutForbidden) IsRedirect() bool
- func (o *AddressUnitsResourcePutPutForbidden) IsServerError() bool
- func (o *AddressUnitsResourcePutPutForbidden) IsSuccess() bool
- func (o *AddressUnitsResourcePutPutForbidden) String() string
- type AddressUnitsResourcePutPutOK
- func (o *AddressUnitsResourcePutPutOK) Code() int
- func (o *AddressUnitsResourcePutPutOK) Error() string
- func (o *AddressUnitsResourcePutPutOK) GetPayload() *models.AddressUnitResponse
- func (o *AddressUnitsResourcePutPutOK) IsClientError() bool
- func (o *AddressUnitsResourcePutPutOK) IsCode(code int) bool
- func (o *AddressUnitsResourcePutPutOK) IsRedirect() bool
- func (o *AddressUnitsResourcePutPutOK) IsServerError() bool
- func (o *AddressUnitsResourcePutPutOK) IsSuccess() bool
- func (o *AddressUnitsResourcePutPutOK) String() string
- type AddressUnitsResourcePutPutParams
- func NewAddressUnitsResourcePutPutParams() *AddressUnitsResourcePutPutParams
- func NewAddressUnitsResourcePutPutParamsWithContext(ctx context.Context) *AddressUnitsResourcePutPutParams
- func NewAddressUnitsResourcePutPutParamsWithHTTPClient(client *http.Client) *AddressUnitsResourcePutPutParams
- func NewAddressUnitsResourcePutPutParamsWithTimeout(timeout time.Duration) *AddressUnitsResourcePutPutParams
- func (o *AddressUnitsResourcePutPutParams) SetAddressID(addressID int64)
- func (o *AddressUnitsResourcePutPutParams) SetBody(body *models.AddressUnit)
- func (o *AddressUnitsResourcePutPutParams) SetContext(ctx context.Context)
- func (o *AddressUnitsResourcePutPutParams) SetDefaults()
- func (o *AddressUnitsResourcePutPutParams) SetHTTPClient(client *http.Client)
- func (o *AddressUnitsResourcePutPutParams) SetTimeout(timeout time.Duration)
- func (o *AddressUnitsResourcePutPutParams) WithAddressID(addressID int64) *AddressUnitsResourcePutPutParams
- func (o *AddressUnitsResourcePutPutParams) WithBody(body *models.AddressUnit) *AddressUnitsResourcePutPutParams
- func (o *AddressUnitsResourcePutPutParams) WithContext(ctx context.Context) *AddressUnitsResourcePutPutParams
- func (o *AddressUnitsResourcePutPutParams) WithDefaults() *AddressUnitsResourcePutPutParams
- func (o *AddressUnitsResourcePutPutParams) WithHTTPClient(client *http.Client) *AddressUnitsResourcePutPutParams
- func (o *AddressUnitsResourcePutPutParams) WithTimeout(timeout time.Duration) *AddressUnitsResourcePutPutParams
- func (o *AddressUnitsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressUnitsResourcePutPutReader
- type AddressUnitsResourcePutPutUnauthorized
- func (o *AddressUnitsResourcePutPutUnauthorized) Code() int
- func (o *AddressUnitsResourcePutPutUnauthorized) Error() string
- func (o *AddressUnitsResourcePutPutUnauthorized) IsClientError() bool
- func (o *AddressUnitsResourcePutPutUnauthorized) IsCode(code int) bool
- func (o *AddressUnitsResourcePutPutUnauthorized) IsRedirect() bool
- func (o *AddressUnitsResourcePutPutUnauthorized) IsServerError() bool
- func (o *AddressUnitsResourcePutPutUnauthorized) IsSuccess() bool
- func (o *AddressUnitsResourcePutPutUnauthorized) String() string
- type AddressesResourceGetGetOK
- func (o *AddressesResourceGetGetOK) Code() int
- func (o *AddressesResourceGetGetOK) Error() string
- func (o *AddressesResourceGetGetOK) GetPayload() []*models.Address
- func (o *AddressesResourceGetGetOK) IsClientError() bool
- func (o *AddressesResourceGetGetOK) IsCode(code int) bool
- func (o *AddressesResourceGetGetOK) IsRedirect() bool
- func (o *AddressesResourceGetGetOK) IsServerError() bool
- func (o *AddressesResourceGetGetOK) IsSuccess() bool
- func (o *AddressesResourceGetGetOK) String() string
- type AddressesResourceGetGetParams
- func NewAddressesResourceGetGetParams() *AddressesResourceGetGetParams
- func NewAddressesResourceGetGetParamsWithContext(ctx context.Context) *AddressesResourceGetGetParams
- func NewAddressesResourceGetGetParamsWithHTTPClient(client *http.Client) *AddressesResourceGetGetParams
- func NewAddressesResourceGetGetParamsWithTimeout(timeout time.Duration) *AddressesResourceGetGetParams
- func (o *AddressesResourceGetGetParams) SetContext(ctx context.Context)
- func (o *AddressesResourceGetGetParams) SetDefaults()
- func (o *AddressesResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *AddressesResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *AddressesResourceGetGetParams) WithContext(ctx context.Context) *AddressesResourceGetGetParams
- func (o *AddressesResourceGetGetParams) WithDefaults() *AddressesResourceGetGetParams
- func (o *AddressesResourceGetGetParams) WithHTTPClient(client *http.Client) *AddressesResourceGetGetParams
- func (o *AddressesResourceGetGetParams) WithTimeout(timeout time.Duration) *AddressesResourceGetGetParams
- func (o *AddressesResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressesResourceGetGetReader
- type AddressesResourceGetGetUnauthorized
- func (o *AddressesResourceGetGetUnauthorized) Code() int
- func (o *AddressesResourceGetGetUnauthorized) Error() string
- func (o *AddressesResourceGetGetUnauthorized) IsClientError() bool
- func (o *AddressesResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *AddressesResourceGetGetUnauthorized) IsRedirect() bool
- func (o *AddressesResourceGetGetUnauthorized) IsServerError() bool
- func (o *AddressesResourceGetGetUnauthorized) IsSuccess() bool
- func (o *AddressesResourceGetGetUnauthorized) String() string
- type AddressesResourcePutPutBadRequest
- func (o *AddressesResourcePutPutBadRequest) Code() int
- func (o *AddressesResourcePutPutBadRequest) Error() string
- func (o *AddressesResourcePutPutBadRequest) IsClientError() bool
- func (o *AddressesResourcePutPutBadRequest) IsCode(code int) bool
- func (o *AddressesResourcePutPutBadRequest) IsRedirect() bool
- func (o *AddressesResourcePutPutBadRequest) IsServerError() bool
- func (o *AddressesResourcePutPutBadRequest) IsSuccess() bool
- func (o *AddressesResourcePutPutBadRequest) String() string
- type AddressesResourcePutPutOK
- func (o *AddressesResourcePutPutOK) Code() int
- func (o *AddressesResourcePutPutOK) Error() string
- func (o *AddressesResourcePutPutOK) GetPayload() *models.Address
- func (o *AddressesResourcePutPutOK) IsClientError() bool
- func (o *AddressesResourcePutPutOK) IsCode(code int) bool
- func (o *AddressesResourcePutPutOK) IsRedirect() bool
- func (o *AddressesResourcePutPutOK) IsServerError() bool
- func (o *AddressesResourcePutPutOK) IsSuccess() bool
- func (o *AddressesResourcePutPutOK) String() string
- type AddressesResourcePutPutParams
- func NewAddressesResourcePutPutParams() *AddressesResourcePutPutParams
- func NewAddressesResourcePutPutParamsWithContext(ctx context.Context) *AddressesResourcePutPutParams
- func NewAddressesResourcePutPutParamsWithHTTPClient(client *http.Client) *AddressesResourcePutPutParams
- func NewAddressesResourcePutPutParamsWithTimeout(timeout time.Duration) *AddressesResourcePutPutParams
- func (o *AddressesResourcePutPutParams) SetBody(body *models.AddressCreate)
- func (o *AddressesResourcePutPutParams) SetContext(ctx context.Context)
- func (o *AddressesResourcePutPutParams) SetDefaults()
- func (o *AddressesResourcePutPutParams) SetHTTPClient(client *http.Client)
- func (o *AddressesResourcePutPutParams) SetTimeout(timeout time.Duration)
- func (o *AddressesResourcePutPutParams) WithBody(body *models.AddressCreate) *AddressesResourcePutPutParams
- func (o *AddressesResourcePutPutParams) WithContext(ctx context.Context) *AddressesResourcePutPutParams
- func (o *AddressesResourcePutPutParams) WithDefaults() *AddressesResourcePutPutParams
- func (o *AddressesResourcePutPutParams) WithHTTPClient(client *http.Client) *AddressesResourcePutPutParams
- func (o *AddressesResourcePutPutParams) WithTimeout(timeout time.Duration) *AddressesResourcePutPutParams
- func (o *AddressesResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressesResourcePutPutReader
- type AddressesResourcePutPutUnauthorized
- func (o *AddressesResourcePutPutUnauthorized) Code() int
- func (o *AddressesResourcePutPutUnauthorized) Error() string
- func (o *AddressesResourcePutPutUnauthorized) IsClientError() bool
- func (o *AddressesResourcePutPutUnauthorized) IsCode(code int) bool
- func (o *AddressesResourcePutPutUnauthorized) IsRedirect() bool
- func (o *AddressesResourcePutPutUnauthorized) IsServerError() bool
- func (o *AddressesResourcePutPutUnauthorized) IsSuccess() bool
- func (o *AddressesResourcePutPutUnauthorized) String() string
- type Client
- func (a *Client) AddressResourceDeleteDelete(params *AddressResourceDeleteDeleteParams, opts ...ClientOption) (*AddressResourceDeleteDeleteNoContent, error)
- func (a *Client) AddressResourcePostPost(params *AddressResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddressResourcePostPostNoContent, error)
- func (a *Client) AddressUnitResourceDeleteDelete(params *AddressUnitResourceDeleteDeleteParams, ...) (*AddressUnitResourceDeleteDeleteOK, error)
- func (a *Client) AddressUnitsResourceDeleteDelete(params *AddressUnitsResourceDeleteDeleteParams, ...) (*AddressUnitsResourceDeleteDeleteOK, error)
- func (a *Client) AddressUnitsResourceGetGet(params *AddressUnitsResourceGetGetParams, ...) (*AddressUnitsResourceGetGetOK, error)
- func (a *Client) AddressUnitsResourcePutPut(params *AddressUnitsResourcePutPutParams, ...) (*AddressUnitsResourcePutPutOK, error)
- func (a *Client) AddressesResourceGetGet(params *AddressesResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddressesResourceGetGetOK, error)
- func (a *Client) AddressesResourcePutPut(params *AddressesResourcePutPutParams, opts ...ClientOption) (*AddressesResourcePutPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
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 ¶
func (o *AddressResourceDeleteDeleteForbidden) Code() int
Code gets the status code for the address resource delete delete forbidden response
func (*AddressResourceDeleteDeleteForbidden) Error ¶
func (o *AddressResourceDeleteDeleteForbidden) Error() string
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 ¶
func (o *AddressResourceDeleteDeleteForbidden) IsCode(code int) bool
IsCode returns true when this address resource delete delete forbidden response a status code equal to that given
func (*AddressResourceDeleteDeleteForbidden) IsRedirect ¶
func (o *AddressResourceDeleteDeleteForbidden) IsRedirect() bool
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 ¶
func (o *AddressResourceDeleteDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this address resource delete delete forbidden response has a 2xx status code
func (*AddressResourceDeleteDeleteForbidden) String ¶
func (o *AddressResourceDeleteDeleteForbidden) String() 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 ¶
func (o *AddressResourceDeleteDeleteNoContent) Code() int
Code gets the status code for the address resource delete delete no content response
func (*AddressResourceDeleteDeleteNoContent) Error ¶
func (o *AddressResourceDeleteDeleteNoContent) Error() string
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 ¶
func (o *AddressResourceDeleteDeleteNoContent) IsCode(code int) bool
IsCode returns true when this address resource delete delete no content response a status code equal to that given
func (*AddressResourceDeleteDeleteNoContent) IsRedirect ¶
func (o *AddressResourceDeleteDeleteNoContent) IsRedirect() bool
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 ¶
func (o *AddressResourceDeleteDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this address resource delete delete no content response has a 2xx status code
func (*AddressResourceDeleteDeleteNoContent) String ¶
func (o *AddressResourceDeleteDeleteNoContent) String() 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 ¶
func (o *AddressResourceDeleteDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *AddressResourceDeleteDeleteParams) WithAddressID(addressID int64) *AddressResourceDeleteDeleteParams
WithAddressID adds the addressID to the address resource delete delete params
func (*AddressResourceDeleteDeleteParams) WithContext ¶
func (o *AddressResourceDeleteDeleteParams) WithContext(ctx context.Context) *AddressResourceDeleteDeleteParams
WithContext adds the context to the address resource delete delete params
func (*AddressResourceDeleteDeleteParams) WithDefaults ¶
func (o *AddressResourceDeleteDeleteParams) WithDefaults() *AddressResourceDeleteDeleteParams
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 ¶
func (o *AddressResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *AddressResourceDeleteDeleteParams
WithHTTPClient adds the HTTPClient to the address resource delete delete params
func (*AddressResourceDeleteDeleteParams) WithTimeout ¶
func (o *AddressResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *AddressResourceDeleteDeleteParams
WithTimeout adds the timeout to the address resource delete delete params
func (*AddressResourceDeleteDeleteParams) WriteToRequest ¶
func (o *AddressResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressResourceDeleteDeleteUnauthorized) Code() int
Code gets the status code for the address resource delete delete unauthorized response
func (*AddressResourceDeleteDeleteUnauthorized) Error ¶
func (o *AddressResourceDeleteDeleteUnauthorized) Error() string
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 ¶
func (o *AddressResourceDeleteDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this address resource delete delete unauthorized response a status code equal to that given
func (*AddressResourceDeleteDeleteUnauthorized) IsRedirect ¶
func (o *AddressResourceDeleteDeleteUnauthorized) IsRedirect() bool
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 ¶
func (o *AddressResourceDeleteDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this address resource delete delete unauthorized response has a 2xx status code
func (*AddressResourceDeleteDeleteUnauthorized) String ¶
func (o *AddressResourceDeleteDeleteUnauthorized) String() 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 ¶
func (o *AddressResourcePostPostBadRequest) Code() int
Code gets the status code for the address resource post post bad request response
func (*AddressResourcePostPostBadRequest) Error ¶
func (o *AddressResourcePostPostBadRequest) Error() string
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 ¶
func (o *AddressResourcePostPostBadRequest) String() 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 ¶
func (o *AddressResourcePostPostForbidden) Code() int
Code gets the status code for the address resource post post forbidden response
func (*AddressResourcePostPostForbidden) Error ¶
func (o *AddressResourcePostPostForbidden) Error() string
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 ¶
func (o *AddressResourcePostPostForbidden) String() 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 ¶
func (o *AddressResourcePostPostNoContent) Code() int
Code gets the status code for the address resource post post no content response
func (*AddressResourcePostPostNoContent) Error ¶
func (o *AddressResourcePostPostNoContent) Error() string
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 ¶
func (o *AddressResourcePostPostNoContent) String() 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 ¶
func (o *AddressResourcePostPostParams) SetBody(body *models.AddressUpdate)
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 ¶
func (o *AddressResourcePostPostParams) WithAddressID(addressID int64) *AddressResourcePostPostParams
WithAddressID adds the addressID to the address resource post post params
func (*AddressResourcePostPostParams) WithBody ¶
func (o *AddressResourcePostPostParams) WithBody(body *models.AddressUpdate) *AddressResourcePostPostParams
WithBody adds the body to the address resource post post params
func (*AddressResourcePostPostParams) WithContext ¶
func (o *AddressResourcePostPostParams) WithContext(ctx context.Context) *AddressResourcePostPostParams
WithContext adds the context to the address resource post post params
func (*AddressResourcePostPostParams) WithDefaults ¶
func (o *AddressResourcePostPostParams) WithDefaults() *AddressResourcePostPostParams
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 ¶
func (o *AddressResourcePostPostParams) WithHTTPClient(client *http.Client) *AddressResourcePostPostParams
WithHTTPClient adds the HTTPClient to the address resource post post params
func (*AddressResourcePostPostParams) WithTimeout ¶
func (o *AddressResourcePostPostParams) WithTimeout(timeout time.Duration) *AddressResourcePostPostParams
WithTimeout adds the timeout to the address resource post post params
func (*AddressResourcePostPostParams) WriteToRequest ¶
func (o *AddressResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressResourcePostPostUnauthorized) Code() int
Code gets the status code for the address resource post post unauthorized response
func (*AddressResourcePostPostUnauthorized) Error ¶
func (o *AddressResourcePostPostUnauthorized) Error() string
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 ¶
func (o *AddressResourcePostPostUnauthorized) IsCode(code int) bool
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 ¶
func (o *AddressResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this address resource post post unauthorized response has a 2xx status code
func (*AddressResourcePostPostUnauthorized) String ¶
func (o *AddressResourcePostPostUnauthorized) String() 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 ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) Code() int
Code gets the status code for the address unit resource delete delete forbidden response
func (*AddressUnitResourceDeleteDeleteForbidden) Error ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) Error() string
func (*AddressUnitResourceDeleteDeleteForbidden) IsClientError ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) IsClientError() bool
IsClientError returns true when this address unit resource delete delete forbidden response has a 4xx status code
func (*AddressUnitResourceDeleteDeleteForbidden) IsCode ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) IsCode(code int) bool
IsCode returns true when this address unit resource delete delete forbidden response a status code equal to that given
func (*AddressUnitResourceDeleteDeleteForbidden) IsRedirect ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this address unit resource delete delete forbidden response has a 3xx status code
func (*AddressUnitResourceDeleteDeleteForbidden) IsServerError ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) IsServerError() bool
IsServerError returns true when this address unit resource delete delete forbidden response has a 5xx status code
func (*AddressUnitResourceDeleteDeleteForbidden) IsSuccess ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this address unit resource delete delete forbidden response has a 2xx status code
func (*AddressUnitResourceDeleteDeleteForbidden) String ¶
func (o *AddressUnitResourceDeleteDeleteForbidden) String() 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 ¶
func (o *AddressUnitResourceDeleteDeleteLocked) Code() int
Code gets the status code for the address unit resource delete delete locked response
func (*AddressUnitResourceDeleteDeleteLocked) Error ¶
func (o *AddressUnitResourceDeleteDeleteLocked) Error() string
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 ¶
func (o *AddressUnitResourceDeleteDeleteLocked) IsCode(code int) bool
IsCode returns true when this address unit resource delete delete locked response a status code equal to that given
func (*AddressUnitResourceDeleteDeleteLocked) IsRedirect ¶
func (o *AddressUnitResourceDeleteDeleteLocked) IsRedirect() bool
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 ¶
func (o *AddressUnitResourceDeleteDeleteLocked) IsSuccess() bool
IsSuccess returns true when this address unit resource delete delete locked response has a 2xx status code
func (*AddressUnitResourceDeleteDeleteLocked) String ¶
func (o *AddressUnitResourceDeleteDeleteLocked) String() 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 ¶
func (o *AddressUnitResourceDeleteDeleteOK) Code() int
Code gets the status code for the address unit resource delete delete o k response
func (*AddressUnitResourceDeleteDeleteOK) Error ¶
func (o *AddressUnitResourceDeleteDeleteOK) Error() string
func (*AddressUnitResourceDeleteDeleteOK) GetPayload ¶
func (o *AddressUnitResourceDeleteDeleteOK) GetPayload() *models.AdvancedConfirmationResponse
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 ¶
func (o *AddressUnitResourceDeleteDeleteOK) String() 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 ¶
func (o *AddressUnitResourceDeleteDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *AddressUnitResourceDeleteDeleteParams) SetID(id string)
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 ¶
func (o *AddressUnitResourceDeleteDeleteParams) WithAddressID(addressID int64) *AddressUnitResourceDeleteDeleteParams
WithAddressID adds the addressID to the address unit resource delete delete params
func (*AddressUnitResourceDeleteDeleteParams) WithContext ¶
func (o *AddressUnitResourceDeleteDeleteParams) WithContext(ctx context.Context) *AddressUnitResourceDeleteDeleteParams
WithContext adds the context to the address unit resource delete delete params
func (*AddressUnitResourceDeleteDeleteParams) WithDefaults ¶
func (o *AddressUnitResourceDeleteDeleteParams) WithDefaults() *AddressUnitResourceDeleteDeleteParams
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 ¶
func (o *AddressUnitResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *AddressUnitResourceDeleteDeleteParams
WithHTTPClient adds the HTTPClient to the address unit resource delete delete params
func (*AddressUnitResourceDeleteDeleteParams) WithID ¶
func (o *AddressUnitResourceDeleteDeleteParams) WithID(id string) *AddressUnitResourceDeleteDeleteParams
WithID adds the id to the address unit resource delete delete params
func (*AddressUnitResourceDeleteDeleteParams) WithTimeout ¶
func (o *AddressUnitResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *AddressUnitResourceDeleteDeleteParams
WithTimeout adds the timeout to the address unit resource delete delete params
func (*AddressUnitResourceDeleteDeleteParams) WriteToRequest ¶
func (o *AddressUnitResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) Code() int
Code gets the status code for the address unit resource delete delete unauthorized response
func (*AddressUnitResourceDeleteDeleteUnauthorized) Error ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) Error() string
func (*AddressUnitResourceDeleteDeleteUnauthorized) IsClientError ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this address unit resource delete delete unauthorized response has a 4xx status code
func (*AddressUnitResourceDeleteDeleteUnauthorized) IsCode ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this address unit resource delete delete unauthorized response a status code equal to that given
func (*AddressUnitResourceDeleteDeleteUnauthorized) IsRedirect ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this address unit resource delete delete unauthorized response has a 3xx status code
func (*AddressUnitResourceDeleteDeleteUnauthorized) IsServerError ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this address unit resource delete delete unauthorized response has a 5xx status code
func (*AddressUnitResourceDeleteDeleteUnauthorized) IsSuccess ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this address unit resource delete delete unauthorized response has a 2xx status code
func (*AddressUnitResourceDeleteDeleteUnauthorized) String ¶
func (o *AddressUnitResourceDeleteDeleteUnauthorized) String() 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 ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) Code() int
Code gets the status code for the address units resource delete delete bad request response
func (*AddressUnitsResourceDeleteDeleteBadRequest) Error ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) Error() string
func (*AddressUnitsResourceDeleteDeleteBadRequest) IsClientError ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsClientError() bool
IsClientError returns true when this address units resource delete delete bad request response has a 4xx status code
func (*AddressUnitsResourceDeleteDeleteBadRequest) IsCode ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this address units resource delete delete bad request response a status code equal to that given
func (*AddressUnitsResourceDeleteDeleteBadRequest) IsRedirect ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this address units resource delete delete bad request response has a 3xx status code
func (*AddressUnitsResourceDeleteDeleteBadRequest) IsServerError ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsServerError() bool
IsServerError returns true when this address units resource delete delete bad request response has a 5xx status code
func (*AddressUnitsResourceDeleteDeleteBadRequest) IsSuccess ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this address units resource delete delete bad request response has a 2xx status code
func (*AddressUnitsResourceDeleteDeleteBadRequest) String ¶
func (o *AddressUnitsResourceDeleteDeleteBadRequest) String() 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 ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) Code() int
Code gets the status code for the address units resource delete delete forbidden response
func (*AddressUnitsResourceDeleteDeleteForbidden) Error ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) Error() string
func (*AddressUnitsResourceDeleteDeleteForbidden) IsClientError ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) IsClientError() bool
IsClientError returns true when this address units resource delete delete forbidden response has a 4xx status code
func (*AddressUnitsResourceDeleteDeleteForbidden) IsCode ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) IsCode(code int) bool
IsCode returns true when this address units resource delete delete forbidden response a status code equal to that given
func (*AddressUnitsResourceDeleteDeleteForbidden) IsRedirect ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this address units resource delete delete forbidden response has a 3xx status code
func (*AddressUnitsResourceDeleteDeleteForbidden) IsServerError ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) IsServerError() bool
IsServerError returns true when this address units resource delete delete forbidden response has a 5xx status code
func (*AddressUnitsResourceDeleteDeleteForbidden) IsSuccess ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this address units resource delete delete forbidden response has a 2xx status code
func (*AddressUnitsResourceDeleteDeleteForbidden) String ¶
func (o *AddressUnitsResourceDeleteDeleteForbidden) String() 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 ¶
func (o *AddressUnitsResourceDeleteDeleteLocked) Code() int
Code gets the status code for the address units resource delete delete locked response
func (*AddressUnitsResourceDeleteDeleteLocked) Error ¶
func (o *AddressUnitsResourceDeleteDeleteLocked) Error() string
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 ¶
func (o *AddressUnitsResourceDeleteDeleteLocked) IsCode(code int) bool
IsCode returns true when this address units resource delete delete locked response a status code equal to that given
func (*AddressUnitsResourceDeleteDeleteLocked) IsRedirect ¶
func (o *AddressUnitsResourceDeleteDeleteLocked) IsRedirect() bool
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 ¶
func (o *AddressUnitsResourceDeleteDeleteLocked) IsSuccess() bool
IsSuccess returns true when this address units resource delete delete locked response has a 2xx status code
func (*AddressUnitsResourceDeleteDeleteLocked) String ¶
func (o *AddressUnitsResourceDeleteDeleteLocked) String() 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 ¶
func (o *AddressUnitsResourceDeleteDeleteOK) Code() int
Code gets the status code for the address units resource delete delete o k response
func (*AddressUnitsResourceDeleteDeleteOK) Error ¶
func (o *AddressUnitsResourceDeleteDeleteOK) Error() string
func (*AddressUnitsResourceDeleteDeleteOK) GetPayload ¶
func (o *AddressUnitsResourceDeleteDeleteOK) GetPayload() *models.AdvancedConfirmationResponse
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 ¶
func (o *AddressUnitsResourceDeleteDeleteOK) IsCode(code int) bool
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 ¶
func (o *AddressUnitsResourceDeleteDeleteOK) IsSuccess() bool
IsSuccess returns true when this address units resource delete delete o k response has a 2xx status code
func (*AddressUnitsResourceDeleteDeleteOK) String ¶
func (o *AddressUnitsResourceDeleteDeleteOK) String() 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 ¶
func (o *AddressUnitsResourceDeleteDeleteParams) SetBody(body []string)
SetBody adds the body to the address units resource delete delete params
func (*AddressUnitsResourceDeleteDeleteParams) SetContext ¶
func (o *AddressUnitsResourceDeleteDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *AddressUnitsResourceDeleteDeleteParams) WithAddressID(addressID int64) *AddressUnitsResourceDeleteDeleteParams
WithAddressID adds the addressID to the address units resource delete delete params
func (*AddressUnitsResourceDeleteDeleteParams) WithBody ¶
func (o *AddressUnitsResourceDeleteDeleteParams) WithBody(body []string) *AddressUnitsResourceDeleteDeleteParams
WithBody adds the body to the address units resource delete delete params
func (*AddressUnitsResourceDeleteDeleteParams) WithContext ¶
func (o *AddressUnitsResourceDeleteDeleteParams) WithContext(ctx context.Context) *AddressUnitsResourceDeleteDeleteParams
WithContext adds the context to the address units resource delete delete params
func (*AddressUnitsResourceDeleteDeleteParams) WithDefaults ¶
func (o *AddressUnitsResourceDeleteDeleteParams) WithDefaults() *AddressUnitsResourceDeleteDeleteParams
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 ¶
func (o *AddressUnitsResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *AddressUnitsResourceDeleteDeleteParams
WithHTTPClient adds the HTTPClient to the address units resource delete delete params
func (*AddressUnitsResourceDeleteDeleteParams) WithTimeout ¶
func (o *AddressUnitsResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *AddressUnitsResourceDeleteDeleteParams
WithTimeout adds the timeout to the address units resource delete delete params
func (*AddressUnitsResourceDeleteDeleteParams) WriteToRequest ¶
func (o *AddressUnitsResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) Code() int
Code gets the status code for the address units resource delete delete unauthorized response
func (*AddressUnitsResourceDeleteDeleteUnauthorized) Error ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) Error() string
func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsClientError ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this address units resource delete delete unauthorized response has a 4xx status code
func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsCode ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this address units resource delete delete unauthorized response a status code equal to that given
func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsRedirect ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this address units resource delete delete unauthorized response has a 3xx status code
func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsServerError ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this address units resource delete delete unauthorized response has a 5xx status code
func (*AddressUnitsResourceDeleteDeleteUnauthorized) IsSuccess ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this address units resource delete delete unauthorized response has a 2xx status code
func (*AddressUnitsResourceDeleteDeleteUnauthorized) String ¶
func (o *AddressUnitsResourceDeleteDeleteUnauthorized) String() 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 ¶
func (o *AddressUnitsResourceGetGetBadRequest) Code() int
Code gets the status code for the address units resource get get bad request response
func (*AddressUnitsResourceGetGetBadRequest) Error ¶
func (o *AddressUnitsResourceGetGetBadRequest) Error() string
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 ¶
func (o *AddressUnitsResourceGetGetBadRequest) IsCode(code int) bool
IsCode returns true when this address units resource get get bad request response a status code equal to that given
func (*AddressUnitsResourceGetGetBadRequest) IsRedirect ¶
func (o *AddressUnitsResourceGetGetBadRequest) IsRedirect() bool
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 ¶
func (o *AddressUnitsResourceGetGetBadRequest) IsSuccess() bool
IsSuccess returns true when this address units resource get get bad request response has a 2xx status code
func (*AddressUnitsResourceGetGetBadRequest) String ¶
func (o *AddressUnitsResourceGetGetBadRequest) String() 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 ¶
func (o *AddressUnitsResourceGetGetOK) Code() int
Code gets the status code for the address units resource get get o k response
func (*AddressUnitsResourceGetGetOK) Error ¶
func (o *AddressUnitsResourceGetGetOK) Error() string
func (*AddressUnitsResourceGetGetOK) GetPayload ¶
func (o *AddressUnitsResourceGetGetOK) GetPayload() []*models.AddressUnitResponse
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 ¶
func (o *AddressUnitsResourceGetGetOK) String() 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 ¶
func (o *AddressUnitsResourceGetGetParams) SetContext(ctx context.Context)
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 ¶
func (o *AddressUnitsResourceGetGetParams) WithAddressID(addressID int64) *AddressUnitsResourceGetGetParams
WithAddressID adds the addressID to the address units resource get get params
func (*AddressUnitsResourceGetGetParams) WithContext ¶
func (o *AddressUnitsResourceGetGetParams) WithContext(ctx context.Context) *AddressUnitsResourceGetGetParams
WithContext adds the context to the address units resource get get params
func (*AddressUnitsResourceGetGetParams) WithDefaults ¶
func (o *AddressUnitsResourceGetGetParams) WithDefaults() *AddressUnitsResourceGetGetParams
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 ¶
func (o *AddressUnitsResourceGetGetParams) WithHTTPClient(client *http.Client) *AddressUnitsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the address units resource get get params
func (*AddressUnitsResourceGetGetParams) WithTimeout ¶
func (o *AddressUnitsResourceGetGetParams) WithTimeout(timeout time.Duration) *AddressUnitsResourceGetGetParams
WithTimeout adds the timeout to the address units resource get get params
func (*AddressUnitsResourceGetGetParams) WriteToRequest ¶
func (o *AddressUnitsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressUnitsResourceGetGetUnauthorized) Code() int
Code gets the status code for the address units resource get get unauthorized response
func (*AddressUnitsResourceGetGetUnauthorized) Error ¶
func (o *AddressUnitsResourceGetGetUnauthorized) Error() string
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 ¶
func (o *AddressUnitsResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this address units resource get get unauthorized response a status code equal to that given
func (*AddressUnitsResourceGetGetUnauthorized) IsRedirect ¶
func (o *AddressUnitsResourceGetGetUnauthorized) IsRedirect() bool
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 ¶
func (o *AddressUnitsResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this address units resource get get unauthorized response has a 2xx status code
func (*AddressUnitsResourceGetGetUnauthorized) String ¶
func (o *AddressUnitsResourceGetGetUnauthorized) String() 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 ¶
func (o *AddressUnitsResourcePutPutBadRequest) Code() int
Code gets the status code for the address units resource put put bad request response
func (*AddressUnitsResourcePutPutBadRequest) Error ¶
func (o *AddressUnitsResourcePutPutBadRequest) Error() string
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 ¶
func (o *AddressUnitsResourcePutPutBadRequest) IsCode(code int) bool
IsCode returns true when this address units resource put put bad request response a status code equal to that given
func (*AddressUnitsResourcePutPutBadRequest) IsRedirect ¶
func (o *AddressUnitsResourcePutPutBadRequest) IsRedirect() bool
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 ¶
func (o *AddressUnitsResourcePutPutBadRequest) IsSuccess() bool
IsSuccess returns true when this address units resource put put bad request response has a 2xx status code
func (*AddressUnitsResourcePutPutBadRequest) String ¶
func (o *AddressUnitsResourcePutPutBadRequest) String() 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 ¶
func (o *AddressUnitsResourcePutPutForbidden) Code() int
Code gets the status code for the address units resource put put forbidden response
func (*AddressUnitsResourcePutPutForbidden) Error ¶
func (o *AddressUnitsResourcePutPutForbidden) Error() string
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 ¶
func (o *AddressUnitsResourcePutPutForbidden) IsCode(code int) bool
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 ¶
func (o *AddressUnitsResourcePutPutForbidden) IsSuccess() bool
IsSuccess returns true when this address units resource put put forbidden response has a 2xx status code
func (*AddressUnitsResourcePutPutForbidden) String ¶
func (o *AddressUnitsResourcePutPutForbidden) String() 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 ¶
func (o *AddressUnitsResourcePutPutOK) Code() int
Code gets the status code for the address units resource put put o k response
func (*AddressUnitsResourcePutPutOK) Error ¶
func (o *AddressUnitsResourcePutPutOK) Error() string
func (*AddressUnitsResourcePutPutOK) GetPayload ¶
func (o *AddressUnitsResourcePutPutOK) GetPayload() *models.AddressUnitResponse
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 ¶
func (o *AddressUnitsResourcePutPutOK) String() 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 ¶
func (o *AddressUnitsResourcePutPutParams) SetBody(body *models.AddressUnit)
SetBody adds the body to the address units resource put put params
func (*AddressUnitsResourcePutPutParams) SetContext ¶
func (o *AddressUnitsResourcePutPutParams) SetContext(ctx context.Context)
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 ¶
func (o *AddressUnitsResourcePutPutParams) WithAddressID(addressID int64) *AddressUnitsResourcePutPutParams
WithAddressID adds the addressID to the address units resource put put params
func (*AddressUnitsResourcePutPutParams) WithBody ¶
func (o *AddressUnitsResourcePutPutParams) WithBody(body *models.AddressUnit) *AddressUnitsResourcePutPutParams
WithBody adds the body to the address units resource put put params
func (*AddressUnitsResourcePutPutParams) WithContext ¶
func (o *AddressUnitsResourcePutPutParams) WithContext(ctx context.Context) *AddressUnitsResourcePutPutParams
WithContext adds the context to the address units resource put put params
func (*AddressUnitsResourcePutPutParams) WithDefaults ¶
func (o *AddressUnitsResourcePutPutParams) WithDefaults() *AddressUnitsResourcePutPutParams
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 ¶
func (o *AddressUnitsResourcePutPutParams) WithHTTPClient(client *http.Client) *AddressUnitsResourcePutPutParams
WithHTTPClient adds the HTTPClient to the address units resource put put params
func (*AddressUnitsResourcePutPutParams) WithTimeout ¶
func (o *AddressUnitsResourcePutPutParams) WithTimeout(timeout time.Duration) *AddressUnitsResourcePutPutParams
WithTimeout adds the timeout to the address units resource put put params
func (*AddressUnitsResourcePutPutParams) WriteToRequest ¶
func (o *AddressUnitsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressUnitsResourcePutPutUnauthorized) Code() int
Code gets the status code for the address units resource put put unauthorized response
func (*AddressUnitsResourcePutPutUnauthorized) Error ¶
func (o *AddressUnitsResourcePutPutUnauthorized) Error() string
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 ¶
func (o *AddressUnitsResourcePutPutUnauthorized) IsCode(code int) bool
IsCode returns true when this address units resource put put unauthorized response a status code equal to that given
func (*AddressUnitsResourcePutPutUnauthorized) IsRedirect ¶
func (o *AddressUnitsResourcePutPutUnauthorized) IsRedirect() bool
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 ¶
func (o *AddressUnitsResourcePutPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this address units resource put put unauthorized response has a 2xx status code
func (*AddressUnitsResourcePutPutUnauthorized) String ¶
func (o *AddressUnitsResourcePutPutUnauthorized) String() string
type AddressesResourceGetGetOK ¶
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 ¶
func (o *AddressesResourceGetGetParams) WithContext(ctx context.Context) *AddressesResourceGetGetParams
WithContext adds the context to the addresses resource get get params
func (*AddressesResourceGetGetParams) WithDefaults ¶
func (o *AddressesResourceGetGetParams) WithDefaults() *AddressesResourceGetGetParams
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 ¶
func (o *AddressesResourceGetGetParams) WithHTTPClient(client *http.Client) *AddressesResourceGetGetParams
WithHTTPClient adds the HTTPClient to the addresses resource get get params
func (*AddressesResourceGetGetParams) WithTimeout ¶
func (o *AddressesResourceGetGetParams) WithTimeout(timeout time.Duration) *AddressesResourceGetGetParams
WithTimeout adds the timeout to the addresses resource get get params
func (*AddressesResourceGetGetParams) WriteToRequest ¶
func (o *AddressesResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressesResourceGetGetUnauthorized) Code() int
Code gets the status code for the addresses resource get get unauthorized response
func (*AddressesResourceGetGetUnauthorized) Error ¶
func (o *AddressesResourceGetGetUnauthorized) Error() string
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 ¶
func (o *AddressesResourceGetGetUnauthorized) IsCode(code int) bool
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 ¶
func (o *AddressesResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this addresses resource get get unauthorized response has a 2xx status code
func (*AddressesResourceGetGetUnauthorized) String ¶
func (o *AddressesResourceGetGetUnauthorized) String() 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 ¶
func (o *AddressesResourcePutPutBadRequest) Code() int
Code gets the status code for the addresses resource put put bad request response
func (*AddressesResourcePutPutBadRequest) Error ¶
func (o *AddressesResourcePutPutBadRequest) Error() string
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 ¶
func (o *AddressesResourcePutPutBadRequest) String() string
type AddressesResourcePutPutOK ¶
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 ¶
func (o *AddressesResourcePutPutParams) SetBody(body *models.AddressCreate)
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 ¶
func (o *AddressesResourcePutPutParams) WithBody(body *models.AddressCreate) *AddressesResourcePutPutParams
WithBody adds the body to the addresses resource put put params
func (*AddressesResourcePutPutParams) WithContext ¶
func (o *AddressesResourcePutPutParams) WithContext(ctx context.Context) *AddressesResourcePutPutParams
WithContext adds the context to the addresses resource put put params
func (*AddressesResourcePutPutParams) WithDefaults ¶
func (o *AddressesResourcePutPutParams) WithDefaults() *AddressesResourcePutPutParams
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 ¶
func (o *AddressesResourcePutPutParams) WithHTTPClient(client *http.Client) *AddressesResourcePutPutParams
WithHTTPClient adds the HTTPClient to the addresses resource put put params
func (*AddressesResourcePutPutParams) WithTimeout ¶
func (o *AddressesResourcePutPutParams) WithTimeout(timeout time.Duration) *AddressesResourcePutPutParams
WithTimeout adds the timeout to the addresses resource put put params
func (*AddressesResourcePutPutParams) WriteToRequest ¶
func (o *AddressesResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *AddressesResourcePutPutUnauthorized) Code() int
Code gets the status code for the addresses resource put put unauthorized response
func (*AddressesResourcePutPutUnauthorized) Error ¶
func (o *AddressesResourcePutPutUnauthorized) Error() string
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 ¶
func (o *AddressesResourcePutPutUnauthorized) IsCode(code int) bool
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 ¶
func (o *AddressesResourcePutPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this addresses resource put put unauthorized response has a 2xx status code
func (*AddressesResourcePutPutUnauthorized) String ¶
func (o *AddressesResourcePutPutUnauthorized) String() 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.
Source Files ¶
- address_client.go
- address_resource_delete_delete_parameters.go
- address_resource_delete_delete_responses.go
- address_resource_post_post_parameters.go
- address_resource_post_post_responses.go
- address_unit_resource_delete_delete_parameters.go
- address_unit_resource_delete_delete_responses.go
- address_units_resource_delete_delete_parameters.go
- address_units_resource_delete_delete_responses.go
- address_units_resource_get_get_parameters.go
- address_units_resource_get_get_responses.go
- address_units_resource_put_put_parameters.go
- address_units_resource_put_put_responses.go
- addresses_resource_get_get_parameters.go
- addresses_resource_get_get_responses.go
- addresses_resource_put_put_parameters.go
- addresses_resource_put_put_responses.go