dhcp

package
v0.0.0-...-1a3ccaa Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 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 Client

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

Client for dhcp API

func (*Client) DeleteDhcpID

func (a *Client) DeleteDhcpID(params *DeleteDhcpIDParams, opts ...ClientOption) (*DeleteDhcpIDNoContent, error)

DeleteDhcpID deletes dhcp v4 server by id

func (*Client) DeleteDhcpIDLeaseLeaseID

func (a *Client) DeleteDhcpIDLeaseLeaseID(params *DeleteDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*DeleteDhcpIDLeaseLeaseIDNoContent, error)

DeleteDhcpIDLeaseLeaseID deletes dhcp v4 lease by id

func (*Client) GetDhcp

func (a *Client) GetDhcp(params *GetDhcpParams, opts ...ClientOption) (*GetDhcpOK, error)

GetDhcp gets paginated list of dhcp v4 servers

func (*Client) GetDhcpID

func (a *Client) GetDhcpID(params *GetDhcpIDParams, opts ...ClientOption) (*GetDhcpIDOK, error)

GetDhcpID gets dhcp v4 server by id

func (*Client) GetDhcpIDLease

func (a *Client) GetDhcpIDLease(params *GetDhcpIDLeaseParams, opts ...ClientOption) (*GetDhcpIDLeaseOK, error)

GetDhcpIDLease gets paginated list of dhcp v4 server leases

func (*Client) GetDhcpIDLeaseLeaseID

func (a *Client) GetDhcpIDLeaseLeaseID(params *GetDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*GetDhcpIDLeaseLeaseIDOK, error)

GetDhcpIDLeaseLeaseID gets dhcp v4 lease by id

func (*Client) PostDhcp

func (a *Client) PostDhcp(params *PostDhcpParams, opts ...ClientOption) (*PostDhcpOK, error)

PostDhcp creates d h c p v4 server

func (*Client) PostDhcpIDLease

func (a *Client) PostDhcpIDLease(params *PostDhcpIDLeaseParams, opts ...ClientOption) (*PostDhcpIDLeaseOK, error)

PostDhcpIDLease creates d h c p v4 lease

func (*Client) PutDhcpID

func (a *Client) PutDhcpID(params *PutDhcpIDParams, opts ...ClientOption) (*PutDhcpIDOK, error)

PutDhcpID updates d h c p v4 server by id

func (*Client) PutDhcpIDLeaseLeaseID

func (a *Client) PutDhcpIDLeaseLeaseID(params *PutDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*PutDhcpIDLeaseLeaseIDOK, error)

PutDhcpIDLeaseLeaseID updates d h c p v4 lease by id

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 {
	DeleteDhcpID(params *DeleteDhcpIDParams, opts ...ClientOption) (*DeleteDhcpIDNoContent, error)

	DeleteDhcpIDLeaseLeaseID(params *DeleteDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*DeleteDhcpIDLeaseLeaseIDNoContent, error)

	GetDhcp(params *GetDhcpParams, opts ...ClientOption) (*GetDhcpOK, error)

	GetDhcpID(params *GetDhcpIDParams, opts ...ClientOption) (*GetDhcpIDOK, error)

	GetDhcpIDLease(params *GetDhcpIDLeaseParams, opts ...ClientOption) (*GetDhcpIDLeaseOK, error)

	GetDhcpIDLeaseLeaseID(params *GetDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*GetDhcpIDLeaseLeaseIDOK, error)

	PostDhcp(params *PostDhcpParams, opts ...ClientOption) (*PostDhcpOK, error)

	PostDhcpIDLease(params *PostDhcpIDLeaseParams, opts ...ClientOption) (*PostDhcpIDLeaseOK, error)

	PutDhcpID(params *PutDhcpIDParams, opts ...ClientOption) (*PutDhcpIDOK, error)

	PutDhcpIDLeaseLeaseID(params *PutDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*PutDhcpIDLeaseLeaseIDOK, 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 dhcp API client.

type DeleteDhcpIDInternalServerError

type DeleteDhcpIDInternalServerError struct {
}

DeleteDhcpIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteDhcpIDInternalServerError

func NewDeleteDhcpIDInternalServerError() *DeleteDhcpIDInternalServerError

NewDeleteDhcpIDInternalServerError creates a DeleteDhcpIDInternalServerError with default headers values

func (*DeleteDhcpIDInternalServerError) Error

func (*DeleteDhcpIDInternalServerError) IsClientError

func (o *DeleteDhcpIDInternalServerError) IsClientError() bool

IsClientError returns true when this delete dhcp Id internal server error response has a 4xx status code

func (*DeleteDhcpIDInternalServerError) IsCode

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

IsCode returns true when this delete dhcp Id internal server error response a status code equal to that given

func (*DeleteDhcpIDInternalServerError) IsRedirect

func (o *DeleteDhcpIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete dhcp Id internal server error response has a 3xx status code

func (*DeleteDhcpIDInternalServerError) IsServerError

func (o *DeleteDhcpIDInternalServerError) IsServerError() bool

IsServerError returns true when this delete dhcp Id internal server error response has a 5xx status code

func (*DeleteDhcpIDInternalServerError) IsSuccess

func (o *DeleteDhcpIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete dhcp Id internal server error response has a 2xx status code

func (*DeleteDhcpIDInternalServerError) String

type DeleteDhcpIDLeaseLeaseIDInternalServerError

type DeleteDhcpIDLeaseLeaseIDInternalServerError struct {
}

DeleteDhcpIDLeaseLeaseIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteDhcpIDLeaseLeaseIDInternalServerError

func NewDeleteDhcpIDLeaseLeaseIDInternalServerError() *DeleteDhcpIDLeaseLeaseIDInternalServerError

NewDeleteDhcpIDLeaseLeaseIDInternalServerError creates a DeleteDhcpIDLeaseLeaseIDInternalServerError with default headers values

func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) Error

func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsClientError

IsClientError returns true when this delete dhcp Id lease lease Id internal server error response has a 4xx status code

func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsCode

IsCode returns true when this delete dhcp Id lease lease Id internal server error response a status code equal to that given

func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsRedirect

IsRedirect returns true when this delete dhcp Id lease lease Id internal server error response has a 3xx status code

func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsServerError

IsServerError returns true when this delete dhcp Id lease lease Id internal server error response has a 5xx status code

func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsSuccess

IsSuccess returns true when this delete dhcp Id lease lease Id internal server error response has a 2xx status code

func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) String

type DeleteDhcpIDLeaseLeaseIDNoContent

type DeleteDhcpIDLeaseLeaseIDNoContent struct {
}

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

OK, but No Content

func NewDeleteDhcpIDLeaseLeaseIDNoContent

func NewDeleteDhcpIDLeaseLeaseIDNoContent() *DeleteDhcpIDLeaseLeaseIDNoContent

NewDeleteDhcpIDLeaseLeaseIDNoContent creates a DeleteDhcpIDLeaseLeaseIDNoContent with default headers values

func (*DeleteDhcpIDLeaseLeaseIDNoContent) Error

func (*DeleteDhcpIDLeaseLeaseIDNoContent) IsClientError

func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsClientError() bool

IsClientError returns true when this delete dhcp Id lease lease Id no content response has a 4xx status code

func (*DeleteDhcpIDLeaseLeaseIDNoContent) IsCode

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

IsCode returns true when this delete dhcp Id lease lease Id no content response a status code equal to that given

func (*DeleteDhcpIDLeaseLeaseIDNoContent) IsRedirect

func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete dhcp Id lease lease Id no content response has a 3xx status code

func (*DeleteDhcpIDLeaseLeaseIDNoContent) IsServerError

func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsServerError() bool

IsServerError returns true when this delete dhcp Id lease lease Id no content response has a 5xx status code

func (*DeleteDhcpIDLeaseLeaseIDNoContent) IsSuccess

func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete dhcp Id lease lease Id no content response has a 2xx status code

func (*DeleteDhcpIDLeaseLeaseIDNoContent) String

type DeleteDhcpIDLeaseLeaseIDNotFound

type DeleteDhcpIDLeaseLeaseIDNotFound struct {
}

DeleteDhcpIDLeaseLeaseIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteDhcpIDLeaseLeaseIDNotFound

func NewDeleteDhcpIDLeaseLeaseIDNotFound() *DeleteDhcpIDLeaseLeaseIDNotFound

NewDeleteDhcpIDLeaseLeaseIDNotFound creates a DeleteDhcpIDLeaseLeaseIDNotFound with default headers values

func (*DeleteDhcpIDLeaseLeaseIDNotFound) Error

func (*DeleteDhcpIDLeaseLeaseIDNotFound) IsClientError

func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsClientError() bool

IsClientError returns true when this delete dhcp Id lease lease Id not found response has a 4xx status code

func (*DeleteDhcpIDLeaseLeaseIDNotFound) IsCode

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

IsCode returns true when this delete dhcp Id lease lease Id not found response a status code equal to that given

func (*DeleteDhcpIDLeaseLeaseIDNotFound) IsRedirect

func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete dhcp Id lease lease Id not found response has a 3xx status code

func (*DeleteDhcpIDLeaseLeaseIDNotFound) IsServerError

func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsServerError() bool

IsServerError returns true when this delete dhcp Id lease lease Id not found response has a 5xx status code

func (*DeleteDhcpIDLeaseLeaseIDNotFound) IsSuccess

func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete dhcp Id lease lease Id not found response has a 2xx status code

func (*DeleteDhcpIDLeaseLeaseIDNotFound) String

type DeleteDhcpIDLeaseLeaseIDParams

type DeleteDhcpIDLeaseLeaseIDParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

	/* LeaseID.

	   DHCP v4 lease ID
	*/
	LeaseID string

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

DeleteDhcpIDLeaseLeaseIDParams contains all the parameters to send to the API endpoint

for the delete dhcp ID lease lease ID operation.

Typically these are written to a http.Request.

func NewDeleteDhcpIDLeaseLeaseIDParams

func NewDeleteDhcpIDLeaseLeaseIDParams() *DeleteDhcpIDLeaseLeaseIDParams

NewDeleteDhcpIDLeaseLeaseIDParams creates a new DeleteDhcpIDLeaseLeaseIDParams 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 NewDeleteDhcpIDLeaseLeaseIDParamsWithContext

func NewDeleteDhcpIDLeaseLeaseIDParamsWithContext(ctx context.Context) *DeleteDhcpIDLeaseLeaseIDParams

NewDeleteDhcpIDLeaseLeaseIDParamsWithContext creates a new DeleteDhcpIDLeaseLeaseIDParams object with the ability to set a context for a request.

func NewDeleteDhcpIDLeaseLeaseIDParamsWithHTTPClient

func NewDeleteDhcpIDLeaseLeaseIDParamsWithHTTPClient(client *http.Client) *DeleteDhcpIDLeaseLeaseIDParams

NewDeleteDhcpIDLeaseLeaseIDParamsWithHTTPClient creates a new DeleteDhcpIDLeaseLeaseIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDhcpIDLeaseLeaseIDParamsWithTimeout

func NewDeleteDhcpIDLeaseLeaseIDParamsWithTimeout(timeout time.Duration) *DeleteDhcpIDLeaseLeaseIDParams

NewDeleteDhcpIDLeaseLeaseIDParamsWithTimeout creates a new DeleteDhcpIDLeaseLeaseIDParams object with the ability to set a timeout on a request.

func (*DeleteDhcpIDLeaseLeaseIDParams) SetContext

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

SetContext adds the context to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) SetDefaults

func (o *DeleteDhcpIDLeaseLeaseIDParams) SetDefaults()

SetDefaults hydrates default values in the delete dhcp ID lease lease ID params (not the query body).

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

func (*DeleteDhcpIDLeaseLeaseIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) SetID

SetID adds the id to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) SetLeaseID

