Documentation ¶
Index ¶
- type Client
- func (a *Client) PcloudDhcpDelete(params *PcloudDhcpDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpDeleteAccepted, error)
- func (a *Client) PcloudDhcpGet(params *PcloudDhcpGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpGetOK, error)
- func (a *Client) PcloudDhcpGetall(params *PcloudDhcpGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpGetallOK, error)
- func (a *Client) PcloudDhcpPost(params *PcloudDhcpPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpPostAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PcloudDhcpDeleteAccepted
- type PcloudDhcpDeleteBadRequest
- type PcloudDhcpDeleteForbidden
- type PcloudDhcpDeleteInternalServerError
- type PcloudDhcpDeleteNotFound
- type PcloudDhcpDeleteParams
- func NewPcloudDhcpDeleteParams() *PcloudDhcpDeleteParams
- func NewPcloudDhcpDeleteParamsWithContext(ctx context.Context) *PcloudDhcpDeleteParams
- func NewPcloudDhcpDeleteParamsWithHTTPClient(client *http.Client) *PcloudDhcpDeleteParams
- func NewPcloudDhcpDeleteParamsWithTimeout(timeout time.Duration) *PcloudDhcpDeleteParams
- func (o *PcloudDhcpDeleteParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudDhcpDeleteParams) SetContext(ctx context.Context)
- func (o *PcloudDhcpDeleteParams) SetDhcpID(dhcpID string)
- func (o *PcloudDhcpDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PcloudDhcpDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PcloudDhcpDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpDeleteParams
- func (o *PcloudDhcpDeleteParams) WithContext(ctx context.Context) *PcloudDhcpDeleteParams
- func (o *PcloudDhcpDeleteParams) WithDhcpID(dhcpID string) *PcloudDhcpDeleteParams
- func (o *PcloudDhcpDeleteParams) WithHTTPClient(client *http.Client) *PcloudDhcpDeleteParams
- func (o *PcloudDhcpDeleteParams) WithTimeout(timeout time.Duration) *PcloudDhcpDeleteParams
- func (o *PcloudDhcpDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudDhcpDeleteReader
- type PcloudDhcpGetBadRequest
- type PcloudDhcpGetForbidden
- type PcloudDhcpGetInternalServerError
- type PcloudDhcpGetNotFound
- type PcloudDhcpGetOK
- type PcloudDhcpGetParams
- func (o *PcloudDhcpGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudDhcpGetParams) SetContext(ctx context.Context)
- func (o *PcloudDhcpGetParams) SetDhcpID(dhcpID string)
- func (o *PcloudDhcpGetParams) SetHTTPClient(client *http.Client)
- func (o *PcloudDhcpGetParams) SetTimeout(timeout time.Duration)
- func (o *PcloudDhcpGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpGetParams
- func (o *PcloudDhcpGetParams) WithContext(ctx context.Context) *PcloudDhcpGetParams
- func (o *PcloudDhcpGetParams) WithDhcpID(dhcpID string) *PcloudDhcpGetParams
- func (o *PcloudDhcpGetParams) WithHTTPClient(client *http.Client) *PcloudDhcpGetParams
- func (o *PcloudDhcpGetParams) WithTimeout(timeout time.Duration) *PcloudDhcpGetParams
- func (o *PcloudDhcpGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudDhcpGetReader
- type PcloudDhcpGetallForbidden
- type PcloudDhcpGetallInternalServerError
- type PcloudDhcpGetallOK
- type PcloudDhcpGetallParams
- func NewPcloudDhcpGetallParams() *PcloudDhcpGetallParams
- func NewPcloudDhcpGetallParamsWithContext(ctx context.Context) *PcloudDhcpGetallParams
- func NewPcloudDhcpGetallParamsWithHTTPClient(client *http.Client) *PcloudDhcpGetallParams
- func NewPcloudDhcpGetallParamsWithTimeout(timeout time.Duration) *PcloudDhcpGetallParams
- func (o *PcloudDhcpGetallParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudDhcpGetallParams) SetContext(ctx context.Context)
- func (o *PcloudDhcpGetallParams) SetHTTPClient(client *http.Client)
- func (o *PcloudDhcpGetallParams) SetTimeout(timeout time.Duration)
- func (o *PcloudDhcpGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpGetallParams
- func (o *PcloudDhcpGetallParams) WithContext(ctx context.Context) *PcloudDhcpGetallParams
- func (o *PcloudDhcpGetallParams) WithHTTPClient(client *http.Client) *PcloudDhcpGetallParams
- func (o *PcloudDhcpGetallParams) WithTimeout(timeout time.Duration) *PcloudDhcpGetallParams
- func (o *PcloudDhcpGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudDhcpGetallReader
- type PcloudDhcpPostAccepted
- type PcloudDhcpPostBadRequest
- type PcloudDhcpPostForbidden
- type PcloudDhcpPostInternalServerError
- type PcloudDhcpPostParams
- func NewPcloudDhcpPostParams() *PcloudDhcpPostParams
- func NewPcloudDhcpPostParamsWithContext(ctx context.Context) *PcloudDhcpPostParams
- func NewPcloudDhcpPostParamsWithHTTPClient(client *http.Client) *PcloudDhcpPostParams
- func NewPcloudDhcpPostParamsWithTimeout(timeout time.Duration) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudDhcpPostParams) SetContext(ctx context.Context)
- func (o *PcloudDhcpPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudDhcpPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudDhcpPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) WithContext(ctx context.Context) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) WithHTTPClient(client *http.Client) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) WithTimeout(timeout time.Duration) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PcloudDhcpPostReader
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 p cloud service d h c p API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new p cloud service d h c p API client.
func (*Client) PcloudDhcpDelete ¶
func (a *Client) PcloudDhcpDelete(params *PcloudDhcpDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpDeleteAccepted, error)
PcloudDhcpDelete deletes d h c p server open shift internal use only
func (*Client) PcloudDhcpGet ¶
func (a *Client) PcloudDhcpGet(params *PcloudDhcpGetParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpGetOK, error)
PcloudDhcpGet gets d h c p server information open shift internal use only
func (*Client) PcloudDhcpGetall ¶
func (a *Client) PcloudDhcpGetall(params *PcloudDhcpGetallParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpGetallOK, error)
PcloudDhcpGetall gets all d h c p servers information open shift internal use only
func (*Client) PcloudDhcpPost ¶
func (a *Client) PcloudDhcpPost(params *PcloudDhcpPostParams, authInfo runtime.ClientAuthInfoWriter) (*PcloudDhcpPostAccepted, error)
PcloudDhcpPost creates a d h c p server open shift internal use only
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PcloudDhcpDeleteAccepted ¶
PcloudDhcpDeleteAccepted handles this case with default header values.
OK
func NewPcloudDhcpDeleteAccepted ¶
func NewPcloudDhcpDeleteAccepted() *PcloudDhcpDeleteAccepted
NewPcloudDhcpDeleteAccepted creates a PcloudDhcpDeleteAccepted with default headers values
func (*PcloudDhcpDeleteAccepted) Error ¶
func (o *PcloudDhcpDeleteAccepted) Error() string
type PcloudDhcpDeleteBadRequest ¶
PcloudDhcpDeleteBadRequest handles this case with default header values.
Bad Request
func NewPcloudDhcpDeleteBadRequest ¶
func NewPcloudDhcpDeleteBadRequest() *PcloudDhcpDeleteBadRequest
NewPcloudDhcpDeleteBadRequest creates a PcloudDhcpDeleteBadRequest with default headers values
func (*PcloudDhcpDeleteBadRequest) Error ¶
func (o *PcloudDhcpDeleteBadRequest) Error() string
type PcloudDhcpDeleteForbidden ¶
PcloudDhcpDeleteForbidden handles this case with default header values.
Forbidden
func NewPcloudDhcpDeleteForbidden ¶
func NewPcloudDhcpDeleteForbidden() *PcloudDhcpDeleteForbidden
NewPcloudDhcpDeleteForbidden creates a PcloudDhcpDeleteForbidden with default headers values
func (*PcloudDhcpDeleteForbidden) Error ¶
func (o *PcloudDhcpDeleteForbidden) Error() string
type PcloudDhcpDeleteInternalServerError ¶
PcloudDhcpDeleteInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudDhcpDeleteInternalServerError ¶
func NewPcloudDhcpDeleteInternalServerError() *PcloudDhcpDeleteInternalServerError
NewPcloudDhcpDeleteInternalServerError creates a PcloudDhcpDeleteInternalServerError with default headers values
func (*PcloudDhcpDeleteInternalServerError) Error ¶
func (o *PcloudDhcpDeleteInternalServerError) Error() string
type PcloudDhcpDeleteNotFound ¶
PcloudDhcpDeleteNotFound handles this case with default header values.
Not Found
func NewPcloudDhcpDeleteNotFound ¶
func NewPcloudDhcpDeleteNotFound() *PcloudDhcpDeleteNotFound
NewPcloudDhcpDeleteNotFound creates a PcloudDhcpDeleteNotFound with default headers values
func (*PcloudDhcpDeleteNotFound) Error ¶
func (o *PcloudDhcpDeleteNotFound) Error() string
type PcloudDhcpDeleteParams ¶
type PcloudDhcpDeleteParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*DhcpID The ID of the DHCP Server */ DhcpID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudDhcpDeleteParams contains all the parameters to send to the API endpoint for the pcloud dhcp delete operation typically these are written to a http.Request
func NewPcloudDhcpDeleteParams ¶
func NewPcloudDhcpDeleteParams() *PcloudDhcpDeleteParams
NewPcloudDhcpDeleteParams creates a new PcloudDhcpDeleteParams object with the default values initialized.
func NewPcloudDhcpDeleteParamsWithContext ¶
func NewPcloudDhcpDeleteParamsWithContext(ctx context.Context) *PcloudDhcpDeleteParams
NewPcloudDhcpDeleteParamsWithContext creates a new PcloudDhcpDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudDhcpDeleteParamsWithHTTPClient ¶
func NewPcloudDhcpDeleteParamsWithHTTPClient(client *http.Client) *PcloudDhcpDeleteParams
NewPcloudDhcpDeleteParamsWithHTTPClient creates a new PcloudDhcpDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudDhcpDeleteParamsWithTimeout ¶
func NewPcloudDhcpDeleteParamsWithTimeout(timeout time.Duration) *PcloudDhcpDeleteParams
NewPcloudDhcpDeleteParamsWithTimeout creates a new PcloudDhcpDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudDhcpDeleteParams) SetCloudInstanceID ¶
func (o *PcloudDhcpDeleteParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) SetContext ¶
func (o *PcloudDhcpDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) SetDhcpID ¶
func (o *PcloudDhcpDeleteParams) SetDhcpID(dhcpID string)
SetDhcpID adds the dhcpId to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) SetHTTPClient ¶
func (o *PcloudDhcpDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) SetTimeout ¶
func (o *PcloudDhcpDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) WithCloudInstanceID ¶
func (o *PcloudDhcpDeleteParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpDeleteParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) WithContext ¶
func (o *PcloudDhcpDeleteParams) WithContext(ctx context.Context) *PcloudDhcpDeleteParams
WithContext adds the context to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) WithDhcpID ¶
func (o *PcloudDhcpDeleteParams) WithDhcpID(dhcpID string) *PcloudDhcpDeleteParams
WithDhcpID adds the dhcpID to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) WithHTTPClient ¶
func (o *PcloudDhcpDeleteParams) WithHTTPClient(client *http.Client) *PcloudDhcpDeleteParams
WithHTTPClient adds the HTTPClient to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) WithTimeout ¶
func (o *PcloudDhcpDeleteParams) WithTimeout(timeout time.Duration) *PcloudDhcpDeleteParams
WithTimeout adds the timeout to the pcloud dhcp delete params
func (*PcloudDhcpDeleteParams) WriteToRequest ¶
func (o *PcloudDhcpDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudDhcpDeleteReader ¶
type PcloudDhcpDeleteReader struct {
// contains filtered or unexported fields
}
PcloudDhcpDeleteReader is a Reader for the PcloudDhcpDelete structure.
func (*PcloudDhcpDeleteReader) ReadResponse ¶
func (o *PcloudDhcpDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudDhcpGetBadRequest ¶
PcloudDhcpGetBadRequest handles this case with default header values.
Bad Request
func NewPcloudDhcpGetBadRequest ¶
func NewPcloudDhcpGetBadRequest() *PcloudDhcpGetBadRequest
NewPcloudDhcpGetBadRequest creates a PcloudDhcpGetBadRequest with default headers values
func (*PcloudDhcpGetBadRequest) Error ¶
func (o *PcloudDhcpGetBadRequest) Error() string
type PcloudDhcpGetForbidden ¶
PcloudDhcpGetForbidden handles this case with default header values.
Forbidden
func NewPcloudDhcpGetForbidden ¶
func NewPcloudDhcpGetForbidden() *PcloudDhcpGetForbidden
NewPcloudDhcpGetForbidden creates a PcloudDhcpGetForbidden with default headers values
func (*PcloudDhcpGetForbidden) Error ¶
func (o *PcloudDhcpGetForbidden) Error() string
type PcloudDhcpGetInternalServerError ¶
PcloudDhcpGetInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudDhcpGetInternalServerError ¶
func NewPcloudDhcpGetInternalServerError() *PcloudDhcpGetInternalServerError
NewPcloudDhcpGetInternalServerError creates a PcloudDhcpGetInternalServerError with default headers values
func (*PcloudDhcpGetInternalServerError) Error ¶
func (o *PcloudDhcpGetInternalServerError) Error() string
type PcloudDhcpGetNotFound ¶
PcloudDhcpGetNotFound handles this case with default header values.
Not Found
func NewPcloudDhcpGetNotFound ¶
func NewPcloudDhcpGetNotFound() *PcloudDhcpGetNotFound
NewPcloudDhcpGetNotFound creates a PcloudDhcpGetNotFound with default headers values
func (*PcloudDhcpGetNotFound) Error ¶
func (o *PcloudDhcpGetNotFound) Error() string
type PcloudDhcpGetOK ¶
type PcloudDhcpGetOK struct {
Payload *models.DHCPServerDetail
}
PcloudDhcpGetOK handles this case with default header values.
OK
func NewPcloudDhcpGetOK ¶
func NewPcloudDhcpGetOK() *PcloudDhcpGetOK
NewPcloudDhcpGetOK creates a PcloudDhcpGetOK with default headers values
func (*PcloudDhcpGetOK) Error ¶
func (o *PcloudDhcpGetOK) Error() string
type PcloudDhcpGetParams ¶
type PcloudDhcpGetParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string /*DhcpID The ID of the DHCP Server */ DhcpID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudDhcpGetParams contains all the parameters to send to the API endpoint for the pcloud dhcp get operation typically these are written to a http.Request
func NewPcloudDhcpGetParams ¶
func NewPcloudDhcpGetParams() *PcloudDhcpGetParams
NewPcloudDhcpGetParams creates a new PcloudDhcpGetParams object with the default values initialized.
func NewPcloudDhcpGetParamsWithContext ¶
func NewPcloudDhcpGetParamsWithContext(ctx context.Context) *PcloudDhcpGetParams
NewPcloudDhcpGetParamsWithContext creates a new PcloudDhcpGetParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudDhcpGetParamsWithHTTPClient ¶
func NewPcloudDhcpGetParamsWithHTTPClient(client *http.Client) *PcloudDhcpGetParams
NewPcloudDhcpGetParamsWithHTTPClient creates a new PcloudDhcpGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudDhcpGetParamsWithTimeout ¶
func NewPcloudDhcpGetParamsWithTimeout(timeout time.Duration) *PcloudDhcpGetParams
NewPcloudDhcpGetParamsWithTimeout creates a new PcloudDhcpGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudDhcpGetParams) SetCloudInstanceID ¶
func (o *PcloudDhcpGetParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud dhcp get params
func (*PcloudDhcpGetParams) SetContext ¶
func (o *PcloudDhcpGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud dhcp get params
func (*PcloudDhcpGetParams) SetDhcpID ¶
func (o *PcloudDhcpGetParams) SetDhcpID(dhcpID string)
SetDhcpID adds the dhcpId to the pcloud dhcp get params
func (*PcloudDhcpGetParams) SetHTTPClient ¶
func (o *PcloudDhcpGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud dhcp get params
func (*PcloudDhcpGetParams) SetTimeout ¶
func (o *PcloudDhcpGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud dhcp get params
func (*PcloudDhcpGetParams) WithCloudInstanceID ¶
func (o *PcloudDhcpGetParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpGetParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud dhcp get params
func (*PcloudDhcpGetParams) WithContext ¶
func (o *PcloudDhcpGetParams) WithContext(ctx context.Context) *PcloudDhcpGetParams
WithContext adds the context to the pcloud dhcp get params
func (*PcloudDhcpGetParams) WithDhcpID ¶
func (o *PcloudDhcpGetParams) WithDhcpID(dhcpID string) *PcloudDhcpGetParams
WithDhcpID adds the dhcpID to the pcloud dhcp get params
func (*PcloudDhcpGetParams) WithHTTPClient ¶
func (o *PcloudDhcpGetParams) WithHTTPClient(client *http.Client) *PcloudDhcpGetParams
WithHTTPClient adds the HTTPClient to the pcloud dhcp get params
func (*PcloudDhcpGetParams) WithTimeout ¶
func (o *PcloudDhcpGetParams) WithTimeout(timeout time.Duration) *PcloudDhcpGetParams
WithTimeout adds the timeout to the pcloud dhcp get params
func (*PcloudDhcpGetParams) WriteToRequest ¶
func (o *PcloudDhcpGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudDhcpGetReader ¶
type PcloudDhcpGetReader struct {
// contains filtered or unexported fields
}
PcloudDhcpGetReader is a Reader for the PcloudDhcpGet structure.
func (*PcloudDhcpGetReader) ReadResponse ¶
func (o *PcloudDhcpGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudDhcpGetallForbidden ¶
PcloudDhcpGetallForbidden handles this case with default header values.
Forbidden
func NewPcloudDhcpGetallForbidden ¶
func NewPcloudDhcpGetallForbidden() *PcloudDhcpGetallForbidden
NewPcloudDhcpGetallForbidden creates a PcloudDhcpGetallForbidden with default headers values
func (*PcloudDhcpGetallForbidden) Error ¶
func (o *PcloudDhcpGetallForbidden) Error() string
type PcloudDhcpGetallInternalServerError ¶
PcloudDhcpGetallInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudDhcpGetallInternalServerError ¶
func NewPcloudDhcpGetallInternalServerError() *PcloudDhcpGetallInternalServerError
NewPcloudDhcpGetallInternalServerError creates a PcloudDhcpGetallInternalServerError with default headers values
func (*PcloudDhcpGetallInternalServerError) Error ¶
func (o *PcloudDhcpGetallInternalServerError) Error() string
type PcloudDhcpGetallOK ¶
type PcloudDhcpGetallOK struct {
Payload models.DHCPServers
}
PcloudDhcpGetallOK handles this case with default header values.
OK
func NewPcloudDhcpGetallOK ¶
func NewPcloudDhcpGetallOK() *PcloudDhcpGetallOK
NewPcloudDhcpGetallOK creates a PcloudDhcpGetallOK with default headers values
func (*PcloudDhcpGetallOK) Error ¶
func (o *PcloudDhcpGetallOK) Error() string
type PcloudDhcpGetallParams ¶
type PcloudDhcpGetallParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudDhcpGetallParams contains all the parameters to send to the API endpoint for the pcloud dhcp getall operation typically these are written to a http.Request
func NewPcloudDhcpGetallParams ¶
func NewPcloudDhcpGetallParams() *PcloudDhcpGetallParams
NewPcloudDhcpGetallParams creates a new PcloudDhcpGetallParams object with the default values initialized.
func NewPcloudDhcpGetallParamsWithContext ¶
func NewPcloudDhcpGetallParamsWithContext(ctx context.Context) *PcloudDhcpGetallParams
NewPcloudDhcpGetallParamsWithContext creates a new PcloudDhcpGetallParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudDhcpGetallParamsWithHTTPClient ¶
func NewPcloudDhcpGetallParamsWithHTTPClient(client *http.Client) *PcloudDhcpGetallParams
NewPcloudDhcpGetallParamsWithHTTPClient creates a new PcloudDhcpGetallParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudDhcpGetallParamsWithTimeout ¶
func NewPcloudDhcpGetallParamsWithTimeout(timeout time.Duration) *PcloudDhcpGetallParams
NewPcloudDhcpGetallParamsWithTimeout creates a new PcloudDhcpGetallParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudDhcpGetallParams) SetCloudInstanceID ¶
func (o *PcloudDhcpGetallParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) SetContext ¶
func (o *PcloudDhcpGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) SetHTTPClient ¶
func (o *PcloudDhcpGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) SetTimeout ¶
func (o *PcloudDhcpGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) WithCloudInstanceID ¶
func (o *PcloudDhcpGetallParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpGetallParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) WithContext ¶
func (o *PcloudDhcpGetallParams) WithContext(ctx context.Context) *PcloudDhcpGetallParams
WithContext adds the context to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) WithHTTPClient ¶
func (o *PcloudDhcpGetallParams) WithHTTPClient(client *http.Client) *PcloudDhcpGetallParams
WithHTTPClient adds the HTTPClient to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) WithTimeout ¶
func (o *PcloudDhcpGetallParams) WithTimeout(timeout time.Duration) *PcloudDhcpGetallParams
WithTimeout adds the timeout to the pcloud dhcp getall params
func (*PcloudDhcpGetallParams) WriteToRequest ¶
func (o *PcloudDhcpGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudDhcpGetallReader ¶
type PcloudDhcpGetallReader struct {
// contains filtered or unexported fields
}
PcloudDhcpGetallReader is a Reader for the PcloudDhcpGetall structure.
func (*PcloudDhcpGetallReader) ReadResponse ¶
func (o *PcloudDhcpGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PcloudDhcpPostAccepted ¶
type PcloudDhcpPostAccepted struct {
Payload *models.DHCPServer
}
PcloudDhcpPostAccepted handles this case with default header values.
OK
func NewPcloudDhcpPostAccepted ¶
func NewPcloudDhcpPostAccepted() *PcloudDhcpPostAccepted
NewPcloudDhcpPostAccepted creates a PcloudDhcpPostAccepted with default headers values
func (*PcloudDhcpPostAccepted) Error ¶
func (o *PcloudDhcpPostAccepted) Error() string
type PcloudDhcpPostBadRequest ¶
PcloudDhcpPostBadRequest handles this case with default header values.
Bad Request
func NewPcloudDhcpPostBadRequest ¶
func NewPcloudDhcpPostBadRequest() *PcloudDhcpPostBadRequest
NewPcloudDhcpPostBadRequest creates a PcloudDhcpPostBadRequest with default headers values
func (*PcloudDhcpPostBadRequest) Error ¶
func (o *PcloudDhcpPostBadRequest) Error() string
type PcloudDhcpPostForbidden ¶
PcloudDhcpPostForbidden handles this case with default header values.
Forbidden
func NewPcloudDhcpPostForbidden ¶
func NewPcloudDhcpPostForbidden() *PcloudDhcpPostForbidden
NewPcloudDhcpPostForbidden creates a PcloudDhcpPostForbidden with default headers values
func (*PcloudDhcpPostForbidden) Error ¶
func (o *PcloudDhcpPostForbidden) Error() string
type PcloudDhcpPostInternalServerError ¶
PcloudDhcpPostInternalServerError handles this case with default header values.
Internal Server Error
func NewPcloudDhcpPostInternalServerError ¶
func NewPcloudDhcpPostInternalServerError() *PcloudDhcpPostInternalServerError
NewPcloudDhcpPostInternalServerError creates a PcloudDhcpPostInternalServerError with default headers values
func (*PcloudDhcpPostInternalServerError) Error ¶
func (o *PcloudDhcpPostInternalServerError) Error() string
type PcloudDhcpPostParams ¶
type PcloudDhcpPostParams struct { /*CloudInstanceID Cloud Instance ID of a PCloud Instance */ CloudInstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PcloudDhcpPostParams contains all the parameters to send to the API endpoint for the pcloud dhcp post operation typically these are written to a http.Request
func NewPcloudDhcpPostParams ¶
func NewPcloudDhcpPostParams() *PcloudDhcpPostParams
NewPcloudDhcpPostParams creates a new PcloudDhcpPostParams object with the default values initialized.
func NewPcloudDhcpPostParamsWithContext ¶
func NewPcloudDhcpPostParamsWithContext(ctx context.Context) *PcloudDhcpPostParams
NewPcloudDhcpPostParamsWithContext creates a new PcloudDhcpPostParams object with the default values initialized, and the ability to set a context for a request
func NewPcloudDhcpPostParamsWithHTTPClient ¶
func NewPcloudDhcpPostParamsWithHTTPClient(client *http.Client) *PcloudDhcpPostParams
NewPcloudDhcpPostParamsWithHTTPClient creates a new PcloudDhcpPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPcloudDhcpPostParamsWithTimeout ¶
func NewPcloudDhcpPostParamsWithTimeout(timeout time.Duration) *PcloudDhcpPostParams
NewPcloudDhcpPostParamsWithTimeout creates a new PcloudDhcpPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PcloudDhcpPostParams) SetCloudInstanceID ¶
func (o *PcloudDhcpPostParams) SetCloudInstanceID(cloudInstanceID string)
SetCloudInstanceID adds the cloudInstanceId to the pcloud dhcp post params
func (*PcloudDhcpPostParams) SetContext ¶
func (o *PcloudDhcpPostParams) SetContext(ctx context.Context)
SetContext adds the context to the pcloud dhcp post params
func (*PcloudDhcpPostParams) SetHTTPClient ¶
func (o *PcloudDhcpPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pcloud dhcp post params
func (*PcloudDhcpPostParams) SetTimeout ¶
func (o *PcloudDhcpPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pcloud dhcp post params
func (*PcloudDhcpPostParams) WithCloudInstanceID ¶
func (o *PcloudDhcpPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpPostParams
WithCloudInstanceID adds the cloudInstanceID to the pcloud dhcp post params
func (*PcloudDhcpPostParams) WithContext ¶
func (o *PcloudDhcpPostParams) WithContext(ctx context.Context) *PcloudDhcpPostParams
WithContext adds the context to the pcloud dhcp post params
func (*PcloudDhcpPostParams) WithHTTPClient ¶
func (o *PcloudDhcpPostParams) WithHTTPClient(client *http.Client) *PcloudDhcpPostParams
WithHTTPClient adds the HTTPClient to the pcloud dhcp post params
func (*PcloudDhcpPostParams) WithTimeout ¶
func (o *PcloudDhcpPostParams) WithTimeout(timeout time.Duration) *PcloudDhcpPostParams
WithTimeout adds the timeout to the pcloud dhcp post params
func (*PcloudDhcpPostParams) WriteToRequest ¶
func (o *PcloudDhcpPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PcloudDhcpPostReader ¶
type PcloudDhcpPostReader struct {
// contains filtered or unexported fields
}
PcloudDhcpPostReader is a Reader for the PcloudDhcpPost structure.
func (*PcloudDhcpPostReader) ReadResponse ¶
func (o *PcloudDhcpPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.