Documentation ¶
Index ¶
- type Client
- func (a *Client) DhcpHostList(params *DhcpHostListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DhcpHostListOK, error)
- func (a *Client) DhcpHostListAssociations(params *DhcpHostListAssociationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DhcpHostListAssociationsOK, error)
- func (a *Client) DhcpHostRead(params *DhcpHostReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DhcpHostReadOK, error)
- func (a *Client) DhcpHostUpdate(params *DhcpHostUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DhcpHostUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DhcpHostListAssociationsOK
- type DhcpHostListAssociationsParams
- func NewDhcpHostListAssociationsParams() *DhcpHostListAssociationsParams
- func NewDhcpHostListAssociationsParamsWithContext(ctx context.Context) *DhcpHostListAssociationsParams
- func NewDhcpHostListAssociationsParamsWithHTTPClient(client *http.Client) *DhcpHostListAssociationsParams
- func NewDhcpHostListAssociationsParamsWithTimeout(timeout time.Duration) *DhcpHostListAssociationsParams
- func (o *DhcpHostListAssociationsParams) SetContext(ctx context.Context)
- func (o *DhcpHostListAssociationsParams) SetDefaults()
- func (o *DhcpHostListAssociationsParams) SetHTTPClient(client *http.Client)
- func (o *DhcpHostListAssociationsParams) SetID(id string)
- func (o *DhcpHostListAssociationsParams) SetTimeout(timeout time.Duration)
- func (o *DhcpHostListAssociationsParams) WithContext(ctx context.Context) *DhcpHostListAssociationsParams
- func (o *DhcpHostListAssociationsParams) WithDefaults() *DhcpHostListAssociationsParams
- func (o *DhcpHostListAssociationsParams) WithHTTPClient(client *http.Client) *DhcpHostListAssociationsParams
- func (o *DhcpHostListAssociationsParams) WithID(id string) *DhcpHostListAssociationsParams
- func (o *DhcpHostListAssociationsParams) WithTimeout(timeout time.Duration) *DhcpHostListAssociationsParams
- func (o *DhcpHostListAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DhcpHostListAssociationsReader
- type DhcpHostListOK
- type DhcpHostListParams
- func (o *DhcpHostListParams) SetContext(ctx context.Context)
- func (o *DhcpHostListParams) SetDefaults()
- func (o *DhcpHostListParams) SetFields(fields *string)
- func (o *DhcpHostListParams) SetFilter(filter *string)
- func (o *DhcpHostListParams) SetHTTPClient(client *http.Client)
- func (o *DhcpHostListParams) SetLimit(limit *int64)
- func (o *DhcpHostListParams) SetOffset(offset *int64)
- func (o *DhcpHostListParams) SetOrderBy(orderBy *string)
- func (o *DhcpHostListParams) SetPageToken(pageToken *string)
- func (o *DhcpHostListParams) SetTfilter(tfilter *string)
- func (o *DhcpHostListParams) SetTimeout(timeout time.Duration)
- func (o *DhcpHostListParams) SetTorderBy(torderBy *string)
- func (o *DhcpHostListParams) WithContext(ctx context.Context) *DhcpHostListParams
- func (o *DhcpHostListParams) WithDefaults() *DhcpHostListParams
- func (o *DhcpHostListParams) WithFields(fields *string) *DhcpHostListParams
- func (o *DhcpHostListParams) WithFilter(filter *string) *DhcpHostListParams
- func (o *DhcpHostListParams) WithHTTPClient(client *http.Client) *DhcpHostListParams
- func (o *DhcpHostListParams) WithLimit(limit *int64) *DhcpHostListParams
- func (o *DhcpHostListParams) WithOffset(offset *int64) *DhcpHostListParams
- func (o *DhcpHostListParams) WithOrderBy(orderBy *string) *DhcpHostListParams
- func (o *DhcpHostListParams) WithPageToken(pageToken *string) *DhcpHostListParams
- func (o *DhcpHostListParams) WithTfilter(tfilter *string) *DhcpHostListParams
- func (o *DhcpHostListParams) WithTimeout(timeout time.Duration) *DhcpHostListParams
- func (o *DhcpHostListParams) WithTorderBy(torderBy *string) *DhcpHostListParams
- func (o *DhcpHostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DhcpHostListReader
- type DhcpHostReadOK
- type DhcpHostReadParams
- func (o *DhcpHostReadParams) SetContext(ctx context.Context)
- func (o *DhcpHostReadParams) SetDefaults()
- func (o *DhcpHostReadParams) SetFields(fields *string)
- func (o *DhcpHostReadParams) SetHTTPClient(client *http.Client)
- func (o *DhcpHostReadParams) SetID(id string)
- func (o *DhcpHostReadParams) SetTimeout(timeout time.Duration)
- func (o *DhcpHostReadParams) WithContext(ctx context.Context) *DhcpHostReadParams
- func (o *DhcpHostReadParams) WithDefaults() *DhcpHostReadParams
- func (o *DhcpHostReadParams) WithFields(fields *string) *DhcpHostReadParams
- func (o *DhcpHostReadParams) WithHTTPClient(client *http.Client) *DhcpHostReadParams
- func (o *DhcpHostReadParams) WithID(id string) *DhcpHostReadParams
- func (o *DhcpHostReadParams) WithTimeout(timeout time.Duration) *DhcpHostReadParams
- func (o *DhcpHostReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DhcpHostReadReader
- type DhcpHostUpdateCreated
- type DhcpHostUpdateParams
- func NewDhcpHostUpdateParams() *DhcpHostUpdateParams
- func NewDhcpHostUpdateParamsWithContext(ctx context.Context) *DhcpHostUpdateParams
- func NewDhcpHostUpdateParamsWithHTTPClient(client *http.Client) *DhcpHostUpdateParams
- func NewDhcpHostUpdateParamsWithTimeout(timeout time.Duration) *DhcpHostUpdateParams
- func (o *DhcpHostUpdateParams) SetBody(body *models.IpamsvcHost)
- func (o *DhcpHostUpdateParams) SetContext(ctx context.Context)
- func (o *DhcpHostUpdateParams) SetDefaults()
- func (o *DhcpHostUpdateParams) SetHTTPClient(client *http.Client)
- func (o *DhcpHostUpdateParams) SetID(id string)
- func (o *DhcpHostUpdateParams) SetTimeout(timeout time.Duration)
- func (o *DhcpHostUpdateParams) WithBody(body *models.IpamsvcHost) *DhcpHostUpdateParams
- func (o *DhcpHostUpdateParams) WithContext(ctx context.Context) *DhcpHostUpdateParams
- func (o *DhcpHostUpdateParams) WithDefaults() *DhcpHostUpdateParams
- func (o *DhcpHostUpdateParams) WithHTTPClient(client *http.Client) *DhcpHostUpdateParams
- func (o *DhcpHostUpdateParams) WithID(id string) *DhcpHostUpdateParams
- func (o *DhcpHostUpdateParams) WithTimeout(timeout time.Duration) *DhcpHostUpdateParams
- func (o *DhcpHostUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DhcpHostUpdateReader
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 host API
func (*Client) DhcpHostList ¶
func (a *Client) DhcpHostList(params *DhcpHostListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostListOK, error)
DhcpHostList retrieves d h c p hosts Use this method to retrieve DHCP __Host__ objects.
A DHCP __Host__ object associates a __DHCPConfigProfile__ object with an on-prem host.
func (*Client) DhcpHostListAssociations ¶
func (a *Client) DhcpHostListAssociations(params *DhcpHostListAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostListAssociationsOK, error)
DhcpHostListAssociations retrieves d h c p host associations
Use this method to retrieve __HostAssociation__ objects.
func (*Client) DhcpHostRead ¶
func (a *Client) DhcpHostRead(params *DhcpHostReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostReadOK, error)
DhcpHostRead retrieves the d h c p host Use this method to retrieve a DHCP Host object.
A DHCP __Host__ object associates a __DHCPConfigProfile__ object with an on-prem host.
func (*Client) DhcpHostUpdate ¶
func (a *Client) DhcpHostUpdate(params *DhcpHostUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostUpdateCreated, error)
DhcpHostUpdate updates the d h c p hosts Use this method to update a DHCP __Host__ object.
A DHCP __Host__ object associates a __DHCPConfigProfile__ object with an on-prem host.
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 { DhcpHostList(params *DhcpHostListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostListOK, error) DhcpHostListAssociations(params *DhcpHostListAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostListAssociationsOK, error) DhcpHostRead(params *DhcpHostReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostReadOK, error) DhcpHostUpdate(params *DhcpHostUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DhcpHostUpdateCreated, 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 host API client.
type DhcpHostListAssociationsOK ¶
type DhcpHostListAssociationsOK struct {
Payload *models.IpamsvcHostAssociationsResponse
}
DhcpHostListAssociationsOK describes a response with status code 200, with default header values.
GET operation response
func NewDhcpHostListAssociationsOK ¶
func NewDhcpHostListAssociationsOK() *DhcpHostListAssociationsOK
NewDhcpHostListAssociationsOK creates a DhcpHostListAssociationsOK with default headers values
func (*DhcpHostListAssociationsOK) Error ¶
func (o *DhcpHostListAssociationsOK) Error() string
func (*DhcpHostListAssociationsOK) GetPayload ¶
func (o *DhcpHostListAssociationsOK) GetPayload() *models.IpamsvcHostAssociationsResponse
type DhcpHostListAssociationsParams ¶
type DhcpHostListAssociationsParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DhcpHostListAssociationsParams contains all the parameters to send to the API endpoint
for the dhcp host list associations operation. Typically these are written to a http.Request.
func NewDhcpHostListAssociationsParams ¶
func NewDhcpHostListAssociationsParams() *DhcpHostListAssociationsParams
NewDhcpHostListAssociationsParams creates a new DhcpHostListAssociationsParams 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 NewDhcpHostListAssociationsParamsWithContext ¶
func NewDhcpHostListAssociationsParamsWithContext(ctx context.Context) *DhcpHostListAssociationsParams
NewDhcpHostListAssociationsParamsWithContext creates a new DhcpHostListAssociationsParams object with the ability to set a context for a request.
func NewDhcpHostListAssociationsParamsWithHTTPClient ¶
func NewDhcpHostListAssociationsParamsWithHTTPClient(client *http.Client) *DhcpHostListAssociationsParams
NewDhcpHostListAssociationsParamsWithHTTPClient creates a new DhcpHostListAssociationsParams object with the ability to set a custom HTTPClient for a request.
func NewDhcpHostListAssociationsParamsWithTimeout ¶
func NewDhcpHostListAssociationsParamsWithTimeout(timeout time.Duration) *DhcpHostListAssociationsParams
NewDhcpHostListAssociationsParamsWithTimeout creates a new DhcpHostListAssociationsParams object with the ability to set a timeout on a request.
func (*DhcpHostListAssociationsParams) SetContext ¶
func (o *DhcpHostListAssociationsParams) SetContext(ctx context.Context)
SetContext adds the context to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) SetDefaults ¶
func (o *DhcpHostListAssociationsParams) SetDefaults()
SetDefaults hydrates default values in the dhcp host list associations params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostListAssociationsParams) SetHTTPClient ¶
func (o *DhcpHostListAssociationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) SetID ¶
func (o *DhcpHostListAssociationsParams) SetID(id string)
SetID adds the id to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) SetTimeout ¶
func (o *DhcpHostListAssociationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) WithContext ¶
func (o *DhcpHostListAssociationsParams) WithContext(ctx context.Context) *DhcpHostListAssociationsParams
WithContext adds the context to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) WithDefaults ¶
func (o *DhcpHostListAssociationsParams) WithDefaults() *DhcpHostListAssociationsParams
WithDefaults hydrates default values in the dhcp host list associations params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostListAssociationsParams) WithHTTPClient ¶
func (o *DhcpHostListAssociationsParams) WithHTTPClient(client *http.Client) *DhcpHostListAssociationsParams
WithHTTPClient adds the HTTPClient to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) WithID ¶
func (o *DhcpHostListAssociationsParams) WithID(id string) *DhcpHostListAssociationsParams
WithID adds the id to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) WithTimeout ¶
func (o *DhcpHostListAssociationsParams) WithTimeout(timeout time.Duration) *DhcpHostListAssociationsParams
WithTimeout adds the timeout to the dhcp host list associations params
func (*DhcpHostListAssociationsParams) WriteToRequest ¶
func (o *DhcpHostListAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DhcpHostListAssociationsReader ¶
type DhcpHostListAssociationsReader struct {
// contains filtered or unexported fields
}
DhcpHostListAssociationsReader is a Reader for the DhcpHostListAssociations structure.
func (*DhcpHostListAssociationsReader) ReadResponse ¶
func (o *DhcpHostListAssociationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DhcpHostListOK ¶
type DhcpHostListOK struct {
Payload *models.IpamsvcListHostResponse
}
DhcpHostListOK describes a response with status code 200, with default header values.
GET operation response
func NewDhcpHostListOK ¶
func NewDhcpHostListOK() *DhcpHostListOK
NewDhcpHostListOK creates a DhcpHostListOK with default headers values
func (*DhcpHostListOK) Error ¶
func (o *DhcpHostListOK) Error() string
func (*DhcpHostListOK) GetPayload ¶
func (o *DhcpHostListOK) GetPayload() *models.IpamsvcListHostResponse
type DhcpHostListParams ¶
type DhcpHostListParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string /* Filter. A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op | Description | | -- | ----------- | | == | Equal | | != | Not Equal | | > | Greater Than | | >= | Greater Than or Equal To | | < | Less Than | | <= | Less Than or Equal To | | and | Logical AND | | ~ | Matches Regex | | !~ | Does Not Match Regex | | or | Logical OR | | not | Logical NOT | | () | Groupping Operators | */ Filter *string /* Limit. The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value. */ Limit *int64 /* Offset. The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'. */ Offset *int64 /* OrderBy. A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.) Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order. */ OrderBy *string /* PageToken. The service-defined string used to identify a page of resources. A null value indicates the first page. */ PageToken *string /* Tfilter. This parameter is used for filtering by tags. */ Tfilter *string /* TorderBy. This parameter is used for sorting by tags. */ TorderBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DhcpHostListParams contains all the parameters to send to the API endpoint
for the dhcp host list operation. Typically these are written to a http.Request.
func NewDhcpHostListParams ¶
func NewDhcpHostListParams() *DhcpHostListParams
NewDhcpHostListParams creates a new DhcpHostListParams 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 NewDhcpHostListParamsWithContext ¶
func NewDhcpHostListParamsWithContext(ctx context.Context) *DhcpHostListParams
NewDhcpHostListParamsWithContext creates a new DhcpHostListParams object with the ability to set a context for a request.
func NewDhcpHostListParamsWithHTTPClient ¶
func NewDhcpHostListParamsWithHTTPClient(client *http.Client) *DhcpHostListParams
NewDhcpHostListParamsWithHTTPClient creates a new DhcpHostListParams object with the ability to set a custom HTTPClient for a request.
func NewDhcpHostListParamsWithTimeout ¶
func NewDhcpHostListParamsWithTimeout(timeout time.Duration) *DhcpHostListParams
NewDhcpHostListParamsWithTimeout creates a new DhcpHostListParams object with the ability to set a timeout on a request.
func (*DhcpHostListParams) SetContext ¶
func (o *DhcpHostListParams) SetContext(ctx context.Context)
SetContext adds the context to the dhcp host list params
func (*DhcpHostListParams) SetDefaults ¶
func (o *DhcpHostListParams) SetDefaults()
SetDefaults hydrates default values in the dhcp host list params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostListParams) SetFields ¶
func (o *DhcpHostListParams) SetFields(fields *string)
SetFields adds the fields to the dhcp host list params
func (*DhcpHostListParams) SetFilter ¶
func (o *DhcpHostListParams) SetFilter(filter *string)
SetFilter adds the filter to the dhcp host list params
func (*DhcpHostListParams) SetHTTPClient ¶
func (o *DhcpHostListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dhcp host list params
func (*DhcpHostListParams) SetLimit ¶
func (o *DhcpHostListParams) SetLimit(limit *int64)
SetLimit adds the limit to the dhcp host list params
func (*DhcpHostListParams) SetOffset ¶
func (o *DhcpHostListParams) SetOffset(offset *int64)
SetOffset adds the offset to the dhcp host list params
func (*DhcpHostListParams) SetOrderBy ¶
func (o *DhcpHostListParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the dhcp host list params
func (*DhcpHostListParams) SetPageToken ¶
func (o *DhcpHostListParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the dhcp host list params
func (*DhcpHostListParams) SetTfilter ¶
func (o *DhcpHostListParams) SetTfilter(tfilter *string)
SetTfilter adds the tfilter to the dhcp host list params
func (*DhcpHostListParams) SetTimeout ¶
func (o *DhcpHostListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dhcp host list params
func (*DhcpHostListParams) SetTorderBy ¶
func (o *DhcpHostListParams) SetTorderBy(torderBy *string)
SetTorderBy adds the torderBy to the dhcp host list params
func (*DhcpHostListParams) WithContext ¶
func (o *DhcpHostListParams) WithContext(ctx context.Context) *DhcpHostListParams
WithContext adds the context to the dhcp host list params
func (*DhcpHostListParams) WithDefaults ¶
func (o *DhcpHostListParams) WithDefaults() *DhcpHostListParams
WithDefaults hydrates default values in the dhcp host list params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostListParams) WithFields ¶
func (o *DhcpHostListParams) WithFields(fields *string) *DhcpHostListParams
WithFields adds the fields to the dhcp host list params
func (*DhcpHostListParams) WithFilter ¶
func (o *DhcpHostListParams) WithFilter(filter *string) *DhcpHostListParams
WithFilter adds the filter to the dhcp host list params
func (*DhcpHostListParams) WithHTTPClient ¶
func (o *DhcpHostListParams) WithHTTPClient(client *http.Client) *DhcpHostListParams
WithHTTPClient adds the HTTPClient to the dhcp host list params
func (*DhcpHostListParams) WithLimit ¶
func (o *DhcpHostListParams) WithLimit(limit *int64) *DhcpHostListParams
WithLimit adds the limit to the dhcp host list params
func (*DhcpHostListParams) WithOffset ¶
func (o *DhcpHostListParams) WithOffset(offset *int64) *DhcpHostListParams
WithOffset adds the offset to the dhcp host list params
func (*DhcpHostListParams) WithOrderBy ¶
func (o *DhcpHostListParams) WithOrderBy(orderBy *string) *DhcpHostListParams
WithOrderBy adds the orderBy to the dhcp host list params
func (*DhcpHostListParams) WithPageToken ¶
func (o *DhcpHostListParams) WithPageToken(pageToken *string) *DhcpHostListParams
WithPageToken adds the pageToken to the dhcp host list params
func (*DhcpHostListParams) WithTfilter ¶
func (o *DhcpHostListParams) WithTfilter(tfilter *string) *DhcpHostListParams
WithTfilter adds the tfilter to the dhcp host list params
func (*DhcpHostListParams) WithTimeout ¶
func (o *DhcpHostListParams) WithTimeout(timeout time.Duration) *DhcpHostListParams
WithTimeout adds the timeout to the dhcp host list params
func (*DhcpHostListParams) WithTorderBy ¶
func (o *DhcpHostListParams) WithTorderBy(torderBy *string) *DhcpHostListParams
WithTorderBy adds the torderBy to the dhcp host list params
func (*DhcpHostListParams) WriteToRequest ¶
func (o *DhcpHostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DhcpHostListReader ¶
type DhcpHostListReader struct {
// contains filtered or unexported fields
}
DhcpHostListReader is a Reader for the DhcpHostList structure.
func (*DhcpHostListReader) ReadResponse ¶
func (o *DhcpHostListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DhcpHostReadOK ¶
type DhcpHostReadOK struct {
Payload *models.IpamsvcReadHostResponse
}
DhcpHostReadOK describes a response with status code 200, with default header values.
GET operation response
func NewDhcpHostReadOK ¶
func NewDhcpHostReadOK() *DhcpHostReadOK
NewDhcpHostReadOK creates a DhcpHostReadOK with default headers values
func (*DhcpHostReadOK) Error ¶
func (o *DhcpHostReadOK) Error() string
func (*DhcpHostReadOK) GetPayload ¶
func (o *DhcpHostReadOK) GetPayload() *models.IpamsvcReadHostResponse
type DhcpHostReadParams ¶
type DhcpHostReadParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DhcpHostReadParams contains all the parameters to send to the API endpoint
for the dhcp host read operation. Typically these are written to a http.Request.
func NewDhcpHostReadParams ¶
func NewDhcpHostReadParams() *DhcpHostReadParams
NewDhcpHostReadParams creates a new DhcpHostReadParams 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 NewDhcpHostReadParamsWithContext ¶
func NewDhcpHostReadParamsWithContext(ctx context.Context) *DhcpHostReadParams
NewDhcpHostReadParamsWithContext creates a new DhcpHostReadParams object with the ability to set a context for a request.
func NewDhcpHostReadParamsWithHTTPClient ¶
func NewDhcpHostReadParamsWithHTTPClient(client *http.Client) *DhcpHostReadParams
NewDhcpHostReadParamsWithHTTPClient creates a new DhcpHostReadParams object with the ability to set a custom HTTPClient for a request.
func NewDhcpHostReadParamsWithTimeout ¶
func NewDhcpHostReadParamsWithTimeout(timeout time.Duration) *DhcpHostReadParams
NewDhcpHostReadParamsWithTimeout creates a new DhcpHostReadParams object with the ability to set a timeout on a request.
func (*DhcpHostReadParams) SetContext ¶
func (o *DhcpHostReadParams) SetContext(ctx context.Context)
SetContext adds the context to the dhcp host read params
func (*DhcpHostReadParams) SetDefaults ¶
func (o *DhcpHostReadParams) SetDefaults()
SetDefaults hydrates default values in the dhcp host read params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostReadParams) SetFields ¶
func (o *DhcpHostReadParams) SetFields(fields *string)
SetFields adds the fields to the dhcp host read params
func (*DhcpHostReadParams) SetHTTPClient ¶
func (o *DhcpHostReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dhcp host read params
func (*DhcpHostReadParams) SetID ¶
func (o *DhcpHostReadParams) SetID(id string)
SetID adds the id to the dhcp host read params
func (*DhcpHostReadParams) SetTimeout ¶
func (o *DhcpHostReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dhcp host read params
func (*DhcpHostReadParams) WithContext ¶
func (o *DhcpHostReadParams) WithContext(ctx context.Context) *DhcpHostReadParams
WithContext adds the context to the dhcp host read params
func (*DhcpHostReadParams) WithDefaults ¶
func (o *DhcpHostReadParams) WithDefaults() *DhcpHostReadParams
WithDefaults hydrates default values in the dhcp host read params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostReadParams) WithFields ¶
func (o *DhcpHostReadParams) WithFields(fields *string) *DhcpHostReadParams
WithFields adds the fields to the dhcp host read params
func (*DhcpHostReadParams) WithHTTPClient ¶
func (o *DhcpHostReadParams) WithHTTPClient(client *http.Client) *DhcpHostReadParams
WithHTTPClient adds the HTTPClient to the dhcp host read params
func (*DhcpHostReadParams) WithID ¶
func (o *DhcpHostReadParams) WithID(id string) *DhcpHostReadParams
WithID adds the id to the dhcp host read params
func (*DhcpHostReadParams) WithTimeout ¶
func (o *DhcpHostReadParams) WithTimeout(timeout time.Duration) *DhcpHostReadParams
WithTimeout adds the timeout to the dhcp host read params
func (*DhcpHostReadParams) WriteToRequest ¶
func (o *DhcpHostReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DhcpHostReadReader ¶
type DhcpHostReadReader struct {
// contains filtered or unexported fields
}
DhcpHostReadReader is a Reader for the DhcpHostRead structure.
func (*DhcpHostReadReader) ReadResponse ¶
func (o *DhcpHostReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DhcpHostUpdateCreated ¶
type DhcpHostUpdateCreated struct {
Payload *models.IpamsvcUpdateHostResponse
}
DhcpHostUpdateCreated describes a response with status code 201, with default header values.
PATCH operation response
func NewDhcpHostUpdateCreated ¶
func NewDhcpHostUpdateCreated() *DhcpHostUpdateCreated
NewDhcpHostUpdateCreated creates a DhcpHostUpdateCreated with default headers values
func (*DhcpHostUpdateCreated) Error ¶
func (o *DhcpHostUpdateCreated) Error() string
func (*DhcpHostUpdateCreated) GetPayload ¶
func (o *DhcpHostUpdateCreated) GetPayload() *models.IpamsvcUpdateHostResponse
type DhcpHostUpdateParams ¶
type DhcpHostUpdateParams struct { // Body. Body *models.IpamsvcHost /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DhcpHostUpdateParams contains all the parameters to send to the API endpoint
for the dhcp host update operation. Typically these are written to a http.Request.
func NewDhcpHostUpdateParams ¶
func NewDhcpHostUpdateParams() *DhcpHostUpdateParams
NewDhcpHostUpdateParams creates a new DhcpHostUpdateParams 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 NewDhcpHostUpdateParamsWithContext ¶
func NewDhcpHostUpdateParamsWithContext(ctx context.Context) *DhcpHostUpdateParams
NewDhcpHostUpdateParamsWithContext creates a new DhcpHostUpdateParams object with the ability to set a context for a request.
func NewDhcpHostUpdateParamsWithHTTPClient ¶
func NewDhcpHostUpdateParamsWithHTTPClient(client *http.Client) *DhcpHostUpdateParams
NewDhcpHostUpdateParamsWithHTTPClient creates a new DhcpHostUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewDhcpHostUpdateParamsWithTimeout ¶
func NewDhcpHostUpdateParamsWithTimeout(timeout time.Duration) *DhcpHostUpdateParams
NewDhcpHostUpdateParamsWithTimeout creates a new DhcpHostUpdateParams object with the ability to set a timeout on a request.
func (*DhcpHostUpdateParams) SetBody ¶
func (o *DhcpHostUpdateParams) SetBody(body *models.IpamsvcHost)
SetBody adds the body to the dhcp host update params
func (*DhcpHostUpdateParams) SetContext ¶
func (o *DhcpHostUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the dhcp host update params
func (*DhcpHostUpdateParams) SetDefaults ¶
func (o *DhcpHostUpdateParams) SetDefaults()
SetDefaults hydrates default values in the dhcp host update params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostUpdateParams) SetHTTPClient ¶
func (o *DhcpHostUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dhcp host update params
func (*DhcpHostUpdateParams) SetID ¶
func (o *DhcpHostUpdateParams) SetID(id string)
SetID adds the id to the dhcp host update params
func (*DhcpHostUpdateParams) SetTimeout ¶
func (o *DhcpHostUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dhcp host update params
func (*DhcpHostUpdateParams) WithBody ¶
func (o *DhcpHostUpdateParams) WithBody(body *models.IpamsvcHost) *DhcpHostUpdateParams
WithBody adds the body to the dhcp host update params
func (*DhcpHostUpdateParams) WithContext ¶
func (o *DhcpHostUpdateParams) WithContext(ctx context.Context) *DhcpHostUpdateParams
WithContext adds the context to the dhcp host update params
func (*DhcpHostUpdateParams) WithDefaults ¶
func (o *DhcpHostUpdateParams) WithDefaults() *DhcpHostUpdateParams
WithDefaults hydrates default values in the dhcp host update params (not the query body).
All values with no default are reset to their zero value.
func (*DhcpHostUpdateParams) WithHTTPClient ¶
func (o *DhcpHostUpdateParams) WithHTTPClient(client *http.Client) *DhcpHostUpdateParams
WithHTTPClient adds the HTTPClient to the dhcp host update params
func (*DhcpHostUpdateParams) WithID ¶
func (o *DhcpHostUpdateParams) WithID(id string) *DhcpHostUpdateParams
WithID adds the id to the dhcp host update params
func (*DhcpHostUpdateParams) WithTimeout ¶
func (o *DhcpHostUpdateParams) WithTimeout(timeout time.Duration) *DhcpHostUpdateParams
WithTimeout adds the timeout to the dhcp host update params
func (*DhcpHostUpdateParams) WriteToRequest ¶
func (o *DhcpHostUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DhcpHostUpdateReader ¶
type DhcpHostUpdateReader struct {
// contains filtered or unexported fields
}
DhcpHostUpdateReader is a Reader for the DhcpHostUpdate structure.
func (*DhcpHostUpdateReader) ReadResponse ¶
func (o *DhcpHostUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.