address_reservation

package
v0.0.0-...-f9fec28 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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

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

func (*AddressReservationIssueResourcePostPostBadRequest) Error

func (*AddressReservationIssueResourcePostPostBadRequest) IsClientError

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

func (*AddressReservationIssueResourcePostPostBadRequest) IsCode

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

func (*AddressReservationIssueResourcePostPostBadRequest) IsRedirect

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

func (*AddressReservationIssueResourcePostPostBadRequest) IsServerError

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

func (*AddressReservationIssueResourcePostPostBadRequest) IsSuccess

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

func (*AddressReservationIssueResourcePostPostBadRequest) 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

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

func (*AddressReservationIssueResourcePostPostNoContent) Error

func (*AddressReservationIssueResourcePostPostNoContent) IsClientError

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

func (*AddressReservationIssueResourcePostPostNoContent) IsCode

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

func (*AddressReservationIssueResourcePostPostNoContent) IsRedirect

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

func (*AddressReservationIssueResourcePostPostNoContent) IsServerError

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

func (*AddressReservationIssueResourcePostPostNoContent) IsSuccess

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

func (*AddressReservationIssueResourcePostPostNoContent) 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

SetContext adds the context to the address reservation issue resource post post params

func (*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

SetID adds the id to the address reservation issue resource post post params

func (*AddressReservationIssueResourcePostPostParams) SetTimeout

SetTimeout adds the timeout to the address reservation issue resource post post params

func (*AddressReservationIssueResourcePostPostParams) WithAddressID

WithAddressID adds the addressID to the address reservation issue resource post post params

func (*AddressReservationIssueResourcePostPostParams) WithContext

WithContext adds the context to the address reservation issue resource post post params

func (*AddressReservationIssueResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the address reservation issue resource post post params

func (*AddressReservationIssueResourcePostPostParams) WithID

WithID adds the id to the address reservation issue resource post post params

func (*AddressReservationIssueResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the address reservation issue resource post post params

func (*AddressReservationIssueResourcePostPostParams) WriteToRequest

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

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

func (*AddressReservationIssueResourcePostPostUnauthorized) Error

func (*AddressReservationIssueResourcePostPostUnauthorized) IsClientError

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

func (*AddressReservationIssueResourcePostPostUnauthorized) IsCode

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

func (*AddressReservationIssueResourcePostPostUnauthorized) IsRedirect

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

func (*AddressReservationIssueResourcePostPostUnauthorized) IsServerError

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

func (*AddressReservationIssueResourcePostPostUnauthorized) IsSuccess

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

func (*AddressReservationIssueResourcePostPostUnauthorized) 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

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

func (*AddressReservationRevokeResourcePostPostBadRequest) Error

func (*AddressReservationRevokeResourcePostPostBadRequest) IsClientError

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

func (*AddressReservationRevokeResourcePostPostBadRequest) IsCode

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

func (*AddressReservationRevokeResourcePostPostBadRequest) IsRedirect

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

func (*AddressReservationRevokeResourcePostPostBadRequest) IsServerError

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

func (*AddressReservationRevokeResourcePostPostBadRequest) IsSuccess

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

func (*AddressReservationRevokeResourcePostPostBadRequest) 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

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

func (*AddressReservationRevokeResourcePostPostNoContent) Error

func (*AddressReservationRevokeResourcePostPostNoContent) IsClientError

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

func (*AddressReservationRevokeResourcePostPostNoContent) IsCode

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

func (*AddressReservationRevokeResourcePostPostNoContent) IsRedirect

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

func (*AddressReservationRevokeResourcePostPostNoContent) IsServerError

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

func (*AddressReservationRevokeResourcePostPostNoContent) IsSuccess

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

func (*AddressReservationRevokeResourcePostPostNoContent) 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

SetContext adds the context to the address reservation revoke resource post post params

func (*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

SetHTTPClient adds the HTTPClient to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) SetID

SetID adds the id to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) SetTimeout

SetTimeout adds the timeout to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) WithAddressID

WithAddressID adds the addressID to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) WithContext

WithContext adds the context to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) WithID

WithID adds the id to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the address reservation revoke resource post post params

func (*AddressReservationRevokeResourcePostPostParams) WriteToRequest

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

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

