Documentation ¶
Index ¶
- type AddDNSServerBadRequest
- func (o *AddDNSServerBadRequest) Code() int
- func (o *AddDNSServerBadRequest) Error() string
- func (o *AddDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *AddDNSServerBadRequest) IsClientError() bool
- func (o *AddDNSServerBadRequest) IsCode(code int) bool
- func (o *AddDNSServerBadRequest) IsRedirect() bool
- func (o *AddDNSServerBadRequest) IsServerError() bool
- func (o *AddDNSServerBadRequest) IsSuccess() bool
- func (o *AddDNSServerBadRequest) String() string
- type AddDNSServerConflict
- func (o *AddDNSServerConflict) Code() int
- func (o *AddDNSServerConflict) Error() string
- func (o *AddDNSServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *AddDNSServerConflict) IsClientError() bool
- func (o *AddDNSServerConflict) IsCode(code int) bool
- func (o *AddDNSServerConflict) IsRedirect() bool
- func (o *AddDNSServerConflict) IsServerError() bool
- func (o *AddDNSServerConflict) IsSuccess() bool
- func (o *AddDNSServerConflict) String() string
- type AddDNSServerInternalServerError
- func (o *AddDNSServerInternalServerError) Code() int
- func (o *AddDNSServerInternalServerError) Error() string
- func (o *AddDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *AddDNSServerInternalServerError) IsClientError() bool
- func (o *AddDNSServerInternalServerError) IsCode(code int) bool
- func (o *AddDNSServerInternalServerError) IsRedirect() bool
- func (o *AddDNSServerInternalServerError) IsServerError() bool
- func (o *AddDNSServerInternalServerError) IsSuccess() bool
- func (o *AddDNSServerInternalServerError) String() string
- type AddDNSServerNoContent
- func (o *AddDNSServerNoContent) Code() int
- func (o *AddDNSServerNoContent) Error() string
- func (o *AddDNSServerNoContent) IsClientError() bool
- func (o *AddDNSServerNoContent) IsCode(code int) bool
- func (o *AddDNSServerNoContent) IsRedirect() bool
- func (o *AddDNSServerNoContent) IsServerError() bool
- func (o *AddDNSServerNoContent) IsSuccess() bool
- func (o *AddDNSServerNoContent) String() string
- type AddDNSServerNotFound
- func (o *AddDNSServerNotFound) Code() int
- func (o *AddDNSServerNotFound) Error() string
- func (o *AddDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *AddDNSServerNotFound) IsClientError() bool
- func (o *AddDNSServerNotFound) IsCode(code int) bool
- func (o *AddDNSServerNotFound) IsRedirect() bool
- func (o *AddDNSServerNotFound) IsServerError() bool
- func (o *AddDNSServerNotFound) IsSuccess() bool
- func (o *AddDNSServerNotFound) String() string
- type AddDNSServerParams
- func (o *AddDNSServerParams) SetBody(body *vproxy_client_model.DNSServerCreate)
- func (o *AddDNSServerParams) SetContext(ctx context.Context)
- func (o *AddDNSServerParams) SetDefaults()
- func (o *AddDNSServerParams) SetHTTPClient(client *http.Client)
- func (o *AddDNSServerParams) SetTimeout(timeout time.Duration)
- func (o *AddDNSServerParams) WithBody(body *vproxy_client_model.DNSServerCreate) *AddDNSServerParams
- func (o *AddDNSServerParams) WithContext(ctx context.Context) *AddDNSServerParams
- func (o *AddDNSServerParams) WithDefaults() *AddDNSServerParams
- func (o *AddDNSServerParams) WithHTTPClient(client *http.Client) *AddDNSServerParams
- func (o *AddDNSServerParams) WithTimeout(timeout time.Duration) *AddDNSServerParams
- func (o *AddDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddDNSServerReader
- type Client
- func (a *Client) AddDNSServer(params *AddDNSServerParams, opts ...ClientOption) (*AddDNSServerNoContent, error)
- func (a *Client) DescribeDNSServer(params *DescribeDNSServerParams, opts ...ClientOption) (*DescribeDNSServerOK, error)
- func (a *Client) GetDNSServer(params *GetDNSServerParams, opts ...ClientOption) (*GetDNSServerOK, error)
- func (a *Client) ListDNSServer(params *ListDNSServerParams, opts ...ClientOption) (*ListDNSServerOK, error)
- func (a *Client) RemoveDNSServer(params *RemoveDNSServerParams, opts ...ClientOption) (*RemoveDNSServerNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDNSServer(params *UpdateDNSServerParams, opts ...ClientOption) (*UpdateDNSServerNoContent, error)
- type ClientOption
- type ClientService
- type DescribeDNSServerBadRequest
- func (o *DescribeDNSServerBadRequest) Code() int
- func (o *DescribeDNSServerBadRequest) Error() string
- func (o *DescribeDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *DescribeDNSServerBadRequest) IsClientError() bool
- func (o *DescribeDNSServerBadRequest) IsCode(code int) bool
- func (o *DescribeDNSServerBadRequest) IsRedirect() bool
- func (o *DescribeDNSServerBadRequest) IsServerError() bool
- func (o *DescribeDNSServerBadRequest) IsSuccess() bool
- func (o *DescribeDNSServerBadRequest) String() string
- type DescribeDNSServerConflict
- func (o *DescribeDNSServerConflict) Code() int
- func (o *DescribeDNSServerConflict) Error() string
- func (o *DescribeDNSServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *DescribeDNSServerConflict) IsClientError() bool
- func (o *DescribeDNSServerConflict) IsCode(code int) bool
- func (o *DescribeDNSServerConflict) IsRedirect() bool
- func (o *DescribeDNSServerConflict) IsServerError() bool
- func (o *DescribeDNSServerConflict) IsSuccess() bool
- func (o *DescribeDNSServerConflict) String() string
- type DescribeDNSServerInternalServerError
- func (o *DescribeDNSServerInternalServerError) Code() int
- func (o *DescribeDNSServerInternalServerError) Error() string
- func (o *DescribeDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *DescribeDNSServerInternalServerError) IsClientError() bool
- func (o *DescribeDNSServerInternalServerError) IsCode(code int) bool
- func (o *DescribeDNSServerInternalServerError) IsRedirect() bool
- func (o *DescribeDNSServerInternalServerError) IsServerError() bool
- func (o *DescribeDNSServerInternalServerError) IsSuccess() bool
- func (o *DescribeDNSServerInternalServerError) String() string
- type DescribeDNSServerNotFound
- func (o *DescribeDNSServerNotFound) Code() int
- func (o *DescribeDNSServerNotFound) Error() string
- func (o *DescribeDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *DescribeDNSServerNotFound) IsClientError() bool
- func (o *DescribeDNSServerNotFound) IsCode(code int) bool
- func (o *DescribeDNSServerNotFound) IsRedirect() bool
- func (o *DescribeDNSServerNotFound) IsServerError() bool
- func (o *DescribeDNSServerNotFound) IsSuccess() bool
- func (o *DescribeDNSServerNotFound) String() string
- type DescribeDNSServerOK
- func (o *DescribeDNSServerOK) Code() int
- func (o *DescribeDNSServerOK) Error() string
- func (o *DescribeDNSServerOK) GetPayload() *vproxy_client_model.DNSServerDetail
- func (o *DescribeDNSServerOK) IsClientError() bool
- func (o *DescribeDNSServerOK) IsCode(code int) bool
- func (o *DescribeDNSServerOK) IsRedirect() bool
- func (o *DescribeDNSServerOK) IsServerError() bool
- func (o *DescribeDNSServerOK) IsSuccess() bool
- func (o *DescribeDNSServerOK) String() string
- type DescribeDNSServerParams
- func NewDescribeDNSServerParams() *DescribeDNSServerParams
- func NewDescribeDNSServerParamsWithContext(ctx context.Context) *DescribeDNSServerParams
- func NewDescribeDNSServerParamsWithHTTPClient(client *http.Client) *DescribeDNSServerParams
- func NewDescribeDNSServerParamsWithTimeout(timeout time.Duration) *DescribeDNSServerParams
- func (o *DescribeDNSServerParams) SetContext(ctx context.Context)
- func (o *DescribeDNSServerParams) SetDNS(dns string)
- func (o *DescribeDNSServerParams) SetDefaults()
- func (o *DescribeDNSServerParams) SetHTTPClient(client *http.Client)
- func (o *DescribeDNSServerParams) SetTimeout(timeout time.Duration)
- func (o *DescribeDNSServerParams) WithContext(ctx context.Context) *DescribeDNSServerParams
- func (o *DescribeDNSServerParams) WithDNS(dns string) *DescribeDNSServerParams
- func (o *DescribeDNSServerParams) WithDefaults() *DescribeDNSServerParams
- func (o *DescribeDNSServerParams) WithHTTPClient(client *http.Client) *DescribeDNSServerParams
- func (o *DescribeDNSServerParams) WithTimeout(timeout time.Duration) *DescribeDNSServerParams
- func (o *DescribeDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeDNSServerReader
- type GetDNSServerBadRequest
- func (o *GetDNSServerBadRequest) Code() int
- func (o *GetDNSServerBadRequest) Error() string
- func (o *GetDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *GetDNSServerBadRequest) IsClientError() bool
- func (o *GetDNSServerBadRequest) IsCode(code int) bool
- func (o *GetDNSServerBadRequest) IsRedirect() bool
- func (o *GetDNSServerBadRequest) IsServerError() bool
- func (o *GetDNSServerBadRequest) IsSuccess() bool
- func (o *GetDNSServerBadRequest) String() string
- type GetDNSServerConflict
- func (o *GetDNSServerConflict) Code() int
- func (o *GetDNSServerConflict) Error() string
- func (o *GetDNSServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *GetDNSServerConflict) IsClientError() bool
- func (o *GetDNSServerConflict) IsCode(code int) bool
- func (o *GetDNSServerConflict) IsRedirect() bool
- func (o *GetDNSServerConflict) IsServerError() bool
- func (o *GetDNSServerConflict) IsSuccess() bool
- func (o *GetDNSServerConflict) String() string
- type GetDNSServerInternalServerError
- func (o *GetDNSServerInternalServerError) Code() int
- func (o *GetDNSServerInternalServerError) Error() string
- func (o *GetDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *GetDNSServerInternalServerError) IsClientError() bool
- func (o *GetDNSServerInternalServerError) IsCode(code int) bool
- func (o *GetDNSServerInternalServerError) IsRedirect() bool
- func (o *GetDNSServerInternalServerError) IsServerError() bool
- func (o *GetDNSServerInternalServerError) IsSuccess() bool
- func (o *GetDNSServerInternalServerError) String() string
- type GetDNSServerNotFound
- func (o *GetDNSServerNotFound) Code() int
- func (o *GetDNSServerNotFound) Error() string
- func (o *GetDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *GetDNSServerNotFound) IsClientError() bool
- func (o *GetDNSServerNotFound) IsCode(code int) bool
- func (o *GetDNSServerNotFound) IsRedirect() bool
- func (o *GetDNSServerNotFound) IsServerError() bool
- func (o *GetDNSServerNotFound) IsSuccess() bool
- func (o *GetDNSServerNotFound) String() string
- type GetDNSServerOK
- func (o *GetDNSServerOK) Code() int
- func (o *GetDNSServerOK) Error() string
- func (o *GetDNSServerOK) GetPayload() *vproxy_client_model.DNSServer
- func (o *GetDNSServerOK) IsClientError() bool
- func (o *GetDNSServerOK) IsCode(code int) bool
- func (o *GetDNSServerOK) IsRedirect() bool
- func (o *GetDNSServerOK) IsServerError() bool
- func (o *GetDNSServerOK) IsSuccess() bool
- func (o *GetDNSServerOK) String() string
- type GetDNSServerParams
- func (o *GetDNSServerParams) SetContext(ctx context.Context)
- func (o *GetDNSServerParams) SetDNS(dns string)
- func (o *GetDNSServerParams) SetDefaults()
- func (o *GetDNSServerParams) SetHTTPClient(client *http.Client)
- func (o *GetDNSServerParams) SetTimeout(timeout time.Duration)
- func (o *GetDNSServerParams) WithContext(ctx context.Context) *GetDNSServerParams
- func (o *GetDNSServerParams) WithDNS(dns string) *GetDNSServerParams
- func (o *GetDNSServerParams) WithDefaults() *GetDNSServerParams
- func (o *GetDNSServerParams) WithHTTPClient(client *http.Client) *GetDNSServerParams
- func (o *GetDNSServerParams) WithTimeout(timeout time.Duration) *GetDNSServerParams
- func (o *GetDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDNSServerReader
- type ListDNSServerBadRequest
- func (o *ListDNSServerBadRequest) Code() int
- func (o *ListDNSServerBadRequest) Error() string
- func (o *ListDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *ListDNSServerBadRequest) IsClientError() bool
- func (o *ListDNSServerBadRequest) IsCode(code int) bool
- func (o *ListDNSServerBadRequest) IsRedirect() bool
- func (o *ListDNSServerBadRequest) IsServerError() bool
- func (o *ListDNSServerBadRequest) IsSuccess() bool
- func (o *ListDNSServerBadRequest) String() string
- type ListDNSServerConflict
- func (o *ListDNSServerConflict) Code() int
- func (o *ListDNSServerConflict) Error() string
- func (o *ListDNSServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *ListDNSServerConflict) IsClientError() bool
- func (o *ListDNSServerConflict) IsCode(code int) bool
- func (o *ListDNSServerConflict) IsRedirect() bool
- func (o *ListDNSServerConflict) IsServerError() bool
- func (o *ListDNSServerConflict) IsSuccess() bool
- func (o *ListDNSServerConflict) String() string
- type ListDNSServerInternalServerError
- func (o *ListDNSServerInternalServerError) Code() int
- func (o *ListDNSServerInternalServerError) Error() string
- func (o *ListDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *ListDNSServerInternalServerError) IsClientError() bool
- func (o *ListDNSServerInternalServerError) IsCode(code int) bool
- func (o *ListDNSServerInternalServerError) IsRedirect() bool
- func (o *ListDNSServerInternalServerError) IsServerError() bool
- func (o *ListDNSServerInternalServerError) IsSuccess() bool
- func (o *ListDNSServerInternalServerError) String() string
- type ListDNSServerOK
- func (o *ListDNSServerOK) Code() int
- func (o *ListDNSServerOK) Error() string
- func (o *ListDNSServerOK) GetPayload() []*vproxy_client_model.DNSServer
- func (o *ListDNSServerOK) IsClientError() bool
- func (o *ListDNSServerOK) IsCode(code int) bool
- func (o *ListDNSServerOK) IsRedirect() bool
- func (o *ListDNSServerOK) IsServerError() bool
- func (o *ListDNSServerOK) IsSuccess() bool
- func (o *ListDNSServerOK) String() string
- type ListDNSServerParams
- func (o *ListDNSServerParams) SetContext(ctx context.Context)
- func (o *ListDNSServerParams) SetDefaults()
- func (o *ListDNSServerParams) SetHTTPClient(client *http.Client)
- func (o *ListDNSServerParams) SetTimeout(timeout time.Duration)
- func (o *ListDNSServerParams) WithContext(ctx context.Context) *ListDNSServerParams
- func (o *ListDNSServerParams) WithDefaults() *ListDNSServerParams
- func (o *ListDNSServerParams) WithHTTPClient(client *http.Client) *ListDNSServerParams
- func (o *ListDNSServerParams) WithTimeout(timeout time.Duration) *ListDNSServerParams
- func (o *ListDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDNSServerReader
- type RemoveDNSServerBadRequest
- func (o *RemoveDNSServerBadRequest) Code() int
- func (o *RemoveDNSServerBadRequest) Error() string
- func (o *RemoveDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *RemoveDNSServerBadRequest) IsClientError() bool
- func (o *RemoveDNSServerBadRequest) IsCode(code int) bool
- func (o *RemoveDNSServerBadRequest) IsRedirect() bool
- func (o *RemoveDNSServerBadRequest) IsServerError() bool
- func (o *RemoveDNSServerBadRequest) IsSuccess() bool
- func (o *RemoveDNSServerBadRequest) String() string
- type RemoveDNSServerConflict
- func (o *RemoveDNSServerConflict) Code() int
- func (o *RemoveDNSServerConflict) Error() string
- func (o *RemoveDNSServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *RemoveDNSServerConflict) IsClientError() bool
- func (o *RemoveDNSServerConflict) IsCode(code int) bool
- func (o *RemoveDNSServerConflict) IsRedirect() bool
- func (o *RemoveDNSServerConflict) IsServerError() bool
- func (o *RemoveDNSServerConflict) IsSuccess() bool
- func (o *RemoveDNSServerConflict) String() string
- type RemoveDNSServerInternalServerError
- func (o *RemoveDNSServerInternalServerError) Code() int
- func (o *RemoveDNSServerInternalServerError) Error() string
- func (o *RemoveDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *RemoveDNSServerInternalServerError) IsClientError() bool
- func (o *RemoveDNSServerInternalServerError) IsCode(code int) bool
- func (o *RemoveDNSServerInternalServerError) IsRedirect() bool
- func (o *RemoveDNSServerInternalServerError) IsServerError() bool
- func (o *RemoveDNSServerInternalServerError) IsSuccess() bool
- func (o *RemoveDNSServerInternalServerError) String() string
- type RemoveDNSServerNoContent
- func (o *RemoveDNSServerNoContent) Code() int
- func (o *RemoveDNSServerNoContent) Error() string
- func (o *RemoveDNSServerNoContent) IsClientError() bool
- func (o *RemoveDNSServerNoContent) IsCode(code int) bool
- func (o *RemoveDNSServerNoContent) IsRedirect() bool
- func (o *RemoveDNSServerNoContent) IsServerError() bool
- func (o *RemoveDNSServerNoContent) IsSuccess() bool
- func (o *RemoveDNSServerNoContent) String() string
- type RemoveDNSServerNotFound
- func (o *RemoveDNSServerNotFound) Code() int
- func (o *RemoveDNSServerNotFound) Error() string
- func (o *RemoveDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *RemoveDNSServerNotFound) IsClientError() bool
- func (o *RemoveDNSServerNotFound) IsCode(code int) bool
- func (o *RemoveDNSServerNotFound) IsRedirect() bool
- func (o *RemoveDNSServerNotFound) IsServerError() bool
- func (o *RemoveDNSServerNotFound) IsSuccess() bool
- func (o *RemoveDNSServerNotFound) String() string
- type RemoveDNSServerParams
- func NewRemoveDNSServerParams() *RemoveDNSServerParams
- func NewRemoveDNSServerParamsWithContext(ctx context.Context) *RemoveDNSServerParams
- func NewRemoveDNSServerParamsWithHTTPClient(client *http.Client) *RemoveDNSServerParams
- func NewRemoveDNSServerParamsWithTimeout(timeout time.Duration) *RemoveDNSServerParams
- func (o *RemoveDNSServerParams) SetContext(ctx context.Context)
- func (o *RemoveDNSServerParams) SetDNS(dns string)
- func (o *RemoveDNSServerParams) SetDefaults()
- func (o *RemoveDNSServerParams) SetHTTPClient(client *http.Client)
- func (o *RemoveDNSServerParams) SetTimeout(timeout time.Duration)
- func (o *RemoveDNSServerParams) WithContext(ctx context.Context) *RemoveDNSServerParams
- func (o *RemoveDNSServerParams) WithDNS(dns string) *RemoveDNSServerParams
- func (o *RemoveDNSServerParams) WithDefaults() *RemoveDNSServerParams
- func (o *RemoveDNSServerParams) WithHTTPClient(client *http.Client) *RemoveDNSServerParams
- func (o *RemoveDNSServerParams) WithTimeout(timeout time.Duration) *RemoveDNSServerParams
- func (o *RemoveDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveDNSServerReader
- type UpdateDNSServerBadRequest
- func (o *UpdateDNSServerBadRequest) Code() int
- func (o *UpdateDNSServerBadRequest) Error() string
- func (o *UpdateDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
- func (o *UpdateDNSServerBadRequest) IsClientError() bool
- func (o *UpdateDNSServerBadRequest) IsCode(code int) bool
- func (o *UpdateDNSServerBadRequest) IsRedirect() bool
- func (o *UpdateDNSServerBadRequest) IsServerError() bool
- func (o *UpdateDNSServerBadRequest) IsSuccess() bool
- func (o *UpdateDNSServerBadRequest) String() string
- type UpdateDNSServerConflict
- func (o *UpdateDNSServerConflict) Code() int
- func (o *UpdateDNSServerConflict) Error() string
- func (o *UpdateDNSServerConflict) GetPayload() *vproxy_client_model.Error409
- func (o *UpdateDNSServerConflict) IsClientError() bool
- func (o *UpdateDNSServerConflict) IsCode(code int) bool
- func (o *UpdateDNSServerConflict) IsRedirect() bool
- func (o *UpdateDNSServerConflict) IsServerError() bool
- func (o *UpdateDNSServerConflict) IsSuccess() bool
- func (o *UpdateDNSServerConflict) String() string
- type UpdateDNSServerInternalServerError
- func (o *UpdateDNSServerInternalServerError) Code() int
- func (o *UpdateDNSServerInternalServerError) Error() string
- func (o *UpdateDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
- func (o *UpdateDNSServerInternalServerError) IsClientError() bool
- func (o *UpdateDNSServerInternalServerError) IsCode(code int) bool
- func (o *UpdateDNSServerInternalServerError) IsRedirect() bool
- func (o *UpdateDNSServerInternalServerError) IsServerError() bool
- func (o *UpdateDNSServerInternalServerError) IsSuccess() bool
- func (o *UpdateDNSServerInternalServerError) String() string
- type UpdateDNSServerNoContent
- func (o *UpdateDNSServerNoContent) Code() int
- func (o *UpdateDNSServerNoContent) Error() string
- func (o *UpdateDNSServerNoContent) IsClientError() bool
- func (o *UpdateDNSServerNoContent) IsCode(code int) bool
- func (o *UpdateDNSServerNoContent) IsRedirect() bool
- func (o *UpdateDNSServerNoContent) IsServerError() bool
- func (o *UpdateDNSServerNoContent) IsSuccess() bool
- func (o *UpdateDNSServerNoContent) String() string
- type UpdateDNSServerNotFound
- func (o *UpdateDNSServerNotFound) Code() int
- func (o *UpdateDNSServerNotFound) Error() string
- func (o *UpdateDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
- func (o *UpdateDNSServerNotFound) IsClientError() bool
- func (o *UpdateDNSServerNotFound) IsCode(code int) bool
- func (o *UpdateDNSServerNotFound) IsRedirect() bool
- func (o *UpdateDNSServerNotFound) IsServerError() bool
- func (o *UpdateDNSServerNotFound) IsSuccess() bool
- func (o *UpdateDNSServerNotFound) String() string
- type UpdateDNSServerParams
- func NewUpdateDNSServerParams() *UpdateDNSServerParams
- func NewUpdateDNSServerParamsWithContext(ctx context.Context) *UpdateDNSServerParams
- func NewUpdateDNSServerParamsWithHTTPClient(client *http.Client) *UpdateDNSServerParams
- func NewUpdateDNSServerParamsWithTimeout(timeout time.Duration) *UpdateDNSServerParams
- func (o *UpdateDNSServerParams) SetBody(body *vproxy_client_model.DNSServerUpdate)
- func (o *UpdateDNSServerParams) SetContext(ctx context.Context)
- func (o *UpdateDNSServerParams) SetDNS(dns string)
- func (o *UpdateDNSServerParams) SetDefaults()
- func (o *UpdateDNSServerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDNSServerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDNSServerParams) WithBody(body *vproxy_client_model.DNSServerUpdate) *UpdateDNSServerParams
- func (o *UpdateDNSServerParams) WithContext(ctx context.Context) *UpdateDNSServerParams
- func (o *UpdateDNSServerParams) WithDNS(dns string) *UpdateDNSServerParams
- func (o *UpdateDNSServerParams) WithDefaults() *UpdateDNSServerParams
- func (o *UpdateDNSServerParams) WithHTTPClient(client *http.Client) *UpdateDNSServerParams
- func (o *UpdateDNSServerParams) WithTimeout(timeout time.Duration) *UpdateDNSServerParams
- func (o *UpdateDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDNSServerReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDNSServerBadRequest ¶
type AddDNSServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
AddDNSServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewAddDNSServerBadRequest ¶
func NewAddDNSServerBadRequest() *AddDNSServerBadRequest
NewAddDNSServerBadRequest creates a AddDNSServerBadRequest with default headers values
func (*AddDNSServerBadRequest) Code ¶
func (o *AddDNSServerBadRequest) Code() int
Code gets the status code for the add Dns server bad request response
func (*AddDNSServerBadRequest) Error ¶
func (o *AddDNSServerBadRequest) Error() string
func (*AddDNSServerBadRequest) GetPayload ¶
func (o *AddDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*AddDNSServerBadRequest) IsClientError ¶
func (o *AddDNSServerBadRequest) IsClientError() bool
IsClientError returns true when this add Dns server bad request response has a 4xx status code
func (*AddDNSServerBadRequest) IsCode ¶
func (o *AddDNSServerBadRequest) IsCode(code int) bool
IsCode returns true when this add Dns server bad request response a status code equal to that given
func (*AddDNSServerBadRequest) IsRedirect ¶
func (o *AddDNSServerBadRequest) IsRedirect() bool
IsRedirect returns true when this add Dns server bad request response has a 3xx status code
func (*AddDNSServerBadRequest) IsServerError ¶
func (o *AddDNSServerBadRequest) IsServerError() bool
IsServerError returns true when this add Dns server bad request response has a 5xx status code
func (*AddDNSServerBadRequest) IsSuccess ¶
func (o *AddDNSServerBadRequest) IsSuccess() bool
IsSuccess returns true when this add Dns server bad request response has a 2xx status code
func (*AddDNSServerBadRequest) String ¶
func (o *AddDNSServerBadRequest) String() string
type AddDNSServerConflict ¶
type AddDNSServerConflict struct {
Payload *vproxy_client_model.Error409
}
AddDNSServerConflict describes a response with status code 409, with default header values.
conflict
func NewAddDNSServerConflict ¶
func NewAddDNSServerConflict() *AddDNSServerConflict
NewAddDNSServerConflict creates a AddDNSServerConflict with default headers values
func (*AddDNSServerConflict) Code ¶
func (o *AddDNSServerConflict) Code() int
Code gets the status code for the add Dns server conflict response
func (*AddDNSServerConflict) Error ¶
func (o *AddDNSServerConflict) Error() string
func (*AddDNSServerConflict) GetPayload ¶
func (o *AddDNSServerConflict) GetPayload() *vproxy_client_model.Error409
func (*AddDNSServerConflict) IsClientError ¶
func (o *AddDNSServerConflict) IsClientError() bool
IsClientError returns true when this add Dns server conflict response has a 4xx status code
func (*AddDNSServerConflict) IsCode ¶
func (o *AddDNSServerConflict) IsCode(code int) bool
IsCode returns true when this add Dns server conflict response a status code equal to that given
func (*AddDNSServerConflict) IsRedirect ¶
func (o *AddDNSServerConflict) IsRedirect() bool
IsRedirect returns true when this add Dns server conflict response has a 3xx status code
func (*AddDNSServerConflict) IsServerError ¶
func (o *AddDNSServerConflict) IsServerError() bool
IsServerError returns true when this add Dns server conflict response has a 5xx status code
func (*AddDNSServerConflict) IsSuccess ¶
func (o *AddDNSServerConflict) IsSuccess() bool
IsSuccess returns true when this add Dns server conflict response has a 2xx status code
func (*AddDNSServerConflict) String ¶
func (o *AddDNSServerConflict) String() string
type AddDNSServerInternalServerError ¶
type AddDNSServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
AddDNSServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewAddDNSServerInternalServerError ¶
func NewAddDNSServerInternalServerError() *AddDNSServerInternalServerError
NewAddDNSServerInternalServerError creates a AddDNSServerInternalServerError with default headers values
func (*AddDNSServerInternalServerError) Code ¶
func (o *AddDNSServerInternalServerError) Code() int
Code gets the status code for the add Dns server internal server error response
func (*AddDNSServerInternalServerError) Error ¶
func (o *AddDNSServerInternalServerError) Error() string
func (*AddDNSServerInternalServerError) GetPayload ¶
func (o *AddDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*AddDNSServerInternalServerError) IsClientError ¶
func (o *AddDNSServerInternalServerError) IsClientError() bool
IsClientError returns true when this add Dns server internal server error response has a 4xx status code
func (*AddDNSServerInternalServerError) IsCode ¶
func (o *AddDNSServerInternalServerError) IsCode(code int) bool
IsCode returns true when this add Dns server internal server error response a status code equal to that given
func (*AddDNSServerInternalServerError) IsRedirect ¶
func (o *AddDNSServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this add Dns server internal server error response has a 3xx status code
func (*AddDNSServerInternalServerError) IsServerError ¶
func (o *AddDNSServerInternalServerError) IsServerError() bool
IsServerError returns true when this add Dns server internal server error response has a 5xx status code
func (*AddDNSServerInternalServerError) IsSuccess ¶
func (o *AddDNSServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this add Dns server internal server error response has a 2xx status code
func (*AddDNSServerInternalServerError) String ¶
func (o *AddDNSServerInternalServerError) String() string
type AddDNSServerNoContent ¶
type AddDNSServerNoContent struct { }
AddDNSServerNoContent describes a response with status code 204, with default header values.
ok
func NewAddDNSServerNoContent ¶
func NewAddDNSServerNoContent() *AddDNSServerNoContent
NewAddDNSServerNoContent creates a AddDNSServerNoContent with default headers values
func (*AddDNSServerNoContent) Code ¶
func (o *AddDNSServerNoContent) Code() int
Code gets the status code for the add Dns server no content response
func (*AddDNSServerNoContent) Error ¶
func (o *AddDNSServerNoContent) Error() string
func (*AddDNSServerNoContent) IsClientError ¶
func (o *AddDNSServerNoContent) IsClientError() bool
IsClientError returns true when this add Dns server no content response has a 4xx status code
func (*AddDNSServerNoContent) IsCode ¶
func (o *AddDNSServerNoContent) IsCode(code int) bool
IsCode returns true when this add Dns server no content response a status code equal to that given
func (*AddDNSServerNoContent) IsRedirect ¶
func (o *AddDNSServerNoContent) IsRedirect() bool
IsRedirect returns true when this add Dns server no content response has a 3xx status code
func (*AddDNSServerNoContent) IsServerError ¶
func (o *AddDNSServerNoContent) IsServerError() bool
IsServerError returns true when this add Dns server no content response has a 5xx status code
func (*AddDNSServerNoContent) IsSuccess ¶
func (o *AddDNSServerNoContent) IsSuccess() bool
IsSuccess returns true when this add Dns server no content response has a 2xx status code
func (*AddDNSServerNoContent) String ¶
func (o *AddDNSServerNoContent) String() string
type AddDNSServerNotFound ¶
type AddDNSServerNotFound struct {
Payload *vproxy_client_model.Error404
}
AddDNSServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewAddDNSServerNotFound ¶
func NewAddDNSServerNotFound() *AddDNSServerNotFound
NewAddDNSServerNotFound creates a AddDNSServerNotFound with default headers values
func (*AddDNSServerNotFound) Code ¶
func (o *AddDNSServerNotFound) Code() int
Code gets the status code for the add Dns server not found response
func (*AddDNSServerNotFound) Error ¶
func (o *AddDNSServerNotFound) Error() string
func (*AddDNSServerNotFound) GetPayload ¶
func (o *AddDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*AddDNSServerNotFound) IsClientError ¶
func (o *AddDNSServerNotFound) IsClientError() bool
IsClientError returns true when this add Dns server not found response has a 4xx status code
func (*AddDNSServerNotFound) IsCode ¶
func (o *AddDNSServerNotFound) IsCode(code int) bool
IsCode returns true when this add Dns server not found response a status code equal to that given
func (*AddDNSServerNotFound) IsRedirect ¶
func (o *AddDNSServerNotFound) IsRedirect() bool
IsRedirect returns true when this add Dns server not found response has a 3xx status code
func (*AddDNSServerNotFound) IsServerError ¶
func (o *AddDNSServerNotFound) IsServerError() bool
IsServerError returns true when this add Dns server not found response has a 5xx status code
func (*AddDNSServerNotFound) IsSuccess ¶
func (o *AddDNSServerNotFound) IsSuccess() bool
IsSuccess returns true when this add Dns server not found response has a 2xx status code
func (*AddDNSServerNotFound) String ¶
func (o *AddDNSServerNotFound) String() string
type AddDNSServerParams ¶
type AddDNSServerParams struct { // Body. Body *vproxy_client_model.DNSServerCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddDNSServerParams contains all the parameters to send to the API endpoint
for the add Dns server operation. Typically these are written to a http.Request.
func NewAddDNSServerParams ¶
func NewAddDNSServerParams() *AddDNSServerParams
NewAddDNSServerParams creates a new AddDNSServerParams 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 NewAddDNSServerParamsWithContext ¶
func NewAddDNSServerParamsWithContext(ctx context.Context) *AddDNSServerParams
NewAddDNSServerParamsWithContext creates a new AddDNSServerParams object with the ability to set a context for a request.
func NewAddDNSServerParamsWithHTTPClient ¶
func NewAddDNSServerParamsWithHTTPClient(client *http.Client) *AddDNSServerParams
NewAddDNSServerParamsWithHTTPClient creates a new AddDNSServerParams object with the ability to set a custom HTTPClient for a request.
func NewAddDNSServerParamsWithTimeout ¶
func NewAddDNSServerParamsWithTimeout(timeout time.Duration) *AddDNSServerParams
NewAddDNSServerParamsWithTimeout creates a new AddDNSServerParams object with the ability to set a timeout on a request.
func (*AddDNSServerParams) SetBody ¶
func (o *AddDNSServerParams) SetBody(body *vproxy_client_model.DNSServerCreate)
SetBody adds the body to the add Dns server params
func (*AddDNSServerParams) SetContext ¶
func (o *AddDNSServerParams) SetContext(ctx context.Context)
SetContext adds the context to the add Dns server params
func (*AddDNSServerParams) SetDefaults ¶
func (o *AddDNSServerParams) SetDefaults()
SetDefaults hydrates default values in the add Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*AddDNSServerParams) SetHTTPClient ¶
func (o *AddDNSServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add Dns server params
func (*AddDNSServerParams) SetTimeout ¶
func (o *AddDNSServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add Dns server params
func (*AddDNSServerParams) WithBody ¶
func (o *AddDNSServerParams) WithBody(body *vproxy_client_model.DNSServerCreate) *AddDNSServerParams
WithBody adds the body to the add Dns server params
func (*AddDNSServerParams) WithContext ¶
func (o *AddDNSServerParams) WithContext(ctx context.Context) *AddDNSServerParams
WithContext adds the context to the add Dns server params
func (*AddDNSServerParams) WithDefaults ¶
func (o *AddDNSServerParams) WithDefaults() *AddDNSServerParams
WithDefaults hydrates default values in the add Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*AddDNSServerParams) WithHTTPClient ¶
func (o *AddDNSServerParams) WithHTTPClient(client *http.Client) *AddDNSServerParams
WithHTTPClient adds the HTTPClient to the add Dns server params
func (*AddDNSServerParams) WithTimeout ¶
func (o *AddDNSServerParams) WithTimeout(timeout time.Duration) *AddDNSServerParams
WithTimeout adds the timeout to the add Dns server params
func (*AddDNSServerParams) WriteToRequest ¶
func (o *AddDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddDNSServerReader ¶
type AddDNSServerReader struct {
// contains filtered or unexported fields
}
AddDNSServerReader is a Reader for the AddDNSServer structure.
func (*AddDNSServerReader) ReadResponse ¶
func (o *AddDNSServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dns server API
func (*Client) AddDNSServer ¶
func (a *Client) AddDNSServer(params *AddDNSServerParams, opts ...ClientOption) (*AddDNSServerNoContent, error)
AddDNSServer adds dns server
func (*Client) DescribeDNSServer ¶
func (a *Client) DescribeDNSServer(params *DescribeDNSServerParams, opts ...ClientOption) (*DescribeDNSServerOK, error)
DescribeDNSServer gets detailed info of one dns server
func (*Client) GetDNSServer ¶
func (a *Client) GetDNSServer(params *GetDNSServerParams, opts ...ClientOption) (*GetDNSServerOK, error)
GetDNSServer gets dns server
func (*Client) ListDNSServer ¶
func (a *Client) ListDNSServer(params *ListDNSServerParams, opts ...ClientOption) (*ListDNSServerOK, error)
ListDNSServer retrieves dns server list
func (*Client) RemoveDNSServer ¶
func (a *Client) RemoveDNSServer(params *RemoveDNSServerParams, opts ...ClientOption) (*RemoveDNSServerNoContent, error)
RemoveDNSServer removes dns server
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDNSServer ¶
func (a *Client) UpdateDNSServer(params *UpdateDNSServerParams, opts ...ClientOption) (*UpdateDNSServerNoContent, error)
UpdateDNSServer updates dns server
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddDNSServer(params *AddDNSServerParams, opts ...ClientOption) (*AddDNSServerNoContent, error) DescribeDNSServer(params *DescribeDNSServerParams, opts ...ClientOption) (*DescribeDNSServerOK, error) GetDNSServer(params *GetDNSServerParams, opts ...ClientOption) (*GetDNSServerOK, error) ListDNSServer(params *ListDNSServerParams, opts ...ClientOption) (*ListDNSServerOK, error) RemoveDNSServer(params *RemoveDNSServerParams, opts ...ClientOption) (*RemoveDNSServerNoContent, error) UpdateDNSServer(params *UpdateDNSServerParams, opts ...ClientOption) (*UpdateDNSServerNoContent, 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 dns server API client.
type DescribeDNSServerBadRequest ¶
type DescribeDNSServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
DescribeDNSServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewDescribeDNSServerBadRequest ¶
func NewDescribeDNSServerBadRequest() *DescribeDNSServerBadRequest
NewDescribeDNSServerBadRequest creates a DescribeDNSServerBadRequest with default headers values
func (*DescribeDNSServerBadRequest) Code ¶
func (o *DescribeDNSServerBadRequest) Code() int
Code gets the status code for the describe Dns server bad request response
func (*DescribeDNSServerBadRequest) Error ¶
func (o *DescribeDNSServerBadRequest) Error() string
func (*DescribeDNSServerBadRequest) GetPayload ¶
func (o *DescribeDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*DescribeDNSServerBadRequest) IsClientError ¶
func (o *DescribeDNSServerBadRequest) IsClientError() bool
IsClientError returns true when this describe Dns server bad request response has a 4xx status code
func (*DescribeDNSServerBadRequest) IsCode ¶
func (o *DescribeDNSServerBadRequest) IsCode(code int) bool
IsCode returns true when this describe Dns server bad request response a status code equal to that given
func (*DescribeDNSServerBadRequest) IsRedirect ¶
func (o *DescribeDNSServerBadRequest) IsRedirect() bool
IsRedirect returns true when this describe Dns server bad request response has a 3xx status code
func (*DescribeDNSServerBadRequest) IsServerError ¶
func (o *DescribeDNSServerBadRequest) IsServerError() bool
IsServerError returns true when this describe Dns server bad request response has a 5xx status code
func (*DescribeDNSServerBadRequest) IsSuccess ¶
func (o *DescribeDNSServerBadRequest) IsSuccess() bool
IsSuccess returns true when this describe Dns server bad request response has a 2xx status code
func (*DescribeDNSServerBadRequest) String ¶
func (o *DescribeDNSServerBadRequest) String() string
type DescribeDNSServerConflict ¶
type DescribeDNSServerConflict struct {
Payload *vproxy_client_model.Error409
}
DescribeDNSServerConflict describes a response with status code 409, with default header values.
conflict
func NewDescribeDNSServerConflict ¶
func NewDescribeDNSServerConflict() *DescribeDNSServerConflict
NewDescribeDNSServerConflict creates a DescribeDNSServerConflict with default headers values
func (*DescribeDNSServerConflict) Code ¶
func (o *DescribeDNSServerConflict) Code() int
Code gets the status code for the describe Dns server conflict response
func (*DescribeDNSServerConflict) Error ¶
func (o *DescribeDNSServerConflict) Error() string
func (*DescribeDNSServerConflict) GetPayload ¶
func (o *DescribeDNSServerConflict) GetPayload() *vproxy_client_model.Error409
func (*DescribeDNSServerConflict) IsClientError ¶
func (o *DescribeDNSServerConflict) IsClientError() bool
IsClientError returns true when this describe Dns server conflict response has a 4xx status code
func (*DescribeDNSServerConflict) IsCode ¶
func (o *DescribeDNSServerConflict) IsCode(code int) bool
IsCode returns true when this describe Dns server conflict response a status code equal to that given
func (*DescribeDNSServerConflict) IsRedirect ¶
func (o *DescribeDNSServerConflict) IsRedirect() bool
IsRedirect returns true when this describe Dns server conflict response has a 3xx status code
func (*DescribeDNSServerConflict) IsServerError ¶
func (o *DescribeDNSServerConflict) IsServerError() bool
IsServerError returns true when this describe Dns server conflict response has a 5xx status code
func (*DescribeDNSServerConflict) IsSuccess ¶
func (o *DescribeDNSServerConflict) IsSuccess() bool
IsSuccess returns true when this describe Dns server conflict response has a 2xx status code
func (*DescribeDNSServerConflict) String ¶
func (o *DescribeDNSServerConflict) String() string
type DescribeDNSServerInternalServerError ¶
type DescribeDNSServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
DescribeDNSServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewDescribeDNSServerInternalServerError ¶
func NewDescribeDNSServerInternalServerError() *DescribeDNSServerInternalServerError
NewDescribeDNSServerInternalServerError creates a DescribeDNSServerInternalServerError with default headers values
func (*DescribeDNSServerInternalServerError) Code ¶
func (o *DescribeDNSServerInternalServerError) Code() int
Code gets the status code for the describe Dns server internal server error response
func (*DescribeDNSServerInternalServerError) Error ¶
func (o *DescribeDNSServerInternalServerError) Error() string
func (*DescribeDNSServerInternalServerError) GetPayload ¶
func (o *DescribeDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*DescribeDNSServerInternalServerError) IsClientError ¶
func (o *DescribeDNSServerInternalServerError) IsClientError() bool
IsClientError returns true when this describe Dns server internal server error response has a 4xx status code
func (*DescribeDNSServerInternalServerError) IsCode ¶
func (o *DescribeDNSServerInternalServerError) IsCode(code int) bool
IsCode returns true when this describe Dns server internal server error response a status code equal to that given
func (*DescribeDNSServerInternalServerError) IsRedirect ¶
func (o *DescribeDNSServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this describe Dns server internal server error response has a 3xx status code
func (*DescribeDNSServerInternalServerError) IsServerError ¶
func (o *DescribeDNSServerInternalServerError) IsServerError() bool
IsServerError returns true when this describe Dns server internal server error response has a 5xx status code
func (*DescribeDNSServerInternalServerError) IsSuccess ¶
func (o *DescribeDNSServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this describe Dns server internal server error response has a 2xx status code
func (*DescribeDNSServerInternalServerError) String ¶
func (o *DescribeDNSServerInternalServerError) String() string
type DescribeDNSServerNotFound ¶
type DescribeDNSServerNotFound struct {
Payload *vproxy_client_model.Error404
}
DescribeDNSServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewDescribeDNSServerNotFound ¶
func NewDescribeDNSServerNotFound() *DescribeDNSServerNotFound
NewDescribeDNSServerNotFound creates a DescribeDNSServerNotFound with default headers values
func (*DescribeDNSServerNotFound) Code ¶
func (o *DescribeDNSServerNotFound) Code() int
Code gets the status code for the describe Dns server not found response
func (*DescribeDNSServerNotFound) Error ¶
func (o *DescribeDNSServerNotFound) Error() string
func (*DescribeDNSServerNotFound) GetPayload ¶
func (o *DescribeDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*DescribeDNSServerNotFound) IsClientError ¶
func (o *DescribeDNSServerNotFound) IsClientError() bool
IsClientError returns true when this describe Dns server not found response has a 4xx status code
func (*DescribeDNSServerNotFound) IsCode ¶
func (o *DescribeDNSServerNotFound) IsCode(code int) bool
IsCode returns true when this describe Dns server not found response a status code equal to that given
func (*DescribeDNSServerNotFound) IsRedirect ¶
func (o *DescribeDNSServerNotFound) IsRedirect() bool
IsRedirect returns true when this describe Dns server not found response has a 3xx status code
func (*DescribeDNSServerNotFound) IsServerError ¶
func (o *DescribeDNSServerNotFound) IsServerError() bool
IsServerError returns true when this describe Dns server not found response has a 5xx status code
func (*DescribeDNSServerNotFound) IsSuccess ¶
func (o *DescribeDNSServerNotFound) IsSuccess() bool
IsSuccess returns true when this describe Dns server not found response has a 2xx status code
func (*DescribeDNSServerNotFound) String ¶
func (o *DescribeDNSServerNotFound) String() string
type DescribeDNSServerOK ¶
type DescribeDNSServerOK struct {
Payload *vproxy_client_model.DNSServerDetail
}
DescribeDNSServerOK describes a response with status code 200, with default header values.
ok
func NewDescribeDNSServerOK ¶
func NewDescribeDNSServerOK() *DescribeDNSServerOK
NewDescribeDNSServerOK creates a DescribeDNSServerOK with default headers values
func (*DescribeDNSServerOK) Code ¶
func (o *DescribeDNSServerOK) Code() int
Code gets the status code for the describe Dns server o k response
func (*DescribeDNSServerOK) Error ¶
func (o *DescribeDNSServerOK) Error() string
func (*DescribeDNSServerOK) GetPayload ¶
func (o *DescribeDNSServerOK) GetPayload() *vproxy_client_model.DNSServerDetail
func (*DescribeDNSServerOK) IsClientError ¶
func (o *DescribeDNSServerOK) IsClientError() bool
IsClientError returns true when this describe Dns server o k response has a 4xx status code
func (*DescribeDNSServerOK) IsCode ¶
func (o *DescribeDNSServerOK) IsCode(code int) bool
IsCode returns true when this describe Dns server o k response a status code equal to that given
func (*DescribeDNSServerOK) IsRedirect ¶
func (o *DescribeDNSServerOK) IsRedirect() bool
IsRedirect returns true when this describe Dns server o k response has a 3xx status code
func (*DescribeDNSServerOK) IsServerError ¶
func (o *DescribeDNSServerOK) IsServerError() bool
IsServerError returns true when this describe Dns server o k response has a 5xx status code
func (*DescribeDNSServerOK) IsSuccess ¶
func (o *DescribeDNSServerOK) IsSuccess() bool
IsSuccess returns true when this describe Dns server o k response has a 2xx status code
func (*DescribeDNSServerOK) String ¶
func (o *DescribeDNSServerOK) String() string
type DescribeDNSServerParams ¶
type DescribeDNSServerParams struct { /* DNS. name of the dns-server */ DNS string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeDNSServerParams contains all the parameters to send to the API endpoint
for the describe Dns server operation. Typically these are written to a http.Request.
func NewDescribeDNSServerParams ¶
func NewDescribeDNSServerParams() *DescribeDNSServerParams
NewDescribeDNSServerParams creates a new DescribeDNSServerParams 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 NewDescribeDNSServerParamsWithContext ¶
func NewDescribeDNSServerParamsWithContext(ctx context.Context) *DescribeDNSServerParams
NewDescribeDNSServerParamsWithContext creates a new DescribeDNSServerParams object with the ability to set a context for a request.
func NewDescribeDNSServerParamsWithHTTPClient ¶
func NewDescribeDNSServerParamsWithHTTPClient(client *http.Client) *DescribeDNSServerParams
NewDescribeDNSServerParamsWithHTTPClient creates a new DescribeDNSServerParams object with the ability to set a custom HTTPClient for a request.
func NewDescribeDNSServerParamsWithTimeout ¶
func NewDescribeDNSServerParamsWithTimeout(timeout time.Duration) *DescribeDNSServerParams
NewDescribeDNSServerParamsWithTimeout creates a new DescribeDNSServerParams object with the ability to set a timeout on a request.
func (*DescribeDNSServerParams) SetContext ¶
func (o *DescribeDNSServerParams) SetContext(ctx context.Context)
SetContext adds the context to the describe Dns server params
func (*DescribeDNSServerParams) SetDNS ¶
func (o *DescribeDNSServerParams) SetDNS(dns string)
SetDNS adds the dns to the describe Dns server params
func (*DescribeDNSServerParams) SetDefaults ¶
func (o *DescribeDNSServerParams) SetDefaults()
SetDefaults hydrates default values in the describe Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeDNSServerParams) SetHTTPClient ¶
func (o *DescribeDNSServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe Dns server params
func (*DescribeDNSServerParams) SetTimeout ¶
func (o *DescribeDNSServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe Dns server params
func (*DescribeDNSServerParams) WithContext ¶
func (o *DescribeDNSServerParams) WithContext(ctx context.Context) *DescribeDNSServerParams
WithContext adds the context to the describe Dns server params
func (*DescribeDNSServerParams) WithDNS ¶
func (o *DescribeDNSServerParams) WithDNS(dns string) *DescribeDNSServerParams
WithDNS adds the dns to the describe Dns server params
func (*DescribeDNSServerParams) WithDefaults ¶
func (o *DescribeDNSServerParams) WithDefaults() *DescribeDNSServerParams
WithDefaults hydrates default values in the describe Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeDNSServerParams) WithHTTPClient ¶
func (o *DescribeDNSServerParams) WithHTTPClient(client *http.Client) *DescribeDNSServerParams
WithHTTPClient adds the HTTPClient to the describe Dns server params
func (*DescribeDNSServerParams) WithTimeout ¶
func (o *DescribeDNSServerParams) WithTimeout(timeout time.Duration) *DescribeDNSServerParams
WithTimeout adds the timeout to the describe Dns server params
func (*DescribeDNSServerParams) WriteToRequest ¶
func (o *DescribeDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeDNSServerReader ¶
type DescribeDNSServerReader struct {
// contains filtered or unexported fields
}
DescribeDNSServerReader is a Reader for the DescribeDNSServer structure.
func (*DescribeDNSServerReader) ReadResponse ¶
func (o *DescribeDNSServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDNSServerBadRequest ¶
type GetDNSServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
GetDNSServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewGetDNSServerBadRequest ¶
func NewGetDNSServerBadRequest() *GetDNSServerBadRequest
NewGetDNSServerBadRequest creates a GetDNSServerBadRequest with default headers values
func (*GetDNSServerBadRequest) Code ¶
func (o *GetDNSServerBadRequest) Code() int
Code gets the status code for the get Dns server bad request response
func (*GetDNSServerBadRequest) Error ¶
func (o *GetDNSServerBadRequest) Error() string
func (*GetDNSServerBadRequest) GetPayload ¶
func (o *GetDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*GetDNSServerBadRequest) IsClientError ¶
func (o *GetDNSServerBadRequest) IsClientError() bool
IsClientError returns true when this get Dns server bad request response has a 4xx status code
func (*GetDNSServerBadRequest) IsCode ¶
func (o *GetDNSServerBadRequest) IsCode(code int) bool
IsCode returns true when this get Dns server bad request response a status code equal to that given
func (*GetDNSServerBadRequest) IsRedirect ¶
func (o *GetDNSServerBadRequest) IsRedirect() bool
IsRedirect returns true when this get Dns server bad request response has a 3xx status code
func (*GetDNSServerBadRequest) IsServerError ¶
func (o *GetDNSServerBadRequest) IsServerError() bool
IsServerError returns true when this get Dns server bad request response has a 5xx status code
func (*GetDNSServerBadRequest) IsSuccess ¶
func (o *GetDNSServerBadRequest) IsSuccess() bool
IsSuccess returns true when this get Dns server bad request response has a 2xx status code
func (*GetDNSServerBadRequest) String ¶
func (o *GetDNSServerBadRequest) String() string
type GetDNSServerConflict ¶
type GetDNSServerConflict struct {
Payload *vproxy_client_model.Error409
}
GetDNSServerConflict describes a response with status code 409, with default header values.
conflict
func NewGetDNSServerConflict ¶
func NewGetDNSServerConflict() *GetDNSServerConflict
NewGetDNSServerConflict creates a GetDNSServerConflict with default headers values
func (*GetDNSServerConflict) Code ¶
func (o *GetDNSServerConflict) Code() int
Code gets the status code for the get Dns server conflict response
func (*GetDNSServerConflict) Error ¶
func (o *GetDNSServerConflict) Error() string
func (*GetDNSServerConflict) GetPayload ¶
func (o *GetDNSServerConflict) GetPayload() *vproxy_client_model.Error409
func (*GetDNSServerConflict) IsClientError ¶
func (o *GetDNSServerConflict) IsClientError() bool
IsClientError returns true when this get Dns server conflict response has a 4xx status code
func (*GetDNSServerConflict) IsCode ¶
func (o *GetDNSServerConflict) IsCode(code int) bool
IsCode returns true when this get Dns server conflict response a status code equal to that given
func (*GetDNSServerConflict) IsRedirect ¶
func (o *GetDNSServerConflict) IsRedirect() bool
IsRedirect returns true when this get Dns server conflict response has a 3xx status code
func (*GetDNSServerConflict) IsServerError ¶
func (o *GetDNSServerConflict) IsServerError() bool
IsServerError returns true when this get Dns server conflict response has a 5xx status code
func (*GetDNSServerConflict) IsSuccess ¶
func (o *GetDNSServerConflict) IsSuccess() bool
IsSuccess returns true when this get Dns server conflict response has a 2xx status code
func (*GetDNSServerConflict) String ¶
func (o *GetDNSServerConflict) String() string
type GetDNSServerInternalServerError ¶
type GetDNSServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
GetDNSServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetDNSServerInternalServerError ¶
func NewGetDNSServerInternalServerError() *GetDNSServerInternalServerError
NewGetDNSServerInternalServerError creates a GetDNSServerInternalServerError with default headers values
func (*GetDNSServerInternalServerError) Code ¶
func (o *GetDNSServerInternalServerError) Code() int
Code gets the status code for the get Dns server internal server error response
func (*GetDNSServerInternalServerError) Error ¶
func (o *GetDNSServerInternalServerError) Error() string
func (*GetDNSServerInternalServerError) GetPayload ¶
func (o *GetDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*GetDNSServerInternalServerError) IsClientError ¶
func (o *GetDNSServerInternalServerError) IsClientError() bool
IsClientError returns true when this get Dns server internal server error response has a 4xx status code
func (*GetDNSServerInternalServerError) IsCode ¶
func (o *GetDNSServerInternalServerError) IsCode(code int) bool
IsCode returns true when this get Dns server internal server error response a status code equal to that given
func (*GetDNSServerInternalServerError) IsRedirect ¶
func (o *GetDNSServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Dns server internal server error response has a 3xx status code
func (*GetDNSServerInternalServerError) IsServerError ¶
func (o *GetDNSServerInternalServerError) IsServerError() bool
IsServerError returns true when this get Dns server internal server error response has a 5xx status code
func (*GetDNSServerInternalServerError) IsSuccess ¶
func (o *GetDNSServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Dns server internal server error response has a 2xx status code
func (*GetDNSServerInternalServerError) String ¶
func (o *GetDNSServerInternalServerError) String() string
type GetDNSServerNotFound ¶
type GetDNSServerNotFound struct {
Payload *vproxy_client_model.Error404
}
GetDNSServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewGetDNSServerNotFound ¶
func NewGetDNSServerNotFound() *GetDNSServerNotFound
NewGetDNSServerNotFound creates a GetDNSServerNotFound with default headers values
func (*GetDNSServerNotFound) Code ¶
func (o *GetDNSServerNotFound) Code() int
Code gets the status code for the get Dns server not found response
func (*GetDNSServerNotFound) Error ¶
func (o *GetDNSServerNotFound) Error() string
func (*GetDNSServerNotFound) GetPayload ¶
func (o *GetDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*GetDNSServerNotFound) IsClientError ¶
func (o *GetDNSServerNotFound) IsClientError() bool
IsClientError returns true when this get Dns server not found response has a 4xx status code
func (*GetDNSServerNotFound) IsCode ¶
func (o *GetDNSServerNotFound) IsCode(code int) bool
IsCode returns true when this get Dns server not found response a status code equal to that given
func (*GetDNSServerNotFound) IsRedirect ¶
func (o *GetDNSServerNotFound) IsRedirect() bool
IsRedirect returns true when this get Dns server not found response has a 3xx status code
func (*GetDNSServerNotFound) IsServerError ¶
func (o *GetDNSServerNotFound) IsServerError() bool
IsServerError returns true when this get Dns server not found response has a 5xx status code
func (*GetDNSServerNotFound) IsSuccess ¶
func (o *GetDNSServerNotFound) IsSuccess() bool
IsSuccess returns true when this get Dns server not found response has a 2xx status code
func (*GetDNSServerNotFound) String ¶
func (o *GetDNSServerNotFound) String() string
type GetDNSServerOK ¶
type GetDNSServerOK struct {
Payload *vproxy_client_model.DNSServer
}
GetDNSServerOK describes a response with status code 200, with default header values.
ok
func NewGetDNSServerOK ¶
func NewGetDNSServerOK() *GetDNSServerOK
NewGetDNSServerOK creates a GetDNSServerOK with default headers values
func (*GetDNSServerOK) Code ¶
func (o *GetDNSServerOK) Code() int
Code gets the status code for the get Dns server o k response
func (*GetDNSServerOK) Error ¶
func (o *GetDNSServerOK) Error() string
func (*GetDNSServerOK) GetPayload ¶
func (o *GetDNSServerOK) GetPayload() *vproxy_client_model.DNSServer
func (*GetDNSServerOK) IsClientError ¶
func (o *GetDNSServerOK) IsClientError() bool
IsClientError returns true when this get Dns server o k response has a 4xx status code
func (*GetDNSServerOK) IsCode ¶
func (o *GetDNSServerOK) IsCode(code int) bool
IsCode returns true when this get Dns server o k response a status code equal to that given
func (*GetDNSServerOK) IsRedirect ¶
func (o *GetDNSServerOK) IsRedirect() bool
IsRedirect returns true when this get Dns server o k response has a 3xx status code
func (*GetDNSServerOK) IsServerError ¶
func (o *GetDNSServerOK) IsServerError() bool
IsServerError returns true when this get Dns server o k response has a 5xx status code
func (*GetDNSServerOK) IsSuccess ¶
func (o *GetDNSServerOK) IsSuccess() bool
IsSuccess returns true when this get Dns server o k response has a 2xx status code
func (*GetDNSServerOK) String ¶
func (o *GetDNSServerOK) String() string
type GetDNSServerParams ¶
type GetDNSServerParams struct { /* DNS. name of the dns-server */ DNS string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDNSServerParams contains all the parameters to send to the API endpoint
for the get Dns server operation. Typically these are written to a http.Request.
func NewGetDNSServerParams ¶
func NewGetDNSServerParams() *GetDNSServerParams
NewGetDNSServerParams creates a new GetDNSServerParams 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 NewGetDNSServerParamsWithContext ¶
func NewGetDNSServerParamsWithContext(ctx context.Context) *GetDNSServerParams
NewGetDNSServerParamsWithContext creates a new GetDNSServerParams object with the ability to set a context for a request.
func NewGetDNSServerParamsWithHTTPClient ¶
func NewGetDNSServerParamsWithHTTPClient(client *http.Client) *GetDNSServerParams
NewGetDNSServerParamsWithHTTPClient creates a new GetDNSServerParams object with the ability to set a custom HTTPClient for a request.
func NewGetDNSServerParamsWithTimeout ¶
func NewGetDNSServerParamsWithTimeout(timeout time.Duration) *GetDNSServerParams
NewGetDNSServerParamsWithTimeout creates a new GetDNSServerParams object with the ability to set a timeout on a request.
func (*GetDNSServerParams) SetContext ¶
func (o *GetDNSServerParams) SetContext(ctx context.Context)
SetContext adds the context to the get Dns server params
func (*GetDNSServerParams) SetDNS ¶
func (o *GetDNSServerParams) SetDNS(dns string)
SetDNS adds the dns to the get Dns server params
func (*GetDNSServerParams) SetDefaults ¶
func (o *GetDNSServerParams) SetDefaults()
SetDefaults hydrates default values in the get Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*GetDNSServerParams) SetHTTPClient ¶
func (o *GetDNSServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Dns server params
func (*GetDNSServerParams) SetTimeout ¶
func (o *GetDNSServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Dns server params
func (*GetDNSServerParams) WithContext ¶
func (o *GetDNSServerParams) WithContext(ctx context.Context) *GetDNSServerParams
WithContext adds the context to the get Dns server params
func (*GetDNSServerParams) WithDNS ¶
func (o *GetDNSServerParams) WithDNS(dns string) *GetDNSServerParams
WithDNS adds the dns to the get Dns server params
func (*GetDNSServerParams) WithDefaults ¶
func (o *GetDNSServerParams) WithDefaults() *GetDNSServerParams
WithDefaults hydrates default values in the get Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*GetDNSServerParams) WithHTTPClient ¶
func (o *GetDNSServerParams) WithHTTPClient(client *http.Client) *GetDNSServerParams
WithHTTPClient adds the HTTPClient to the get Dns server params
func (*GetDNSServerParams) WithTimeout ¶
func (o *GetDNSServerParams) WithTimeout(timeout time.Duration) *GetDNSServerParams
WithTimeout adds the timeout to the get Dns server params
func (*GetDNSServerParams) WriteToRequest ¶
func (o *GetDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDNSServerReader ¶
type GetDNSServerReader struct {
// contains filtered or unexported fields
}
GetDNSServerReader is a Reader for the GetDNSServer structure.
func (*GetDNSServerReader) ReadResponse ¶
func (o *GetDNSServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDNSServerBadRequest ¶
type ListDNSServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
ListDNSServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewListDNSServerBadRequest ¶
func NewListDNSServerBadRequest() *ListDNSServerBadRequest
NewListDNSServerBadRequest creates a ListDNSServerBadRequest with default headers values
func (*ListDNSServerBadRequest) Code ¶
func (o *ListDNSServerBadRequest) Code() int
Code gets the status code for the list Dns server bad request response
func (*ListDNSServerBadRequest) Error ¶
func (o *ListDNSServerBadRequest) Error() string
func (*ListDNSServerBadRequest) GetPayload ¶
func (o *ListDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*ListDNSServerBadRequest) IsClientError ¶
func (o *ListDNSServerBadRequest) IsClientError() bool
IsClientError returns true when this list Dns server bad request response has a 4xx status code
func (*ListDNSServerBadRequest) IsCode ¶
func (o *ListDNSServerBadRequest) IsCode(code int) bool
IsCode returns true when this list Dns server bad request response a status code equal to that given
func (*ListDNSServerBadRequest) IsRedirect ¶
func (o *ListDNSServerBadRequest) IsRedirect() bool
IsRedirect returns true when this list Dns server bad request response has a 3xx status code
func (*ListDNSServerBadRequest) IsServerError ¶
func (o *ListDNSServerBadRequest) IsServerError() bool
IsServerError returns true when this list Dns server bad request response has a 5xx status code
func (*ListDNSServerBadRequest) IsSuccess ¶
func (o *ListDNSServerBadRequest) IsSuccess() bool
IsSuccess returns true when this list Dns server bad request response has a 2xx status code
func (*ListDNSServerBadRequest) String ¶
func (o *ListDNSServerBadRequest) String() string
type ListDNSServerConflict ¶
type ListDNSServerConflict struct {
Payload *vproxy_client_model.Error409
}
ListDNSServerConflict describes a response with status code 409, with default header values.
conflict
func NewListDNSServerConflict ¶
func NewListDNSServerConflict() *ListDNSServerConflict
NewListDNSServerConflict creates a ListDNSServerConflict with default headers values
func (*ListDNSServerConflict) Code ¶
func (o *ListDNSServerConflict) Code() int
Code gets the status code for the list Dns server conflict response
func (*ListDNSServerConflict) Error ¶
func (o *ListDNSServerConflict) Error() string
func (*ListDNSServerConflict) GetPayload ¶
func (o *ListDNSServerConflict) GetPayload() *vproxy_client_model.Error409
func (*ListDNSServerConflict) IsClientError ¶
func (o *ListDNSServerConflict) IsClientError() bool
IsClientError returns true when this list Dns server conflict response has a 4xx status code
func (*ListDNSServerConflict) IsCode ¶
func (o *ListDNSServerConflict) IsCode(code int) bool
IsCode returns true when this list Dns server conflict response a status code equal to that given
func (*ListDNSServerConflict) IsRedirect ¶
func (o *ListDNSServerConflict) IsRedirect() bool
IsRedirect returns true when this list Dns server conflict response has a 3xx status code
func (*ListDNSServerConflict) IsServerError ¶
func (o *ListDNSServerConflict) IsServerError() bool
IsServerError returns true when this list Dns server conflict response has a 5xx status code
func (*ListDNSServerConflict) IsSuccess ¶
func (o *ListDNSServerConflict) IsSuccess() bool
IsSuccess returns true when this list Dns server conflict response has a 2xx status code
func (*ListDNSServerConflict) String ¶
func (o *ListDNSServerConflict) String() string
type ListDNSServerInternalServerError ¶
type ListDNSServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
ListDNSServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewListDNSServerInternalServerError ¶
func NewListDNSServerInternalServerError() *ListDNSServerInternalServerError
NewListDNSServerInternalServerError creates a ListDNSServerInternalServerError with default headers values
func (*ListDNSServerInternalServerError) Code ¶
func (o *ListDNSServerInternalServerError) Code() int
Code gets the status code for the list Dns server internal server error response
func (*ListDNSServerInternalServerError) Error ¶
func (o *ListDNSServerInternalServerError) Error() string
func (*ListDNSServerInternalServerError) GetPayload ¶
func (o *ListDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*ListDNSServerInternalServerError) IsClientError ¶
func (o *ListDNSServerInternalServerError) IsClientError() bool
IsClientError returns true when this list Dns server internal server error response has a 4xx status code
func (*ListDNSServerInternalServerError) IsCode ¶
func (o *ListDNSServerInternalServerError) IsCode(code int) bool
IsCode returns true when this list Dns server internal server error response a status code equal to that given
func (*ListDNSServerInternalServerError) IsRedirect ¶
func (o *ListDNSServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this list Dns server internal server error response has a 3xx status code
func (*ListDNSServerInternalServerError) IsServerError ¶
func (o *ListDNSServerInternalServerError) IsServerError() bool
IsServerError returns true when this list Dns server internal server error response has a 5xx status code
func (*ListDNSServerInternalServerError) IsSuccess ¶
func (o *ListDNSServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this list Dns server internal server error response has a 2xx status code
func (*ListDNSServerInternalServerError) String ¶
func (o *ListDNSServerInternalServerError) String() string
type ListDNSServerOK ¶
type ListDNSServerOK struct {
Payload []*vproxy_client_model.DNSServer
}
ListDNSServerOK describes a response with status code 200, with default header values.
ok
func NewListDNSServerOK ¶
func NewListDNSServerOK() *ListDNSServerOK
NewListDNSServerOK creates a ListDNSServerOK with default headers values
func (*ListDNSServerOK) Code ¶
func (o *ListDNSServerOK) Code() int
Code gets the status code for the list Dns server o k response
func (*ListDNSServerOK) Error ¶
func (o *ListDNSServerOK) Error() string
func (*ListDNSServerOK) GetPayload ¶
func (o *ListDNSServerOK) GetPayload() []*vproxy_client_model.DNSServer
func (*ListDNSServerOK) IsClientError ¶
func (o *ListDNSServerOK) IsClientError() bool
IsClientError returns true when this list Dns server o k response has a 4xx status code
func (*ListDNSServerOK) IsCode ¶
func (o *ListDNSServerOK) IsCode(code int) bool
IsCode returns true when this list Dns server o k response a status code equal to that given
func (*ListDNSServerOK) IsRedirect ¶
func (o *ListDNSServerOK) IsRedirect() bool
IsRedirect returns true when this list Dns server o k response has a 3xx status code
func (*ListDNSServerOK) IsServerError ¶
func (o *ListDNSServerOK) IsServerError() bool
IsServerError returns true when this list Dns server o k response has a 5xx status code
func (*ListDNSServerOK) IsSuccess ¶
func (o *ListDNSServerOK) IsSuccess() bool
IsSuccess returns true when this list Dns server o k response has a 2xx status code
func (*ListDNSServerOK) String ¶
func (o *ListDNSServerOK) String() string
type ListDNSServerParams ¶
type ListDNSServerParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDNSServerParams contains all the parameters to send to the API endpoint
for the list Dns server operation. Typically these are written to a http.Request.
func NewListDNSServerParams ¶
func NewListDNSServerParams() *ListDNSServerParams
NewListDNSServerParams creates a new ListDNSServerParams 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 NewListDNSServerParamsWithContext ¶
func NewListDNSServerParamsWithContext(ctx context.Context) *ListDNSServerParams
NewListDNSServerParamsWithContext creates a new ListDNSServerParams object with the ability to set a context for a request.
func NewListDNSServerParamsWithHTTPClient ¶
func NewListDNSServerParamsWithHTTPClient(client *http.Client) *ListDNSServerParams
NewListDNSServerParamsWithHTTPClient creates a new ListDNSServerParams object with the ability to set a custom HTTPClient for a request.
func NewListDNSServerParamsWithTimeout ¶
func NewListDNSServerParamsWithTimeout(timeout time.Duration) *ListDNSServerParams
NewListDNSServerParamsWithTimeout creates a new ListDNSServerParams object with the ability to set a timeout on a request.
func (*ListDNSServerParams) SetContext ¶
func (o *ListDNSServerParams) SetContext(ctx context.Context)
SetContext adds the context to the list Dns server params
func (*ListDNSServerParams) SetDefaults ¶
func (o *ListDNSServerParams) SetDefaults()
SetDefaults hydrates default values in the list Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*ListDNSServerParams) SetHTTPClient ¶
func (o *ListDNSServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list Dns server params
func (*ListDNSServerParams) SetTimeout ¶
func (o *ListDNSServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list Dns server params
func (*ListDNSServerParams) WithContext ¶
func (o *ListDNSServerParams) WithContext(ctx context.Context) *ListDNSServerParams
WithContext adds the context to the list Dns server params
func (*ListDNSServerParams) WithDefaults ¶
func (o *ListDNSServerParams) WithDefaults() *ListDNSServerParams
WithDefaults hydrates default values in the list Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*ListDNSServerParams) WithHTTPClient ¶
func (o *ListDNSServerParams) WithHTTPClient(client *http.Client) *ListDNSServerParams
WithHTTPClient adds the HTTPClient to the list Dns server params
func (*ListDNSServerParams) WithTimeout ¶
func (o *ListDNSServerParams) WithTimeout(timeout time.Duration) *ListDNSServerParams
WithTimeout adds the timeout to the list Dns server params
func (*ListDNSServerParams) WriteToRequest ¶
func (o *ListDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDNSServerReader ¶
type ListDNSServerReader struct {
// contains filtered or unexported fields
}
ListDNSServerReader is a Reader for the ListDNSServer structure.
func (*ListDNSServerReader) ReadResponse ¶
func (o *ListDNSServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveDNSServerBadRequest ¶
type RemoveDNSServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
RemoveDNSServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewRemoveDNSServerBadRequest ¶
func NewRemoveDNSServerBadRequest() *RemoveDNSServerBadRequest
NewRemoveDNSServerBadRequest creates a RemoveDNSServerBadRequest with default headers values
func (*RemoveDNSServerBadRequest) Code ¶
func (o *RemoveDNSServerBadRequest) Code() int
Code gets the status code for the remove Dns server bad request response
func (*RemoveDNSServerBadRequest) Error ¶
func (o *RemoveDNSServerBadRequest) Error() string
func (*RemoveDNSServerBadRequest) GetPayload ¶
func (o *RemoveDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*RemoveDNSServerBadRequest) IsClientError ¶
func (o *RemoveDNSServerBadRequest) IsClientError() bool
IsClientError returns true when this remove Dns server bad request response has a 4xx status code
func (*RemoveDNSServerBadRequest) IsCode ¶
func (o *RemoveDNSServerBadRequest) IsCode(code int) bool
IsCode returns true when this remove Dns server bad request response a status code equal to that given
func (*RemoveDNSServerBadRequest) IsRedirect ¶
func (o *RemoveDNSServerBadRequest) IsRedirect() bool
IsRedirect returns true when this remove Dns server bad request response has a 3xx status code
func (*RemoveDNSServerBadRequest) IsServerError ¶
func (o *RemoveDNSServerBadRequest) IsServerError() bool
IsServerError returns true when this remove Dns server bad request response has a 5xx status code
func (*RemoveDNSServerBadRequest) IsSuccess ¶
func (o *RemoveDNSServerBadRequest) IsSuccess() bool
IsSuccess returns true when this remove Dns server bad request response has a 2xx status code
func (*RemoveDNSServerBadRequest) String ¶
func (o *RemoveDNSServerBadRequest) String() string
type RemoveDNSServerConflict ¶
type RemoveDNSServerConflict struct {
Payload *vproxy_client_model.Error409
}
RemoveDNSServerConflict describes a response with status code 409, with default header values.
conflict
func NewRemoveDNSServerConflict ¶
func NewRemoveDNSServerConflict() *RemoveDNSServerConflict
NewRemoveDNSServerConflict creates a RemoveDNSServerConflict with default headers values
func (*RemoveDNSServerConflict) Code ¶
func (o *RemoveDNSServerConflict) Code() int
Code gets the status code for the remove Dns server conflict response
func (*RemoveDNSServerConflict) Error ¶
func (o *RemoveDNSServerConflict) Error() string
func (*RemoveDNSServerConflict) GetPayload ¶
func (o *RemoveDNSServerConflict) GetPayload() *vproxy_client_model.Error409
func (*RemoveDNSServerConflict) IsClientError ¶
func (o *RemoveDNSServerConflict) IsClientError() bool
IsClientError returns true when this remove Dns server conflict response has a 4xx status code
func (*RemoveDNSServerConflict) IsCode ¶
func (o *RemoveDNSServerConflict) IsCode(code int) bool
IsCode returns true when this remove Dns server conflict response a status code equal to that given
func (*RemoveDNSServerConflict) IsRedirect ¶
func (o *RemoveDNSServerConflict) IsRedirect() bool
IsRedirect returns true when this remove Dns server conflict response has a 3xx status code
func (*RemoveDNSServerConflict) IsServerError ¶
func (o *RemoveDNSServerConflict) IsServerError() bool
IsServerError returns true when this remove Dns server conflict response has a 5xx status code
func (*RemoveDNSServerConflict) IsSuccess ¶
func (o *RemoveDNSServerConflict) IsSuccess() bool
IsSuccess returns true when this remove Dns server conflict response has a 2xx status code
func (*RemoveDNSServerConflict) String ¶
func (o *RemoveDNSServerConflict) String() string
type RemoveDNSServerInternalServerError ¶
type RemoveDNSServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
RemoveDNSServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewRemoveDNSServerInternalServerError ¶
func NewRemoveDNSServerInternalServerError() *RemoveDNSServerInternalServerError
NewRemoveDNSServerInternalServerError creates a RemoveDNSServerInternalServerError with default headers values
func (*RemoveDNSServerInternalServerError) Code ¶
func (o *RemoveDNSServerInternalServerError) Code() int
Code gets the status code for the remove Dns server internal server error response
func (*RemoveDNSServerInternalServerError) Error ¶
func (o *RemoveDNSServerInternalServerError) Error() string
func (*RemoveDNSServerInternalServerError) GetPayload ¶
func (o *RemoveDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*RemoveDNSServerInternalServerError) IsClientError ¶
func (o *RemoveDNSServerInternalServerError) IsClientError() bool
IsClientError returns true when this remove Dns server internal server error response has a 4xx status code
func (*RemoveDNSServerInternalServerError) IsCode ¶
func (o *RemoveDNSServerInternalServerError) IsCode(code int) bool
IsCode returns true when this remove Dns server internal server error response a status code equal to that given
func (*RemoveDNSServerInternalServerError) IsRedirect ¶
func (o *RemoveDNSServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove Dns server internal server error response has a 3xx status code
func (*RemoveDNSServerInternalServerError) IsServerError ¶
func (o *RemoveDNSServerInternalServerError) IsServerError() bool
IsServerError returns true when this remove Dns server internal server error response has a 5xx status code
func (*RemoveDNSServerInternalServerError) IsSuccess ¶
func (o *RemoveDNSServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove Dns server internal server error response has a 2xx status code
func (*RemoveDNSServerInternalServerError) String ¶
func (o *RemoveDNSServerInternalServerError) String() string
type RemoveDNSServerNoContent ¶
type RemoveDNSServerNoContent struct { }
RemoveDNSServerNoContent describes a response with status code 204, with default header values.
ok
func NewRemoveDNSServerNoContent ¶
func NewRemoveDNSServerNoContent() *RemoveDNSServerNoContent
NewRemoveDNSServerNoContent creates a RemoveDNSServerNoContent with default headers values
func (*RemoveDNSServerNoContent) Code ¶
func (o *RemoveDNSServerNoContent) Code() int
Code gets the status code for the remove Dns server no content response
func (*RemoveDNSServerNoContent) Error ¶
func (o *RemoveDNSServerNoContent) Error() string
func (*RemoveDNSServerNoContent) IsClientError ¶
func (o *RemoveDNSServerNoContent) IsClientError() bool
IsClientError returns true when this remove Dns server no content response has a 4xx status code
func (*RemoveDNSServerNoContent) IsCode ¶
func (o *RemoveDNSServerNoContent) IsCode(code int) bool
IsCode returns true when this remove Dns server no content response a status code equal to that given
func (*RemoveDNSServerNoContent) IsRedirect ¶
func (o *RemoveDNSServerNoContent) IsRedirect() bool
IsRedirect returns true when this remove Dns server no content response has a 3xx status code
func (*RemoveDNSServerNoContent) IsServerError ¶
func (o *RemoveDNSServerNoContent) IsServerError() bool
IsServerError returns true when this remove Dns server no content response has a 5xx status code
func (*RemoveDNSServerNoContent) IsSuccess ¶
func (o *RemoveDNSServerNoContent) IsSuccess() bool
IsSuccess returns true when this remove Dns server no content response has a 2xx status code
func (*RemoveDNSServerNoContent) String ¶
func (o *RemoveDNSServerNoContent) String() string
type RemoveDNSServerNotFound ¶
type RemoveDNSServerNotFound struct {
Payload *vproxy_client_model.Error404
}
RemoveDNSServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewRemoveDNSServerNotFound ¶
func NewRemoveDNSServerNotFound() *RemoveDNSServerNotFound
NewRemoveDNSServerNotFound creates a RemoveDNSServerNotFound with default headers values
func (*RemoveDNSServerNotFound) Code ¶
func (o *RemoveDNSServerNotFound) Code() int
Code gets the status code for the remove Dns server not found response
func (*RemoveDNSServerNotFound) Error ¶
func (o *RemoveDNSServerNotFound) Error() string
func (*RemoveDNSServerNotFound) GetPayload ¶
func (o *RemoveDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*RemoveDNSServerNotFound) IsClientError ¶
func (o *RemoveDNSServerNotFound) IsClientError() bool
IsClientError returns true when this remove Dns server not found response has a 4xx status code
func (*RemoveDNSServerNotFound) IsCode ¶
func (o *RemoveDNSServerNotFound) IsCode(code int) bool
IsCode returns true when this remove Dns server not found response a status code equal to that given
func (*RemoveDNSServerNotFound) IsRedirect ¶
func (o *RemoveDNSServerNotFound) IsRedirect() bool
IsRedirect returns true when this remove Dns server not found response has a 3xx status code
func (*RemoveDNSServerNotFound) IsServerError ¶
func (o *RemoveDNSServerNotFound) IsServerError() bool
IsServerError returns true when this remove Dns server not found response has a 5xx status code
func (*RemoveDNSServerNotFound) IsSuccess ¶
func (o *RemoveDNSServerNotFound) IsSuccess() bool
IsSuccess returns true when this remove Dns server not found response has a 2xx status code
func (*RemoveDNSServerNotFound) String ¶
func (o *RemoveDNSServerNotFound) String() string
type RemoveDNSServerParams ¶
type RemoveDNSServerParams struct { /* DNS. name of the dns-server */ DNS string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveDNSServerParams contains all the parameters to send to the API endpoint
for the remove Dns server operation. Typically these are written to a http.Request.
func NewRemoveDNSServerParams ¶
func NewRemoveDNSServerParams() *RemoveDNSServerParams
NewRemoveDNSServerParams creates a new RemoveDNSServerParams 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 NewRemoveDNSServerParamsWithContext ¶
func NewRemoveDNSServerParamsWithContext(ctx context.Context) *RemoveDNSServerParams
NewRemoveDNSServerParamsWithContext creates a new RemoveDNSServerParams object with the ability to set a context for a request.
func NewRemoveDNSServerParamsWithHTTPClient ¶
func NewRemoveDNSServerParamsWithHTTPClient(client *http.Client) *RemoveDNSServerParams
NewRemoveDNSServerParamsWithHTTPClient creates a new RemoveDNSServerParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveDNSServerParamsWithTimeout ¶
func NewRemoveDNSServerParamsWithTimeout(timeout time.Duration) *RemoveDNSServerParams
NewRemoveDNSServerParamsWithTimeout creates a new RemoveDNSServerParams object with the ability to set a timeout on a request.
func (*RemoveDNSServerParams) SetContext ¶
func (o *RemoveDNSServerParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Dns server params
func (*RemoveDNSServerParams) SetDNS ¶
func (o *RemoveDNSServerParams) SetDNS(dns string)
SetDNS adds the dns to the remove Dns server params
func (*RemoveDNSServerParams) SetDefaults ¶
func (o *RemoveDNSServerParams) SetDefaults()
SetDefaults hydrates default values in the remove Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveDNSServerParams) SetHTTPClient ¶
func (o *RemoveDNSServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Dns server params
func (*RemoveDNSServerParams) SetTimeout ¶
func (o *RemoveDNSServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Dns server params
func (*RemoveDNSServerParams) WithContext ¶
func (o *RemoveDNSServerParams) WithContext(ctx context.Context) *RemoveDNSServerParams
WithContext adds the context to the remove Dns server params
func (*RemoveDNSServerParams) WithDNS ¶
func (o *RemoveDNSServerParams) WithDNS(dns string) *RemoveDNSServerParams
WithDNS adds the dns to the remove Dns server params
func (*RemoveDNSServerParams) WithDefaults ¶
func (o *RemoveDNSServerParams) WithDefaults() *RemoveDNSServerParams
WithDefaults hydrates default values in the remove Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveDNSServerParams) WithHTTPClient ¶
func (o *RemoveDNSServerParams) WithHTTPClient(client *http.Client) *RemoveDNSServerParams
WithHTTPClient adds the HTTPClient to the remove Dns server params
func (*RemoveDNSServerParams) WithTimeout ¶
func (o *RemoveDNSServerParams) WithTimeout(timeout time.Duration) *RemoveDNSServerParams
WithTimeout adds the timeout to the remove Dns server params
func (*RemoveDNSServerParams) WriteToRequest ¶
func (o *RemoveDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveDNSServerReader ¶
type RemoveDNSServerReader struct {
// contains filtered or unexported fields
}
RemoveDNSServerReader is a Reader for the RemoveDNSServer structure.
func (*RemoveDNSServerReader) ReadResponse ¶
func (o *RemoveDNSServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDNSServerBadRequest ¶
type UpdateDNSServerBadRequest struct {
Payload *vproxy_client_model.Error400
}
UpdateDNSServerBadRequest describes a response with status code 400, with default header values.
invalid input parameters
func NewUpdateDNSServerBadRequest ¶
func NewUpdateDNSServerBadRequest() *UpdateDNSServerBadRequest
NewUpdateDNSServerBadRequest creates a UpdateDNSServerBadRequest with default headers values
func (*UpdateDNSServerBadRequest) Code ¶
func (o *UpdateDNSServerBadRequest) Code() int
Code gets the status code for the update Dns server bad request response
func (*UpdateDNSServerBadRequest) Error ¶
func (o *UpdateDNSServerBadRequest) Error() string
func (*UpdateDNSServerBadRequest) GetPayload ¶
func (o *UpdateDNSServerBadRequest) GetPayload() *vproxy_client_model.Error400
func (*UpdateDNSServerBadRequest) IsClientError ¶
func (o *UpdateDNSServerBadRequest) IsClientError() bool
IsClientError returns true when this update Dns server bad request response has a 4xx status code
func (*UpdateDNSServerBadRequest) IsCode ¶
func (o *UpdateDNSServerBadRequest) IsCode(code int) bool
IsCode returns true when this update Dns server bad request response a status code equal to that given
func (*UpdateDNSServerBadRequest) IsRedirect ¶
func (o *UpdateDNSServerBadRequest) IsRedirect() bool
IsRedirect returns true when this update Dns server bad request response has a 3xx status code
func (*UpdateDNSServerBadRequest) IsServerError ¶
func (o *UpdateDNSServerBadRequest) IsServerError() bool
IsServerError returns true when this update Dns server bad request response has a 5xx status code
func (*UpdateDNSServerBadRequest) IsSuccess ¶
func (o *UpdateDNSServerBadRequest) IsSuccess() bool
IsSuccess returns true when this update Dns server bad request response has a 2xx status code
func (*UpdateDNSServerBadRequest) String ¶
func (o *UpdateDNSServerBadRequest) String() string
type UpdateDNSServerConflict ¶
type UpdateDNSServerConflict struct {
Payload *vproxy_client_model.Error409
}
UpdateDNSServerConflict describes a response with status code 409, with default header values.
conflict
func NewUpdateDNSServerConflict ¶
func NewUpdateDNSServerConflict() *UpdateDNSServerConflict
NewUpdateDNSServerConflict creates a UpdateDNSServerConflict with default headers values
func (*UpdateDNSServerConflict) Code ¶
func (o *UpdateDNSServerConflict) Code() int
Code gets the status code for the update Dns server conflict response
func (*UpdateDNSServerConflict) Error ¶
func (o *UpdateDNSServerConflict) Error() string
func (*UpdateDNSServerConflict) GetPayload ¶
func (o *UpdateDNSServerConflict) GetPayload() *vproxy_client_model.Error409
func (*UpdateDNSServerConflict) IsClientError ¶
func (o *UpdateDNSServerConflict) IsClientError() bool
IsClientError returns true when this update Dns server conflict response has a 4xx status code
func (*UpdateDNSServerConflict) IsCode ¶
func (o *UpdateDNSServerConflict) IsCode(code int) bool
IsCode returns true when this update Dns server conflict response a status code equal to that given
func (*UpdateDNSServerConflict) IsRedirect ¶
func (o *UpdateDNSServerConflict) IsRedirect() bool
IsRedirect returns true when this update Dns server conflict response has a 3xx status code
func (*UpdateDNSServerConflict) IsServerError ¶
func (o *UpdateDNSServerConflict) IsServerError() bool
IsServerError returns true when this update Dns server conflict response has a 5xx status code
func (*UpdateDNSServerConflict) IsSuccess ¶
func (o *UpdateDNSServerConflict) IsSuccess() bool
IsSuccess returns true when this update Dns server conflict response has a 2xx status code
func (*UpdateDNSServerConflict) String ¶
func (o *UpdateDNSServerConflict) String() string
type UpdateDNSServerInternalServerError ¶
type UpdateDNSServerInternalServerError struct {
Payload *vproxy_client_model.Error500
}
UpdateDNSServerInternalServerError describes a response with status code 500, with default header values.
internal error
func NewUpdateDNSServerInternalServerError ¶
func NewUpdateDNSServerInternalServerError() *UpdateDNSServerInternalServerError
NewUpdateDNSServerInternalServerError creates a UpdateDNSServerInternalServerError with default headers values
func (*UpdateDNSServerInternalServerError) Code ¶
func (o *UpdateDNSServerInternalServerError) Code() int
Code gets the status code for the update Dns server internal server error response
func (*UpdateDNSServerInternalServerError) Error ¶
func (o *UpdateDNSServerInternalServerError) Error() string
func (*UpdateDNSServerInternalServerError) GetPayload ¶
func (o *UpdateDNSServerInternalServerError) GetPayload() *vproxy_client_model.Error500
func (*UpdateDNSServerInternalServerError) IsClientError ¶
func (o *UpdateDNSServerInternalServerError) IsClientError() bool
IsClientError returns true when this update Dns server internal server error response has a 4xx status code
func (*UpdateDNSServerInternalServerError) IsCode ¶
func (o *UpdateDNSServerInternalServerError) IsCode(code int) bool
IsCode returns true when this update Dns server internal server error response a status code equal to that given
func (*UpdateDNSServerInternalServerError) IsRedirect ¶
func (o *UpdateDNSServerInternalServerError) IsRedirect() bool
IsRedirect returns true when this update Dns server internal server error response has a 3xx status code
func (*UpdateDNSServerInternalServerError) IsServerError ¶
func (o *UpdateDNSServerInternalServerError) IsServerError() bool
IsServerError returns true when this update Dns server internal server error response has a 5xx status code
func (*UpdateDNSServerInternalServerError) IsSuccess ¶
func (o *UpdateDNSServerInternalServerError) IsSuccess() bool
IsSuccess returns true when this update Dns server internal server error response has a 2xx status code
func (*UpdateDNSServerInternalServerError) String ¶
func (o *UpdateDNSServerInternalServerError) String() string
type UpdateDNSServerNoContent ¶
type UpdateDNSServerNoContent struct { }
UpdateDNSServerNoContent describes a response with status code 204, with default header values.
ok
func NewUpdateDNSServerNoContent ¶
func NewUpdateDNSServerNoContent() *UpdateDNSServerNoContent
NewUpdateDNSServerNoContent creates a UpdateDNSServerNoContent with default headers values
func (*UpdateDNSServerNoContent) Code ¶
func (o *UpdateDNSServerNoContent) Code() int
Code gets the status code for the update Dns server no content response
func (*UpdateDNSServerNoContent) Error ¶
func (o *UpdateDNSServerNoContent) Error() string
func (*UpdateDNSServerNoContent) IsClientError ¶
func (o *UpdateDNSServerNoContent) IsClientError() bool
IsClientError returns true when this update Dns server no content response has a 4xx status code
func (*UpdateDNSServerNoContent) IsCode ¶
func (o *UpdateDNSServerNoContent) IsCode(code int) bool
IsCode returns true when this update Dns server no content response a status code equal to that given
func (*UpdateDNSServerNoContent) IsRedirect ¶
func (o *UpdateDNSServerNoContent) IsRedirect() bool
IsRedirect returns true when this update Dns server no content response has a 3xx status code
func (*UpdateDNSServerNoContent) IsServerError ¶
func (o *UpdateDNSServerNoContent) IsServerError() bool
IsServerError returns true when this update Dns server no content response has a 5xx status code
func (*UpdateDNSServerNoContent) IsSuccess ¶
func (o *UpdateDNSServerNoContent) IsSuccess() bool
IsSuccess returns true when this update Dns server no content response has a 2xx status code
func (*UpdateDNSServerNoContent) String ¶
func (o *UpdateDNSServerNoContent) String() string
type UpdateDNSServerNotFound ¶
type UpdateDNSServerNotFound struct {
Payload *vproxy_client_model.Error404
}
UpdateDNSServerNotFound describes a response with status code 404, with default header values.
resource not found
func NewUpdateDNSServerNotFound ¶
func NewUpdateDNSServerNotFound() *UpdateDNSServerNotFound
NewUpdateDNSServerNotFound creates a UpdateDNSServerNotFound with default headers values
func (*UpdateDNSServerNotFound) Code ¶
func (o *UpdateDNSServerNotFound) Code() int
Code gets the status code for the update Dns server not found response
func (*UpdateDNSServerNotFound) Error ¶
func (o *UpdateDNSServerNotFound) Error() string
func (*UpdateDNSServerNotFound) GetPayload ¶
func (o *UpdateDNSServerNotFound) GetPayload() *vproxy_client_model.Error404
func (*UpdateDNSServerNotFound) IsClientError ¶
func (o *UpdateDNSServerNotFound) IsClientError() bool
IsClientError returns true when this update Dns server not found response has a 4xx status code
func (*UpdateDNSServerNotFound) IsCode ¶
func (o *UpdateDNSServerNotFound) IsCode(code int) bool
IsCode returns true when this update Dns server not found response a status code equal to that given
func (*UpdateDNSServerNotFound) IsRedirect ¶
func (o *UpdateDNSServerNotFound) IsRedirect() bool
IsRedirect returns true when this update Dns server not found response has a 3xx status code
func (*UpdateDNSServerNotFound) IsServerError ¶
func (o *UpdateDNSServerNotFound) IsServerError() bool
IsServerError returns true when this update Dns server not found response has a 5xx status code
func (*UpdateDNSServerNotFound) IsSuccess ¶
func (o *UpdateDNSServerNotFound) IsSuccess() bool
IsSuccess returns true when this update Dns server not found response has a 2xx status code
func (*UpdateDNSServerNotFound) String ¶
func (o *UpdateDNSServerNotFound) String() string
type UpdateDNSServerParams ¶
type UpdateDNSServerParams struct { // Body. Body *vproxy_client_model.DNSServerUpdate /* DNS. name of the dns-server */ DNS string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDNSServerParams contains all the parameters to send to the API endpoint
for the update Dns server operation. Typically these are written to a http.Request.
func NewUpdateDNSServerParams ¶
func NewUpdateDNSServerParams() *UpdateDNSServerParams
NewUpdateDNSServerParams creates a new UpdateDNSServerParams 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 NewUpdateDNSServerParamsWithContext ¶
func NewUpdateDNSServerParamsWithContext(ctx context.Context) *UpdateDNSServerParams
NewUpdateDNSServerParamsWithContext creates a new UpdateDNSServerParams object with the ability to set a context for a request.
func NewUpdateDNSServerParamsWithHTTPClient ¶
func NewUpdateDNSServerParamsWithHTTPClient(client *http.Client) *UpdateDNSServerParams
NewUpdateDNSServerParamsWithHTTPClient creates a new UpdateDNSServerParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDNSServerParamsWithTimeout ¶
func NewUpdateDNSServerParamsWithTimeout(timeout time.Duration) *UpdateDNSServerParams
NewUpdateDNSServerParamsWithTimeout creates a new UpdateDNSServerParams object with the ability to set a timeout on a request.
func (*UpdateDNSServerParams) SetBody ¶
func (o *UpdateDNSServerParams) SetBody(body *vproxy_client_model.DNSServerUpdate)
SetBody adds the body to the update Dns server params
func (*UpdateDNSServerParams) SetContext ¶
func (o *UpdateDNSServerParams) SetContext(ctx context.Context)
SetContext adds the context to the update Dns server params
func (*UpdateDNSServerParams) SetDNS ¶
func (o *UpdateDNSServerParams) SetDNS(dns string)
SetDNS adds the dns to the update Dns server params
func (*UpdateDNSServerParams) SetDefaults ¶
func (o *UpdateDNSServerParams) SetDefaults()
SetDefaults hydrates default values in the update Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDNSServerParams) SetHTTPClient ¶
func (o *UpdateDNSServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Dns server params
func (*UpdateDNSServerParams) SetTimeout ¶
func (o *UpdateDNSServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Dns server params
func (*UpdateDNSServerParams) WithBody ¶
func (o *UpdateDNSServerParams) WithBody(body *vproxy_client_model.DNSServerUpdate) *UpdateDNSServerParams
WithBody adds the body to the update Dns server params
func (*UpdateDNSServerParams) WithContext ¶
func (o *UpdateDNSServerParams) WithContext(ctx context.Context) *UpdateDNSServerParams
WithContext adds the context to the update Dns server params
func (*UpdateDNSServerParams) WithDNS ¶
func (o *UpdateDNSServerParams) WithDNS(dns string) *UpdateDNSServerParams
WithDNS adds the dns to the update Dns server params
func (*UpdateDNSServerParams) WithDefaults ¶
func (o *UpdateDNSServerParams) WithDefaults() *UpdateDNSServerParams
WithDefaults hydrates default values in the update Dns server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDNSServerParams) WithHTTPClient ¶
func (o *UpdateDNSServerParams) WithHTTPClient(client *http.Client) *UpdateDNSServerParams
WithHTTPClient adds the HTTPClient to the update Dns server params
func (*UpdateDNSServerParams) WithTimeout ¶
func (o *UpdateDNSServerParams) WithTimeout(timeout time.Duration) *UpdateDNSServerParams
WithTimeout adds the timeout to the update Dns server params
func (*UpdateDNSServerParams) WriteToRequest ¶
func (o *UpdateDNSServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDNSServerReader ¶
type UpdateDNSServerReader struct {
// contains filtered or unexported fields
}
UpdateDNSServerReader is a Reader for the UpdateDNSServer structure.
func (*UpdateDNSServerReader) ReadResponse ¶
func (o *UpdateDNSServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_dns_server_parameters.go
- add_dns_server_responses.go
- describe_dns_server_parameters.go
- describe_dns_server_responses.go
- dns_server_client.go
- get_dns_server_parameters.go
- get_dns_server_responses.go
- list_dns_server_parameters.go
- list_dns_server_responses.go
- remove_dns_server_parameters.go
- remove_dns_server_responses.go
- update_dns_server_parameters.go
- update_dns_server_responses.go