Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteDhcpID(params *DeleteDhcpIDParams, opts ...ClientOption) (*DeleteDhcpIDNoContent, error)
- func (a *Client) DeleteDhcpIDLeaseLeaseID(params *DeleteDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*DeleteDhcpIDLeaseLeaseIDNoContent, error)
- func (a *Client) GetDhcp(params *GetDhcpParams, opts ...ClientOption) (*GetDhcpOK, error)
- func (a *Client) GetDhcpID(params *GetDhcpIDParams, opts ...ClientOption) (*GetDhcpIDOK, error)
- func (a *Client) GetDhcpIDLease(params *GetDhcpIDLeaseParams, opts ...ClientOption) (*GetDhcpIDLeaseOK, error)
- func (a *Client) GetDhcpIDLeaseLeaseID(params *GetDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*GetDhcpIDLeaseLeaseIDOK, error)
- func (a *Client) PostDhcp(params *PostDhcpParams, opts ...ClientOption) (*PostDhcpOK, error)
- func (a *Client) PostDhcpIDLease(params *PostDhcpIDLeaseParams, opts ...ClientOption) (*PostDhcpIDLeaseOK, error)
- func (a *Client) PutDhcpID(params *PutDhcpIDParams, opts ...ClientOption) (*PutDhcpIDOK, error)
- func (a *Client) PutDhcpIDLeaseLeaseID(params *PutDhcpIDLeaseLeaseIDParams, opts ...ClientOption) (*PutDhcpIDLeaseLeaseIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteDhcpIDInternalServerError
- func (o *DeleteDhcpIDInternalServerError) Error() string
- func (o *DeleteDhcpIDInternalServerError) IsClientError() bool
- func (o *DeleteDhcpIDInternalServerError) IsCode(code int) bool
- func (o *DeleteDhcpIDInternalServerError) IsRedirect() bool
- func (o *DeleteDhcpIDInternalServerError) IsServerError() bool
- func (o *DeleteDhcpIDInternalServerError) IsSuccess() bool
- func (o *DeleteDhcpIDInternalServerError) String() string
- type DeleteDhcpIDLeaseLeaseIDInternalServerError
- func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) Error() string
- func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsClientError() bool
- func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsCode(code int) bool
- func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsRedirect() bool
- func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsServerError() bool
- func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsSuccess() bool
- func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) String() string
- type DeleteDhcpIDLeaseLeaseIDNoContent
- func (o *DeleteDhcpIDLeaseLeaseIDNoContent) Error() string
- func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsClientError() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsCode(code int) bool
- func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsRedirect() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsServerError() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNoContent) IsSuccess() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNoContent) String() string
- type DeleteDhcpIDLeaseLeaseIDNotFound
- func (o *DeleteDhcpIDLeaseLeaseIDNotFound) Error() string
- func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsClientError() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsCode(code int) bool
- func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsRedirect() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsServerError() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNotFound) IsSuccess() bool
- func (o *DeleteDhcpIDLeaseLeaseIDNotFound) String() string
- type DeleteDhcpIDLeaseLeaseIDParams
- func NewDeleteDhcpIDLeaseLeaseIDParams() *DeleteDhcpIDLeaseLeaseIDParams
- func NewDeleteDhcpIDLeaseLeaseIDParamsWithContext(ctx context.Context) *DeleteDhcpIDLeaseLeaseIDParams
- func NewDeleteDhcpIDLeaseLeaseIDParamsWithHTTPClient(client *http.Client) *DeleteDhcpIDLeaseLeaseIDParams
- func NewDeleteDhcpIDLeaseLeaseIDParamsWithTimeout(timeout time.Duration) *DeleteDhcpIDLeaseLeaseIDParams
- func (o *DeleteDhcpIDLeaseLeaseIDParams) SetContext(ctx context.Context)
- func (o *DeleteDhcpIDLeaseLeaseIDParams) SetDefaults()
- func (o *DeleteDhcpIDLeaseLeaseIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDhcpIDLeaseLeaseIDParams) SetID(id string)
- func (o *DeleteDhcpIDLeaseLeaseIDParams) SetLeaseID(leaseID string)
- func (o *DeleteDhcpIDLeaseLeaseIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDhcpIDLeaseLeaseIDParams) WithContext(ctx context.Context) *DeleteDhcpIDLeaseLeaseIDParams
- func (o *DeleteDhcpIDLeaseLeaseIDParams) WithDefaults() *DeleteDhcpIDLeaseLeaseIDParams
- func (o *DeleteDhcpIDLeaseLeaseIDParams) WithHTTPClient(client *http.Client) *DeleteDhcpIDLeaseLeaseIDParams
- func (o *DeleteDhcpIDLeaseLeaseIDParams) WithID(id string) *DeleteDhcpIDLeaseLeaseIDParams
- func (o *DeleteDhcpIDLeaseLeaseIDParams) WithLeaseID(leaseID string) *DeleteDhcpIDLeaseLeaseIDParams
- func (o *DeleteDhcpIDLeaseLeaseIDParams) WithTimeout(timeout time.Duration) *DeleteDhcpIDLeaseLeaseIDParams
- func (o *DeleteDhcpIDLeaseLeaseIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDhcpIDLeaseLeaseIDReader
- type DeleteDhcpIDNoContent
- func (o *DeleteDhcpIDNoContent) Error() string
- func (o *DeleteDhcpIDNoContent) IsClientError() bool
- func (o *DeleteDhcpIDNoContent) IsCode(code int) bool
- func (o *DeleteDhcpIDNoContent) IsRedirect() bool
- func (o *DeleteDhcpIDNoContent) IsServerError() bool
- func (o *DeleteDhcpIDNoContent) IsSuccess() bool
- func (o *DeleteDhcpIDNoContent) String() string
- type DeleteDhcpIDNotFound
- func (o *DeleteDhcpIDNotFound) Error() string
- func (o *DeleteDhcpIDNotFound) IsClientError() bool
- func (o *DeleteDhcpIDNotFound) IsCode(code int) bool
- func (o *DeleteDhcpIDNotFound) IsRedirect() bool
- func (o *DeleteDhcpIDNotFound) IsServerError() bool
- func (o *DeleteDhcpIDNotFound) IsSuccess() bool
- func (o *DeleteDhcpIDNotFound) String() string
- type DeleteDhcpIDParams
- func (o *DeleteDhcpIDParams) SetContext(ctx context.Context)
- func (o *DeleteDhcpIDParams) SetDefaults()
- func (o *DeleteDhcpIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDhcpIDParams) SetID(id string)
- func (o *DeleteDhcpIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDhcpIDParams) WithContext(ctx context.Context) *DeleteDhcpIDParams
- func (o *DeleteDhcpIDParams) WithDefaults() *DeleteDhcpIDParams
- func (o *DeleteDhcpIDParams) WithHTTPClient(client *http.Client) *DeleteDhcpIDParams
- func (o *DeleteDhcpIDParams) WithID(id string) *DeleteDhcpIDParams
- func (o *DeleteDhcpIDParams) WithTimeout(timeout time.Duration) *DeleteDhcpIDParams
- func (o *DeleteDhcpIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDhcpIDReader
- type GetDhcpIDInternalServerError
- func (o *GetDhcpIDInternalServerError) Error() string
- func (o *GetDhcpIDInternalServerError) IsClientError() bool
- func (o *GetDhcpIDInternalServerError) IsCode(code int) bool
- func (o *GetDhcpIDInternalServerError) IsRedirect() bool
- func (o *GetDhcpIDInternalServerError) IsServerError() bool
- func (o *GetDhcpIDInternalServerError) IsSuccess() bool
- func (o *GetDhcpIDInternalServerError) String() string
- type GetDhcpIDLeaseInternalServerError
- func (o *GetDhcpIDLeaseInternalServerError) Error() string
- func (o *GetDhcpIDLeaseInternalServerError) IsClientError() bool
- func (o *GetDhcpIDLeaseInternalServerError) IsCode(code int) bool
- func (o *GetDhcpIDLeaseInternalServerError) IsRedirect() bool
- func (o *GetDhcpIDLeaseInternalServerError) IsServerError() bool
- func (o *GetDhcpIDLeaseInternalServerError) IsSuccess() bool
- func (o *GetDhcpIDLeaseInternalServerError) String() string
- type GetDhcpIDLeaseLeaseIDInternalServerError
- func (o *GetDhcpIDLeaseLeaseIDInternalServerError) Error() string
- func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsClientError() bool
- func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsCode(code int) bool
- func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsRedirect() bool
- func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsServerError() bool
- func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsSuccess() bool
- func (o *GetDhcpIDLeaseLeaseIDInternalServerError) String() string
- type GetDhcpIDLeaseLeaseIDNotFound
- func (o *GetDhcpIDLeaseLeaseIDNotFound) Error() string
- func (o *GetDhcpIDLeaseLeaseIDNotFound) IsClientError() bool
- func (o *GetDhcpIDLeaseLeaseIDNotFound) IsCode(code int) bool
- func (o *GetDhcpIDLeaseLeaseIDNotFound) IsRedirect() bool
- func (o *GetDhcpIDLeaseLeaseIDNotFound) IsServerError() bool
- func (o *GetDhcpIDLeaseLeaseIDNotFound) IsSuccess() bool
- func (o *GetDhcpIDLeaseLeaseIDNotFound) String() string
- type GetDhcpIDLeaseLeaseIDOK
- func (o *GetDhcpIDLeaseLeaseIDOK) Error() string
- func (o *GetDhcpIDLeaseLeaseIDOK) GetPayload() *models.DtosDHCP4LeaseDto
- func (o *GetDhcpIDLeaseLeaseIDOK) IsClientError() bool
- func (o *GetDhcpIDLeaseLeaseIDOK) IsCode(code int) bool
- func (o *GetDhcpIDLeaseLeaseIDOK) IsRedirect() bool
- func (o *GetDhcpIDLeaseLeaseIDOK) IsServerError() bool
- func (o *GetDhcpIDLeaseLeaseIDOK) IsSuccess() bool
- func (o *GetDhcpIDLeaseLeaseIDOK) String() string
- type GetDhcpIDLeaseLeaseIDParams
- func NewGetDhcpIDLeaseLeaseIDParams() *GetDhcpIDLeaseLeaseIDParams
- func NewGetDhcpIDLeaseLeaseIDParamsWithContext(ctx context.Context) *GetDhcpIDLeaseLeaseIDParams
- func NewGetDhcpIDLeaseLeaseIDParamsWithHTTPClient(client *http.Client) *GetDhcpIDLeaseLeaseIDParams
- func NewGetDhcpIDLeaseLeaseIDParamsWithTimeout(timeout time.Duration) *GetDhcpIDLeaseLeaseIDParams
- func (o *GetDhcpIDLeaseLeaseIDParams) SetContext(ctx context.Context)
- func (o *GetDhcpIDLeaseLeaseIDParams) SetDefaults()
- func (o *GetDhcpIDLeaseLeaseIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDhcpIDLeaseLeaseIDParams) SetID(id string)
- func (o *GetDhcpIDLeaseLeaseIDParams) SetLeaseID(leaseID string)
- func (o *GetDhcpIDLeaseLeaseIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDhcpIDLeaseLeaseIDParams) WithContext(ctx context.Context) *GetDhcpIDLeaseLeaseIDParams
- func (o *GetDhcpIDLeaseLeaseIDParams) WithDefaults() *GetDhcpIDLeaseLeaseIDParams
- func (o *GetDhcpIDLeaseLeaseIDParams) WithHTTPClient(client *http.Client) *GetDhcpIDLeaseLeaseIDParams
- func (o *GetDhcpIDLeaseLeaseIDParams) WithID(id string) *GetDhcpIDLeaseLeaseIDParams
- func (o *GetDhcpIDLeaseLeaseIDParams) WithLeaseID(leaseID string) *GetDhcpIDLeaseLeaseIDParams
- func (o *GetDhcpIDLeaseLeaseIDParams) WithTimeout(timeout time.Duration) *GetDhcpIDLeaseLeaseIDParams
- func (o *GetDhcpIDLeaseLeaseIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDhcpIDLeaseLeaseIDReader
- type GetDhcpIDLeaseOK
- func (o *GetDhcpIDLeaseOK) Error() string
- func (o *GetDhcpIDLeaseOK) GetPayload() *models.DtosPaginatedItemsDtoDtosDHCP4LeaseDto
- func (o *GetDhcpIDLeaseOK) IsClientError() bool
- func (o *GetDhcpIDLeaseOK) IsCode(code int) bool
- func (o *GetDhcpIDLeaseOK) IsRedirect() bool
- func (o *GetDhcpIDLeaseOK) IsServerError() bool
- func (o *GetDhcpIDLeaseOK) IsSuccess() bool
- func (o *GetDhcpIDLeaseOK) String() string
- type GetDhcpIDLeaseParams
- func NewGetDhcpIDLeaseParams() *GetDhcpIDLeaseParams
- func NewGetDhcpIDLeaseParamsWithContext(ctx context.Context) *GetDhcpIDLeaseParams
- func NewGetDhcpIDLeaseParamsWithHTTPClient(client *http.Client) *GetDhcpIDLeaseParams
- func NewGetDhcpIDLeaseParamsWithTimeout(timeout time.Duration) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) SetContext(ctx context.Context)
- func (o *GetDhcpIDLeaseParams) SetDefaults()
- func (o *GetDhcpIDLeaseParams) SetHTTPClient(client *http.Client)
- func (o *GetDhcpIDLeaseParams) SetID(id string)
- func (o *GetDhcpIDLeaseParams) SetOrderBy(orderBy *string)
- func (o *GetDhcpIDLeaseParams) SetOrderDirection(orderDirection *string)
- func (o *GetDhcpIDLeaseParams) SetPage(page *int64)
- func (o *GetDhcpIDLeaseParams) SetPageSize(pageSize *int64)
- func (o *GetDhcpIDLeaseParams) SetSearch(search *string)
- func (o *GetDhcpIDLeaseParams) SetTimeout(timeout time.Duration)
- func (o *GetDhcpIDLeaseParams) WithContext(ctx context.Context) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithDefaults() *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithHTTPClient(client *http.Client) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithID(id string) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithOrderBy(orderBy *string) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithOrderDirection(orderDirection *string) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithPage(page *int64) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithPageSize(pageSize *int64) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithSearch(search *string) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WithTimeout(timeout time.Duration) *GetDhcpIDLeaseParams
- func (o *GetDhcpIDLeaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDhcpIDLeaseReader
- type GetDhcpIDNotFound
- func (o *GetDhcpIDNotFound) Error() string
- func (o *GetDhcpIDNotFound) IsClientError() bool
- func (o *GetDhcpIDNotFound) IsCode(code int) bool
- func (o *GetDhcpIDNotFound) IsRedirect() bool
- func (o *GetDhcpIDNotFound) IsServerError() bool
- func (o *GetDhcpIDNotFound) IsSuccess() bool
- func (o *GetDhcpIDNotFound) String() string
- type GetDhcpIDOK
- func (o *GetDhcpIDOK) Error() string
- func (o *GetDhcpIDOK) GetPayload() *models.DtosDHCP4ServerDto
- func (o *GetDhcpIDOK) IsClientError() bool
- func (o *GetDhcpIDOK) IsCode(code int) bool
- func (o *GetDhcpIDOK) IsRedirect() bool
- func (o *GetDhcpIDOK) IsServerError() bool
- func (o *GetDhcpIDOK) IsSuccess() bool
- func (o *GetDhcpIDOK) String() string
- type GetDhcpIDParams
- func (o *GetDhcpIDParams) SetContext(ctx context.Context)
- func (o *GetDhcpIDParams) SetDefaults()
- func (o *GetDhcpIDParams) SetHTTPClient(client *http.Client)
- func (o *GetDhcpIDParams) SetID(id string)
- func (o *GetDhcpIDParams) SetTimeout(timeout time.Duration)
- func (o *GetDhcpIDParams) WithContext(ctx context.Context) *GetDhcpIDParams
- func (o *GetDhcpIDParams) WithDefaults() *GetDhcpIDParams
- func (o *GetDhcpIDParams) WithHTTPClient(client *http.Client) *GetDhcpIDParams
- func (o *GetDhcpIDParams) WithID(id string) *GetDhcpIDParams
- func (o *GetDhcpIDParams) WithTimeout(timeout time.Duration) *GetDhcpIDParams
- func (o *GetDhcpIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDhcpIDReader
- type GetDhcpInternalServerError
- func (o *GetDhcpInternalServerError) Error() string
- func (o *GetDhcpInternalServerError) IsClientError() bool
- func (o *GetDhcpInternalServerError) IsCode(code int) bool
- func (o *GetDhcpInternalServerError) IsRedirect() bool
- func (o *GetDhcpInternalServerError) IsServerError() bool
- func (o *GetDhcpInternalServerError) IsSuccess() bool
- func (o *GetDhcpInternalServerError) String() string
- type GetDhcpOK
- func (o *GetDhcpOK) Error() string
- func (o *GetDhcpOK) GetPayload() *models.DtosPaginatedItemsDtoDtosDHCP4ServerDto
- func (o *GetDhcpOK) IsClientError() bool
- func (o *GetDhcpOK) IsCode(code int) bool
- func (o *GetDhcpOK) IsRedirect() bool
- func (o *GetDhcpOK) IsServerError() bool
- func (o *GetDhcpOK) IsSuccess() bool
- func (o *GetDhcpOK) String() string
- type GetDhcpParams
- func (o *GetDhcpParams) SetContext(ctx context.Context)
- func (o *GetDhcpParams) SetDefaults()
- func (o *GetDhcpParams) SetHTTPClient(client *http.Client)
- func (o *GetDhcpParams) SetOrderBy(orderBy *string)
- func (o *GetDhcpParams) SetOrderDirection(orderDirection *string)
- func (o *GetDhcpParams) SetPage(page *int64)
- func (o *GetDhcpParams) SetPageSize(pageSize *int64)
- func (o *GetDhcpParams) SetSearch(search *string)
- func (o *GetDhcpParams) SetTimeout(timeout time.Duration)
- func (o *GetDhcpParams) WithContext(ctx context.Context) *GetDhcpParams
- func (o *GetDhcpParams) WithDefaults() *GetDhcpParams
- func (o *GetDhcpParams) WithHTTPClient(client *http.Client) *GetDhcpParams
- func (o *GetDhcpParams) WithOrderBy(orderBy *string) *GetDhcpParams
- func (o *GetDhcpParams) WithOrderDirection(orderDirection *string) *GetDhcpParams
- func (o *GetDhcpParams) WithPage(page *int64) *GetDhcpParams
- func (o *GetDhcpParams) WithPageSize(pageSize *int64) *GetDhcpParams
- func (o *GetDhcpParams) WithSearch(search *string) *GetDhcpParams
- func (o *GetDhcpParams) WithTimeout(timeout time.Duration) *GetDhcpParams
- func (o *GetDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDhcpReader
- type PostDhcpBadRequest
- func (o *PostDhcpBadRequest) Error() string
- func (o *PostDhcpBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PostDhcpBadRequest) IsClientError() bool
- func (o *PostDhcpBadRequest) IsCode(code int) bool
- func (o *PostDhcpBadRequest) IsRedirect() bool
- func (o *PostDhcpBadRequest) IsServerError() bool
- func (o *PostDhcpBadRequest) IsSuccess() bool
- func (o *PostDhcpBadRequest) String() string
- type PostDhcpIDLeaseBadRequest
- func (o *PostDhcpIDLeaseBadRequest) Error() string
- func (o *PostDhcpIDLeaseBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PostDhcpIDLeaseBadRequest) IsClientError() bool
- func (o *PostDhcpIDLeaseBadRequest) IsCode(code int) bool
- func (o *PostDhcpIDLeaseBadRequest) IsRedirect() bool
- func (o *PostDhcpIDLeaseBadRequest) IsServerError() bool
- func (o *PostDhcpIDLeaseBadRequest) IsSuccess() bool
- func (o *PostDhcpIDLeaseBadRequest) String() string
- type PostDhcpIDLeaseInternalServerError
- func (o *PostDhcpIDLeaseInternalServerError) Error() string
- func (o *PostDhcpIDLeaseInternalServerError) IsClientError() bool
- func (o *PostDhcpIDLeaseInternalServerError) IsCode(code int) bool
- func (o *PostDhcpIDLeaseInternalServerError) IsRedirect() bool
- func (o *PostDhcpIDLeaseInternalServerError) IsServerError() bool
- func (o *PostDhcpIDLeaseInternalServerError) IsSuccess() bool
- func (o *PostDhcpIDLeaseInternalServerError) String() string
- type PostDhcpIDLeaseOK
- func (o *PostDhcpIDLeaseOK) Error() string
- func (o *PostDhcpIDLeaseOK) GetPayload() *models.DtosDHCP4LeaseDto
- func (o *PostDhcpIDLeaseOK) IsClientError() bool
- func (o *PostDhcpIDLeaseOK) IsCode(code int) bool
- func (o *PostDhcpIDLeaseOK) IsRedirect() bool
- func (o *PostDhcpIDLeaseOK) IsServerError() bool
- func (o *PostDhcpIDLeaseOK) IsSuccess() bool
- func (o *PostDhcpIDLeaseOK) String() string
- type PostDhcpIDLeaseParams
- func NewPostDhcpIDLeaseParams() *PostDhcpIDLeaseParams
- func NewPostDhcpIDLeaseParamsWithContext(ctx context.Context) *PostDhcpIDLeaseParams
- func NewPostDhcpIDLeaseParamsWithHTTPClient(client *http.Client) *PostDhcpIDLeaseParams
- func NewPostDhcpIDLeaseParamsWithTimeout(timeout time.Duration) *PostDhcpIDLeaseParams
- func (o *PostDhcpIDLeaseParams) SetContext(ctx context.Context)
- func (o *PostDhcpIDLeaseParams) SetDefaults()
- func (o *PostDhcpIDLeaseParams) SetHTTPClient(client *http.Client)
- func (o *PostDhcpIDLeaseParams) SetID(id string)
- func (o *PostDhcpIDLeaseParams) SetRequest(request *models.DtosDHCP4LeaseCreateDto)
- func (o *PostDhcpIDLeaseParams) SetTimeout(timeout time.Duration)
- func (o *PostDhcpIDLeaseParams) WithContext(ctx context.Context) *PostDhcpIDLeaseParams
- func (o *PostDhcpIDLeaseParams) WithDefaults() *PostDhcpIDLeaseParams
- func (o *PostDhcpIDLeaseParams) WithHTTPClient(client *http.Client) *PostDhcpIDLeaseParams
- func (o *PostDhcpIDLeaseParams) WithID(id string) *PostDhcpIDLeaseParams
- func (o *PostDhcpIDLeaseParams) WithRequest(request *models.DtosDHCP4LeaseCreateDto) *PostDhcpIDLeaseParams
- func (o *PostDhcpIDLeaseParams) WithTimeout(timeout time.Duration) *PostDhcpIDLeaseParams
- func (o *PostDhcpIDLeaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDhcpIDLeaseReader
- type PostDhcpInternalServerError
- func (o *PostDhcpInternalServerError) Error() string
- func (o *PostDhcpInternalServerError) IsClientError() bool
- func (o *PostDhcpInternalServerError) IsCode(code int) bool
- func (o *PostDhcpInternalServerError) IsRedirect() bool
- func (o *PostDhcpInternalServerError) IsServerError() bool
- func (o *PostDhcpInternalServerError) IsSuccess() bool
- func (o *PostDhcpInternalServerError) String() string
- type PostDhcpOK
- func (o *PostDhcpOK) Error() string
- func (o *PostDhcpOK) GetPayload() *models.DtosDHCP4ServerDto
- func (o *PostDhcpOK) IsClientError() bool
- func (o *PostDhcpOK) IsCode(code int) bool
- func (o *PostDhcpOK) IsRedirect() bool
- func (o *PostDhcpOK) IsServerError() bool
- func (o *PostDhcpOK) IsSuccess() bool
- func (o *PostDhcpOK) String() string
- type PostDhcpParams
- func (o *PostDhcpParams) SetContext(ctx context.Context)
- func (o *PostDhcpParams) SetDefaults()
- func (o *PostDhcpParams) SetHTTPClient(client *http.Client)
- func (o *PostDhcpParams) SetRequest(request *models.DtosDHCP4ServerCreateDto)
- func (o *PostDhcpParams) SetTimeout(timeout time.Duration)
- func (o *PostDhcpParams) WithContext(ctx context.Context) *PostDhcpParams
- func (o *PostDhcpParams) WithDefaults() *PostDhcpParams
- func (o *PostDhcpParams) WithHTTPClient(client *http.Client) *PostDhcpParams
- func (o *PostDhcpParams) WithRequest(request *models.DtosDHCP4ServerCreateDto) *PostDhcpParams
- func (o *PostDhcpParams) WithTimeout(timeout time.Duration) *PostDhcpParams
- func (o *PostDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDhcpReader
- type PutDhcpIDBadRequest
- func (o *PutDhcpIDBadRequest) Error() string
- func (o *PutDhcpIDBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PutDhcpIDBadRequest) IsClientError() bool
- func (o *PutDhcpIDBadRequest) IsCode(code int) bool
- func (o *PutDhcpIDBadRequest) IsRedirect() bool
- func (o *PutDhcpIDBadRequest) IsServerError() bool
- func (o *PutDhcpIDBadRequest) IsSuccess() bool
- func (o *PutDhcpIDBadRequest) String() string
- type PutDhcpIDInternalServerError
- func (o *PutDhcpIDInternalServerError) Error() string
- func (o *PutDhcpIDInternalServerError) IsClientError() bool
- func (o *PutDhcpIDInternalServerError) IsCode(code int) bool
- func (o *PutDhcpIDInternalServerError) IsRedirect() bool
- func (o *PutDhcpIDInternalServerError) IsServerError() bool
- func (o *PutDhcpIDInternalServerError) IsSuccess() bool
- func (o *PutDhcpIDInternalServerError) String() string
- type PutDhcpIDLeaseLeaseIDBadRequest
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) Error() string
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) GetPayload() *models.DtosValidationErrorDto
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsClientError() bool
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsCode(code int) bool
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsRedirect() bool
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsServerError() bool
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) IsSuccess() bool
- func (o *PutDhcpIDLeaseLeaseIDBadRequest) String() string
- type PutDhcpIDLeaseLeaseIDInternalServerError
- func (o *PutDhcpIDLeaseLeaseIDInternalServerError) Error() string
- func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsClientError() bool
- func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsCode(code int) bool
- func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsRedirect() bool
- func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsServerError() bool
- func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsSuccess() bool
- func (o *PutDhcpIDLeaseLeaseIDInternalServerError) String() string
- type PutDhcpIDLeaseLeaseIDNotFound
- func (o *PutDhcpIDLeaseLeaseIDNotFound) Error() string
- func (o *PutDhcpIDLeaseLeaseIDNotFound) IsClientError() bool
- func (o *PutDhcpIDLeaseLeaseIDNotFound) IsCode(code int) bool
- func (o *PutDhcpIDLeaseLeaseIDNotFound) IsRedirect() bool
- func (o *PutDhcpIDLeaseLeaseIDNotFound) IsServerError() bool
- func (o *PutDhcpIDLeaseLeaseIDNotFound) IsSuccess() bool
- func (o *PutDhcpIDLeaseLeaseIDNotFound) String() string
- type PutDhcpIDLeaseLeaseIDOK
- func (o *PutDhcpIDLeaseLeaseIDOK) Error() string
- func (o *PutDhcpIDLeaseLeaseIDOK) GetPayload() *models.DtosDHCP4LeaseDto
- func (o *PutDhcpIDLeaseLeaseIDOK) IsClientError() bool
- func (o *PutDhcpIDLeaseLeaseIDOK) IsCode(code int) bool
- func (o *PutDhcpIDLeaseLeaseIDOK) IsRedirect() bool
- func (o *PutDhcpIDLeaseLeaseIDOK) IsServerError() bool
- func (o *PutDhcpIDLeaseLeaseIDOK) IsSuccess() bool
- func (o *PutDhcpIDLeaseLeaseIDOK) String() string
- type PutDhcpIDLeaseLeaseIDParams
- func NewPutDhcpIDLeaseLeaseIDParams() *PutDhcpIDLeaseLeaseIDParams
- func NewPutDhcpIDLeaseLeaseIDParamsWithContext(ctx context.Context) *PutDhcpIDLeaseLeaseIDParams
- func NewPutDhcpIDLeaseLeaseIDParamsWithHTTPClient(client *http.Client) *PutDhcpIDLeaseLeaseIDParams
- func NewPutDhcpIDLeaseLeaseIDParamsWithTimeout(timeout time.Duration) *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) SetContext(ctx context.Context)
- func (o *PutDhcpIDLeaseLeaseIDParams) SetDefaults()
- func (o *PutDhcpIDLeaseLeaseIDParams) SetHTTPClient(client *http.Client)
- func (o *PutDhcpIDLeaseLeaseIDParams) SetID(id string)
- func (o *PutDhcpIDLeaseLeaseIDParams) SetLeaseID(leaseID string)
- func (o *PutDhcpIDLeaseLeaseIDParams) SetRequest(request *models.DtosDHCP4LeaseUpdateDto)
- func (o *PutDhcpIDLeaseLeaseIDParams) SetTimeout(timeout time.Duration)
- func (o *PutDhcpIDLeaseLeaseIDParams) WithContext(ctx context.Context) *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) WithDefaults() *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) WithHTTPClient(client *http.Client) *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) WithID(id string) *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) WithLeaseID(leaseID string) *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) WithRequest(request *models.DtosDHCP4LeaseUpdateDto) *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) WithTimeout(timeout time.Duration) *PutDhcpIDLeaseLeaseIDParams
- func (o *PutDhcpIDLeaseLeaseIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutDhcpIDLeaseLeaseIDReader
- type PutDhcpIDNotFound
- func (o *PutDhcpIDNotFound) Error() string
- func (o *PutDhcpIDNotFound) IsClientError() bool
- func (o *PutDhcpIDNotFound) IsCode(code int) bool
- func (o *PutDhcpIDNotFound) IsRedirect() bool
- func (o *PutDhcpIDNotFound) IsServerError() bool
- func (o *PutDhcpIDNotFound) IsSuccess() bool
- func (o *PutDhcpIDNotFound) String() string
- type PutDhcpIDOK
- func (o *PutDhcpIDOK) Error() string
- func (o *PutDhcpIDOK) GetPayload() *models.DtosDHCP4ServerDto
- func (o *PutDhcpIDOK) IsClientError() bool
- func (o *PutDhcpIDOK) IsCode(code int) bool
- func (o *PutDhcpIDOK) IsRedirect() bool
- func (o *PutDhcpIDOK) IsServerError() bool
- func (o *PutDhcpIDOK) IsSuccess() bool
- func (o *PutDhcpIDOK) String() string
- type PutDhcpIDParams
- func (o *PutDhcpIDParams) SetContext(ctx context.Context)
- func (o *PutDhcpIDParams) SetDefaults()
- func (o *PutDhcpIDParams) SetHTTPClient(client *http.Client)
- func (o *PutDhcpIDParams) SetID(id string)
- func (o *PutDhcpIDParams) SetRequest(request *models.DtosDHCP4ServerUpdateDto)
- func (o *PutDhcpIDParams) SetTimeout(timeout time.Duration)
- func (o *PutDhcpIDParams) WithContext(ctx context.Context) *PutDhcpIDParams
- func (o *PutDhcpIDParams) WithDefaults() *PutDhcpIDParams
- func (o *PutDhcpIDParams) WithHTTPClient(client *http.Client) *PutDhcpIDParams
- func (o *PutDhcpIDParams) WithID(id string) *PutDhcpIDParams
- func (o *PutDhcpIDParams) WithRequest(request *models.DtosDHCP4ServerUpdateDto) *PutDhcpIDParams
- func (o *PutDhcpIDParams) WithTimeout(timeout time.Duration) *PutDhcpIDParams
- func (o *PutDhcpIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutDhcpIDReader
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 (o *DeleteDhcpIDInternalServerError) Error() string
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 ¶
func (o *DeleteDhcpIDInternalServerError) String() 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 (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) Error() string
func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsClientError ¶
func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete dhcp Id lease lease Id internal server error response has a 4xx status code
func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsCode ¶
func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete dhcp Id lease lease Id internal server error response has a 3xx status code
func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsServerError ¶
func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete dhcp Id lease lease Id internal server error response has a 5xx status code
func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) IsSuccess ¶
func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete dhcp Id lease lease Id internal server error response has a 2xx status code
func (*DeleteDhcpIDLeaseLeaseIDInternalServerError) String ¶
func (o *DeleteDhcpIDLeaseLeaseIDInternalServerError) String() 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 (o *DeleteDhcpIDLeaseLeaseIDNoContent) Error() string
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 ¶
func (o *DeleteDhcpIDLeaseLeaseIDNoContent) String() 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 (o *DeleteDhcpIDLeaseLeaseIDNotFound) Error() string
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 ¶
func (o *DeleteDhcpIDLeaseLeaseIDNotFound) String() 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 ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) SetID(id string)
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 ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) WithContext(ctx context.Context) *DeleteDhcpIDLeaseLeaseIDParams
WithContext adds the context to the delete dhcp ID lease lease ID params
func (*DeleteDhcpIDLeaseLeaseIDParams) WithDefaults ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) WithDefaults() *DeleteDhcpIDLeaseLeaseIDParams
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 ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) WithHTTPClient(client *http.Client) *DeleteDhcpIDLeaseLeaseIDParams
WithHTTPClient adds the HTTPClient to the delete dhcp ID lease lease ID params
func (*DeleteDhcpIDLeaseLeaseIDParams) WithID ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) WithID(id string) *DeleteDhcpIDLeaseLeaseIDParams
WithID adds the id to the delete dhcp ID lease lease ID params
func (*DeleteDhcpIDLeaseLeaseIDParams) WithLeaseID ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) WithLeaseID(leaseID string) *DeleteDhcpIDLeaseLeaseIDParams
WithLeaseID adds the leaseID to the delete dhcp ID lease lease ID params
func (*DeleteDhcpIDLeaseLeaseIDParams) WithTimeout ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) WithTimeout(timeout time.Duration) *DeleteDhcpIDLeaseLeaseIDParams
WithTimeout adds the timeout to the delete dhcp ID lease lease ID params
func (*DeleteDhcpIDLeaseLeaseIDParams) WriteToRequest ¶
func (o *DeleteDhcpIDLeaseLeaseIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteDhcpIDParams) WithContext(ctx context.Context) *DeleteDhcpIDParams
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 ¶
func (o *DeleteDhcpIDParams) WithID(id string) *DeleteDhcpIDParams
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 (o *GetDhcpIDInternalServerError) Error() string
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 ¶
func (o *GetDhcpIDInternalServerError) String() 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 (o *GetDhcpIDLeaseInternalServerError) Error() string
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 ¶
func (o *GetDhcpIDLeaseInternalServerError) String() 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 (o *GetDhcpIDLeaseLeaseIDInternalServerError) Error() string
func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsClientError ¶
func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsClientError() bool
IsClientError returns true when this get dhcp Id lease lease Id internal server error response has a 4xx status code
func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsCode ¶
func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get dhcp Id lease lease Id internal server error response has a 3xx status code
func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsServerError ¶
func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsServerError() bool
IsServerError returns true when this get dhcp Id lease lease Id internal server error response has a 5xx status code
func (*GetDhcpIDLeaseLeaseIDInternalServerError) IsSuccess ¶
func (o *GetDhcpIDLeaseLeaseIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get dhcp Id lease lease Id internal server error response has a 2xx status code
func (*GetDhcpIDLeaseLeaseIDInternalServerError) String ¶
func (o *GetDhcpIDLeaseLeaseIDInternalServerError) String() 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 (o *GetDhcpIDLeaseLeaseIDNotFound) Error() string
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 ¶
func (o *GetDhcpIDLeaseLeaseIDNotFound) String() 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 (o *GetDhcpIDLeaseLeaseIDOK) GetPayload() *models.DtosDHCP4LeaseDto
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 ¶
func (o *GetDhcpIDLeaseLeaseIDParams) WithContext(ctx context.Context) *GetDhcpIDLeaseLeaseIDParams
WithContext adds the context to the get dhcp ID lease lease ID params
func (*GetDhcpIDLeaseLeaseIDParams) WithDefaults ¶
func (o *GetDhcpIDLeaseLeaseIDParams) WithDefaults() *GetDhcpIDLeaseLeaseIDParams
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 ¶
func (o *GetDhcpIDLeaseLeaseIDParams) WithHTTPClient(client *http.Client) *GetDhcpIDLeaseLeaseIDParams
WithHTTPClient adds the HTTPClient to the get dhcp ID lease lease ID params
func (*GetDhcpIDLeaseLeaseIDParams) WithID ¶
func (o *GetDhcpIDLeaseLeaseIDParams) WithID(id string) *GetDhcpIDLeaseLeaseIDParams
WithID adds the id to the get dhcp ID lease lease ID params
func (*GetDhcpIDLeaseLeaseIDParams) WithLeaseID ¶
func (o *GetDhcpIDLeaseLeaseIDParams) WithLeaseID(leaseID string) *GetDhcpIDLeaseLeaseIDParams
WithLeaseID adds the leaseID to the get dhcp ID lease lease ID params
func (*GetDhcpIDLeaseLeaseIDParams) WithTimeout ¶
func (o *GetDhcpIDLeaseLeaseIDParams) WithTimeout(timeout time.Duration) *GetDhcpIDLeaseLeaseIDParams
WithTimeout adds the timeout to the get dhcp ID lease lease ID params
func (*GetDhcpIDLeaseLeaseIDParams) WriteToRequest ¶
func (o *GetDhcpIDLeaseLeaseIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetDhcpIDLeaseOK) GetPayload() *models.DtosPaginatedItemsDtoDtosDHCP4LeaseDto
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 ¶
func (o *GetDhcpIDLeaseParams) WithContext(ctx context.Context) *GetDhcpIDLeaseParams
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 ¶
func (o *GetDhcpIDLeaseParams) WithID(id string) *GetDhcpIDLeaseParams
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 (o *GetDhcpInternalServerError) Error() string
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) GetPayload ¶
func (o *GetDhcpOK) GetPayload() *models.DtosPaginatedItemsDtoDtosDHCP4ServerDto
func (*GetDhcpOK) IsClientError ¶
IsClientError returns true when this get dhcp o k response has a 4xx status code
func (*GetDhcpOK) IsCode ¶
IsCode returns true when this get dhcp o k response a status code equal to that given
func (*GetDhcpOK) IsRedirect ¶
IsRedirect returns true when this get dhcp o k response has a 3xx status code
func (*GetDhcpOK) IsServerError ¶
IsServerError returns true when this get dhcp o k response has a 5xx status code
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 (o *PostDhcpBadRequest) GetPayload() *models.DtosValidationErrorDto
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 (o *PostDhcpIDLeaseBadRequest) GetPayload() *models.DtosValidationErrorDto
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 (o *PostDhcpIDLeaseInternalServerError) Error() string
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 ¶
func (o *PostDhcpIDLeaseInternalServerError) IsCode(code int) bool
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 ¶
func (o *PostDhcpIDLeaseInternalServerError) IsSuccess() bool
IsSuccess returns true when this post dhcp Id lease internal server error response has a 2xx status code
func (*PostDhcpIDLeaseInternalServerError) String ¶
func (o *PostDhcpIDLeaseInternalServerError) String() 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 ¶
func (o *PostDhcpIDLeaseParams) WithContext(ctx context.Context) *PostDhcpIDLeaseParams
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 ¶
func (o *PostDhcpIDLeaseParams) WithID(id string) *PostDhcpIDLeaseParams
WithID adds the id to the post dhcp ID lease params
func (*PostDhcpIDLeaseParams) WithRequest ¶
func (o *PostDhcpIDLeaseParams) WithRequest(request *models.DtosDHCP4LeaseCreateDto) *PostDhcpIDLeaseParams
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 (o *PostDhcpInternalServerError) Error() string
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 ¶
func (o *PostDhcpParams) WithRequest(request *models.DtosDHCP4ServerCreateDto) *PostDhcpParams
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 (o *PutDhcpIDBadRequest) GetPayload() *models.DtosValidationErrorDto
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 (o *PutDhcpIDInternalServerError) Error() string
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 ¶
func (o *PutDhcpIDInternalServerError) String() 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 (o *PutDhcpIDLeaseLeaseIDBadRequest) Error() string
func (*PutDhcpIDLeaseLeaseIDBadRequest) GetPayload ¶
func (o *PutDhcpIDLeaseLeaseIDBadRequest) GetPayload() *models.DtosValidationErrorDto
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 ¶
func (o *PutDhcpIDLeaseLeaseIDBadRequest) String() 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 (o *PutDhcpIDLeaseLeaseIDInternalServerError) Error() string
func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsClientError ¶
func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsClientError() bool
IsClientError returns true when this put dhcp Id lease lease Id internal server error response has a 4xx status code
func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsCode ¶
func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsCode(code int) bool
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 ¶
func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this put dhcp Id lease lease Id internal server error response has a 3xx status code
func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsServerError ¶
func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsServerError() bool
IsServerError returns true when this put dhcp Id lease lease Id internal server error response has a 5xx status code
func (*PutDhcpIDLeaseLeaseIDInternalServerError) IsSuccess ¶
func (o *PutDhcpIDLeaseLeaseIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this put dhcp Id lease lease Id internal server error response has a 2xx status code
func (*PutDhcpIDLeaseLeaseIDInternalServerError) String ¶
func (o *PutDhcpIDLeaseLeaseIDInternalServerError) String() 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 (o *PutDhcpIDLeaseLeaseIDNotFound) Error() string
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 ¶
func (o *PutDhcpIDLeaseLeaseIDNotFound) String() 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 (o *PutDhcpIDLeaseLeaseIDOK) GetPayload() *models.DtosDHCP4LeaseDto
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 ¶
func (o *PutDhcpIDLeaseLeaseIDParams) SetRequest(request *models.DtosDHCP4LeaseUpdateDto)
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 ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WithContext(ctx context.Context) *PutDhcpIDLeaseLeaseIDParams
WithContext adds the context to the put dhcp ID lease lease ID params
func (*PutDhcpIDLeaseLeaseIDParams) WithDefaults ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WithDefaults() *PutDhcpIDLeaseLeaseIDParams
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 ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WithHTTPClient(client *http.Client) *PutDhcpIDLeaseLeaseIDParams
WithHTTPClient adds the HTTPClient to the put dhcp ID lease lease ID params
func (*PutDhcpIDLeaseLeaseIDParams) WithID ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WithID(id string) *PutDhcpIDLeaseLeaseIDParams
WithID adds the id to the put dhcp ID lease lease ID params
func (*PutDhcpIDLeaseLeaseIDParams) WithLeaseID ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WithLeaseID(leaseID string) *PutDhcpIDLeaseLeaseIDParams
WithLeaseID adds the leaseID to the put dhcp ID lease lease ID params
func (*PutDhcpIDLeaseLeaseIDParams) WithRequest ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WithRequest(request *models.DtosDHCP4LeaseUpdateDto) *PutDhcpIDLeaseLeaseIDParams
WithRequest adds the request to the put dhcp ID lease lease ID params
func (*PutDhcpIDLeaseLeaseIDParams) WithTimeout ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WithTimeout(timeout time.Duration) *PutDhcpIDLeaseLeaseIDParams
WithTimeout adds the timeout to the put dhcp ID lease lease ID params
func (*PutDhcpIDLeaseLeaseIDParams) WriteToRequest ¶
func (o *PutDhcpIDLeaseLeaseIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PutDhcpIDParams) WithRequest(request *models.DtosDHCP4ServerUpdateDto) *PutDhcpIDParams
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.
Source Files ¶
- delete_dhcp_id_lease_lease_id_parameters.go
- delete_dhcp_id_lease_lease_id_responses.go
- delete_dhcp_id_parameters.go
- delete_dhcp_id_responses.go
- dhcp_client.go
- get_dhcp_id_lease_lease_id_parameters.go
- get_dhcp_id_lease_lease_id_responses.go
- get_dhcp_id_lease_parameters.go
- get_dhcp_id_lease_responses.go
- get_dhcp_id_parameters.go
- get_dhcp_id_responses.go
- get_dhcp_parameters.go
- get_dhcp_responses.go
- post_dhcp_id_lease_parameters.go
- post_dhcp_id_lease_responses.go
- post_dhcp_parameters.go
- post_dhcp_responses.go
- put_dhcp_id_lease_lease_id_parameters.go
- put_dhcp_id_lease_lease_id_responses.go
- put_dhcp_id_parameters.go
- put_dhcp_id_responses.go