Documentation ¶
Index ¶
- type AddressReservationIssueResourcePostPostBadRequest
- func (o *AddressReservationIssueResourcePostPostBadRequest) Code() int
- func (o *AddressReservationIssueResourcePostPostBadRequest) Error() string
- func (o *AddressReservationIssueResourcePostPostBadRequest) IsClientError() bool
- func (o *AddressReservationIssueResourcePostPostBadRequest) IsCode(code int) bool
- func (o *AddressReservationIssueResourcePostPostBadRequest) IsRedirect() bool
- func (o *AddressReservationIssueResourcePostPostBadRequest) IsServerError() bool
- func (o *AddressReservationIssueResourcePostPostBadRequest) IsSuccess() bool
- func (o *AddressReservationIssueResourcePostPostBadRequest) String() string
- type AddressReservationIssueResourcePostPostNoContent
- func (o *AddressReservationIssueResourcePostPostNoContent) Code() int
- func (o *AddressReservationIssueResourcePostPostNoContent) Error() string
- func (o *AddressReservationIssueResourcePostPostNoContent) IsClientError() bool
- func (o *AddressReservationIssueResourcePostPostNoContent) IsCode(code int) bool
- func (o *AddressReservationIssueResourcePostPostNoContent) IsRedirect() bool
- func (o *AddressReservationIssueResourcePostPostNoContent) IsServerError() bool
- func (o *AddressReservationIssueResourcePostPostNoContent) IsSuccess() bool
- func (o *AddressReservationIssueResourcePostPostNoContent) String() string
- type AddressReservationIssueResourcePostPostParams
- func NewAddressReservationIssueResourcePostPostParams() *AddressReservationIssueResourcePostPostParams
- func NewAddressReservationIssueResourcePostPostParamsWithContext(ctx context.Context) *AddressReservationIssueResourcePostPostParams
- func NewAddressReservationIssueResourcePostPostParamsWithHTTPClient(client *http.Client) *AddressReservationIssueResourcePostPostParams
- func NewAddressReservationIssueResourcePostPostParamsWithTimeout(timeout time.Duration) *AddressReservationIssueResourcePostPostParams
- func (o *AddressReservationIssueResourcePostPostParams) SetAddressID(addressID int64)
- func (o *AddressReservationIssueResourcePostPostParams) SetContext(ctx context.Context)
- func (o *AddressReservationIssueResourcePostPostParams) SetDefaults()
- func (o *AddressReservationIssueResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *AddressReservationIssueResourcePostPostParams) SetID(id string)
- func (o *AddressReservationIssueResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *AddressReservationIssueResourcePostPostParams) WithAddressID(addressID int64) *AddressReservationIssueResourcePostPostParams
- func (o *AddressReservationIssueResourcePostPostParams) WithContext(ctx context.Context) *AddressReservationIssueResourcePostPostParams
- func (o *AddressReservationIssueResourcePostPostParams) WithDefaults() *AddressReservationIssueResourcePostPostParams
- func (o *AddressReservationIssueResourcePostPostParams) WithHTTPClient(client *http.Client) *AddressReservationIssueResourcePostPostParams
- func (o *AddressReservationIssueResourcePostPostParams) WithID(id string) *AddressReservationIssueResourcePostPostParams
- func (o *AddressReservationIssueResourcePostPostParams) WithTimeout(timeout time.Duration) *AddressReservationIssueResourcePostPostParams
- func (o *AddressReservationIssueResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressReservationIssueResourcePostPostReader
- type AddressReservationIssueResourcePostPostUnauthorized
- func (o *AddressReservationIssueResourcePostPostUnauthorized) Code() int
- func (o *AddressReservationIssueResourcePostPostUnauthorized) Error() string
- func (o *AddressReservationIssueResourcePostPostUnauthorized) IsClientError() bool
- func (o *AddressReservationIssueResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *AddressReservationIssueResourcePostPostUnauthorized) IsRedirect() bool
- func (o *AddressReservationIssueResourcePostPostUnauthorized) IsServerError() bool
- func (o *AddressReservationIssueResourcePostPostUnauthorized) IsSuccess() bool
- func (o *AddressReservationIssueResourcePostPostUnauthorized) String() string
- type AddressReservationRevokeResourcePostPostBadRequest
- func (o *AddressReservationRevokeResourcePostPostBadRequest) Code() int
- func (o *AddressReservationRevokeResourcePostPostBadRequest) Error() string
- func (o *AddressReservationRevokeResourcePostPostBadRequest) IsClientError() bool
- func (o *AddressReservationRevokeResourcePostPostBadRequest) IsCode(code int) bool
- func (o *AddressReservationRevokeResourcePostPostBadRequest) IsRedirect() bool
- func (o *AddressReservationRevokeResourcePostPostBadRequest) IsServerError() bool
- func (o *AddressReservationRevokeResourcePostPostBadRequest) IsSuccess() bool
- func (o *AddressReservationRevokeResourcePostPostBadRequest) String() string
- type AddressReservationRevokeResourcePostPostNoContent
- func (o *AddressReservationRevokeResourcePostPostNoContent) Code() int
- func (o *AddressReservationRevokeResourcePostPostNoContent) Error() string
- func (o *AddressReservationRevokeResourcePostPostNoContent) IsClientError() bool
- func (o *AddressReservationRevokeResourcePostPostNoContent) IsCode(code int) bool
- func (o *AddressReservationRevokeResourcePostPostNoContent) IsRedirect() bool
- func (o *AddressReservationRevokeResourcePostPostNoContent) IsServerError() bool
- func (o *AddressReservationRevokeResourcePostPostNoContent) IsSuccess() bool
- func (o *AddressReservationRevokeResourcePostPostNoContent) String() string
- type AddressReservationRevokeResourcePostPostParams
- func NewAddressReservationRevokeResourcePostPostParams() *AddressReservationRevokeResourcePostPostParams
- func NewAddressReservationRevokeResourcePostPostParamsWithContext(ctx context.Context) *AddressReservationRevokeResourcePostPostParams
- func NewAddressReservationRevokeResourcePostPostParamsWithHTTPClient(client *http.Client) *AddressReservationRevokeResourcePostPostParams
- func NewAddressReservationRevokeResourcePostPostParamsWithTimeout(timeout time.Duration) *AddressReservationRevokeResourcePostPostParams
- func (o *AddressReservationRevokeResourcePostPostParams) SetAddressID(addressID int64)
- func (o *AddressReservationRevokeResourcePostPostParams) SetContext(ctx context.Context)
- func (o *AddressReservationRevokeResourcePostPostParams) SetDefaults()
- func (o *AddressReservationRevokeResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *AddressReservationRevokeResourcePostPostParams) SetID(id string)
- func (o *AddressReservationRevokeResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *AddressReservationRevokeResourcePostPostParams) WithAddressID(addressID int64) *AddressReservationRevokeResourcePostPostParams
- func (o *AddressReservationRevokeResourcePostPostParams) WithContext(ctx context.Context) *AddressReservationRevokeResourcePostPostParams
- func (o *AddressReservationRevokeResourcePostPostParams) WithDefaults() *AddressReservationRevokeResourcePostPostParams
- func (o *AddressReservationRevokeResourcePostPostParams) WithHTTPClient(client *http.Client) *AddressReservationRevokeResourcePostPostParams
- func (o *AddressReservationRevokeResourcePostPostParams) WithID(id string) *AddressReservationRevokeResourcePostPostParams
- func (o *AddressReservationRevokeResourcePostPostParams) WithTimeout(timeout time.Duration) *AddressReservationRevokeResourcePostPostParams
- func (o *AddressReservationRevokeResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressReservationRevokeResourcePostPostReader
- type AddressReservationRevokeResourcePostPostUnauthorized
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) Code() int
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) Error() string
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsClientError() bool
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsRedirect() bool
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsServerError() bool
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsSuccess() bool
- func (o *AddressReservationRevokeResourcePostPostUnauthorized) String() string
- type AddressReservationsResourceGetGetOK
- func (o *AddressReservationsResourceGetGetOK) Code() int
- func (o *AddressReservationsResourceGetGetOK) Error() string
- func (o *AddressReservationsResourceGetGetOK) GetPayload() []*models.AddressReservation
- func (o *AddressReservationsResourceGetGetOK) IsClientError() bool
- func (o *AddressReservationsResourceGetGetOK) IsCode(code int) bool
- func (o *AddressReservationsResourceGetGetOK) IsRedirect() bool
- func (o *AddressReservationsResourceGetGetOK) IsServerError() bool
- func (o *AddressReservationsResourceGetGetOK) IsSuccess() bool
- func (o *AddressReservationsResourceGetGetOK) String() string
- type AddressReservationsResourceGetGetParams
- func NewAddressReservationsResourceGetGetParams() *AddressReservationsResourceGetGetParams
- func NewAddressReservationsResourceGetGetParamsWithContext(ctx context.Context) *AddressReservationsResourceGetGetParams
- func NewAddressReservationsResourceGetGetParamsWithHTTPClient(client *http.Client) *AddressReservationsResourceGetGetParams
- func NewAddressReservationsResourceGetGetParamsWithTimeout(timeout time.Duration) *AddressReservationsResourceGetGetParams
- func (o *AddressReservationsResourceGetGetParams) SetAddressID(addressID int64)
- func (o *AddressReservationsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *AddressReservationsResourceGetGetParams) SetDefaults()
- func (o *AddressReservationsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *AddressReservationsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *AddressReservationsResourceGetGetParams) WithAddressID(addressID int64) *AddressReservationsResourceGetGetParams
- func (o *AddressReservationsResourceGetGetParams) WithContext(ctx context.Context) *AddressReservationsResourceGetGetParams
- func (o *AddressReservationsResourceGetGetParams) WithDefaults() *AddressReservationsResourceGetGetParams
- func (o *AddressReservationsResourceGetGetParams) WithHTTPClient(client *http.Client) *AddressReservationsResourceGetGetParams
- func (o *AddressReservationsResourceGetGetParams) WithTimeout(timeout time.Duration) *AddressReservationsResourceGetGetParams
- func (o *AddressReservationsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddressReservationsResourceGetGetReader
- type AddressReservationsResourceGetGetUnauthorized
- func (o *AddressReservationsResourceGetGetUnauthorized) Code() int
- func (o *AddressReservationsResourceGetGetUnauthorized) Error() string
- func (o *AddressReservationsResourceGetGetUnauthorized) IsClientError() bool
- func (o *AddressReservationsResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *AddressReservationsResourceGetGetUnauthorized) IsRedirect() bool
- func (o *AddressReservationsResourceGetGetUnauthorized) IsServerError() bool
- func (o *AddressReservationsResourceGetGetUnauthorized) IsSuccess() bool
- func (o *AddressReservationsResourceGetGetUnauthorized) String() string
- type Client
- func (a *Client) AddressReservationIssueResourcePostPost(params *AddressReservationIssueResourcePostPostParams, ...) (*AddressReservationIssueResourcePostPostNoContent, error)
- func (a *Client) AddressReservationRevokeResourcePostPost(params *AddressReservationRevokeResourcePostPostParams, ...) (*AddressReservationRevokeResourcePostPostNoContent, error)
- func (a *Client) AddressReservationsResourceGetGet(params *AddressReservationsResourceGetGetParams, ...) (*AddressReservationsResourceGetGetOK, error)
- func (a *Client) ReservationAccessTimesUpdateResourcePostPost(params *ReservationAccessTimesUpdateResourcePostPostParams, ...) (*ReservationAccessTimesUpdateResourcePostPostNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ReservationAccessTimesUpdateResourcePostPostBadRequest
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) Code() int
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) Error() string
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsClientError() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsCode(code int) bool
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsRedirect() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsServerError() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsSuccess() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) String() string
- type ReservationAccessTimesUpdateResourcePostPostNoContent
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) Code() int
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) Error() string
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsClientError() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsCode(code int) bool
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsRedirect() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsServerError() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsSuccess() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) String() string
- type ReservationAccessTimesUpdateResourcePostPostParams
- func NewReservationAccessTimesUpdateResourcePostPostParams() *ReservationAccessTimesUpdateResourcePostPostParams
- func NewReservationAccessTimesUpdateResourcePostPostParamsWithContext(ctx context.Context) *ReservationAccessTimesUpdateResourcePostPostParams
- func NewReservationAccessTimesUpdateResourcePostPostParamsWithHTTPClient(client *http.Client) *ReservationAccessTimesUpdateResourcePostPostParams
- func NewReservationAccessTimesUpdateResourcePostPostParamsWithTimeout(timeout time.Duration) *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetAddressID(addressID int64)
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetBody(body *models.ReservationAccessTimesUpdate)
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetContext(ctx context.Context)
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetDefaults()
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetID(id string)
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithAddressID(addressID int64) *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithBody(body *models.ReservationAccessTimesUpdate) *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithContext(ctx context.Context) *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithDefaults() *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithHTTPClient(client *http.Client) *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithID(id string) *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithTimeout(timeout time.Duration) *ReservationAccessTimesUpdateResourcePostPostParams
- func (o *ReservationAccessTimesUpdateResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReservationAccessTimesUpdateResourcePostPostReader
- type ReservationAccessTimesUpdateResourcePostPostUnauthorized
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) Code() int
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) Error() string
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsClientError() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsRedirect() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsServerError() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsSuccess() bool
- func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressReservationIssueResourcePostPostBadRequest ¶
type AddressReservationIssueResourcePostPostBadRequest struct { }
AddressReservationIssueResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewAddressReservationIssueResourcePostPostBadRequest ¶
func NewAddressReservationIssueResourcePostPostBadRequest() *AddressReservationIssueResourcePostPostBadRequest
NewAddressReservationIssueResourcePostPostBadRequest creates a AddressReservationIssueResourcePostPostBadRequest with default headers values
func (*AddressReservationIssueResourcePostPostBadRequest) Code ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) Code() int
Code gets the status code for the address reservation issue resource post post bad request response
func (*AddressReservationIssueResourcePostPostBadRequest) Error ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) Error() string
func (*AddressReservationIssueResourcePostPostBadRequest) IsClientError ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this address reservation issue resource post post bad request response has a 4xx status code
func (*AddressReservationIssueResourcePostPostBadRequest) IsCode ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this address reservation issue resource post post bad request response a status code equal to that given
func (*AddressReservationIssueResourcePostPostBadRequest) IsRedirect ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this address reservation issue resource post post bad request response has a 3xx status code
func (*AddressReservationIssueResourcePostPostBadRequest) IsServerError ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this address reservation issue resource post post bad request response has a 5xx status code
func (*AddressReservationIssueResourcePostPostBadRequest) IsSuccess ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this address reservation issue resource post post bad request response has a 2xx status code
func (*AddressReservationIssueResourcePostPostBadRequest) String ¶
func (o *AddressReservationIssueResourcePostPostBadRequest) String() string
type AddressReservationIssueResourcePostPostNoContent ¶
type AddressReservationIssueResourcePostPostNoContent struct { }
AddressReservationIssueResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewAddressReservationIssueResourcePostPostNoContent ¶
func NewAddressReservationIssueResourcePostPostNoContent() *AddressReservationIssueResourcePostPostNoContent
NewAddressReservationIssueResourcePostPostNoContent creates a AddressReservationIssueResourcePostPostNoContent with default headers values
func (*AddressReservationIssueResourcePostPostNoContent) Code ¶
func (o *AddressReservationIssueResourcePostPostNoContent) Code() int
Code gets the status code for the address reservation issue resource post post no content response
func (*AddressReservationIssueResourcePostPostNoContent) Error ¶
func (o *AddressReservationIssueResourcePostPostNoContent) Error() string
func (*AddressReservationIssueResourcePostPostNoContent) IsClientError ¶
func (o *AddressReservationIssueResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this address reservation issue resource post post no content response has a 4xx status code
func (*AddressReservationIssueResourcePostPostNoContent) IsCode ¶
func (o *AddressReservationIssueResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this address reservation issue resource post post no content response a status code equal to that given
func (*AddressReservationIssueResourcePostPostNoContent) IsRedirect ¶
func (o *AddressReservationIssueResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this address reservation issue resource post post no content response has a 3xx status code
func (*AddressReservationIssueResourcePostPostNoContent) IsServerError ¶
func (o *AddressReservationIssueResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this address reservation issue resource post post no content response has a 5xx status code
func (*AddressReservationIssueResourcePostPostNoContent) IsSuccess ¶
func (o *AddressReservationIssueResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this address reservation issue resource post post no content response has a 2xx status code
func (*AddressReservationIssueResourcePostPostNoContent) String ¶
func (o *AddressReservationIssueResourcePostPostNoContent) String() string
type AddressReservationIssueResourcePostPostParams ¶
type AddressReservationIssueResourcePostPostParams struct { /* AddressID. The address id */ AddressID int64 /* ID. The address reservation id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddressReservationIssueResourcePostPostParams contains all the parameters to send to the API endpoint
for the address reservation issue resource post post operation. Typically these are written to a http.Request.
func NewAddressReservationIssueResourcePostPostParams ¶
func NewAddressReservationIssueResourcePostPostParams() *AddressReservationIssueResourcePostPostParams
NewAddressReservationIssueResourcePostPostParams creates a new AddressReservationIssueResourcePostPostParams 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 NewAddressReservationIssueResourcePostPostParamsWithContext ¶
func NewAddressReservationIssueResourcePostPostParamsWithContext(ctx context.Context) *AddressReservationIssueResourcePostPostParams
NewAddressReservationIssueResourcePostPostParamsWithContext creates a new AddressReservationIssueResourcePostPostParams object with the ability to set a context for a request.
func NewAddressReservationIssueResourcePostPostParamsWithHTTPClient ¶
func NewAddressReservationIssueResourcePostPostParamsWithHTTPClient(client *http.Client) *AddressReservationIssueResourcePostPostParams
NewAddressReservationIssueResourcePostPostParamsWithHTTPClient creates a new AddressReservationIssueResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewAddressReservationIssueResourcePostPostParamsWithTimeout ¶
func NewAddressReservationIssueResourcePostPostParamsWithTimeout(timeout time.Duration) *AddressReservationIssueResourcePostPostParams
NewAddressReservationIssueResourcePostPostParamsWithTimeout creates a new AddressReservationIssueResourcePostPostParams object with the ability to set a timeout on a request.
func (*AddressReservationIssueResourcePostPostParams) SetAddressID ¶
func (o *AddressReservationIssueResourcePostPostParams) SetAddressID(addressID int64)
SetAddressID adds the addressId to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) SetContext ¶
func (o *AddressReservationIssueResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) SetDefaults ¶
func (o *AddressReservationIssueResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the address reservation issue resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*AddressReservationIssueResourcePostPostParams) SetHTTPClient ¶
func (o *AddressReservationIssueResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) SetID ¶
func (o *AddressReservationIssueResourcePostPostParams) SetID(id string)
SetID adds the id to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) SetTimeout ¶
func (o *AddressReservationIssueResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) WithAddressID ¶
func (o *AddressReservationIssueResourcePostPostParams) WithAddressID(addressID int64) *AddressReservationIssueResourcePostPostParams
WithAddressID adds the addressID to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) WithContext ¶
func (o *AddressReservationIssueResourcePostPostParams) WithContext(ctx context.Context) *AddressReservationIssueResourcePostPostParams
WithContext adds the context to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) WithDefaults ¶
func (o *AddressReservationIssueResourcePostPostParams) WithDefaults() *AddressReservationIssueResourcePostPostParams
WithDefaults hydrates default values in the address reservation issue resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*AddressReservationIssueResourcePostPostParams) WithHTTPClient ¶
func (o *AddressReservationIssueResourcePostPostParams) WithHTTPClient(client *http.Client) *AddressReservationIssueResourcePostPostParams
WithHTTPClient adds the HTTPClient to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) WithID ¶
func (o *AddressReservationIssueResourcePostPostParams) WithID(id string) *AddressReservationIssueResourcePostPostParams
WithID adds the id to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) WithTimeout ¶
func (o *AddressReservationIssueResourcePostPostParams) WithTimeout(timeout time.Duration) *AddressReservationIssueResourcePostPostParams
WithTimeout adds the timeout to the address reservation issue resource post post params
func (*AddressReservationIssueResourcePostPostParams) WriteToRequest ¶
func (o *AddressReservationIssueResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddressReservationIssueResourcePostPostReader ¶
type AddressReservationIssueResourcePostPostReader struct {
// contains filtered or unexported fields
}
AddressReservationIssueResourcePostPostReader is a Reader for the AddressReservationIssueResourcePostPost structure.
func (*AddressReservationIssueResourcePostPostReader) ReadResponse ¶
func (o *AddressReservationIssueResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddressReservationIssueResourcePostPostUnauthorized ¶
type AddressReservationIssueResourcePostPostUnauthorized struct { }
AddressReservationIssueResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewAddressReservationIssueResourcePostPostUnauthorized ¶
func NewAddressReservationIssueResourcePostPostUnauthorized() *AddressReservationIssueResourcePostPostUnauthorized
NewAddressReservationIssueResourcePostPostUnauthorized creates a AddressReservationIssueResourcePostPostUnauthorized with default headers values
func (*AddressReservationIssueResourcePostPostUnauthorized) Code ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) Code() int
Code gets the status code for the address reservation issue resource post post unauthorized response
func (*AddressReservationIssueResourcePostPostUnauthorized) Error ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) Error() string
func (*AddressReservationIssueResourcePostPostUnauthorized) IsClientError ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this address reservation issue resource post post unauthorized response has a 4xx status code
func (*AddressReservationIssueResourcePostPostUnauthorized) IsCode ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this address reservation issue resource post post unauthorized response a status code equal to that given
func (*AddressReservationIssueResourcePostPostUnauthorized) IsRedirect ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this address reservation issue resource post post unauthorized response has a 3xx status code
func (*AddressReservationIssueResourcePostPostUnauthorized) IsServerError ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this address reservation issue resource post post unauthorized response has a 5xx status code
func (*AddressReservationIssueResourcePostPostUnauthorized) IsSuccess ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this address reservation issue resource post post unauthorized response has a 2xx status code
func (*AddressReservationIssueResourcePostPostUnauthorized) String ¶
func (o *AddressReservationIssueResourcePostPostUnauthorized) String() string
type AddressReservationRevokeResourcePostPostBadRequest ¶
type AddressReservationRevokeResourcePostPostBadRequest struct { }
AddressReservationRevokeResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewAddressReservationRevokeResourcePostPostBadRequest ¶
func NewAddressReservationRevokeResourcePostPostBadRequest() *AddressReservationRevokeResourcePostPostBadRequest
NewAddressReservationRevokeResourcePostPostBadRequest creates a AddressReservationRevokeResourcePostPostBadRequest with default headers values
func (*AddressReservationRevokeResourcePostPostBadRequest) Code ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) Code() int
Code gets the status code for the address reservation revoke resource post post bad request response
func (*AddressReservationRevokeResourcePostPostBadRequest) Error ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) Error() string
func (*AddressReservationRevokeResourcePostPostBadRequest) IsClientError ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this address reservation revoke resource post post bad request response has a 4xx status code
func (*AddressReservationRevokeResourcePostPostBadRequest) IsCode ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this address reservation revoke resource post post bad request response a status code equal to that given
func (*AddressReservationRevokeResourcePostPostBadRequest) IsRedirect ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this address reservation revoke resource post post bad request response has a 3xx status code
func (*AddressReservationRevokeResourcePostPostBadRequest) IsServerError ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this address reservation revoke resource post post bad request response has a 5xx status code
func (*AddressReservationRevokeResourcePostPostBadRequest) IsSuccess ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this address reservation revoke resource post post bad request response has a 2xx status code
func (*AddressReservationRevokeResourcePostPostBadRequest) String ¶
func (o *AddressReservationRevokeResourcePostPostBadRequest) String() string
type AddressReservationRevokeResourcePostPostNoContent ¶
type AddressReservationRevokeResourcePostPostNoContent struct { }
AddressReservationRevokeResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewAddressReservationRevokeResourcePostPostNoContent ¶
func NewAddressReservationRevokeResourcePostPostNoContent() *AddressReservationRevokeResourcePostPostNoContent
NewAddressReservationRevokeResourcePostPostNoContent creates a AddressReservationRevokeResourcePostPostNoContent with default headers values
func (*AddressReservationRevokeResourcePostPostNoContent) Code ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) Code() int
Code gets the status code for the address reservation revoke resource post post no content response
func (*AddressReservationRevokeResourcePostPostNoContent) Error ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) Error() string
func (*AddressReservationRevokeResourcePostPostNoContent) IsClientError ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this address reservation revoke resource post post no content response has a 4xx status code
func (*AddressReservationRevokeResourcePostPostNoContent) IsCode ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this address reservation revoke resource post post no content response a status code equal to that given
func (*AddressReservationRevokeResourcePostPostNoContent) IsRedirect ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this address reservation revoke resource post post no content response has a 3xx status code
func (*AddressReservationRevokeResourcePostPostNoContent) IsServerError ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this address reservation revoke resource post post no content response has a 5xx status code
func (*AddressReservationRevokeResourcePostPostNoContent) IsSuccess ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this address reservation revoke resource post post no content response has a 2xx status code
func (*AddressReservationRevokeResourcePostPostNoContent) String ¶
func (o *AddressReservationRevokeResourcePostPostNoContent) String() string
type AddressReservationRevokeResourcePostPostParams ¶
type AddressReservationRevokeResourcePostPostParams struct { /* AddressID. The address id */ AddressID int64 /* ID. The address reservation id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddressReservationRevokeResourcePostPostParams contains all the parameters to send to the API endpoint
for the address reservation revoke resource post post operation. Typically these are written to a http.Request.
func NewAddressReservationRevokeResourcePostPostParams ¶
func NewAddressReservationRevokeResourcePostPostParams() *AddressReservationRevokeResourcePostPostParams
NewAddressReservationRevokeResourcePostPostParams creates a new AddressReservationRevokeResourcePostPostParams 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 NewAddressReservationRevokeResourcePostPostParamsWithContext ¶
func NewAddressReservationRevokeResourcePostPostParamsWithContext(ctx context.Context) *AddressReservationRevokeResourcePostPostParams
NewAddressReservationRevokeResourcePostPostParamsWithContext creates a new AddressReservationRevokeResourcePostPostParams object with the ability to set a context for a request.
func NewAddressReservationRevokeResourcePostPostParamsWithHTTPClient ¶
func NewAddressReservationRevokeResourcePostPostParamsWithHTTPClient(client *http.Client) *AddressReservationRevokeResourcePostPostParams
NewAddressReservationRevokeResourcePostPostParamsWithHTTPClient creates a new AddressReservationRevokeResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewAddressReservationRevokeResourcePostPostParamsWithTimeout ¶
func NewAddressReservationRevokeResourcePostPostParamsWithTimeout(timeout time.Duration) *AddressReservationRevokeResourcePostPostParams
NewAddressReservationRevokeResourcePostPostParamsWithTimeout creates a new AddressReservationRevokeResourcePostPostParams object with the ability to set a timeout on a request.
func (*AddressReservationRevokeResourcePostPostParams) SetAddressID ¶
func (o *AddressReservationRevokeResourcePostPostParams) SetAddressID(addressID int64)
SetAddressID adds the addressId to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) SetContext ¶
func (o *AddressReservationRevokeResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) SetDefaults ¶
func (o *AddressReservationRevokeResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the address reservation revoke resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*AddressReservationRevokeResourcePostPostParams) SetHTTPClient ¶
func (o *AddressReservationRevokeResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) SetID ¶
func (o *AddressReservationRevokeResourcePostPostParams) SetID(id string)
SetID adds the id to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) SetTimeout ¶
func (o *AddressReservationRevokeResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) WithAddressID ¶
func (o *AddressReservationRevokeResourcePostPostParams) WithAddressID(addressID int64) *AddressReservationRevokeResourcePostPostParams
WithAddressID adds the addressID to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) WithContext ¶
func (o *AddressReservationRevokeResourcePostPostParams) WithContext(ctx context.Context) *AddressReservationRevokeResourcePostPostParams
WithContext adds the context to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) WithDefaults ¶
func (o *AddressReservationRevokeResourcePostPostParams) WithDefaults() *AddressReservationRevokeResourcePostPostParams
WithDefaults hydrates default values in the address reservation revoke resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*AddressReservationRevokeResourcePostPostParams) WithHTTPClient ¶
func (o *AddressReservationRevokeResourcePostPostParams) WithHTTPClient(client *http.Client) *AddressReservationRevokeResourcePostPostParams
WithHTTPClient adds the HTTPClient to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) WithID ¶
func (o *AddressReservationRevokeResourcePostPostParams) WithID(id string) *AddressReservationRevokeResourcePostPostParams
WithID adds the id to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) WithTimeout ¶
func (o *AddressReservationRevokeResourcePostPostParams) WithTimeout(timeout time.Duration) *AddressReservationRevokeResourcePostPostParams
WithTimeout adds the timeout to the address reservation revoke resource post post params
func (*AddressReservationRevokeResourcePostPostParams) WriteToRequest ¶
func (o *AddressReservationRevokeResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddressReservationRevokeResourcePostPostReader ¶
type AddressReservationRevokeResourcePostPostReader struct {
// contains filtered or unexported fields
}
AddressReservationRevokeResourcePostPostReader is a Reader for the AddressReservationRevokeResourcePostPost structure.
func (*AddressReservationRevokeResourcePostPostReader) ReadResponse ¶
func (o *AddressReservationRevokeResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddressReservationRevokeResourcePostPostUnauthorized ¶
type AddressReservationRevokeResourcePostPostUnauthorized struct { }
AddressReservationRevokeResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewAddressReservationRevokeResourcePostPostUnauthorized ¶
func NewAddressReservationRevokeResourcePostPostUnauthorized() *AddressReservationRevokeResourcePostPostUnauthorized
NewAddressReservationRevokeResourcePostPostUnauthorized creates a AddressReservationRevokeResourcePostPostUnauthorized with default headers values
func (*AddressReservationRevokeResourcePostPostUnauthorized) Code ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) Code() int
Code gets the status code for the address reservation revoke resource post post unauthorized response
func (*AddressReservationRevokeResourcePostPostUnauthorized) Error ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) Error() string
func (*AddressReservationRevokeResourcePostPostUnauthorized) IsClientError ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this address reservation revoke resource post post unauthorized response has a 4xx status code
func (*AddressReservationRevokeResourcePostPostUnauthorized) IsCode ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this address reservation revoke resource post post unauthorized response a status code equal to that given
func (*AddressReservationRevokeResourcePostPostUnauthorized) IsRedirect ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this address reservation revoke resource post post unauthorized response has a 3xx status code
func (*AddressReservationRevokeResourcePostPostUnauthorized) IsServerError ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this address reservation revoke resource post post unauthorized response has a 5xx status code
func (*AddressReservationRevokeResourcePostPostUnauthorized) IsSuccess ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this address reservation revoke resource post post unauthorized response has a 2xx status code
func (*AddressReservationRevokeResourcePostPostUnauthorized) String ¶
func (o *AddressReservationRevokeResourcePostPostUnauthorized) String() string
type AddressReservationsResourceGetGetOK ¶
type AddressReservationsResourceGetGetOK struct {
Payload []*models.AddressReservation
}
AddressReservationsResourceGetGetOK describes a response with status code 200, with default header values.
successful operation
func NewAddressReservationsResourceGetGetOK ¶
func NewAddressReservationsResourceGetGetOK() *AddressReservationsResourceGetGetOK
NewAddressReservationsResourceGetGetOK creates a AddressReservationsResourceGetGetOK with default headers values
func (*AddressReservationsResourceGetGetOK) Code ¶
func (o *AddressReservationsResourceGetGetOK) Code() int
Code gets the status code for the address reservations resource get get o k response
func (*AddressReservationsResourceGetGetOK) Error ¶
func (o *AddressReservationsResourceGetGetOK) Error() string
func (*AddressReservationsResourceGetGetOK) GetPayload ¶
func (o *AddressReservationsResourceGetGetOK) GetPayload() []*models.AddressReservation
func (*AddressReservationsResourceGetGetOK) IsClientError ¶
func (o *AddressReservationsResourceGetGetOK) IsClientError() bool
IsClientError returns true when this address reservations resource get get o k response has a 4xx status code
func (*AddressReservationsResourceGetGetOK) IsCode ¶
func (o *AddressReservationsResourceGetGetOK) IsCode(code int) bool
IsCode returns true when this address reservations resource get get o k response a status code equal to that given
func (*AddressReservationsResourceGetGetOK) IsRedirect ¶
func (o *AddressReservationsResourceGetGetOK) IsRedirect() bool
IsRedirect returns true when this address reservations resource get get o k response has a 3xx status code
func (*AddressReservationsResourceGetGetOK) IsServerError ¶
func (o *AddressReservationsResourceGetGetOK) IsServerError() bool
IsServerError returns true when this address reservations resource get get o k response has a 5xx status code
func (*AddressReservationsResourceGetGetOK) IsSuccess ¶
func (o *AddressReservationsResourceGetGetOK) IsSuccess() bool
IsSuccess returns true when this address reservations resource get get o k response has a 2xx status code
func (*AddressReservationsResourceGetGetOK) String ¶
func (o *AddressReservationsResourceGetGetOK) String() string
type AddressReservationsResourceGetGetParams ¶
type AddressReservationsResourceGetGetParams struct { /* AddressID. The address id */ AddressID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddressReservationsResourceGetGetParams contains all the parameters to send to the API endpoint
for the address reservations resource get get operation. Typically these are written to a http.Request.
func NewAddressReservationsResourceGetGetParams ¶
func NewAddressReservationsResourceGetGetParams() *AddressReservationsResourceGetGetParams
NewAddressReservationsResourceGetGetParams creates a new AddressReservationsResourceGetGetParams 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 NewAddressReservationsResourceGetGetParamsWithContext ¶
func NewAddressReservationsResourceGetGetParamsWithContext(ctx context.Context) *AddressReservationsResourceGetGetParams
NewAddressReservationsResourceGetGetParamsWithContext creates a new AddressReservationsResourceGetGetParams object with the ability to set a context for a request.
func NewAddressReservationsResourceGetGetParamsWithHTTPClient ¶
func NewAddressReservationsResourceGetGetParamsWithHTTPClient(client *http.Client) *AddressReservationsResourceGetGetParams
NewAddressReservationsResourceGetGetParamsWithHTTPClient creates a new AddressReservationsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.
func NewAddressReservationsResourceGetGetParamsWithTimeout ¶
func NewAddressReservationsResourceGetGetParamsWithTimeout(timeout time.Duration) *AddressReservationsResourceGetGetParams
NewAddressReservationsResourceGetGetParamsWithTimeout creates a new AddressReservationsResourceGetGetParams object with the ability to set a timeout on a request.
func (*AddressReservationsResourceGetGetParams) SetAddressID ¶
func (o *AddressReservationsResourceGetGetParams) SetAddressID(addressID int64)
SetAddressID adds the addressId to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) SetContext ¶
func (o *AddressReservationsResourceGetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) SetDefaults ¶
func (o *AddressReservationsResourceGetGetParams) SetDefaults()
SetDefaults hydrates default values in the address reservations resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*AddressReservationsResourceGetGetParams) SetHTTPClient ¶
func (o *AddressReservationsResourceGetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) SetTimeout ¶
func (o *AddressReservationsResourceGetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) WithAddressID ¶
func (o *AddressReservationsResourceGetGetParams) WithAddressID(addressID int64) *AddressReservationsResourceGetGetParams
WithAddressID adds the addressID to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) WithContext ¶
func (o *AddressReservationsResourceGetGetParams) WithContext(ctx context.Context) *AddressReservationsResourceGetGetParams
WithContext adds the context to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) WithDefaults ¶
func (o *AddressReservationsResourceGetGetParams) WithDefaults() *AddressReservationsResourceGetGetParams
WithDefaults hydrates default values in the address reservations resource get get params (not the query body).
All values with no default are reset to their zero value.
func (*AddressReservationsResourceGetGetParams) WithHTTPClient ¶
func (o *AddressReservationsResourceGetGetParams) WithHTTPClient(client *http.Client) *AddressReservationsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) WithTimeout ¶
func (o *AddressReservationsResourceGetGetParams) WithTimeout(timeout time.Duration) *AddressReservationsResourceGetGetParams
WithTimeout adds the timeout to the address reservations resource get get params
func (*AddressReservationsResourceGetGetParams) WriteToRequest ¶
func (o *AddressReservationsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddressReservationsResourceGetGetReader ¶
type AddressReservationsResourceGetGetReader struct {
// contains filtered or unexported fields
}
AddressReservationsResourceGetGetReader is a Reader for the AddressReservationsResourceGetGet structure.
func (*AddressReservationsResourceGetGetReader) ReadResponse ¶
func (o *AddressReservationsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddressReservationsResourceGetGetUnauthorized ¶
type AddressReservationsResourceGetGetUnauthorized struct { }
AddressReservationsResourceGetGetUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewAddressReservationsResourceGetGetUnauthorized ¶
func NewAddressReservationsResourceGetGetUnauthorized() *AddressReservationsResourceGetGetUnauthorized
NewAddressReservationsResourceGetGetUnauthorized creates a AddressReservationsResourceGetGetUnauthorized with default headers values
func (*AddressReservationsResourceGetGetUnauthorized) Code ¶
func (o *AddressReservationsResourceGetGetUnauthorized) Code() int
Code gets the status code for the address reservations resource get get unauthorized response
func (*AddressReservationsResourceGetGetUnauthorized) Error ¶
func (o *AddressReservationsResourceGetGetUnauthorized) Error() string
func (*AddressReservationsResourceGetGetUnauthorized) IsClientError ¶
func (o *AddressReservationsResourceGetGetUnauthorized) IsClientError() bool
IsClientError returns true when this address reservations resource get get unauthorized response has a 4xx status code
func (*AddressReservationsResourceGetGetUnauthorized) IsCode ¶
func (o *AddressReservationsResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this address reservations resource get get unauthorized response a status code equal to that given
func (*AddressReservationsResourceGetGetUnauthorized) IsRedirect ¶
func (o *AddressReservationsResourceGetGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this address reservations resource get get unauthorized response has a 3xx status code
func (*AddressReservationsResourceGetGetUnauthorized) IsServerError ¶
func (o *AddressReservationsResourceGetGetUnauthorized) IsServerError() bool
IsServerError returns true when this address reservations resource get get unauthorized response has a 5xx status code
func (*AddressReservationsResourceGetGetUnauthorized) IsSuccess ¶
func (o *AddressReservationsResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this address reservations resource get get unauthorized response has a 2xx status code
func (*AddressReservationsResourceGetGetUnauthorized) String ¶
func (o *AddressReservationsResourceGetGetUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for address reservation API
func (*Client) AddressReservationIssueResourcePostPost ¶
func (a *Client) AddressReservationIssueResourcePostPost(params *AddressReservationIssueResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReservationIssueResourcePostPostNoContent, error)
AddressReservationIssueResourcePostPost issues authorizations for an address reservation
func (*Client) AddressReservationRevokeResourcePostPost ¶
func (a *Client) AddressReservationRevokeResourcePostPost(params *AddressReservationRevokeResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReservationRevokeResourcePostPostNoContent, error)
AddressReservationRevokeResourcePostPost revokes authorizations for an address reservation
func (*Client) AddressReservationsResourceGetGet ¶
func (a *Client) AddressReservationsResourceGetGet(params *AddressReservationsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReservationsResourceGetGetOK, error)
AddressReservationsResourceGetGet gets a list of address reservations
func (*Client) ReservationAccessTimesUpdateResourcePostPost ¶
func (a *Client) ReservationAccessTimesUpdateResourcePostPost(params *ReservationAccessTimesUpdateResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReservationAccessTimesUpdateResourcePostPostNoContent, error)
ReservationAccessTimesUpdateResourcePostPost updates access times of a reservation
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 { AddressReservationIssueResourcePostPost(params *AddressReservationIssueResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReservationIssueResourcePostPostNoContent, error) AddressReservationRevokeResourcePostPost(params *AddressReservationRevokeResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReservationRevokeResourcePostPostNoContent, error) AddressReservationsResourceGetGet(params *AddressReservationsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddressReservationsResourceGetGetOK, error) ReservationAccessTimesUpdateResourcePostPost(params *ReservationAccessTimesUpdateResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReservationAccessTimesUpdateResourcePostPostNoContent, 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 reservation API client.
type ReservationAccessTimesUpdateResourcePostPostBadRequest ¶
type ReservationAccessTimesUpdateResourcePostPostBadRequest struct { }
ReservationAccessTimesUpdateResourcePostPostBadRequest describes a response with status code 400, with default header values.
Bad Parameter
func NewReservationAccessTimesUpdateResourcePostPostBadRequest ¶
func NewReservationAccessTimesUpdateResourcePostPostBadRequest() *ReservationAccessTimesUpdateResourcePostPostBadRequest
NewReservationAccessTimesUpdateResourcePostPostBadRequest creates a ReservationAccessTimesUpdateResourcePostPostBadRequest with default headers values
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) Code ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) Code() int
Code gets the status code for the reservation access times update resource post post bad request response
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) Error ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) Error() string
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsClientError ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsClientError() bool
IsClientError returns true when this reservation access times update resource post post bad request response has a 4xx status code
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsCode ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this reservation access times update resource post post bad request response a status code equal to that given
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsRedirect ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsRedirect() bool
IsRedirect returns true when this reservation access times update resource post post bad request response has a 3xx status code
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsServerError ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsServerError() bool
IsServerError returns true when this reservation access times update resource post post bad request response has a 5xx status code
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsSuccess ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this reservation access times update resource post post bad request response has a 2xx status code
func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) String ¶
func (o *ReservationAccessTimesUpdateResourcePostPostBadRequest) String() string
type ReservationAccessTimesUpdateResourcePostPostNoContent ¶
type ReservationAccessTimesUpdateResourcePostPostNoContent struct { }
ReservationAccessTimesUpdateResourcePostPostNoContent describes a response with status code 204, with default header values.
Ok
func NewReservationAccessTimesUpdateResourcePostPostNoContent ¶
func NewReservationAccessTimesUpdateResourcePostPostNoContent() *ReservationAccessTimesUpdateResourcePostPostNoContent
NewReservationAccessTimesUpdateResourcePostPostNoContent creates a ReservationAccessTimesUpdateResourcePostPostNoContent with default headers values
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) Code ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) Code() int
Code gets the status code for the reservation access times update resource post post no content response
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) Error ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) Error() string
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsClientError ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsClientError() bool
IsClientError returns true when this reservation access times update resource post post no content response has a 4xx status code
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsCode ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsCode(code int) bool
IsCode returns true when this reservation access times update resource post post no content response a status code equal to that given
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsRedirect ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsRedirect() bool
IsRedirect returns true when this reservation access times update resource post post no content response has a 3xx status code
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsServerError ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsServerError() bool
IsServerError returns true when this reservation access times update resource post post no content response has a 5xx status code
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsSuccess ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) IsSuccess() bool
IsSuccess returns true when this reservation access times update resource post post no content response has a 2xx status code
func (*ReservationAccessTimesUpdateResourcePostPostNoContent) String ¶
func (o *ReservationAccessTimesUpdateResourcePostPostNoContent) String() string
type ReservationAccessTimesUpdateResourcePostPostParams ¶
type ReservationAccessTimesUpdateResourcePostPostParams struct { /* AddressID. The address id */ AddressID int64 /* Body. Reservation access times update representation */ Body *models.ReservationAccessTimesUpdate /* ID. The reservation id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReservationAccessTimesUpdateResourcePostPostParams contains all the parameters to send to the API endpoint
for the reservation access times update resource post post operation. Typically these are written to a http.Request.
func NewReservationAccessTimesUpdateResourcePostPostParams ¶
func NewReservationAccessTimesUpdateResourcePostPostParams() *ReservationAccessTimesUpdateResourcePostPostParams
NewReservationAccessTimesUpdateResourcePostPostParams creates a new ReservationAccessTimesUpdateResourcePostPostParams 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 NewReservationAccessTimesUpdateResourcePostPostParamsWithContext ¶
func NewReservationAccessTimesUpdateResourcePostPostParamsWithContext(ctx context.Context) *ReservationAccessTimesUpdateResourcePostPostParams
NewReservationAccessTimesUpdateResourcePostPostParamsWithContext creates a new ReservationAccessTimesUpdateResourcePostPostParams object with the ability to set a context for a request.
func NewReservationAccessTimesUpdateResourcePostPostParamsWithHTTPClient ¶
func NewReservationAccessTimesUpdateResourcePostPostParamsWithHTTPClient(client *http.Client) *ReservationAccessTimesUpdateResourcePostPostParams
NewReservationAccessTimesUpdateResourcePostPostParamsWithHTTPClient creates a new ReservationAccessTimesUpdateResourcePostPostParams object with the ability to set a custom HTTPClient for a request.
func NewReservationAccessTimesUpdateResourcePostPostParamsWithTimeout ¶
func NewReservationAccessTimesUpdateResourcePostPostParamsWithTimeout(timeout time.Duration) *ReservationAccessTimesUpdateResourcePostPostParams
NewReservationAccessTimesUpdateResourcePostPostParamsWithTimeout creates a new ReservationAccessTimesUpdateResourcePostPostParams object with the ability to set a timeout on a request.
func (*ReservationAccessTimesUpdateResourcePostPostParams) SetAddressID ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetAddressID(addressID int64)
SetAddressID adds the addressId to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) SetBody ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetBody(body *models.ReservationAccessTimesUpdate)
SetBody adds the body to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) SetContext ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetContext(ctx context.Context)
SetContext adds the context to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) SetDefaults ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetDefaults()
SetDefaults hydrates default values in the reservation access times update resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ReservationAccessTimesUpdateResourcePostPostParams) SetHTTPClient ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) SetID ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetID(id string)
SetID adds the id to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) SetTimeout ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) WithAddressID ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithAddressID(addressID int64) *ReservationAccessTimesUpdateResourcePostPostParams
WithAddressID adds the addressID to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) WithBody ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithBody(body *models.ReservationAccessTimesUpdate) *ReservationAccessTimesUpdateResourcePostPostParams
WithBody adds the body to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) WithContext ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithContext(ctx context.Context) *ReservationAccessTimesUpdateResourcePostPostParams
WithContext adds the context to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) WithDefaults ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithDefaults() *ReservationAccessTimesUpdateResourcePostPostParams
WithDefaults hydrates default values in the reservation access times update resource post post params (not the query body).
All values with no default are reset to their zero value.
func (*ReservationAccessTimesUpdateResourcePostPostParams) WithHTTPClient ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithHTTPClient(client *http.Client) *ReservationAccessTimesUpdateResourcePostPostParams
WithHTTPClient adds the HTTPClient to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) WithID ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithID(id string) *ReservationAccessTimesUpdateResourcePostPostParams
WithID adds the id to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) WithTimeout ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WithTimeout(timeout time.Duration) *ReservationAccessTimesUpdateResourcePostPostParams
WithTimeout adds the timeout to the reservation access times update resource post post params
func (*ReservationAccessTimesUpdateResourcePostPostParams) WriteToRequest ¶
func (o *ReservationAccessTimesUpdateResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReservationAccessTimesUpdateResourcePostPostReader ¶
type ReservationAccessTimesUpdateResourcePostPostReader struct {
// contains filtered or unexported fields
}
ReservationAccessTimesUpdateResourcePostPostReader is a Reader for the ReservationAccessTimesUpdateResourcePostPost structure.
func (*ReservationAccessTimesUpdateResourcePostPostReader) ReadResponse ¶
func (o *ReservationAccessTimesUpdateResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReservationAccessTimesUpdateResourcePostPostUnauthorized ¶
type ReservationAccessTimesUpdateResourcePostPostUnauthorized struct { }
ReservationAccessTimesUpdateResourcePostPostUnauthorized describes a response with status code 401, with default header values.
Not authorized
func NewReservationAccessTimesUpdateResourcePostPostUnauthorized ¶
func NewReservationAccessTimesUpdateResourcePostPostUnauthorized() *ReservationAccessTimesUpdateResourcePostPostUnauthorized
NewReservationAccessTimesUpdateResourcePostPostUnauthorized creates a ReservationAccessTimesUpdateResourcePostPostUnauthorized with default headers values
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) Code ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) Code() int
Code gets the status code for the reservation access times update resource post post unauthorized response
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) Error ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) Error() string
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsClientError ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this reservation access times update resource post post unauthorized response has a 4xx status code
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsCode ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this reservation access times update resource post post unauthorized response a status code equal to that given
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsRedirect ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this reservation access times update resource post post unauthorized response has a 3xx status code
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsServerError ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this reservation access times update resource post post unauthorized response has a 5xx status code
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsSuccess ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this reservation access times update resource post post unauthorized response has a 2xx status code
func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) String ¶
func (o *ReservationAccessTimesUpdateResourcePostPostUnauthorized) String() string
Source Files ¶
- address_reservation_client.go
- address_reservation_issue_resource_post_post_parameters.go
- address_reservation_issue_resource_post_post_responses.go
- address_reservation_revoke_resource_post_post_parameters.go
- address_reservation_revoke_resource_post_post_responses.go
- address_reservations_resource_get_get_parameters.go
- address_reservations_resource_get_get_responses.go
- reservation_access_times_update_resource_post_post_parameters.go
- reservation_access_times_update_resource_post_post_responses.go