func (*AddressReservationRevokeResourcePostPostUnauthorized) Error

func (*AddressReservationRevokeResourcePostPostUnauthorized) IsClientError

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

func (*AddressReservationRevokeResourcePostPostUnauthorized) IsCode

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

func (*AddressReservationRevokeResourcePostPostUnauthorized) IsRedirect

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

func (*AddressReservationRevokeResourcePostPostUnauthorized) IsServerError

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

func (*AddressReservationRevokeResourcePostPostUnauthorized) IsSuccess

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

func (*AddressReservationRevokeResourcePostPostUnauthorized) 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

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

func (*AddressReservationsResourceGetGetOK) Error

func (*AddressReservationsResourceGetGetOK) GetPayload

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

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

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

func (*AddressReservationsResourceGetGetOK) 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

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

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

func (*AddressReservationsResourceGetGetParams) WithContext

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

func (*AddressReservationsResourceGetGetParams) WithDefaults

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

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

func (*AddressReservationsResourceGetGetParams) WithTimeout

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

func (*AddressReservationsResourceGetGetParams) WriteToRequest

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

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

func (*AddressReservationsResourceGetGetUnauthorized) Error

func (*AddressReservationsResourceGetGetUnauthorized) IsClientError

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

func (*AddressReservationsResourceGetGetUnauthorized) IsCode

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

func (*AddressReservationsResourceGetGetUnauthorized) IsRedirect

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

func (*AddressReservationsResourceGetGetUnauthorized) IsServerError

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

func (*AddressReservationsResourceGetGetUnauthorized) IsSuccess

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

func (*AddressReservationsResourceGetGetUnauthorized) String

type Client

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

Client for address reservation API

func (*Client) AddressReservationIssueResourcePostPost

AddressReservationIssueResourcePostPost issues authorizations for an address reservation

func (*Client) AddressReservationRevokeResourcePostPost

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

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

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

Code gets the status code for the reservation access times update resource post post bad request response

func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) Error

func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsClientError

IsClientError returns true when this reservation access times update resource post post bad request response has a 4xx status code

func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsCode

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

IsRedirect returns true when this reservation access times update resource post post bad request response has a 3xx status code

func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsServerError

IsServerError returns true when this reservation access times update resource post post bad request response has a 5xx status code

func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this reservation access times update resource post post bad request response has a 2xx status code

func (*ReservationAccessTimesUpdateResourcePostPostBadRequest) 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

Code gets the status code for the reservation access times update resource post post no content response

func (*ReservationAccessTimesUpdateResourcePostPostNoContent) Error

func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsClientError

IsClientError returns true when this reservation access times update resource post post no content response has a 4xx status code

func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsCode

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

IsRedirect returns true when this reservation access times update resource post post no content response has a 3xx status code

func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsServerError

IsServerError returns true when this reservation access times update resource post post no content response has a 5xx status code

func (*ReservationAccessTimesUpdateResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this reservation access times update resource post post no content response has a 2xx status code

func (*ReservationAccessTimesUpdateResourcePostPostNoContent) 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

SetBody adds the body to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) SetContext

SetContext adds the context to the reservation access times update resource post post params

func (*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

SetHTTPClient adds the HTTPClient to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) SetID

SetID adds the id to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) SetTimeout

SetTimeout adds the timeout to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) WithAddressID

WithAddressID adds the addressID to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) WithBody

WithBody adds the body to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) WithContext

WithContext adds the context to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) WithID

WithID adds the id to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the reservation access times update resource post post params

func (*ReservationAccessTimesUpdateResourcePostPostParams) WriteToRequest

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

Code gets the status code for the reservation access times update resource post post unauthorized response

func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) Error

func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this reservation access times update resource post post unauthorized response has a 4xx status code

func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsCode

IsCode returns true when this reservation access times update resource post post unauthorized response a status code equal to that given

func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this reservation access times update resource post post unauthorized response has a 3xx status code

func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this reservation access times update resource post post unauthorized response has a 5xx status code

func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this reservation access times update resource post post unauthorized response has a 2xx status code

func (*ReservationAccessTimesUpdateResourcePostPostUnauthorized) String

Jump to

Keyboard shortcuts

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