func (o *DeleteDhcpIDLeaseLeaseIDParams) SetLeaseID(leaseID string)

SetLeaseID adds the leaseId to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) WithContext

WithContext adds the context to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) WithDefaults

WithDefaults hydrates default values in the delete dhcp ID lease lease ID params (not the query body).

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

func (*DeleteDhcpIDLeaseLeaseIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) WithID

WithID adds the id to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) WithLeaseID

WithLeaseID adds the leaseID to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) WithTimeout

WithTimeout adds the timeout to the delete dhcp ID lease lease ID params

func (*DeleteDhcpIDLeaseLeaseIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDhcpIDLeaseLeaseIDReader

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

DeleteDhcpIDLeaseLeaseIDReader is a Reader for the DeleteDhcpIDLeaseLeaseID structure.

func (*DeleteDhcpIDLeaseLeaseIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDhcpIDNoContent

type DeleteDhcpIDNoContent struct {
}

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

OK, but No Content

func NewDeleteDhcpIDNoContent

func NewDeleteDhcpIDNoContent() *DeleteDhcpIDNoContent

NewDeleteDhcpIDNoContent creates a DeleteDhcpIDNoContent with default headers values

func (*DeleteDhcpIDNoContent) Error

func (o *DeleteDhcpIDNoContent) Error() string

func (*DeleteDhcpIDNoContent) IsClientError

func (o *DeleteDhcpIDNoContent) IsClientError() bool

IsClientError returns true when this delete dhcp Id no content response has a 4xx status code

func (*DeleteDhcpIDNoContent) IsCode

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

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

func (*DeleteDhcpIDNoContent) IsRedirect

func (o *DeleteDhcpIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete dhcp Id no content response has a 3xx status code

func (*DeleteDhcpIDNoContent) IsServerError

func (o *DeleteDhcpIDNoContent) IsServerError() bool

IsServerError returns true when this delete dhcp Id no content response has a 5xx status code

func (*DeleteDhcpIDNoContent) IsSuccess

func (o *DeleteDhcpIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete dhcp Id no content response has a 2xx status code

func (*DeleteDhcpIDNoContent) String

func (o *DeleteDhcpIDNoContent) String() string

type DeleteDhcpIDNotFound

type DeleteDhcpIDNotFound struct {
}

DeleteDhcpIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteDhcpIDNotFound

func NewDeleteDhcpIDNotFound() *DeleteDhcpIDNotFound

NewDeleteDhcpIDNotFound creates a DeleteDhcpIDNotFound with default headers values

func (*DeleteDhcpIDNotFound) Error

func (o *DeleteDhcpIDNotFound) Error() string

func (*DeleteDhcpIDNotFound) IsClientError

func (o *DeleteDhcpIDNotFound) IsClientError() bool

IsClientError returns true when this delete dhcp Id not found response has a 4xx status code

func (*DeleteDhcpIDNotFound) IsCode

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

IsCode returns true when this delete dhcp Id not found response a status code equal to that given

func (*DeleteDhcpIDNotFound) IsRedirect

func (o *DeleteDhcpIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete dhcp Id not found response has a 3xx status code

func (*DeleteDhcpIDNotFound) IsServerError

func (o *DeleteDhcpIDNotFound) IsServerError() bool

IsServerError returns true when this delete dhcp Id not found response has a 5xx status code

func (*DeleteDhcpIDNotFound) IsSuccess

func (o *DeleteDhcpIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete dhcp Id not found response has a 2xx status code

func (*DeleteDhcpIDNotFound) String

func (o *DeleteDhcpIDNotFound) String() string

type DeleteDhcpIDParams

type DeleteDhcpIDParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

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

DeleteDhcpIDParams contains all the parameters to send to the API endpoint

for the delete dhcp ID operation.

Typically these are written to a http.Request.

func NewDeleteDhcpIDParams

func NewDeleteDhcpIDParams() *DeleteDhcpIDParams

NewDeleteDhcpIDParams creates a new DeleteDhcpIDParams 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 NewDeleteDhcpIDParamsWithContext

func NewDeleteDhcpIDParamsWithContext(ctx context.Context) *DeleteDhcpIDParams

NewDeleteDhcpIDParamsWithContext creates a new DeleteDhcpIDParams object with the ability to set a context for a request.

func NewDeleteDhcpIDParamsWithHTTPClient

func NewDeleteDhcpIDParamsWithHTTPClient(client *http.Client) *DeleteDhcpIDParams

NewDeleteDhcpIDParamsWithHTTPClient creates a new DeleteDhcpIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDhcpIDParamsWithTimeout

func NewDeleteDhcpIDParamsWithTimeout(timeout time.Duration) *DeleteDhcpIDParams

NewDeleteDhcpIDParamsWithTimeout creates a new DeleteDhcpIDParams object with the ability to set a timeout on a request.

func (*DeleteDhcpIDParams) SetContext

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

SetContext adds the context to the delete dhcp ID params

func (*DeleteDhcpIDParams) SetDefaults

func (o *DeleteDhcpIDParams) SetDefaults()

SetDefaults hydrates default values in the delete dhcp ID params (not the query body).

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

func (*DeleteDhcpIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dhcp ID params

func (*DeleteDhcpIDParams) SetID

func (o *DeleteDhcpIDParams) SetID(id string)

SetID adds the id to the delete dhcp ID params

func (*DeleteDhcpIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete dhcp ID params

func (*DeleteDhcpIDParams) WithContext

WithContext adds the context to the delete dhcp ID params

func (*DeleteDhcpIDParams) WithDefaults

func (o *DeleteDhcpIDParams) WithDefaults() *DeleteDhcpIDParams

WithDefaults hydrates default values in the delete dhcp ID params (not the query body).

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

func (*DeleteDhcpIDParams) WithHTTPClient

func (o *DeleteDhcpIDParams) WithHTTPClient(client *http.Client) *DeleteDhcpIDParams

WithHTTPClient adds the HTTPClient to the delete dhcp ID params

func (*DeleteDhcpIDParams) WithID

WithID adds the id to the delete dhcp ID params

func (*DeleteDhcpIDParams) WithTimeout

func (o *DeleteDhcpIDParams) WithTimeout(timeout time.Duration) *DeleteDhcpIDParams

WithTimeout adds the timeout to the delete dhcp ID params

func (*DeleteDhcpIDParams) WriteToRequest

func (o *DeleteDhcpIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteDhcpIDReader

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

DeleteDhcpIDReader is a Reader for the DeleteDhcpID structure.

func (*DeleteDhcpIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDhcpIDInternalServerError

type GetDhcpIDInternalServerError struct {
}

GetDhcpIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDhcpIDInternalServerError

func NewGetDhcpIDInternalServerError() *GetDhcpIDInternalServerError

NewGetDhcpIDInternalServerError creates a GetDhcpIDInternalServerError with default headers values

func (*GetDhcpIDInternalServerError) Error

func (*GetDhcpIDInternalServerError) IsClientError

func (o *GetDhcpIDInternalServerError) IsClientError() bool

IsClientError returns true when this get dhcp Id internal server error response has a 4xx status code

func (*GetDhcpIDInternalServerError) IsCode

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

IsCode returns true when this get dhcp Id internal server error response a status code equal to that given

func (*GetDhcpIDInternalServerError) IsRedirect

func (o *GetDhcpIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this get dhcp Id internal server error response has a 3xx status code

func (*GetDhcpIDInternalServerError) IsServerError

func (o *GetDhcpIDInternalServerError) IsServerError() bool

IsServerError returns true when this get dhcp Id internal server error response has a 5xx status code

func (*GetDhcpIDInternalServerError) IsSuccess

func (o *GetDhcpIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this get dhcp Id internal server error response has a 2xx status code

func (*GetDhcpIDInternalServerError) String

type GetDhcpIDLeaseInternalServerError

type GetDhcpIDLeaseInternalServerError struct {
}

GetDhcpIDLeaseInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDhcpIDLeaseInternalServerError

func NewGetDhcpIDLeaseInternalServerError() *GetDhcpIDLeaseInternalServerError

NewGetDhcpIDLeaseInternalServerError creates a GetDhcpIDLeaseInternalServerError with default headers values

func (*GetDhcpIDLeaseInternalServerError) Error

func (*GetDhcpIDLeaseInternalServerError) IsClientError

func (o *GetDhcpIDLeaseInternalServerError) IsClientError() bool

IsClientError returns true when this get dhcp Id lease internal server error response has a 4xx status code

func (*GetDhcpIDLeaseInternalServerError) IsCode

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

IsCode returns true when this get dhcp Id lease internal server error response a status code equal to that given

func (*GetDhcpIDLeaseInternalServerError) IsRedirect

func (o *GetDhcpIDLeaseInternalServerError) IsRedirect() bool

IsRedirect returns true when this get dhcp Id lease internal server error response has a 3xx status code

func (*GetDhcpIDLeaseInternalServerError) IsServerError

func (o *GetDhcpIDLeaseInternalServerError) IsServerError() bool

IsServerError returns true when this get dhcp Id lease internal server error response has a 5xx status code

func (*GetDhcpIDLeaseInternalServerError) IsSuccess

func (o *GetDhcpIDLeaseInternalServerError) IsSuccess() bool

IsSuccess returns true when this get dhcp Id lease internal server error response has a 2xx status code

func (*GetDhcpIDLeaseInternalServerError) String

type GetDhcpIDLeaseLeaseIDInternalServerError

type GetDhcpIDLeaseLeaseIDInternalServerError struct {
}

GetDhcpIDLeaseLeaseIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDhcpIDLeaseLeaseIDInternalServerError

func NewGetDhcpIDLeaseLeaseIDInternalServerError() *GetDhcpIDLeaseLeaseIDInternalServerError

NewGetDhcpIDLeaseLeaseIDInternalServerError creates a GetDhcpIDLeaseLeaseIDInternalServerError with default headers values

func (*GetDhcpIDLeaseLeaseIDInternalServerError) Error

func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsClientError

IsClientError returns true when this get dhcp Id lease lease Id internal server error response has a 4xx status code

func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsCode

IsCode returns true when this get dhcp Id lease lease Id internal server error response a status code equal to that given

func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsRedirect

IsRedirect returns true when this get dhcp Id lease lease Id internal server error response has a 3xx status code

func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsServerError

IsServerError returns true when this get dhcp Id lease lease Id internal server error response has a 5xx status code

func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsSuccess

IsSuccess returns true when this get dhcp Id lease lease Id internal server error response has a 2xx status code

func (*GetDhcpIDLeaseLeaseIDInternalServerError) String

type GetDhcpIDLeaseLeaseIDNotFound

type GetDhcpIDLeaseLeaseIDNotFound struct {
}

GetDhcpIDLeaseLeaseIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDhcpIDLeaseLeaseIDNotFound

func NewGetDhcpIDLeaseLeaseIDNotFound() *GetDhcpIDLeaseLeaseIDNotFound

NewGetDhcpIDLeaseLeaseIDNotFound creates a GetDhcpIDLeaseLeaseIDNotFound with default headers values

func (*GetDhcpIDLeaseLeaseIDNotFound) Error

func (*GetDhcpIDLeaseLeaseIDNotFound) IsClientError

func (o *GetDhcpIDLeaseLeaseIDNotFound) IsClientError() bool

IsClientError returns true when this get dhcp Id lease lease Id not found response has a 4xx status code

func (*GetDhcpIDLeaseLeaseIDNotFound) IsCode

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

IsCode returns true when this get dhcp Id lease lease Id not found response a status code equal to that given

func (*GetDhcpIDLeaseLeaseIDNotFound) IsRedirect

func (o *GetDhcpIDLeaseLeaseIDNotFound) IsRedirect() bool

IsRedirect returns true when this get dhcp Id lease lease Id not found response has a 3xx status code

func (*GetDhcpIDLeaseLeaseIDNotFound) IsServerError

func (o *GetDhcpIDLeaseLeaseIDNotFound) IsServerError() bool

IsServerError returns true when this get dhcp Id lease lease Id not found response has a 5xx status code

func (*GetDhcpIDLeaseLeaseIDNotFound) IsSuccess

func (o *GetDhcpIDLeaseLeaseIDNotFound) IsSuccess() bool

IsSuccess returns true when this get dhcp Id lease lease Id not found response has a 2xx status code

func (*GetDhcpIDLeaseLeaseIDNotFound) String

type GetDhcpIDLeaseLeaseIDOK

type GetDhcpIDLeaseLeaseIDOK struct {
	Payload *models.DtosDHCP4LeaseDto
}

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

OK

func NewGetDhcpIDLeaseLeaseIDOK

func NewGetDhcpIDLeaseLeaseIDOK() *GetDhcpIDLeaseLeaseIDOK

NewGetDhcpIDLeaseLeaseIDOK creates a GetDhcpIDLeaseLeaseIDOK with default headers values

func (*GetDhcpIDLeaseLeaseIDOK) Error

func (o *GetDhcpIDLeaseLeaseIDOK) Error() string

func (*GetDhcpIDLeaseLeaseIDOK) GetPayload

func (*GetDhcpIDLeaseLeaseIDOK) IsClientError

func (o *GetDhcpIDLeaseLeaseIDOK) IsClientError() bool

IsClientError returns true when this get dhcp Id lease lease Id o k response has a 4xx status code

func (*GetDhcpIDLeaseLeaseIDOK) IsCode

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

IsCode returns true when this get dhcp Id lease lease Id o k response a status code equal to that given

func (*GetDhcpIDLeaseLeaseIDOK) IsRedirect

func (o *GetDhcpIDLeaseLeaseIDOK) IsRedirect() bool

IsRedirect returns true when this get dhcp Id lease lease Id o k response has a 3xx status code

func (*GetDhcpIDLeaseLeaseIDOK) IsServerError

func (o *GetDhcpIDLeaseLeaseIDOK) IsServerError() bool

IsServerError returns true when this get dhcp Id lease lease Id o k response has a 5xx status code

func (*GetDhcpIDLeaseLeaseIDOK) IsSuccess

func (o *GetDhcpIDLeaseLeaseIDOK) IsSuccess() bool

IsSuccess returns true when this get dhcp Id lease lease Id o k response has a 2xx status code

func (*GetDhcpIDLeaseLeaseIDOK) String

func (o *GetDhcpIDLeaseLeaseIDOK) String() string

type GetDhcpIDLeaseLeaseIDParams

type GetDhcpIDLeaseLeaseIDParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

	/* LeaseID.

	   DHCP v4 lease ID
	*/
	LeaseID string

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

GetDhcpIDLeaseLeaseIDParams contains all the parameters to send to the API endpoint

for the get dhcp ID lease lease ID operation.

Typically these are written to a http.Request.

func NewGetDhcpIDLeaseLeaseIDParams

func NewGetDhcpIDLeaseLeaseIDParams() *GetDhcpIDLeaseLeaseIDParams

NewGetDhcpIDLeaseLeaseIDParams creates a new GetDhcpIDLeaseLeaseIDParams 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 NewGetDhcpIDLeaseLeaseIDParamsWithContext

func NewGetDhcpIDLeaseLeaseIDParamsWithContext(ctx context.Context) *GetDhcpIDLeaseLeaseIDParams

NewGetDhcpIDLeaseLeaseIDParamsWithContext creates a new GetDhcpIDLeaseLeaseIDParams object with the ability to set a context for a request.

func NewGetDhcpIDLeaseLeaseIDParamsWithHTTPClient

func NewGetDhcpIDLeaseLeaseIDParamsWithHTTPClient(client *http.Client) *GetDhcpIDLeaseLeaseIDParams

NewGetDhcpIDLeaseLeaseIDParamsWithHTTPClient creates a new GetDhcpIDLeaseLeaseIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDhcpIDLeaseLeaseIDParamsWithTimeout

func NewGetDhcpIDLeaseLeaseIDParamsWithTimeout(timeout time.Duration) *GetDhcpIDLeaseLeaseIDParams

NewGetDhcpIDLeaseLeaseIDParamsWithTimeout creates a new GetDhcpIDLeaseLeaseIDParams object with the ability to set a timeout on a request.

func (*GetDhcpIDLeaseLeaseIDParams) SetContext

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

SetContext adds the context to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) SetDefaults

func (o *GetDhcpIDLeaseLeaseIDParams) SetDefaults()

SetDefaults hydrates default values in the get dhcp ID lease lease ID params (not the query body).

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

func (*GetDhcpIDLeaseLeaseIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) SetID

func (o *GetDhcpIDLeaseLeaseIDParams) SetID(id string)

SetID adds the id to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) SetLeaseID

func (o *GetDhcpIDLeaseLeaseIDParams) SetLeaseID(leaseID string)

SetLeaseID adds the leaseId to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) SetTimeout

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

SetTimeout adds the timeout to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) WithContext

WithContext adds the context to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) WithDefaults

WithDefaults hydrates default values in the get dhcp ID lease lease ID params (not the query body).

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

func (*GetDhcpIDLeaseLeaseIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) WithID

WithID adds the id to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) WithLeaseID

WithLeaseID adds the leaseID to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) WithTimeout

WithTimeout adds the timeout to the get dhcp ID lease lease ID params

func (*GetDhcpIDLeaseLeaseIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDhcpIDLeaseLeaseIDReader

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

GetDhcpIDLeaseLeaseIDReader is a Reader for the GetDhcpIDLeaseLeaseID structure.

func (*GetDhcpIDLeaseLeaseIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDhcpIDLeaseOK

type GetDhcpIDLeaseOK struct {
	Payload *models.DtosPaginatedItemsDtoDtosDHCP4LeaseDto
}

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

OK

func NewGetDhcpIDLeaseOK

func NewGetDhcpIDLeaseOK() *GetDhcpIDLeaseOK

NewGetDhcpIDLeaseOK creates a GetDhcpIDLeaseOK with default headers values

func (*GetDhcpIDLeaseOK) Error

func (o *GetDhcpIDLeaseOK) Error() string

func (*GetDhcpIDLeaseOK) GetPayload

func (*GetDhcpIDLeaseOK) IsClientError

func (o *GetDhcpIDLeaseOK) IsClientError() bool

IsClientError returns true when this get dhcp Id lease o k response has a 4xx status code

func (*GetDhcpIDLeaseOK) IsCode

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

IsCode returns true when this get dhcp Id lease o k response a status code equal to that given

func (*GetDhcpIDLeaseOK) IsRedirect

func (o *GetDhcpIDLeaseOK) IsRedirect() bool

IsRedirect returns true when this get dhcp Id lease o k response has a 3xx status code

func (*GetDhcpIDLeaseOK) IsServerError

func (o *GetDhcpIDLeaseOK) IsServerError() bool

IsServerError returns true when this get dhcp Id lease o k response has a 5xx status code

func (*GetDhcpIDLeaseOK) IsSuccess

func (o *GetDhcpIDLeaseOK) IsSuccess() bool

IsSuccess returns true when this get dhcp Id lease o k response has a 2xx status code

func (*GetDhcpIDLeaseOK) String

func (o *GetDhcpIDLeaseOK) String() string

type GetDhcpIDLeaseParams

type GetDhcpIDLeaseParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

	/* OrderBy.

	   Order by field
	*/
	OrderBy *string

	/* OrderDirection.

	   'asc' or 'desc' for ascending or descending order
	*/
	OrderDirection *string

	/* Page.

	   Page number
	*/
	Page *int64

	/* PageSize.

	   Number of entities per page
	*/
	PageSize *int64

	/* Search.

	   Searchable value in entity
	*/
	Search *string

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

GetDhcpIDLeaseParams contains all the parameters to send to the API endpoint

for the get dhcp ID lease operation.

Typically these are written to a http.Request.

func NewGetDhcpIDLeaseParams

func NewGetDhcpIDLeaseParams() *GetDhcpIDLeaseParams

NewGetDhcpIDLeaseParams creates a new GetDhcpIDLeaseParams 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 NewGetDhcpIDLeaseParamsWithContext

func NewGetDhcpIDLeaseParamsWithContext(ctx context.Context) *GetDhcpIDLeaseParams

NewGetDhcpIDLeaseParamsWithContext creates a new GetDhcpIDLeaseParams object with the ability to set a context for a request.

func NewGetDhcpIDLeaseParamsWithHTTPClient

func NewGetDhcpIDLeaseParamsWithHTTPClient(client *http.Client) *GetDhcpIDLeaseParams

NewGetDhcpIDLeaseParamsWithHTTPClient creates a new GetDhcpIDLeaseParams object with the ability to set a custom HTTPClient for a request.

func NewGetDhcpIDLeaseParamsWithTimeout

func NewGetDhcpIDLeaseParamsWithTimeout(timeout time.Duration) *GetDhcpIDLeaseParams

NewGetDhcpIDLeaseParamsWithTimeout creates a new GetDhcpIDLeaseParams object with the ability to set a timeout on a request.

func (*GetDhcpIDLeaseParams) SetContext

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

SetContext adds the context to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetDefaults

func (o *GetDhcpIDLeaseParams) SetDefaults()

SetDefaults hydrates default values in the get dhcp ID lease params (not the query body).

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

func (*GetDhcpIDLeaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetID

func (o *GetDhcpIDLeaseParams) SetID(id string)

SetID adds the id to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetOrderBy

func (o *GetDhcpIDLeaseParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetOrderDirection

func (o *GetDhcpIDLeaseParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetPage

func (o *GetDhcpIDLeaseParams) SetPage(page *int64)

SetPage adds the page to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetPageSize

func (o *GetDhcpIDLeaseParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetSearch

func (o *GetDhcpIDLeaseParams) SetSearch(search *string)

SetSearch adds the search to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) SetTimeout

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

SetTimeout adds the timeout to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithContext

WithContext adds the context to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithDefaults

func (o *GetDhcpIDLeaseParams) WithDefaults() *GetDhcpIDLeaseParams

WithDefaults hydrates default values in the get dhcp ID lease params (not the query body).

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

func (*GetDhcpIDLeaseParams) WithHTTPClient

func (o *GetDhcpIDLeaseParams) WithHTTPClient(client *http.Client) *GetDhcpIDLeaseParams

WithHTTPClient adds the HTTPClient to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithID

WithID adds the id to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithOrderBy

func (o *GetDhcpIDLeaseParams) WithOrderBy(orderBy *string) *GetDhcpIDLeaseParams

WithOrderBy adds the orderBy to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithOrderDirection

func (o *GetDhcpIDLeaseParams) WithOrderDirection(orderDirection *string) *GetDhcpIDLeaseParams

WithOrderDirection adds the orderDirection to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithPage

func (o *GetDhcpIDLeaseParams) WithPage(page *int64) *GetDhcpIDLeaseParams

WithPage adds the page to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithPageSize

func (o *GetDhcpIDLeaseParams) WithPageSize(pageSize *int64) *GetDhcpIDLeaseParams

WithPageSize adds the pageSize to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithSearch

func (o *GetDhcpIDLeaseParams) WithSearch(search *string) *GetDhcpIDLeaseParams

WithSearch adds the search to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WithTimeout

func (o *GetDhcpIDLeaseParams) WithTimeout(timeout time.Duration) *GetDhcpIDLeaseParams

WithTimeout adds the timeout to the get dhcp ID lease params

func (*GetDhcpIDLeaseParams) WriteToRequest

func (o *GetDhcpIDLeaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDhcpIDLeaseReader

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

GetDhcpIDLeaseReader is a Reader for the GetDhcpIDLease structure.

func (*GetDhcpIDLeaseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDhcpIDNotFound

type GetDhcpIDNotFound struct {
}

GetDhcpIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDhcpIDNotFound

func NewGetDhcpIDNotFound() *GetDhcpIDNotFound

NewGetDhcpIDNotFound creates a GetDhcpIDNotFound with default headers values

func (*GetDhcpIDNotFound) Error

func (o *GetDhcpIDNotFound) Error() string

func (*GetDhcpIDNotFound) IsClientError

func (o *GetDhcpIDNotFound) IsClientError() bool

IsClientError returns true when this get dhcp Id not found response has a 4xx status code

func (*GetDhcpIDNotFound) IsCode

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

IsCode returns true when this get dhcp Id not found response a status code equal to that given

func (*GetDhcpIDNotFound) IsRedirect

func (o *GetDhcpIDNotFound) IsRedirect() bool

IsRedirect returns true when this get dhcp Id not found response has a 3xx status code

func (*GetDhcpIDNotFound) IsServerError

func (o *GetDhcpIDNotFound) IsServerError() bool

IsServerError returns true when this get dhcp Id not found response has a 5xx status code

func (*GetDhcpIDNotFound) IsSuccess

func (o *GetDhcpIDNotFound) IsSuccess() bool

IsSuccess returns true when this get dhcp Id not found response has a 2xx status code

func (*GetDhcpIDNotFound) String

func (o *GetDhcpIDNotFound) String() string

type GetDhcpIDOK

type GetDhcpIDOK struct {
	Payload *models.DtosDHCP4ServerDto
}

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

OK

func NewGetDhcpIDOK

func NewGetDhcpIDOK() *GetDhcpIDOK

NewGetDhcpIDOK creates a GetDhcpIDOK with default headers values

func (*GetDhcpIDOK) Error

func (o *GetDhcpIDOK) Error() string

func (*GetDhcpIDOK) GetPayload

func (o *GetDhcpIDOK) GetPayload() *models.DtosDHCP4ServerDto

func (*GetDhcpIDOK) IsClientError

func (o *GetDhcpIDOK) IsClientError() bool

IsClientError returns true when this get dhcp Id o k response has a 4xx status code

func (*GetDhcpIDOK) IsCode

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

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

func (*GetDhcpIDOK) IsRedirect

func (o *GetDhcpIDOK) IsRedirect() bool

IsRedirect returns true when this get dhcp Id o k response has a 3xx status code

func (*GetDhcpIDOK) IsServerError

func (o *GetDhcpIDOK) IsServerError() bool

IsServerError returns true when this get dhcp Id o k response has a 5xx status code

func (*GetDhcpIDOK) IsSuccess

func (o *GetDhcpIDOK) IsSuccess() bool

IsSuccess returns true when this get dhcp Id o k response has a 2xx status code

func (*GetDhcpIDOK) String

func (o *GetDhcpIDOK) String() string

type GetDhcpIDParams

type GetDhcpIDParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

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

GetDhcpIDParams contains all the parameters to send to the API endpoint

for the get dhcp ID operation.

Typically these are written to a http.Request.

func NewGetDhcpIDParams

func NewGetDhcpIDParams() *GetDhcpIDParams

NewGetDhcpIDParams creates a new GetDhcpIDParams 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 NewGetDhcpIDParamsWithContext

func NewGetDhcpIDParamsWithContext(ctx context.Context) *GetDhcpIDParams

NewGetDhcpIDParamsWithContext creates a new GetDhcpIDParams object with the ability to set a context for a request.

func NewGetDhcpIDParamsWithHTTPClient

func NewGetDhcpIDParamsWithHTTPClient(client *http.Client) *GetDhcpIDParams

NewGetDhcpIDParamsWithHTTPClient creates a new GetDhcpIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDhcpIDParamsWithTimeout

func NewGetDhcpIDParamsWithTimeout(timeout time.Duration) *GetDhcpIDParams

NewGetDhcpIDParamsWithTimeout creates a new GetDhcpIDParams object with the ability to set a timeout on a request.

func (*GetDhcpIDParams) SetContext

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

SetContext adds the context to the get dhcp ID params

func (*GetDhcpIDParams) SetDefaults

func (o *GetDhcpIDParams) SetDefaults()

SetDefaults hydrates default values in the get dhcp ID params (not the query body).

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

func (*GetDhcpIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dhcp ID params

func (*GetDhcpIDParams) SetID

func (o *GetDhcpIDParams) SetID(id string)

SetID adds the id to the get dhcp ID params

func (*GetDhcpIDParams) SetTimeout

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

SetTimeout adds the timeout to the get dhcp ID params

func (*GetDhcpIDParams) WithContext

func (o *GetDhcpIDParams) WithContext(ctx context.Context) *GetDhcpIDParams

WithContext adds the context to the get dhcp ID params

func (*GetDhcpIDParams) WithDefaults

func (o *GetDhcpIDParams) WithDefaults() *GetDhcpIDParams

WithDefaults hydrates default values in the get dhcp ID params (not the query body).

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

func (*GetDhcpIDParams) WithHTTPClient

func (o *GetDhcpIDParams) WithHTTPClient(client *http.Client) *GetDhcpIDParams

WithHTTPClient adds the HTTPClient to the get dhcp ID params

func (*GetDhcpIDParams) WithID

func (o *GetDhcpIDParams) WithID(id string) *GetDhcpIDParams

WithID adds the id to the get dhcp ID params

func (*GetDhcpIDParams) WithTimeout

func (o *GetDhcpIDParams) WithTimeout(timeout time.Duration) *GetDhcpIDParams

WithTimeout adds the timeout to the get dhcp ID params

func (*GetDhcpIDParams) WriteToRequest

func (o *GetDhcpIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDhcpIDReader

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

GetDhcpIDReader is a Reader for the GetDhcpID structure.

func (*GetDhcpIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDhcpInternalServerError

type GetDhcpInternalServerError struct {
}

GetDhcpInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDhcpInternalServerError

func NewGetDhcpInternalServerError() *GetDhcpInternalServerError

NewGetDhcpInternalServerError creates a GetDhcpInternalServerError with default headers values

func (*GetDhcpInternalServerError) Error

func (*GetDhcpInternalServerError) IsClientError

func (o *GetDhcpInternalServerError) IsClientError() bool

IsClientError returns true when this get dhcp internal server error response has a 4xx status code

func (*GetDhcpInternalServerError) IsCode

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

IsCode returns true when this get dhcp internal server error response a status code equal to that given

func (*GetDhcpInternalServerError) IsRedirect

func (o *GetDhcpInternalServerError) IsRedirect() bool

IsRedirect returns true when this get dhcp internal server error response has a 3xx status code

func (*GetDhcpInternalServerError) IsServerError

func (o *GetDhcpInternalServerError) IsServerError() bool

IsServerError returns true when this get dhcp internal server error response has a 5xx status code

func (*GetDhcpInternalServerError) IsSuccess

func (o *GetDhcpInternalServerError) IsSuccess() bool

IsSuccess returns true when this get dhcp internal server error response has a 2xx status code

func (*GetDhcpInternalServerError) String

func (o *GetDhcpInternalServerError) String() string

type GetDhcpOK

type GetDhcpOK struct {
	Payload *models.DtosPaginatedItemsDtoDtosDHCP4ServerDto
}

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

OK

func NewGetDhcpOK

func NewGetDhcpOK() *GetDhcpOK

NewGetDhcpOK creates a GetDhcpOK with default headers values

func (*GetDhcpOK) Error

func (o *GetDhcpOK) Error() string

func (*GetDhcpOK) GetPayload

func (*GetDhcpOK) IsClientError

func (o *GetDhcpOK) IsClientError() bool

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

func (*GetDhcpOK) IsCode

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

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

func (*GetDhcpOK) IsRedirect

func (o *GetDhcpOK) IsRedirect() bool

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

func (*GetDhcpOK) IsServerError

func (o *GetDhcpOK) IsServerError() bool

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

func (*GetDhcpOK) IsSuccess

func (o *GetDhcpOK) IsSuccess() bool

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

func (*GetDhcpOK) String

func (o *GetDhcpOK) String() string

type GetDhcpParams

type GetDhcpParams struct {

	/* OrderBy.

	   Order by field
	*/
	OrderBy *string

	/* OrderDirection.

	   'asc' or 'desc' for ascending or descending order
	*/
	OrderDirection *string

	/* Page.

	   Page number
	*/
	Page *int64

	/* PageSize.

	   Number of entities per page
	*/
	PageSize *int64

	/* Search.

	   Searchable value in entity
	*/
	Search *string

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

GetDhcpParams contains all the parameters to send to the API endpoint

for the get dhcp operation.

Typically these are written to a http.Request.

func NewGetDhcpParams

func NewGetDhcpParams() *GetDhcpParams

NewGetDhcpParams creates a new GetDhcpParams 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 NewGetDhcpParamsWithContext

func NewGetDhcpParamsWithContext(ctx context.Context) *GetDhcpParams

NewGetDhcpParamsWithContext creates a new GetDhcpParams object with the ability to set a context for a request.

func NewGetDhcpParamsWithHTTPClient

func NewGetDhcpParamsWithHTTPClient(client *http.Client) *GetDhcpParams

NewGetDhcpParamsWithHTTPClient creates a new GetDhcpParams object with the ability to set a custom HTTPClient for a request.

func NewGetDhcpParamsWithTimeout

func NewGetDhcpParamsWithTimeout(timeout time.Duration) *GetDhcpParams

NewGetDhcpParamsWithTimeout creates a new GetDhcpParams object with the ability to set a timeout on a request.

func (*GetDhcpParams) SetContext

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

SetContext adds the context to the get dhcp params

func (*GetDhcpParams) SetDefaults

func (o *GetDhcpParams) SetDefaults()

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

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

func (*GetDhcpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dhcp params

func (*GetDhcpParams) SetOrderBy

func (o *GetDhcpParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get dhcp params

func (*GetDhcpParams) SetOrderDirection

func (o *GetDhcpParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get dhcp params

func (*GetDhcpParams) SetPage

func (o *GetDhcpParams) SetPage(page *int64)

SetPage adds the page to the get dhcp params

func (*GetDhcpParams) SetPageSize

func (o *GetDhcpParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get dhcp params

func (*GetDhcpParams) SetSearch

func (o *GetDhcpParams) SetSearch(search *string)

SetSearch adds the search to the get dhcp params

func (*GetDhcpParams) SetTimeout

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

SetTimeout adds the timeout to the get dhcp params

func (*GetDhcpParams) WithContext

func (o *GetDhcpParams) WithContext(ctx context.Context) *GetDhcpParams

WithContext adds the context to the get dhcp params

func (*GetDhcpParams) WithDefaults

func (o *GetDhcpParams) WithDefaults() *GetDhcpParams

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

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

func (*GetDhcpParams) WithHTTPClient

func (o *GetDhcpParams) WithHTTPClient(client *http.Client) *GetDhcpParams

WithHTTPClient adds the HTTPClient to the get dhcp params

func (*GetDhcpParams) WithOrderBy

func (o *GetDhcpParams) WithOrderBy(orderBy *string) *GetDhcpParams

WithOrderBy adds the orderBy to the get dhcp params

func (*GetDhcpParams) WithOrderDirection

func (o *GetDhcpParams) WithOrderDirection(orderDirection *string) *GetDhcpParams

WithOrderDirection adds the orderDirection to the get dhcp params

func (*GetDhcpParams) WithPage

func (o *GetDhcpParams) WithPage(page *int64) *GetDhcpParams

WithPage adds the page to the get dhcp params

func (*GetDhcpParams) WithPageSize

func (o *GetDhcpParams) WithPageSize(pageSize *int64) *GetDhcpParams

WithPageSize adds the pageSize to the get dhcp params

func (*GetDhcpParams) WithSearch

func (o *GetDhcpParams) WithSearch(search *string) *GetDhcpParams

WithSearch adds the search to the get dhcp params

func (*GetDhcpParams) WithTimeout

func (o *GetDhcpParams) WithTimeout(timeout time.Duration) *GetDhcpParams

WithTimeout adds the timeout to the get dhcp params

func (*GetDhcpParams) WriteToRequest

func (o *GetDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDhcpReader

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

GetDhcpReader is a Reader for the GetDhcp structure.

func (*GetDhcpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDhcpBadRequest

type PostDhcpBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

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

Bad Request

func NewPostDhcpBadRequest

func NewPostDhcpBadRequest() *PostDhcpBadRequest

NewPostDhcpBadRequest creates a PostDhcpBadRequest with default headers values

func (*PostDhcpBadRequest) Error

func (o *PostDhcpBadRequest) Error() string

func (*PostDhcpBadRequest) GetPayload

func (*PostDhcpBadRequest) IsClientError

func (o *PostDhcpBadRequest) IsClientError() bool

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

func (*PostDhcpBadRequest) IsCode

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

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

func (*PostDhcpBadRequest) IsRedirect

func (o *PostDhcpBadRequest) IsRedirect() bool

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

func (*PostDhcpBadRequest) IsServerError

func (o *PostDhcpBadRequest) IsServerError() bool

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

func (*PostDhcpBadRequest) IsSuccess

func (o *PostDhcpBadRequest) IsSuccess() bool

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

func (*PostDhcpBadRequest) String

func (o *PostDhcpBadRequest) String() string

type PostDhcpIDLeaseBadRequest

type PostDhcpIDLeaseBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

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

Bad Request

func NewPostDhcpIDLeaseBadRequest

func NewPostDhcpIDLeaseBadRequest() *PostDhcpIDLeaseBadRequest

NewPostDhcpIDLeaseBadRequest creates a PostDhcpIDLeaseBadRequest with default headers values

func (*PostDhcpIDLeaseBadRequest) Error

func (o *PostDhcpIDLeaseBadRequest) Error() string

func (*PostDhcpIDLeaseBadRequest) GetPayload

func (*PostDhcpIDLeaseBadRequest) IsClientError

func (o *PostDhcpIDLeaseBadRequest) IsClientError() bool

IsClientError returns true when this post dhcp Id lease bad request response has a 4xx status code

func (*PostDhcpIDLeaseBadRequest) IsCode

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

IsCode returns true when this post dhcp Id lease bad request response a status code equal to that given

func (*PostDhcpIDLeaseBadRequest) IsRedirect

func (o *PostDhcpIDLeaseBadRequest) IsRedirect() bool

IsRedirect returns true when this post dhcp Id lease bad request response has a 3xx status code

func (*PostDhcpIDLeaseBadRequest) IsServerError

func (o *PostDhcpIDLeaseBadRequest) IsServerError() bool

IsServerError returns true when this post dhcp Id lease bad request response has a 5xx status code

func (*PostDhcpIDLeaseBadRequest) IsSuccess

func (o *PostDhcpIDLeaseBadRequest) IsSuccess() bool

IsSuccess returns true when this post dhcp Id lease bad request response has a 2xx status code

func (*PostDhcpIDLeaseBadRequest) String

func (o *PostDhcpIDLeaseBadRequest) String() string

type PostDhcpIDLeaseInternalServerError

type PostDhcpIDLeaseInternalServerError struct {
}

PostDhcpIDLeaseInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostDhcpIDLeaseInternalServerError

func NewPostDhcpIDLeaseInternalServerError() *PostDhcpIDLeaseInternalServerError

NewPostDhcpIDLeaseInternalServerError creates a PostDhcpIDLeaseInternalServerError with default headers values

func (*PostDhcpIDLeaseInternalServerError) Error

func (*PostDhcpIDLeaseInternalServerError) IsClientError

func (o *PostDhcpIDLeaseInternalServerError) IsClientError() bool

IsClientError returns true when this post dhcp Id lease internal server error response has a 4xx status code

func (*PostDhcpIDLeaseInternalServerError) IsCode

IsCode returns true when this post dhcp Id lease internal server error response a status code equal to that given

func (*PostDhcpIDLeaseInternalServerError) IsRedirect

func (o *PostDhcpIDLeaseInternalServerError) IsRedirect() bool

IsRedirect returns true when this post dhcp Id lease internal server error response has a 3xx status code

func (*PostDhcpIDLeaseInternalServerError) IsServerError

func (o *PostDhcpIDLeaseInternalServerError) IsServerError() bool

IsServerError returns true when this post dhcp Id lease internal server error response has a 5xx status code

func (*PostDhcpIDLeaseInternalServerError) IsSuccess

IsSuccess returns true when this post dhcp Id lease internal server error response has a 2xx status code

func (*PostDhcpIDLeaseInternalServerError) String

type PostDhcpIDLeaseOK

type PostDhcpIDLeaseOK struct {
	Payload *models.DtosDHCP4LeaseDto
}

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

OK

func NewPostDhcpIDLeaseOK

func NewPostDhcpIDLeaseOK() *PostDhcpIDLeaseOK

NewPostDhcpIDLeaseOK creates a PostDhcpIDLeaseOK with default headers values

func (*PostDhcpIDLeaseOK) Error

func (o *PostDhcpIDLeaseOK) Error() string

func (*PostDhcpIDLeaseOK) GetPayload

func (o *PostDhcpIDLeaseOK) GetPayload() *models.DtosDHCP4LeaseDto

func (*PostDhcpIDLeaseOK) IsClientError

func (o *PostDhcpIDLeaseOK) IsClientError() bool

IsClientError returns true when this post dhcp Id lease o k response has a 4xx status code

func (*PostDhcpIDLeaseOK) IsCode

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

IsCode returns true when this post dhcp Id lease o k response a status code equal to that given

func (*PostDhcpIDLeaseOK) IsRedirect

func (o *PostDhcpIDLeaseOK) IsRedirect() bool

IsRedirect returns true when this post dhcp Id lease o k response has a 3xx status code

func (*PostDhcpIDLeaseOK) IsServerError

func (o *PostDhcpIDLeaseOK) IsServerError() bool

IsServerError returns true when this post dhcp Id lease o k response has a 5xx status code

func (*PostDhcpIDLeaseOK) IsSuccess

func (o *PostDhcpIDLeaseOK) IsSuccess() bool

IsSuccess returns true when this post dhcp Id lease o k response has a 2xx status code

func (*PostDhcpIDLeaseOK) String

func (o *PostDhcpIDLeaseOK) String() string

type PostDhcpIDLeaseParams

type PostDhcpIDLeaseParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

	/* Request.

	   DHCP v4 lease fields
	*/
	Request *models.DtosDHCP4LeaseCreateDto

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

PostDhcpIDLeaseParams contains all the parameters to send to the API endpoint

for the post dhcp ID lease operation.

Typically these are written to a http.Request.

func NewPostDhcpIDLeaseParams

func NewPostDhcpIDLeaseParams() *PostDhcpIDLeaseParams

NewPostDhcpIDLeaseParams creates a new PostDhcpIDLeaseParams 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 NewPostDhcpIDLeaseParamsWithContext

func NewPostDhcpIDLeaseParamsWithContext(ctx context.Context) *PostDhcpIDLeaseParams

NewPostDhcpIDLeaseParamsWithContext creates a new PostDhcpIDLeaseParams object with the ability to set a context for a request.

func NewPostDhcpIDLeaseParamsWithHTTPClient

func NewPostDhcpIDLeaseParamsWithHTTPClient(client *http.Client) *PostDhcpIDLeaseParams

NewPostDhcpIDLeaseParamsWithHTTPClient creates a new PostDhcpIDLeaseParams object with the ability to set a custom HTTPClient for a request.

func NewPostDhcpIDLeaseParamsWithTimeout

func NewPostDhcpIDLeaseParamsWithTimeout(timeout time.Duration) *PostDhcpIDLeaseParams

NewPostDhcpIDLeaseParamsWithTimeout creates a new PostDhcpIDLeaseParams object with the ability to set a timeout on a request.

func (*PostDhcpIDLeaseParams) SetContext

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

SetContext adds the context to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) SetDefaults

func (o *PostDhcpIDLeaseParams) SetDefaults()

SetDefaults hydrates default values in the post dhcp ID lease params (not the query body).

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

func (*PostDhcpIDLeaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) SetID

func (o *PostDhcpIDLeaseParams) SetID(id string)

SetID adds the id to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) SetRequest

func (o *PostDhcpIDLeaseParams) SetRequest(request *models.DtosDHCP4LeaseCreateDto)

SetRequest adds the request to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) SetTimeout

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

SetTimeout adds the timeout to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) WithContext

WithContext adds the context to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) WithDefaults

func (o *PostDhcpIDLeaseParams) WithDefaults() *PostDhcpIDLeaseParams

WithDefaults hydrates default values in the post dhcp ID lease params (not the query body).

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

func (*PostDhcpIDLeaseParams) WithHTTPClient

func (o *PostDhcpIDLeaseParams) WithHTTPClient(client *http.Client) *PostDhcpIDLeaseParams

WithHTTPClient adds the HTTPClient to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) WithID

WithID adds the id to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) WithRequest

WithRequest adds the request to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) WithTimeout

func (o *PostDhcpIDLeaseParams) WithTimeout(timeout time.Duration) *PostDhcpIDLeaseParams

WithTimeout adds the timeout to the post dhcp ID lease params

func (*PostDhcpIDLeaseParams) WriteToRequest

func (o *PostDhcpIDLeaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostDhcpIDLeaseReader

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

PostDhcpIDLeaseReader is a Reader for the PostDhcpIDLease structure.

func (*PostDhcpIDLeaseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDhcpInternalServerError

type PostDhcpInternalServerError struct {
}

PostDhcpInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostDhcpInternalServerError

func NewPostDhcpInternalServerError() *PostDhcpInternalServerError

NewPostDhcpInternalServerError creates a PostDhcpInternalServerError with default headers values

func (*PostDhcpInternalServerError) Error

func (*PostDhcpInternalServerError) IsClientError

func (o *PostDhcpInternalServerError) IsClientError() bool

IsClientError returns true when this post dhcp internal server error response has a 4xx status code

func (*PostDhcpInternalServerError) IsCode

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

IsCode returns true when this post dhcp internal server error response a status code equal to that given

func (*PostDhcpInternalServerError) IsRedirect

func (o *PostDhcpInternalServerError) IsRedirect() bool

IsRedirect returns true when this post dhcp internal server error response has a 3xx status code

func (*PostDhcpInternalServerError) IsServerError

func (o *PostDhcpInternalServerError) IsServerError() bool

IsServerError returns true when this post dhcp internal server error response has a 5xx status code

func (*PostDhcpInternalServerError) IsSuccess

func (o *PostDhcpInternalServerError) IsSuccess() bool

IsSuccess returns true when this post dhcp internal server error response has a 2xx status code

func (*PostDhcpInternalServerError) String

func (o *PostDhcpInternalServerError) String() string

type PostDhcpOK

type PostDhcpOK struct {
	Payload *models.DtosDHCP4ServerDto
}

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

OK

func NewPostDhcpOK

func NewPostDhcpOK() *PostDhcpOK

NewPostDhcpOK creates a PostDhcpOK with default headers values

func (*PostDhcpOK) Error

func (o *PostDhcpOK) Error() string

func (*PostDhcpOK) GetPayload

func (o *PostDhcpOK) GetPayload() *models.DtosDHCP4ServerDto

func (*PostDhcpOK) IsClientError

func (o *PostDhcpOK) IsClientError() bool

IsClientError returns true when this post dhcp o k response has a 4xx status code

func (*PostDhcpOK) IsCode

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

IsCode returns true when this post dhcp o k response a status code equal to that given

func (*PostDhcpOK) IsRedirect

func (o *PostDhcpOK) IsRedirect() bool

IsRedirect returns true when this post dhcp o k response has a 3xx status code

func (*PostDhcpOK) IsServerError

func (o *PostDhcpOK) IsServerError() bool

IsServerError returns true when this post dhcp o k response has a 5xx status code

func (*PostDhcpOK) IsSuccess

func (o *PostDhcpOK) IsSuccess() bool

IsSuccess returns true when this post dhcp o k response has a 2xx status code

func (*PostDhcpOK) String

func (o *PostDhcpOK) String() string

type PostDhcpParams

type PostDhcpParams struct {

	/* Request.

	   DHCP v4 server fields
	*/
	Request *models.DtosDHCP4ServerCreateDto

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

PostDhcpParams contains all the parameters to send to the API endpoint

for the post dhcp operation.

Typically these are written to a http.Request.

func NewPostDhcpParams

func NewPostDhcpParams() *PostDhcpParams

NewPostDhcpParams creates a new PostDhcpParams 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 NewPostDhcpParamsWithContext

func NewPostDhcpParamsWithContext(ctx context.Context) *PostDhcpParams

NewPostDhcpParamsWithContext creates a new PostDhcpParams object with the ability to set a context for a request.

func NewPostDhcpParamsWithHTTPClient

func NewPostDhcpParamsWithHTTPClient(client *http.Client) *PostDhcpParams

NewPostDhcpParamsWithHTTPClient creates a new PostDhcpParams object with the ability to set a custom HTTPClient for a request.

func NewPostDhcpParamsWithTimeout

func NewPostDhcpParamsWithTimeout(timeout time.Duration) *PostDhcpParams

NewPostDhcpParamsWithTimeout creates a new PostDhcpParams object with the ability to set a timeout on a request.

func (*PostDhcpParams) SetContext

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

SetContext adds the context to the post dhcp params

func (*PostDhcpParams) SetDefaults

func (o *PostDhcpParams) SetDefaults()

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

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

func (*PostDhcpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post dhcp params

func (*PostDhcpParams) SetRequest

func (o *PostDhcpParams) SetRequest(request *models.DtosDHCP4ServerCreateDto)

SetRequest adds the request to the post dhcp params

func (*PostDhcpParams) SetTimeout

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

SetTimeout adds the timeout to the post dhcp params

func (*PostDhcpParams) WithContext

func (o *PostDhcpParams) WithContext(ctx context.Context) *PostDhcpParams

WithContext adds the context to the post dhcp params

func (*PostDhcpParams) WithDefaults

func (o *PostDhcpParams) WithDefaults() *PostDhcpParams

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

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

func (*PostDhcpParams) WithHTTPClient

func (o *PostDhcpParams) WithHTTPClient(client *http.Client) *PostDhcpParams

WithHTTPClient adds the HTTPClient to the post dhcp params

func (*PostDhcpParams) WithRequest

WithRequest adds the request to the post dhcp params

func (*PostDhcpParams) WithTimeout

func (o *PostDhcpParams) WithTimeout(timeout time.Duration) *PostDhcpParams

WithTimeout adds the timeout to the post dhcp params

func (*PostDhcpParams) WriteToRequest

func (o *PostDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostDhcpReader

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

PostDhcpReader is a Reader for the PostDhcp structure.

func (*PostDhcpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDhcpIDBadRequest

type PutDhcpIDBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

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

Bad Request

func NewPutDhcpIDBadRequest

func NewPutDhcpIDBadRequest() *PutDhcpIDBadRequest

NewPutDhcpIDBadRequest creates a PutDhcpIDBadRequest with default headers values

func (*PutDhcpIDBadRequest) Error

func (o *PutDhcpIDBadRequest) Error() string

func (*PutDhcpIDBadRequest) GetPayload

func (*PutDhcpIDBadRequest) IsClientError

func (o *PutDhcpIDBadRequest) IsClientError() bool

IsClientError returns true when this put dhcp Id bad request response has a 4xx status code

func (*PutDhcpIDBadRequest) IsCode

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

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

func (*PutDhcpIDBadRequest) IsRedirect

func (o *PutDhcpIDBadRequest) IsRedirect() bool

IsRedirect returns true when this put dhcp Id bad request response has a 3xx status code

func (*PutDhcpIDBadRequest) IsServerError

func (o *PutDhcpIDBadRequest) IsServerError() bool

IsServerError returns true when this put dhcp Id bad request response has a 5xx status code

func (*PutDhcpIDBadRequest) IsSuccess

func (o *PutDhcpIDBadRequest) IsSuccess() bool

IsSuccess returns true when this put dhcp Id bad request response has a 2xx status code

func (*PutDhcpIDBadRequest) String

func (o *PutDhcpIDBadRequest) String() string

type PutDhcpIDInternalServerError

type PutDhcpIDInternalServerError struct {
}

PutDhcpIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutDhcpIDInternalServerError

func NewPutDhcpIDInternalServerError() *PutDhcpIDInternalServerError

NewPutDhcpIDInternalServerError creates a PutDhcpIDInternalServerError with default headers values

func (*PutDhcpIDInternalServerError) Error

func (*PutDhcpIDInternalServerError) IsClientError

func (o *PutDhcpIDInternalServerError) IsClientError() bool

IsClientError returns true when this put dhcp Id internal server error response has a 4xx status code

func (*PutDhcpIDInternalServerError) IsCode

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

IsCode returns true when this put dhcp Id internal server error response a status code equal to that given

func (*PutDhcpIDInternalServerError) IsRedirect

func (o *PutDhcpIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this put dhcp Id internal server error response has a 3xx status code

func (*PutDhcpIDInternalServerError) IsServerError

func (o *PutDhcpIDInternalServerError) IsServerError() bool

IsServerError returns true when this put dhcp Id internal server error response has a 5xx status code

func (*PutDhcpIDInternalServerError) IsSuccess

func (o *PutDhcpIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this put dhcp Id internal server error response has a 2xx status code

func (*PutDhcpIDInternalServerError) String

type PutDhcpIDLeaseLeaseIDBadRequest

type PutDhcpIDLeaseLeaseIDBadRequest struct {
	Payload *models.DtosValidationErrorDto
}

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

Bad Request

func NewPutDhcpIDLeaseLeaseIDBadRequest

func NewPutDhcpIDLeaseLeaseIDBadRequest() *PutDhcpIDLeaseLeaseIDBadRequest

NewPutDhcpIDLeaseLeaseIDBadRequest creates a PutDhcpIDLeaseLeaseIDBadRequest with default headers values

func (*PutDhcpIDLeaseLeaseIDBadRequest) Error

func (*PutDhcpIDLeaseLeaseIDBadRequest) GetPayload

func (*PutDhcpIDLeaseLeaseIDBadRequest) IsClientError

func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsClientError() bool

IsClientError returns true when this put dhcp Id lease lease Id bad request response has a 4xx status code

func (*PutDhcpIDLeaseLeaseIDBadRequest) IsCode

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

IsCode returns true when this put dhcp Id lease lease Id bad request response a status code equal to that given

func (*PutDhcpIDLeaseLeaseIDBadRequest) IsRedirect

func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsRedirect() bool

IsRedirect returns true when this put dhcp Id lease lease Id bad request response has a 3xx status code

func (*PutDhcpIDLeaseLeaseIDBadRequest) IsServerError

func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsServerError() bool

IsServerError returns true when this put dhcp Id lease lease Id bad request response has a 5xx status code

func (*PutDhcpIDLeaseLeaseIDBadRequest) IsSuccess

func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsSuccess() bool

IsSuccess returns true when this put dhcp Id lease lease Id bad request response has a 2xx status code

func (*PutDhcpIDLeaseLeaseIDBadRequest) String

type PutDhcpIDLeaseLeaseIDInternalServerError

type PutDhcpIDLeaseLeaseIDInternalServerError struct {
}

PutDhcpIDLeaseLeaseIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutDhcpIDLeaseLeaseIDInternalServerError

func NewPutDhcpIDLeaseLeaseIDInternalServerError() *PutDhcpIDLeaseLeaseIDInternalServerError

NewPutDhcpIDLeaseLeaseIDInternalServerError creates a PutDhcpIDLeaseLeaseIDInternalServerError with default headers values

func (*PutDhcpIDLeaseLeaseIDInternalServerError) Error

func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsClientError

IsClientError returns true when this put dhcp Id lease lease Id internal server error response has a 4xx status code

func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsCode

IsCode returns true when this put dhcp Id lease lease Id internal server error response a status code equal to that given

func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsRedirect

IsRedirect returns true when this put dhcp Id lease lease Id internal server error response has a 3xx status code

func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsServerError

IsServerError returns true when this put dhcp Id lease lease Id internal server error response has a 5xx status code

func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsSuccess

IsSuccess returns true when this put dhcp Id lease lease Id internal server error response has a 2xx status code

func (*PutDhcpIDLeaseLeaseIDInternalServerError) String

type PutDhcpIDLeaseLeaseIDNotFound

type PutDhcpIDLeaseLeaseIDNotFound struct {
}

PutDhcpIDLeaseLeaseIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutDhcpIDLeaseLeaseIDNotFound

func NewPutDhcpIDLeaseLeaseIDNotFound() *PutDhcpIDLeaseLeaseIDNotFound

NewPutDhcpIDLeaseLeaseIDNotFound creates a PutDhcpIDLeaseLeaseIDNotFound with default headers values

func (*PutDhcpIDLeaseLeaseIDNotFound) Error

func (*PutDhcpIDLeaseLeaseIDNotFound) IsClientError

func (o *PutDhcpIDLeaseLeaseIDNotFound) IsClientError() bool

IsClientError returns true when this put dhcp Id lease lease Id not found response has a 4xx status code

func (*PutDhcpIDLeaseLeaseIDNotFound) IsCode

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

IsCode returns true when this put dhcp Id lease lease Id not found response a status code equal to that given

func (*PutDhcpIDLeaseLeaseIDNotFound) IsRedirect

func (o *PutDhcpIDLeaseLeaseIDNotFound) IsRedirect() bool

IsRedirect returns true when this put dhcp Id lease lease Id not found response has a 3xx status code

func (*PutDhcpIDLeaseLeaseIDNotFound) IsServerError

func (o *PutDhcpIDLeaseLeaseIDNotFound) IsServerError() bool

IsServerError returns true when this put dhcp Id lease lease Id not found response has a 5xx status code

func (*PutDhcpIDLeaseLeaseIDNotFound) IsSuccess

func (o *PutDhcpIDLeaseLeaseIDNotFound) IsSuccess() bool

IsSuccess returns true when this put dhcp Id lease lease Id not found response has a 2xx status code

func (*PutDhcpIDLeaseLeaseIDNotFound) String

type PutDhcpIDLeaseLeaseIDOK

type PutDhcpIDLeaseLeaseIDOK struct {
	Payload *models.DtosDHCP4LeaseDto
}

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

OK

func NewPutDhcpIDLeaseLeaseIDOK

func NewPutDhcpIDLeaseLeaseIDOK() *PutDhcpIDLeaseLeaseIDOK

NewPutDhcpIDLeaseLeaseIDOK creates a PutDhcpIDLeaseLeaseIDOK with default headers values

func (*PutDhcpIDLeaseLeaseIDOK) Error

func (o *PutDhcpIDLeaseLeaseIDOK) Error() string

func (*PutDhcpIDLeaseLeaseIDOK) GetPayload

func (*PutDhcpIDLeaseLeaseIDOK) IsClientError

func (o *PutDhcpIDLeaseLeaseIDOK) IsClientError() bool

IsClientError returns true when this put dhcp Id lease lease Id o k response has a 4xx status code

func (*PutDhcpIDLeaseLeaseIDOK) IsCode

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

IsCode returns true when this put dhcp Id lease lease Id o k response a status code equal to that given

func (*PutDhcpIDLeaseLeaseIDOK) IsRedirect

func (o *PutDhcpIDLeaseLeaseIDOK) IsRedirect() bool

IsRedirect returns true when this put dhcp Id lease lease Id o k response has a 3xx status code

func (*PutDhcpIDLeaseLeaseIDOK) IsServerError

func (o *PutDhcpIDLeaseLeaseIDOK) IsServerError() bool

IsServerError returns true when this put dhcp Id lease lease Id o k response has a 5xx status code

func (*PutDhcpIDLeaseLeaseIDOK) IsSuccess

func (o *PutDhcpIDLeaseLeaseIDOK) IsSuccess() bool

IsSuccess returns true when this put dhcp Id lease lease Id o k response has a 2xx status code

func (*PutDhcpIDLeaseLeaseIDOK) String

func (o *PutDhcpIDLeaseLeaseIDOK) String() string

type PutDhcpIDLeaseLeaseIDParams

type PutDhcpIDLeaseLeaseIDParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

	/* LeaseID.

	   DHCP v4 lease ID
	*/
	LeaseID string

	/* Request.

	   DHCP v4 lease fields
	*/
	Request *models.DtosDHCP4LeaseUpdateDto

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

PutDhcpIDLeaseLeaseIDParams contains all the parameters to send to the API endpoint

for the put dhcp ID lease lease ID operation.

Typically these are written to a http.Request.

func NewPutDhcpIDLeaseLeaseIDParams

func NewPutDhcpIDLeaseLeaseIDParams() *PutDhcpIDLeaseLeaseIDParams

NewPutDhcpIDLeaseLeaseIDParams creates a new PutDhcpIDLeaseLeaseIDParams 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 NewPutDhcpIDLeaseLeaseIDParamsWithContext

func NewPutDhcpIDLeaseLeaseIDParamsWithContext(ctx context.Context) *PutDhcpIDLeaseLeaseIDParams

NewPutDhcpIDLeaseLeaseIDParamsWithContext creates a new PutDhcpIDLeaseLeaseIDParams object with the ability to set a context for a request.

func NewPutDhcpIDLeaseLeaseIDParamsWithHTTPClient

func NewPutDhcpIDLeaseLeaseIDParamsWithHTTPClient(client *http.Client) *PutDhcpIDLeaseLeaseIDParams

NewPutDhcpIDLeaseLeaseIDParamsWithHTTPClient creates a new PutDhcpIDLeaseLeaseIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutDhcpIDLeaseLeaseIDParamsWithTimeout

func NewPutDhcpIDLeaseLeaseIDParamsWithTimeout(timeout time.Duration) *PutDhcpIDLeaseLeaseIDParams

NewPutDhcpIDLeaseLeaseIDParamsWithTimeout creates a new PutDhcpIDLeaseLeaseIDParams object with the ability to set a timeout on a request.

func (*PutDhcpIDLeaseLeaseIDParams) SetContext

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

SetContext adds the context to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) SetDefaults

func (o *PutDhcpIDLeaseLeaseIDParams) SetDefaults()

SetDefaults hydrates default values in the put dhcp ID lease lease ID params (not the query body).

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

func (*PutDhcpIDLeaseLeaseIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) SetID

func (o *PutDhcpIDLeaseLeaseIDParams) SetID(id string)

SetID adds the id to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) SetLeaseID

func (o *PutDhcpIDLeaseLeaseIDParams) SetLeaseID(leaseID string)

SetLeaseID adds the leaseId to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) SetRequest

SetRequest adds the request to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) SetTimeout

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

SetTimeout adds the timeout to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) WithContext

WithContext adds the context to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) WithDefaults

WithDefaults hydrates default values in the put dhcp ID lease lease ID params (not the query body).

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

func (*PutDhcpIDLeaseLeaseIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) WithID

WithID adds the id to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) WithLeaseID

WithLeaseID adds the leaseID to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) WithRequest

WithRequest adds the request to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) WithTimeout

WithTimeout adds the timeout to the put dhcp ID lease lease ID params

func (*PutDhcpIDLeaseLeaseIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutDhcpIDLeaseLeaseIDReader

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

PutDhcpIDLeaseLeaseIDReader is a Reader for the PutDhcpIDLeaseLeaseID structure.

func (*PutDhcpIDLeaseLeaseIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDhcpIDNotFound

type PutDhcpIDNotFound struct {
}

PutDhcpIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPutDhcpIDNotFound

func NewPutDhcpIDNotFound() *PutDhcpIDNotFound

NewPutDhcpIDNotFound creates a PutDhcpIDNotFound with default headers values

func (*PutDhcpIDNotFound) Error

func (o *PutDhcpIDNotFound) Error() string

func (*PutDhcpIDNotFound) IsClientError

func (o *PutDhcpIDNotFound) IsClientError() bool

IsClientError returns true when this put dhcp Id not found response has a 4xx status code

func (*PutDhcpIDNotFound) IsCode

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

IsCode returns true when this put dhcp Id not found response a status code equal to that given

func (*PutDhcpIDNotFound) IsRedirect

func (o *PutDhcpIDNotFound) IsRedirect() bool

IsRedirect returns true when this put dhcp Id not found response has a 3xx status code

func (*PutDhcpIDNotFound) IsServerError

func (o *PutDhcpIDNotFound) IsServerError() bool

IsServerError returns true when this put dhcp Id not found response has a 5xx status code

func (*PutDhcpIDNotFound) IsSuccess

func (o *PutDhcpIDNotFound) IsSuccess() bool

IsSuccess returns true when this put dhcp Id not found response has a 2xx status code

func (*PutDhcpIDNotFound) String

func (o *PutDhcpIDNotFound) String() string

type PutDhcpIDOK

type PutDhcpIDOK struct {
	Payload *models.DtosDHCP4ServerDto
}

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

OK

func NewPutDhcpIDOK

func NewPutDhcpIDOK() *PutDhcpIDOK

NewPutDhcpIDOK creates a PutDhcpIDOK with default headers values

func (*PutDhcpIDOK) Error

func (o *PutDhcpIDOK) Error() string

func (*PutDhcpIDOK) GetPayload

func (o *PutDhcpIDOK) GetPayload() *models.DtosDHCP4ServerDto

func (*PutDhcpIDOK) IsClientError

func (o *PutDhcpIDOK) IsClientError() bool

IsClientError returns true when this put dhcp Id o k response has a 4xx status code

func (*PutDhcpIDOK) IsCode

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

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

func (*PutDhcpIDOK) IsRedirect

func (o *PutDhcpIDOK) IsRedirect() bool

IsRedirect returns true when this put dhcp Id o k response has a 3xx status code

func (*PutDhcpIDOK) IsServerError

func (o *PutDhcpIDOK) IsServerError() bool

IsServerError returns true when this put dhcp Id o k response has a 5xx status code

func (*PutDhcpIDOK) IsSuccess

func (o *PutDhcpIDOK) IsSuccess() bool

IsSuccess returns true when this put dhcp Id o k response has a 2xx status code

func (*PutDhcpIDOK) String

func (o *PutDhcpIDOK) String() string

type PutDhcpIDParams

type PutDhcpIDParams struct {

	/* ID.

	   DHCP v4 server ID
	*/
	ID string

	/* Request.

	   DHCP v4 server fields
	*/
	Request *models.DtosDHCP4ServerUpdateDto

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

PutDhcpIDParams contains all the parameters to send to the API endpoint

for the put dhcp ID operation.

Typically these are written to a http.Request.

func NewPutDhcpIDParams

func NewPutDhcpIDParams() *PutDhcpIDParams

NewPutDhcpIDParams creates a new PutDhcpIDParams 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 NewPutDhcpIDParamsWithContext

func NewPutDhcpIDParamsWithContext(ctx context.Context) *PutDhcpIDParams

NewPutDhcpIDParamsWithContext creates a new PutDhcpIDParams object with the ability to set a context for a request.

func NewPutDhcpIDParamsWithHTTPClient

func NewPutDhcpIDParamsWithHTTPClient(client *http.Client) *PutDhcpIDParams

NewPutDhcpIDParamsWithHTTPClient creates a new PutDhcpIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutDhcpIDParamsWithTimeout

func NewPutDhcpIDParamsWithTimeout(timeout time.Duration) *PutDhcpIDParams

NewPutDhcpIDParamsWithTimeout creates a new PutDhcpIDParams object with the ability to set a timeout on a request.

func (*PutDhcpIDParams) SetContext

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

SetContext adds the context to the put dhcp ID params

func (*PutDhcpIDParams) SetDefaults

func (o *PutDhcpIDParams) SetDefaults()

SetDefaults hydrates default values in the put dhcp ID params (not the query body).

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

func (*PutDhcpIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put dhcp ID params

func (*PutDhcpIDParams) SetID

func (o *PutDhcpIDParams) SetID(id string)

SetID adds the id to the put dhcp ID params

func (*PutDhcpIDParams) SetRequest

func (o *PutDhcpIDParams) SetRequest(request *models.DtosDHCP4ServerUpdateDto)

SetRequest adds the request to the put dhcp ID params

func (*PutDhcpIDParams) SetTimeout

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

SetTimeout adds the timeout to the put dhcp ID params

func (*PutDhcpIDParams) WithContext

func (o *PutDhcpIDParams) WithContext(ctx context.Context) *PutDhcpIDParams

WithContext adds the context to the put dhcp ID params

func (*PutDhcpIDParams) WithDefaults

func (o *PutDhcpIDParams) WithDefaults() *PutDhcpIDParams

WithDefaults hydrates default values in the put dhcp ID params (not the query body).

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

func (*PutDhcpIDParams) WithHTTPClient

func (o *PutDhcpIDParams) WithHTTPClient(client *http.Client) *PutDhcpIDParams

WithHTTPClient adds the HTTPClient to the put dhcp ID params

func (*PutDhcpIDParams) WithID

func (o *PutDhcpIDParams) WithID(id string) *PutDhcpIDParams

WithID adds the id to the put dhcp ID params

func (*PutDhcpIDParams) WithRequest

WithRequest adds the request to the put dhcp ID params

func (*PutDhcpIDParams) WithTimeout

func (o *PutDhcpIDParams) WithTimeout(timeout time.Duration) *PutDhcpIDParams

WithTimeout adds the timeout to the put dhcp ID params

func (*PutDhcpIDParams) WriteToRequest

func (o *PutDhcpIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutDhcpIDReader

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

PutDhcpIDReader is a Reader for the PutDhcpID structure.

func (*PutDhcpIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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