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 ClientOption
- type ClientService
- type PcloudDhcpDeleteAccepted
- func (o *PcloudDhcpDeleteAccepted) Code() int
- func (o *PcloudDhcpDeleteAccepted) Error() string
- func (o *PcloudDhcpDeleteAccepted) GetPayload() models.Object
- func (o *PcloudDhcpDeleteAccepted) IsClientError() bool
- func (o *PcloudDhcpDeleteAccepted) IsCode(code int) bool
- func (o *PcloudDhcpDeleteAccepted) IsRedirect() bool
- func (o *PcloudDhcpDeleteAccepted) IsServerError() bool
- func (o *PcloudDhcpDeleteAccepted) IsSuccess() bool
- func (o *PcloudDhcpDeleteAccepted) String() string
- type PcloudDhcpDeleteBadRequest
- func (o *PcloudDhcpDeleteBadRequest) Code() int
- func (o *PcloudDhcpDeleteBadRequest) Error() string
- func (o *PcloudDhcpDeleteBadRequest) GetPayload() *models.Error
- func (o *PcloudDhcpDeleteBadRequest) IsClientError() bool
- func (o *PcloudDhcpDeleteBadRequest) IsCode(code int) bool
- func (o *PcloudDhcpDeleteBadRequest) IsRedirect() bool
- func (o *PcloudDhcpDeleteBadRequest) IsServerError() bool
- func (o *PcloudDhcpDeleteBadRequest) IsSuccess() bool
- func (o *PcloudDhcpDeleteBadRequest) String() string
- type PcloudDhcpDeleteForbidden
- func (o *PcloudDhcpDeleteForbidden) Code() int
- func (o *PcloudDhcpDeleteForbidden) Error() string
- func (o *PcloudDhcpDeleteForbidden) GetPayload() *models.Error
- func (o *PcloudDhcpDeleteForbidden) IsClientError() bool
- func (o *PcloudDhcpDeleteForbidden) IsCode(code int) bool
- func (o *PcloudDhcpDeleteForbidden) IsRedirect() bool
- func (o *PcloudDhcpDeleteForbidden) IsServerError() bool
- func (o *PcloudDhcpDeleteForbidden) IsSuccess() bool
- func (o *PcloudDhcpDeleteForbidden) String() string
- type PcloudDhcpDeleteInternalServerError
- func (o *PcloudDhcpDeleteInternalServerError) Code() int
- func (o *PcloudDhcpDeleteInternalServerError) Error() string
- func (o *PcloudDhcpDeleteInternalServerError) GetPayload() *models.Error
- func (o *PcloudDhcpDeleteInternalServerError) IsClientError() bool
- func (o *PcloudDhcpDeleteInternalServerError) IsCode(code int) bool
- func (o *PcloudDhcpDeleteInternalServerError) IsRedirect() bool
- func (o *PcloudDhcpDeleteInternalServerError) IsServerError() bool
- func (o *PcloudDhcpDeleteInternalServerError) IsSuccess() bool
- func (o *PcloudDhcpDeleteInternalServerError) String() string
- type PcloudDhcpDeleteNotFound
- func (o *PcloudDhcpDeleteNotFound) Code() int
- func (o *PcloudDhcpDeleteNotFound) Error() string
- func (o *PcloudDhcpDeleteNotFound) GetPayload() *models.Error
- func (o *PcloudDhcpDeleteNotFound) IsClientError() bool
- func (o *PcloudDhcpDeleteNotFound) IsCode(code int) bool
- func (o *PcloudDhcpDeleteNotFound) IsRedirect() bool
- func (o *PcloudDhcpDeleteNotFound) IsServerError() bool
- func (o *PcloudDhcpDeleteNotFound) IsSuccess() bool
- func (o *PcloudDhcpDeleteNotFound) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PcloudDhcpGetBadRequest) Code() int
- func (o *PcloudDhcpGetBadRequest) Error() string
- func (o *PcloudDhcpGetBadRequest) GetPayload() *models.Error
- func (o *PcloudDhcpGetBadRequest) IsClientError() bool
- func (o *PcloudDhcpGetBadRequest) IsCode(code int) bool
- func (o *PcloudDhcpGetBadRequest) IsRedirect() bool
- func (o *PcloudDhcpGetBadRequest) IsServerError() bool
- func (o *PcloudDhcpGetBadRequest) IsSuccess() bool
- func (o *PcloudDhcpGetBadRequest) String() string
- type PcloudDhcpGetForbidden
- func (o *PcloudDhcpGetForbidden) Code() int
- func (o *PcloudDhcpGetForbidden) Error() string
- func (o *PcloudDhcpGetForbidden) GetPayload() *models.Error
- func (o *PcloudDhcpGetForbidden) IsClientError() bool
- func (o *PcloudDhcpGetForbidden) IsCode(code int) bool
- func (o *PcloudDhcpGetForbidden) IsRedirect() bool
- func (o *PcloudDhcpGetForbidden) IsServerError() bool
- func (o *PcloudDhcpGetForbidden) IsSuccess() bool
- func (o *PcloudDhcpGetForbidden) String() string
- type PcloudDhcpGetInternalServerError
- func (o *PcloudDhcpGetInternalServerError) Code() int
- func (o *PcloudDhcpGetInternalServerError) Error() string
- func (o *PcloudDhcpGetInternalServerError) GetPayload() *models.Error
- func (o *PcloudDhcpGetInternalServerError) IsClientError() bool
- func (o *PcloudDhcpGetInternalServerError) IsCode(code int) bool
- func (o *PcloudDhcpGetInternalServerError) IsRedirect() bool
- func (o *PcloudDhcpGetInternalServerError) IsServerError() bool
- func (o *PcloudDhcpGetInternalServerError) IsSuccess() bool
- func (o *PcloudDhcpGetInternalServerError) String() string
- type PcloudDhcpGetNotFound
- func (o *PcloudDhcpGetNotFound) Code() int
- func (o *PcloudDhcpGetNotFound) Error() string
- func (o *PcloudDhcpGetNotFound) GetPayload() *models.Error
- func (o *PcloudDhcpGetNotFound) IsClientError() bool
- func (o *PcloudDhcpGetNotFound) IsCode(code int) bool
- func (o *PcloudDhcpGetNotFound) IsRedirect() bool
- func (o *PcloudDhcpGetNotFound) IsServerError() bool
- func (o *PcloudDhcpGetNotFound) IsSuccess() bool
- func (o *PcloudDhcpGetNotFound) String() string
- type PcloudDhcpGetOK
- func (o *PcloudDhcpGetOK) Code() int
- func (o *PcloudDhcpGetOK) Error() string
- func (o *PcloudDhcpGetOK) GetPayload() *models.DHCPServerDetail
- func (o *PcloudDhcpGetOK) IsClientError() bool
- func (o *PcloudDhcpGetOK) IsCode(code int) bool
- func (o *PcloudDhcpGetOK) IsRedirect() bool
- func (o *PcloudDhcpGetOK) IsServerError() bool
- func (o *PcloudDhcpGetOK) IsSuccess() bool
- func (o *PcloudDhcpGetOK) String() string
- type PcloudDhcpGetParams
- func (o *PcloudDhcpGetParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudDhcpGetParams) SetContext(ctx context.Context)
- func (o *PcloudDhcpGetParams) SetDefaults()
- 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) WithDefaults() *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 PcloudDhcpGetUnauthorized
- func (o *PcloudDhcpGetUnauthorized) Code() int
- func (o *PcloudDhcpGetUnauthorized) Error() string
- func (o *PcloudDhcpGetUnauthorized) GetPayload() *models.Error
- func (o *PcloudDhcpGetUnauthorized) IsClientError() bool
- func (o *PcloudDhcpGetUnauthorized) IsCode(code int) bool
- func (o *PcloudDhcpGetUnauthorized) IsRedirect() bool
- func (o *PcloudDhcpGetUnauthorized) IsServerError() bool
- func (o *PcloudDhcpGetUnauthorized) IsSuccess() bool
- func (o *PcloudDhcpGetUnauthorized) String() string
- type PcloudDhcpGetallBadRequest
- func (o *PcloudDhcpGetallBadRequest) Code() int
- func (o *PcloudDhcpGetallBadRequest) Error() string
- func (o *PcloudDhcpGetallBadRequest) GetPayload() *models.Error
- func (o *PcloudDhcpGetallBadRequest) IsClientError() bool
- func (o *PcloudDhcpGetallBadRequest) IsCode(code int) bool
- func (o *PcloudDhcpGetallBadRequest) IsRedirect() bool
- func (o *PcloudDhcpGetallBadRequest) IsServerError() bool
- func (o *PcloudDhcpGetallBadRequest) IsSuccess() bool
- func (o *PcloudDhcpGetallBadRequest) String() string
- type PcloudDhcpGetallForbidden
- func (o *PcloudDhcpGetallForbidden) Code() int
- func (o *PcloudDhcpGetallForbidden) Error() string
- func (o *PcloudDhcpGetallForbidden) GetPayload() *models.Error
- func (o *PcloudDhcpGetallForbidden) IsClientError() bool
- func (o *PcloudDhcpGetallForbidden) IsCode(code int) bool
- func (o *PcloudDhcpGetallForbidden) IsRedirect() bool
- func (o *PcloudDhcpGetallForbidden) IsServerError() bool
- func (o *PcloudDhcpGetallForbidden) IsSuccess() bool
- func (o *PcloudDhcpGetallForbidden) String() string
- type PcloudDhcpGetallInternalServerError
- func (o *PcloudDhcpGetallInternalServerError) Code() int
- func (o *PcloudDhcpGetallInternalServerError) Error() string
- func (o *PcloudDhcpGetallInternalServerError) GetPayload() *models.Error
- func (o *PcloudDhcpGetallInternalServerError) IsClientError() bool
- func (o *PcloudDhcpGetallInternalServerError) IsCode(code int) bool
- func (o *PcloudDhcpGetallInternalServerError) IsRedirect() bool
- func (o *PcloudDhcpGetallInternalServerError) IsServerError() bool
- func (o *PcloudDhcpGetallInternalServerError) IsSuccess() bool
- func (o *PcloudDhcpGetallInternalServerError) String() string
- type PcloudDhcpGetallNotFound
- func (o *PcloudDhcpGetallNotFound) Code() int
- func (o *PcloudDhcpGetallNotFound) Error() string
- func (o *PcloudDhcpGetallNotFound) GetPayload() *models.Error
- func (o *PcloudDhcpGetallNotFound) IsClientError() bool
- func (o *PcloudDhcpGetallNotFound) IsCode(code int) bool
- func (o *PcloudDhcpGetallNotFound) IsRedirect() bool
- func (o *PcloudDhcpGetallNotFound) IsServerError() bool
- func (o *PcloudDhcpGetallNotFound) IsSuccess() bool
- func (o *PcloudDhcpGetallNotFound) String() string
- type PcloudDhcpGetallOK
- func (o *PcloudDhcpGetallOK) Code() int
- func (o *PcloudDhcpGetallOK) Error() string
- func (o *PcloudDhcpGetallOK) GetPayload() models.DHCPServers
- func (o *PcloudDhcpGetallOK) IsClientError() bool
- func (o *PcloudDhcpGetallOK) IsCode(code int) bool
- func (o *PcloudDhcpGetallOK) IsRedirect() bool
- func (o *PcloudDhcpGetallOK) IsServerError() bool
- func (o *PcloudDhcpGetallOK) IsSuccess() bool
- func (o *PcloudDhcpGetallOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 PcloudDhcpGetallUnauthorized
- func (o *PcloudDhcpGetallUnauthorized) Code() int
- func (o *PcloudDhcpGetallUnauthorized) Error() string
- func (o *PcloudDhcpGetallUnauthorized) GetPayload() *models.Error
- func (o *PcloudDhcpGetallUnauthorized) IsClientError() bool
- func (o *PcloudDhcpGetallUnauthorized) IsCode(code int) bool
- func (o *PcloudDhcpGetallUnauthorized) IsRedirect() bool
- func (o *PcloudDhcpGetallUnauthorized) IsServerError() bool
- func (o *PcloudDhcpGetallUnauthorized) IsSuccess() bool
- func (o *PcloudDhcpGetallUnauthorized) String() string
- type PcloudDhcpPostAccepted
- func (o *PcloudDhcpPostAccepted) Code() int
- func (o *PcloudDhcpPostAccepted) Error() string
- func (o *PcloudDhcpPostAccepted) GetPayload() *models.DHCPServer
- func (o *PcloudDhcpPostAccepted) IsClientError() bool
- func (o *PcloudDhcpPostAccepted) IsCode(code int) bool
- func (o *PcloudDhcpPostAccepted) IsRedirect() bool
- func (o *PcloudDhcpPostAccepted) IsServerError() bool
- func (o *PcloudDhcpPostAccepted) IsSuccess() bool
- func (o *PcloudDhcpPostAccepted) String() string
- type PcloudDhcpPostBadRequest
- func (o *PcloudDhcpPostBadRequest) Code() int
- func (o *PcloudDhcpPostBadRequest) Error() string
- func (o *PcloudDhcpPostBadRequest) GetPayload() *models.Error
- func (o *PcloudDhcpPostBadRequest) IsClientError() bool
- func (o *PcloudDhcpPostBadRequest) IsCode(code int) bool
- func (o *PcloudDhcpPostBadRequest) IsRedirect() bool
- func (o *PcloudDhcpPostBadRequest) IsServerError() bool
- func (o *PcloudDhcpPostBadRequest) IsSuccess() bool
- func (o *PcloudDhcpPostBadRequest) String() string
- type PcloudDhcpPostForbidden
- func (o *PcloudDhcpPostForbidden) Code() int
- func (o *PcloudDhcpPostForbidden) Error() string
- func (o *PcloudDhcpPostForbidden) GetPayload() *models.Error
- func (o *PcloudDhcpPostForbidden) IsClientError() bool
- func (o *PcloudDhcpPostForbidden) IsCode(code int) bool
- func (o *PcloudDhcpPostForbidden) IsRedirect() bool
- func (o *PcloudDhcpPostForbidden) IsServerError() bool
- func (o *PcloudDhcpPostForbidden) IsSuccess() bool
- func (o *PcloudDhcpPostForbidden) String() string
- type PcloudDhcpPostInternalServerError
- func (o *PcloudDhcpPostInternalServerError) Code() int
- func (o *PcloudDhcpPostInternalServerError) Error() string
- func (o *PcloudDhcpPostInternalServerError) GetPayload() *models.Error
- func (o *PcloudDhcpPostInternalServerError) IsClientError() bool
- func (o *PcloudDhcpPostInternalServerError) IsCode(code int) bool
- func (o *PcloudDhcpPostInternalServerError) IsRedirect() bool
- func (o *PcloudDhcpPostInternalServerError) IsServerError() bool
- func (o *PcloudDhcpPostInternalServerError) IsSuccess() bool
- func (o *PcloudDhcpPostInternalServerError) String() string
- type PcloudDhcpPostNotFound
- func (o *PcloudDhcpPostNotFound) Code() int
- func (o *PcloudDhcpPostNotFound) Error() string
- func (o *PcloudDhcpPostNotFound) GetPayload() *models.Error
- func (o *PcloudDhcpPostNotFound) IsClientError() bool
- func (o *PcloudDhcpPostNotFound) IsCode(code int) bool
- func (o *PcloudDhcpPostNotFound) IsRedirect() bool
- func (o *PcloudDhcpPostNotFound) IsServerError() bool
- func (o *PcloudDhcpPostNotFound) IsSuccess() bool
- func (o *PcloudDhcpPostNotFound) String() string
- 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) SetBody(body *models.DHCPServerCreate)
- func (o *PcloudDhcpPostParams) SetCloudInstanceID(cloudInstanceID string)
- func (o *PcloudDhcpPostParams) SetContext(ctx context.Context)
- func (o *PcloudDhcpPostParams) SetDefaults()
- func (o *PcloudDhcpPostParams) SetHTTPClient(client *http.Client)
- func (o *PcloudDhcpPostParams) SetTimeout(timeout time.Duration)
- func (o *PcloudDhcpPostParams) WithBody(body *models.DHCPServerCreate) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) WithCloudInstanceID(cloudInstanceID string) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) WithContext(ctx context.Context) *PcloudDhcpPostParams
- func (o *PcloudDhcpPostParams) WithDefaults() *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
- type PcloudDhcpPostUnauthorized
- func (o *PcloudDhcpPostUnauthorized) Code() int
- func (o *PcloudDhcpPostUnauthorized) Error() string
- func (o *PcloudDhcpPostUnauthorized) GetPayload() *models.Error
- func (o *PcloudDhcpPostUnauthorized) IsClientError() bool
- func (o *PcloudDhcpPostUnauthorized) IsCode(code int) bool
- func (o *PcloudDhcpPostUnauthorized) IsRedirect() bool
- func (o *PcloudDhcpPostUnauthorized) IsServerError() bool
- func (o *PcloudDhcpPostUnauthorized) IsSuccess() bool
- func (o *PcloudDhcpPostUnauthorized) String() string
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 (*Client) PcloudDhcpDelete ¶
func (a *Client) PcloudDhcpDelete(params *PcloudDhcpDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v1.1.0
type ClientService interface { PcloudDhcpDelete(params *PcloudDhcpDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudDhcpDeleteAccepted, error) PcloudDhcpGet(params *PcloudDhcpGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudDhcpGetOK, error) PcloudDhcpGetall(params *PcloudDhcpGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudDhcpGetallOK, error) PcloudDhcpPost(params *PcloudDhcpPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PcloudDhcpPostAccepted, 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 p cloud service d h c p API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new p cloud service d h c p API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new p cloud service d h c p API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type PcloudDhcpDeleteAccepted ¶
PcloudDhcpDeleteAccepted describes a response with status code 202, with default header values.
OK
func NewPcloudDhcpDeleteAccepted ¶
func NewPcloudDhcpDeleteAccepted() *PcloudDhcpDeleteAccepted
NewPcloudDhcpDeleteAccepted creates a PcloudDhcpDeleteAccepted with default headers values
func (*PcloudDhcpDeleteAccepted) Code ¶ added in v1.2.4
func (o *PcloudDhcpDeleteAccepted) Code() int
Code gets the status code for the pcloud dhcp delete accepted response
func (*PcloudDhcpDeleteAccepted) Error ¶
func (o *PcloudDhcpDeleteAccepted) Error() string
func (*PcloudDhcpDeleteAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpDeleteAccepted) GetPayload() models.Object
func (*PcloudDhcpDeleteAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteAccepted) IsClientError() bool
IsClientError returns true when this pcloud dhcp delete accepted response has a 4xx status code
func (*PcloudDhcpDeleteAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpDeleteAccepted) IsCode(code int) bool
IsCode returns true when this pcloud dhcp delete accepted response a status code equal to that given
func (*PcloudDhcpDeleteAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp delete accepted response has a 3xx status code
func (*PcloudDhcpDeleteAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteAccepted) IsServerError() bool
IsServerError returns true when this pcloud dhcp delete accepted response has a 5xx status code
func (*PcloudDhcpDeleteAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp delete accepted response has a 2xx status code
func (*PcloudDhcpDeleteAccepted) String ¶ added in v1.2.2
func (o *PcloudDhcpDeleteAccepted) String() string
type PcloudDhcpDeleteBadRequest ¶
PcloudDhcpDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudDhcpDeleteBadRequest ¶
func NewPcloudDhcpDeleteBadRequest() *PcloudDhcpDeleteBadRequest
NewPcloudDhcpDeleteBadRequest creates a PcloudDhcpDeleteBadRequest with default headers values
func (*PcloudDhcpDeleteBadRequest) Code ¶ added in v1.2.4
func (o *PcloudDhcpDeleteBadRequest) Code() int
Code gets the status code for the pcloud dhcp delete bad request response
func (*PcloudDhcpDeleteBadRequest) Error ¶
func (o *PcloudDhcpDeleteBadRequest) Error() string
func (*PcloudDhcpDeleteBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpDeleteBadRequest) GetPayload() *models.Error
func (*PcloudDhcpDeleteBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteBadRequest) IsClientError() bool
IsClientError returns true when this pcloud dhcp delete bad request response has a 4xx status code
func (*PcloudDhcpDeleteBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud dhcp delete bad request response a status code equal to that given
func (*PcloudDhcpDeleteBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp delete bad request response has a 3xx status code
func (*PcloudDhcpDeleteBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteBadRequest) IsServerError() bool
IsServerError returns true when this pcloud dhcp delete bad request response has a 5xx status code
func (*PcloudDhcpDeleteBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp delete bad request response has a 2xx status code
func (*PcloudDhcpDeleteBadRequest) String ¶ added in v1.2.2
func (o *PcloudDhcpDeleteBadRequest) String() string
type PcloudDhcpDeleteForbidden ¶
PcloudDhcpDeleteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudDhcpDeleteForbidden ¶
func NewPcloudDhcpDeleteForbidden() *PcloudDhcpDeleteForbidden
NewPcloudDhcpDeleteForbidden creates a PcloudDhcpDeleteForbidden with default headers values
func (*PcloudDhcpDeleteForbidden) Code ¶ added in v1.2.4
func (o *PcloudDhcpDeleteForbidden) Code() int
Code gets the status code for the pcloud dhcp delete forbidden response
func (*PcloudDhcpDeleteForbidden) Error ¶
func (o *PcloudDhcpDeleteForbidden) Error() string
func (*PcloudDhcpDeleteForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpDeleteForbidden) GetPayload() *models.Error
func (*PcloudDhcpDeleteForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteForbidden) IsClientError() bool
IsClientError returns true when this pcloud dhcp delete forbidden response has a 4xx status code
func (*PcloudDhcpDeleteForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpDeleteForbidden) IsCode(code int) bool
IsCode returns true when this pcloud dhcp delete forbidden response a status code equal to that given
func (*PcloudDhcpDeleteForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp delete forbidden response has a 3xx status code
func (*PcloudDhcpDeleteForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteForbidden) IsServerError() bool
IsServerError returns true when this pcloud dhcp delete forbidden response has a 5xx status code
func (*PcloudDhcpDeleteForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp delete forbidden response has a 2xx status code
func (*PcloudDhcpDeleteForbidden) String ¶ added in v1.2.2
func (o *PcloudDhcpDeleteForbidden) String() string
type PcloudDhcpDeleteInternalServerError ¶
PcloudDhcpDeleteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudDhcpDeleteInternalServerError ¶
func NewPcloudDhcpDeleteInternalServerError() *PcloudDhcpDeleteInternalServerError
NewPcloudDhcpDeleteInternalServerError creates a PcloudDhcpDeleteInternalServerError with default headers values
func (*PcloudDhcpDeleteInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudDhcpDeleteInternalServerError) Code() int
Code gets the status code for the pcloud dhcp delete internal server error response
func (*PcloudDhcpDeleteInternalServerError) Error ¶
func (o *PcloudDhcpDeleteInternalServerError) Error() string
func (*PcloudDhcpDeleteInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpDeleteInternalServerError) GetPayload() *models.Error
func (*PcloudDhcpDeleteInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud dhcp delete internal server error response has a 4xx status code
func (*PcloudDhcpDeleteInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud dhcp delete internal server error response a status code equal to that given
func (*PcloudDhcpDeleteInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp delete internal server error response has a 3xx status code
func (*PcloudDhcpDeleteInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud dhcp delete internal server error response has a 5xx status code
func (*PcloudDhcpDeleteInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp delete internal server error response has a 2xx status code
func (*PcloudDhcpDeleteInternalServerError) String ¶ added in v1.2.2
func (o *PcloudDhcpDeleteInternalServerError) String() string
type PcloudDhcpDeleteNotFound ¶
PcloudDhcpDeleteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudDhcpDeleteNotFound ¶
func NewPcloudDhcpDeleteNotFound() *PcloudDhcpDeleteNotFound
NewPcloudDhcpDeleteNotFound creates a PcloudDhcpDeleteNotFound with default headers values
func (*PcloudDhcpDeleteNotFound) Code ¶ added in v1.2.4
func (o *PcloudDhcpDeleteNotFound) Code() int
Code gets the status code for the pcloud dhcp delete not found response
func (*PcloudDhcpDeleteNotFound) Error ¶
func (o *PcloudDhcpDeleteNotFound) Error() string
func (*PcloudDhcpDeleteNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpDeleteNotFound) GetPayload() *models.Error
func (*PcloudDhcpDeleteNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteNotFound) IsClientError() bool
IsClientError returns true when this pcloud dhcp delete not found response has a 4xx status code
func (*PcloudDhcpDeleteNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpDeleteNotFound) IsCode(code int) bool
IsCode returns true when this pcloud dhcp delete not found response a status code equal to that given
func (*PcloudDhcpDeleteNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp delete not found response has a 3xx status code
func (*PcloudDhcpDeleteNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpDeleteNotFound) IsServerError() bool
IsServerError returns true when this pcloud dhcp delete not found response has a 5xx status code
func (*PcloudDhcpDeleteNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp delete not found response has a 2xx status code
func (*PcloudDhcpDeleteNotFound) String ¶ added in v1.2.2
func (o *PcloudDhcpDeleteNotFound) String() 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 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 NewPcloudDhcpDeleteParamsWithContext ¶
func NewPcloudDhcpDeleteParamsWithContext(ctx context.Context) *PcloudDhcpDeleteParams
NewPcloudDhcpDeleteParamsWithContext creates a new PcloudDhcpDeleteParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudDhcpDeleteParams) SetDefaults()
SetDefaults hydrates default values in the pcloud dhcp delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudDhcpDeleteParams) WithDefaults() *PcloudDhcpDeleteParams
WithDefaults hydrates default values in the pcloud dhcp delete params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, with default header values.
Bad Request
func NewPcloudDhcpGetBadRequest ¶
func NewPcloudDhcpGetBadRequest() *PcloudDhcpGetBadRequest
NewPcloudDhcpGetBadRequest creates a PcloudDhcpGetBadRequest with default headers values
func (*PcloudDhcpGetBadRequest) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetBadRequest) Code() int
Code gets the status code for the pcloud dhcp get bad request response
func (*PcloudDhcpGetBadRequest) Error ¶
func (o *PcloudDhcpGetBadRequest) Error() string
func (*PcloudDhcpGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetBadRequest) GetPayload() *models.Error
func (*PcloudDhcpGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetBadRequest) IsClientError() bool
IsClientError returns true when this pcloud dhcp get bad request response has a 4xx status code
func (*PcloudDhcpGetBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud dhcp get bad request response a status code equal to that given
func (*PcloudDhcpGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp get bad request response has a 3xx status code
func (*PcloudDhcpGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetBadRequest) IsServerError() bool
IsServerError returns true when this pcloud dhcp get bad request response has a 5xx status code
func (*PcloudDhcpGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp get bad request response has a 2xx status code
func (*PcloudDhcpGetBadRequest) String ¶ added in v1.2.2
func (o *PcloudDhcpGetBadRequest) String() string
type PcloudDhcpGetForbidden ¶
PcloudDhcpGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudDhcpGetForbidden ¶
func NewPcloudDhcpGetForbidden() *PcloudDhcpGetForbidden
NewPcloudDhcpGetForbidden creates a PcloudDhcpGetForbidden with default headers values
func (*PcloudDhcpGetForbidden) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetForbidden) Code() int
Code gets the status code for the pcloud dhcp get forbidden response
func (*PcloudDhcpGetForbidden) Error ¶
func (o *PcloudDhcpGetForbidden) Error() string
func (*PcloudDhcpGetForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetForbidden) GetPayload() *models.Error
func (*PcloudDhcpGetForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetForbidden) IsClientError() bool
IsClientError returns true when this pcloud dhcp get forbidden response has a 4xx status code
func (*PcloudDhcpGetForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetForbidden) IsCode(code int) bool
IsCode returns true when this pcloud dhcp get forbidden response a status code equal to that given
func (*PcloudDhcpGetForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp get forbidden response has a 3xx status code
func (*PcloudDhcpGetForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetForbidden) IsServerError() bool
IsServerError returns true when this pcloud dhcp get forbidden response has a 5xx status code
func (*PcloudDhcpGetForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp get forbidden response has a 2xx status code
func (*PcloudDhcpGetForbidden) String ¶ added in v1.2.2
func (o *PcloudDhcpGetForbidden) String() string
type PcloudDhcpGetInternalServerError ¶
PcloudDhcpGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudDhcpGetInternalServerError ¶
func NewPcloudDhcpGetInternalServerError() *PcloudDhcpGetInternalServerError
NewPcloudDhcpGetInternalServerError creates a PcloudDhcpGetInternalServerError with default headers values
func (*PcloudDhcpGetInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetInternalServerError) Code() int
Code gets the status code for the pcloud dhcp get internal server error response
func (*PcloudDhcpGetInternalServerError) Error ¶
func (o *PcloudDhcpGetInternalServerError) Error() string
func (*PcloudDhcpGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetInternalServerError) GetPayload() *models.Error
func (*PcloudDhcpGetInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud dhcp get internal server error response has a 4xx status code
func (*PcloudDhcpGetInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud dhcp get internal server error response a status code equal to that given
func (*PcloudDhcpGetInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp get internal server error response has a 3xx status code
func (*PcloudDhcpGetInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud dhcp get internal server error response has a 5xx status code
func (*PcloudDhcpGetInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp get internal server error response has a 2xx status code
func (*PcloudDhcpGetInternalServerError) String ¶ added in v1.2.2
func (o *PcloudDhcpGetInternalServerError) String() string
type PcloudDhcpGetNotFound ¶
PcloudDhcpGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudDhcpGetNotFound ¶
func NewPcloudDhcpGetNotFound() *PcloudDhcpGetNotFound
NewPcloudDhcpGetNotFound creates a PcloudDhcpGetNotFound with default headers values
func (*PcloudDhcpGetNotFound) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetNotFound) Code() int
Code gets the status code for the pcloud dhcp get not found response
func (*PcloudDhcpGetNotFound) Error ¶
func (o *PcloudDhcpGetNotFound) Error() string
func (*PcloudDhcpGetNotFound) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetNotFound) GetPayload() *models.Error
func (*PcloudDhcpGetNotFound) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetNotFound) IsClientError() bool
IsClientError returns true when this pcloud dhcp get not found response has a 4xx status code
func (*PcloudDhcpGetNotFound) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetNotFound) IsCode(code int) bool
IsCode returns true when this pcloud dhcp get not found response a status code equal to that given
func (*PcloudDhcpGetNotFound) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp get not found response has a 3xx status code
func (*PcloudDhcpGetNotFound) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetNotFound) IsServerError() bool
IsServerError returns true when this pcloud dhcp get not found response has a 5xx status code
func (*PcloudDhcpGetNotFound) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp get not found response has a 2xx status code
func (*PcloudDhcpGetNotFound) String ¶ added in v1.2.2
func (o *PcloudDhcpGetNotFound) String() string
type PcloudDhcpGetOK ¶
type PcloudDhcpGetOK struct {
Payload *models.DHCPServerDetail
}
PcloudDhcpGetOK describes a response with status code 200, with default header values.
OK
func NewPcloudDhcpGetOK ¶
func NewPcloudDhcpGetOK() *PcloudDhcpGetOK
NewPcloudDhcpGetOK creates a PcloudDhcpGetOK with default headers values
func (*PcloudDhcpGetOK) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetOK) Code() int
Code gets the status code for the pcloud dhcp get o k response
func (*PcloudDhcpGetOK) Error ¶
func (o *PcloudDhcpGetOK) Error() string
func (*PcloudDhcpGetOK) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetOK) GetPayload() *models.DHCPServerDetail
func (*PcloudDhcpGetOK) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetOK) IsClientError() bool
IsClientError returns true when this pcloud dhcp get o k response has a 4xx status code
func (*PcloudDhcpGetOK) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetOK) IsCode(code int) bool
IsCode returns true when this pcloud dhcp get o k response a status code equal to that given
func (*PcloudDhcpGetOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetOK) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp get o k response has a 3xx status code
func (*PcloudDhcpGetOK) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetOK) IsServerError() bool
IsServerError returns true when this pcloud dhcp get o k response has a 5xx status code
func (*PcloudDhcpGetOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetOK) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp get o k response has a 2xx status code
func (*PcloudDhcpGetOK) String ¶ added in v1.2.2
func (o *PcloudDhcpGetOK) String() 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 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 NewPcloudDhcpGetParamsWithContext ¶
func NewPcloudDhcpGetParamsWithContext(ctx context.Context) *PcloudDhcpGetParams
NewPcloudDhcpGetParamsWithContext creates a new PcloudDhcpGetParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudDhcpGetParams) SetDefaults()
SetDefaults hydrates default values in the pcloud dhcp get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudDhcpGetParams) WithDefaults() *PcloudDhcpGetParams
WithDefaults hydrates default values in the pcloud dhcp get params (not the query body).
All values with no default are reset to their zero value.
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 PcloudDhcpGetUnauthorized ¶ added in v1.4.2
type PcloudDhcpGetUnauthorized struct {
}PcloudDhcpGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudDhcpGetUnauthorized ¶ added in v1.4.2
func NewPcloudDhcpGetUnauthorized() *PcloudDhcpGetUnauthorized
NewPcloudDhcpGetUnauthorized creates a PcloudDhcpGetUnauthorized with default headers values
func (*PcloudDhcpGetUnauthorized) Code ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) Code() int
Code gets the status code for the pcloud dhcp get unauthorized response
func (*PcloudDhcpGetUnauthorized) Error ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) Error() string
func (*PcloudDhcpGetUnauthorized) GetPayload ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) GetPayload() *models.Error
func (*PcloudDhcpGetUnauthorized) IsClientError ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud dhcp get unauthorized response has a 4xx status code
func (*PcloudDhcpGetUnauthorized) IsCode ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud dhcp get unauthorized response a status code equal to that given
func (*PcloudDhcpGetUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp get unauthorized response has a 3xx status code
func (*PcloudDhcpGetUnauthorized) IsServerError ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud dhcp get unauthorized response has a 5xx status code
func (*PcloudDhcpGetUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp get unauthorized response has a 2xx status code
func (*PcloudDhcpGetUnauthorized) String ¶ added in v1.4.2
func (o *PcloudDhcpGetUnauthorized) String() string
type PcloudDhcpGetallBadRequest ¶ added in v1.4.2
PcloudDhcpGetallBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudDhcpGetallBadRequest ¶ added in v1.4.2
func NewPcloudDhcpGetallBadRequest() *PcloudDhcpGetallBadRequest
NewPcloudDhcpGetallBadRequest creates a PcloudDhcpGetallBadRequest with default headers values
func (*PcloudDhcpGetallBadRequest) Code ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) Code() int
Code gets the status code for the pcloud dhcp getall bad request response
func (*PcloudDhcpGetallBadRequest) Error ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) Error() string
func (*PcloudDhcpGetallBadRequest) GetPayload ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) GetPayload() *models.Error
func (*PcloudDhcpGetallBadRequest) IsClientError ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) IsClientError() bool
IsClientError returns true when this pcloud dhcp getall bad request response has a 4xx status code
func (*PcloudDhcpGetallBadRequest) IsCode ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud dhcp getall bad request response a status code equal to that given
func (*PcloudDhcpGetallBadRequest) IsRedirect ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp getall bad request response has a 3xx status code
func (*PcloudDhcpGetallBadRequest) IsServerError ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) IsServerError() bool
IsServerError returns true when this pcloud dhcp getall bad request response has a 5xx status code
func (*PcloudDhcpGetallBadRequest) IsSuccess ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp getall bad request response has a 2xx status code
func (*PcloudDhcpGetallBadRequest) String ¶ added in v1.4.2
func (o *PcloudDhcpGetallBadRequest) String() string
type PcloudDhcpGetallForbidden ¶
PcloudDhcpGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudDhcpGetallForbidden ¶
func NewPcloudDhcpGetallForbidden() *PcloudDhcpGetallForbidden
NewPcloudDhcpGetallForbidden creates a PcloudDhcpGetallForbidden with default headers values
func (*PcloudDhcpGetallForbidden) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetallForbidden) Code() int
Code gets the status code for the pcloud dhcp getall forbidden response
func (*PcloudDhcpGetallForbidden) Error ¶
func (o *PcloudDhcpGetallForbidden) Error() string
func (*PcloudDhcpGetallForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetallForbidden) GetPayload() *models.Error
func (*PcloudDhcpGetallForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetallForbidden) IsClientError() bool
IsClientError returns true when this pcloud dhcp getall forbidden response has a 4xx status code
func (*PcloudDhcpGetallForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetallForbidden) IsCode(code int) bool
IsCode returns true when this pcloud dhcp getall forbidden response a status code equal to that given
func (*PcloudDhcpGetallForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetallForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp getall forbidden response has a 3xx status code
func (*PcloudDhcpGetallForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetallForbidden) IsServerError() bool
IsServerError returns true when this pcloud dhcp getall forbidden response has a 5xx status code
func (*PcloudDhcpGetallForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetallForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp getall forbidden response has a 2xx status code
func (*PcloudDhcpGetallForbidden) String ¶ added in v1.2.2
func (o *PcloudDhcpGetallForbidden) String() string
type PcloudDhcpGetallInternalServerError ¶
PcloudDhcpGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudDhcpGetallInternalServerError ¶
func NewPcloudDhcpGetallInternalServerError() *PcloudDhcpGetallInternalServerError
NewPcloudDhcpGetallInternalServerError creates a PcloudDhcpGetallInternalServerError with default headers values
func (*PcloudDhcpGetallInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetallInternalServerError) Code() int
Code gets the status code for the pcloud dhcp getall internal server error response
func (*PcloudDhcpGetallInternalServerError) Error ¶
func (o *PcloudDhcpGetallInternalServerError) Error() string
func (*PcloudDhcpGetallInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetallInternalServerError) GetPayload() *models.Error
func (*PcloudDhcpGetallInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetallInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud dhcp getall internal server error response has a 4xx status code
func (*PcloudDhcpGetallInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud dhcp getall internal server error response a status code equal to that given
func (*PcloudDhcpGetallInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp getall internal server error response has a 3xx status code
func (*PcloudDhcpGetallInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetallInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud dhcp getall internal server error response has a 5xx status code
func (*PcloudDhcpGetallInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp getall internal server error response has a 2xx status code
func (*PcloudDhcpGetallInternalServerError) String ¶ added in v1.2.2
func (o *PcloudDhcpGetallInternalServerError) String() string
type PcloudDhcpGetallNotFound ¶ added in v1.4.2
PcloudDhcpGetallNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudDhcpGetallNotFound ¶ added in v1.4.2
func NewPcloudDhcpGetallNotFound() *PcloudDhcpGetallNotFound
NewPcloudDhcpGetallNotFound creates a PcloudDhcpGetallNotFound with default headers values
func (*PcloudDhcpGetallNotFound) Code ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) Code() int
Code gets the status code for the pcloud dhcp getall not found response
func (*PcloudDhcpGetallNotFound) Error ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) Error() string
func (*PcloudDhcpGetallNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) GetPayload() *models.Error
func (*PcloudDhcpGetallNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) IsClientError() bool
IsClientError returns true when this pcloud dhcp getall not found response has a 4xx status code
func (*PcloudDhcpGetallNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) IsCode(code int) bool
IsCode returns true when this pcloud dhcp getall not found response a status code equal to that given
func (*PcloudDhcpGetallNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp getall not found response has a 3xx status code
func (*PcloudDhcpGetallNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) IsServerError() bool
IsServerError returns true when this pcloud dhcp getall not found response has a 5xx status code
func (*PcloudDhcpGetallNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp getall not found response has a 2xx status code
func (*PcloudDhcpGetallNotFound) String ¶ added in v1.4.2
func (o *PcloudDhcpGetallNotFound) String() string
type PcloudDhcpGetallOK ¶
type PcloudDhcpGetallOK struct {
Payload models.DHCPServers
}
PcloudDhcpGetallOK describes a response with status code 200, with default header values.
OK
func NewPcloudDhcpGetallOK ¶
func NewPcloudDhcpGetallOK() *PcloudDhcpGetallOK
NewPcloudDhcpGetallOK creates a PcloudDhcpGetallOK with default headers values
func (*PcloudDhcpGetallOK) Code ¶ added in v1.2.4
func (o *PcloudDhcpGetallOK) Code() int
Code gets the status code for the pcloud dhcp getall o k response
func (*PcloudDhcpGetallOK) Error ¶
func (o *PcloudDhcpGetallOK) Error() string
func (*PcloudDhcpGetallOK) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpGetallOK) GetPayload() models.DHCPServers
func (*PcloudDhcpGetallOK) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpGetallOK) IsClientError() bool
IsClientError returns true when this pcloud dhcp getall o k response has a 4xx status code
func (*PcloudDhcpGetallOK) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpGetallOK) IsCode(code int) bool
IsCode returns true when this pcloud dhcp getall o k response a status code equal to that given
func (*PcloudDhcpGetallOK) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpGetallOK) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp getall o k response has a 3xx status code
func (*PcloudDhcpGetallOK) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpGetallOK) IsServerError() bool
IsServerError returns true when this pcloud dhcp getall o k response has a 5xx status code
func (*PcloudDhcpGetallOK) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpGetallOK) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp getall o k response has a 2xx status code
func (*PcloudDhcpGetallOK) String ¶ added in v1.2.2
func (o *PcloudDhcpGetallOK) String() 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 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 NewPcloudDhcpGetallParamsWithContext ¶
func NewPcloudDhcpGetallParamsWithContext(ctx context.Context) *PcloudDhcpGetallParams
NewPcloudDhcpGetallParamsWithContext creates a new PcloudDhcpGetallParams object with 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 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 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) SetDefaults ¶ added in v1.1.0
func (o *PcloudDhcpGetallParams) SetDefaults()
SetDefaults hydrates default values in the pcloud dhcp getall params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.1.0
func (o *PcloudDhcpGetallParams) WithDefaults() *PcloudDhcpGetallParams
WithDefaults hydrates default values in the pcloud dhcp getall params (not the query body).
All values with no default are reset to their zero value.
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 PcloudDhcpGetallUnauthorized ¶ added in v1.4.2
type PcloudDhcpGetallUnauthorized struct {
}PcloudDhcpGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudDhcpGetallUnauthorized ¶ added in v1.4.2
func NewPcloudDhcpGetallUnauthorized() *PcloudDhcpGetallUnauthorized
NewPcloudDhcpGetallUnauthorized creates a PcloudDhcpGetallUnauthorized with default headers values
func (*PcloudDhcpGetallUnauthorized) Code ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) Code() int
Code gets the status code for the pcloud dhcp getall unauthorized response
func (*PcloudDhcpGetallUnauthorized) Error ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) Error() string
func (*PcloudDhcpGetallUnauthorized) GetPayload ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) GetPayload() *models.Error
func (*PcloudDhcpGetallUnauthorized) IsClientError ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud dhcp getall unauthorized response has a 4xx status code
func (*PcloudDhcpGetallUnauthorized) IsCode ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud dhcp getall unauthorized response a status code equal to that given
func (*PcloudDhcpGetallUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp getall unauthorized response has a 3xx status code
func (*PcloudDhcpGetallUnauthorized) IsServerError ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud dhcp getall unauthorized response has a 5xx status code
func (*PcloudDhcpGetallUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp getall unauthorized response has a 2xx status code
func (*PcloudDhcpGetallUnauthorized) String ¶ added in v1.4.2
func (o *PcloudDhcpGetallUnauthorized) String() string
type PcloudDhcpPostAccepted ¶
type PcloudDhcpPostAccepted struct {
Payload *models.DHCPServer
}
PcloudDhcpPostAccepted describes a response with status code 202, with default header values.
OK
func NewPcloudDhcpPostAccepted ¶
func NewPcloudDhcpPostAccepted() *PcloudDhcpPostAccepted
NewPcloudDhcpPostAccepted creates a PcloudDhcpPostAccepted with default headers values
func (*PcloudDhcpPostAccepted) Code ¶ added in v1.2.4
func (o *PcloudDhcpPostAccepted) Code() int
Code gets the status code for the pcloud dhcp post accepted response
func (*PcloudDhcpPostAccepted) Error ¶
func (o *PcloudDhcpPostAccepted) Error() string
func (*PcloudDhcpPostAccepted) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpPostAccepted) GetPayload() *models.DHCPServer
func (*PcloudDhcpPostAccepted) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpPostAccepted) IsClientError() bool
IsClientError returns true when this pcloud dhcp post accepted response has a 4xx status code
func (*PcloudDhcpPostAccepted) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpPostAccepted) IsCode(code int) bool
IsCode returns true when this pcloud dhcp post accepted response a status code equal to that given
func (*PcloudDhcpPostAccepted) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpPostAccepted) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp post accepted response has a 3xx status code
func (*PcloudDhcpPostAccepted) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpPostAccepted) IsServerError() bool
IsServerError returns true when this pcloud dhcp post accepted response has a 5xx status code
func (*PcloudDhcpPostAccepted) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpPostAccepted) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp post accepted response has a 2xx status code
func (*PcloudDhcpPostAccepted) String ¶ added in v1.2.2
func (o *PcloudDhcpPostAccepted) String() string
type PcloudDhcpPostBadRequest ¶
PcloudDhcpPostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPcloudDhcpPostBadRequest ¶
func NewPcloudDhcpPostBadRequest() *PcloudDhcpPostBadRequest
NewPcloudDhcpPostBadRequest creates a PcloudDhcpPostBadRequest with default headers values
func (*PcloudDhcpPostBadRequest) Code ¶ added in v1.2.4
func (o *PcloudDhcpPostBadRequest) Code() int
Code gets the status code for the pcloud dhcp post bad request response
func (*PcloudDhcpPostBadRequest) Error ¶
func (o *PcloudDhcpPostBadRequest) Error() string
func (*PcloudDhcpPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpPostBadRequest) GetPayload() *models.Error
func (*PcloudDhcpPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpPostBadRequest) IsClientError() bool
IsClientError returns true when this pcloud dhcp post bad request response has a 4xx status code
func (*PcloudDhcpPostBadRequest) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpPostBadRequest) IsCode(code int) bool
IsCode returns true when this pcloud dhcp post bad request response a status code equal to that given
func (*PcloudDhcpPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpPostBadRequest) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp post bad request response has a 3xx status code
func (*PcloudDhcpPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpPostBadRequest) IsServerError() bool
IsServerError returns true when this pcloud dhcp post bad request response has a 5xx status code
func (*PcloudDhcpPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpPostBadRequest) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp post bad request response has a 2xx status code
func (*PcloudDhcpPostBadRequest) String ¶ added in v1.2.2
func (o *PcloudDhcpPostBadRequest) String() string
type PcloudDhcpPostForbidden ¶
PcloudDhcpPostForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPcloudDhcpPostForbidden ¶
func NewPcloudDhcpPostForbidden() *PcloudDhcpPostForbidden
NewPcloudDhcpPostForbidden creates a PcloudDhcpPostForbidden with default headers values
func (*PcloudDhcpPostForbidden) Code ¶ added in v1.2.4
func (o *PcloudDhcpPostForbidden) Code() int
Code gets the status code for the pcloud dhcp post forbidden response
func (*PcloudDhcpPostForbidden) Error ¶
func (o *PcloudDhcpPostForbidden) Error() string
func (*PcloudDhcpPostForbidden) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpPostForbidden) GetPayload() *models.Error
func (*PcloudDhcpPostForbidden) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpPostForbidden) IsClientError() bool
IsClientError returns true when this pcloud dhcp post forbidden response has a 4xx status code
func (*PcloudDhcpPostForbidden) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpPostForbidden) IsCode(code int) bool
IsCode returns true when this pcloud dhcp post forbidden response a status code equal to that given
func (*PcloudDhcpPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpPostForbidden) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp post forbidden response has a 3xx status code
func (*PcloudDhcpPostForbidden) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpPostForbidden) IsServerError() bool
IsServerError returns true when this pcloud dhcp post forbidden response has a 5xx status code
func (*PcloudDhcpPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpPostForbidden) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp post forbidden response has a 2xx status code
func (*PcloudDhcpPostForbidden) String ¶ added in v1.2.2
func (o *PcloudDhcpPostForbidden) String() string
type PcloudDhcpPostInternalServerError ¶
PcloudDhcpPostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPcloudDhcpPostInternalServerError ¶
func NewPcloudDhcpPostInternalServerError() *PcloudDhcpPostInternalServerError
NewPcloudDhcpPostInternalServerError creates a PcloudDhcpPostInternalServerError with default headers values
func (*PcloudDhcpPostInternalServerError) Code ¶ added in v1.2.4
func (o *PcloudDhcpPostInternalServerError) Code() int
Code gets the status code for the pcloud dhcp post internal server error response
func (*PcloudDhcpPostInternalServerError) Error ¶
func (o *PcloudDhcpPostInternalServerError) Error() string
func (*PcloudDhcpPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *PcloudDhcpPostInternalServerError) GetPayload() *models.Error
func (*PcloudDhcpPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *PcloudDhcpPostInternalServerError) IsClientError() bool
IsClientError returns true when this pcloud dhcp post internal server error response has a 4xx status code
func (*PcloudDhcpPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *PcloudDhcpPostInternalServerError) IsCode(code int) bool
IsCode returns true when this pcloud dhcp post internal server error response a status code equal to that given
func (*PcloudDhcpPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *PcloudDhcpPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp post internal server error response has a 3xx status code
func (*PcloudDhcpPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *PcloudDhcpPostInternalServerError) IsServerError() bool
IsServerError returns true when this pcloud dhcp post internal server error response has a 5xx status code
func (*PcloudDhcpPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *PcloudDhcpPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp post internal server error response has a 2xx status code
func (*PcloudDhcpPostInternalServerError) String ¶ added in v1.2.2
func (o *PcloudDhcpPostInternalServerError) String() string
type PcloudDhcpPostNotFound ¶ added in v1.4.2
PcloudDhcpPostNotFound describes a response with status code 404, with default header values.
Not Found
func NewPcloudDhcpPostNotFound ¶ added in v1.4.2
func NewPcloudDhcpPostNotFound() *PcloudDhcpPostNotFound
NewPcloudDhcpPostNotFound creates a PcloudDhcpPostNotFound with default headers values
func (*PcloudDhcpPostNotFound) Code ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) Code() int
Code gets the status code for the pcloud dhcp post not found response
func (*PcloudDhcpPostNotFound) Error ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) Error() string
func (*PcloudDhcpPostNotFound) GetPayload ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) GetPayload() *models.Error
func (*PcloudDhcpPostNotFound) IsClientError ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) IsClientError() bool
IsClientError returns true when this pcloud dhcp post not found response has a 4xx status code
func (*PcloudDhcpPostNotFound) IsCode ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) IsCode(code int) bool
IsCode returns true when this pcloud dhcp post not found response a status code equal to that given
func (*PcloudDhcpPostNotFound) IsRedirect ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp post not found response has a 3xx status code
func (*PcloudDhcpPostNotFound) IsServerError ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) IsServerError() bool
IsServerError returns true when this pcloud dhcp post not found response has a 5xx status code
func (*PcloudDhcpPostNotFound) IsSuccess ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp post not found response has a 2xx status code
func (*PcloudDhcpPostNotFound) String ¶ added in v1.4.2
func (o *PcloudDhcpPostNotFound) String() string
type PcloudDhcpPostParams ¶
type PcloudDhcpPostParams struct { /* Body. Parameters used during creation of DHCP service */ Body *models.DHCPServerCreate /* 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 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 NewPcloudDhcpPostParamsWithContext ¶
func NewPcloudDhcpPostParamsWithContext(ctx context.Context) *PcloudDhcpPostParams
NewPcloudDhcpPostParamsWithContext creates a new PcloudDhcpPostParams object with 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 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 ability to set a timeout on a request.
func (*PcloudDhcpPostParams) SetBody ¶ added in v1.1.2
func (o *PcloudDhcpPostParams) SetBody(body *models.DHCPServerCreate)
SetBody adds the body to the pcloud dhcp post params
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) SetDefaults ¶ added in v1.1.0
func (o *PcloudDhcpPostParams) SetDefaults()
SetDefaults hydrates default values in the pcloud dhcp post params (not the query body).
All values with no default are reset to their zero value.
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) WithBody ¶ added in v1.1.2
func (o *PcloudDhcpPostParams) WithBody(body *models.DHCPServerCreate) *PcloudDhcpPostParams
WithBody adds the body 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) WithDefaults ¶ added in v1.1.0
func (o *PcloudDhcpPostParams) WithDefaults() *PcloudDhcpPostParams
WithDefaults hydrates default values in the pcloud dhcp post params (not the query body).
All values with no default are reset to their zero value.
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.
type PcloudDhcpPostUnauthorized ¶ added in v1.4.2
type PcloudDhcpPostUnauthorized struct {
}PcloudDhcpPostUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPcloudDhcpPostUnauthorized ¶ added in v1.4.2
func NewPcloudDhcpPostUnauthorized() *PcloudDhcpPostUnauthorized
NewPcloudDhcpPostUnauthorized creates a PcloudDhcpPostUnauthorized with default headers values
func (*PcloudDhcpPostUnauthorized) Code ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) Code() int
Code gets the status code for the pcloud dhcp post unauthorized response
func (*PcloudDhcpPostUnauthorized) Error ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) Error() string
func (*PcloudDhcpPostUnauthorized) GetPayload ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) GetPayload() *models.Error
func (*PcloudDhcpPostUnauthorized) IsClientError ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) IsClientError() bool
IsClientError returns true when this pcloud dhcp post unauthorized response has a 4xx status code
func (*PcloudDhcpPostUnauthorized) IsCode ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) IsCode(code int) bool
IsCode returns true when this pcloud dhcp post unauthorized response a status code equal to that given
func (*PcloudDhcpPostUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this pcloud dhcp post unauthorized response has a 3xx status code
func (*PcloudDhcpPostUnauthorized) IsServerError ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) IsServerError() bool
IsServerError returns true when this pcloud dhcp post unauthorized response has a 5xx status code
func (*PcloudDhcpPostUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this pcloud dhcp post unauthorized response has a 2xx status code
func (*PcloudDhcpPostUnauthorized) String ¶ added in v1.4.2
func (o *PcloudDhcpPostUnauthorized) String() string