Documentation
¶
Index ¶
- type Client
- func (a *Client) DNSServiceCreateNameserver(params *DNSServiceCreateNameserverParams, opts ...ClientOption) (*DNSServiceCreateNameserverOK, error)
- func (a *Client) DNSServiceDeleteNameserver(params *DNSServiceDeleteNameserverParams, opts ...ClientOption) (*DNSServiceDeleteNameserverOK, error)
- func (a *Client) DNSServiceGetNameserverAt(params *DNSServiceGetNameserverAtParams, opts ...ClientOption) (*DNSServiceGetNameserverAtOK, error)
- func (a *Client) DNSServiceGetNameserverList(params *DNSServiceGetNameserverListParams, opts ...ClientOption) (*DNSServiceGetNameserverListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DNSServiceCreateNameserverDefault
- func (o *DNSServiceCreateNameserverDefault) Code() int
- func (o *DNSServiceCreateNameserverDefault) Error() string
- func (o *DNSServiceCreateNameserverDefault) GetPayload() *swagger.RPCStatus
- func (o *DNSServiceCreateNameserverDefault) IsClientError() bool
- func (o *DNSServiceCreateNameserverDefault) IsCode(code int) bool
- func (o *DNSServiceCreateNameserverDefault) IsRedirect() bool
- func (o *DNSServiceCreateNameserverDefault) IsServerError() bool
- func (o *DNSServiceCreateNameserverDefault) IsSuccess() bool
- func (o *DNSServiceCreateNameserverDefault) String() string
- type DNSServiceCreateNameserverOK
- func (o *DNSServiceCreateNameserverOK) Code() int
- func (o *DNSServiceCreateNameserverOK) Error() string
- func (o *DNSServiceCreateNameserverOK) GetPayload() *swagger.V1NameserverResponse
- func (o *DNSServiceCreateNameserverOK) IsClientError() bool
- func (o *DNSServiceCreateNameserverOK) IsCode(code int) bool
- func (o *DNSServiceCreateNameserverOK) IsRedirect() bool
- func (o *DNSServiceCreateNameserverOK) IsServerError() bool
- func (o *DNSServiceCreateNameserverOK) IsSuccess() bool
- func (o *DNSServiceCreateNameserverOK) String() string
- type DNSServiceCreateNameserverParams
- func NewDNSServiceCreateNameserverParams() *DNSServiceCreateNameserverParams
- func NewDNSServiceCreateNameserverParamsWithContext(ctx context.Context) *DNSServiceCreateNameserverParams
- func NewDNSServiceCreateNameserverParamsWithHTTPClient(client *http.Client) *DNSServiceCreateNameserverParams
- func NewDNSServiceCreateNameserverParamsWithTimeout(timeout time.Duration) *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) SetAddress(address string)
- func (o *DNSServiceCreateNameserverParams) SetChecksum(checksum *int64)
- func (o *DNSServiceCreateNameserverParams) SetContext(ctx context.Context)
- func (o *DNSServiceCreateNameserverParams) SetDefaults()
- func (o *DNSServiceCreateNameserverParams) SetHTTPClient(client *http.Client)
- func (o *DNSServiceCreateNameserverParams) SetIndex(index *int32)
- func (o *DNSServiceCreateNameserverParams) SetTimeout(timeout time.Duration)
- func (o *DNSServiceCreateNameserverParams) WithAddress(address string) *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) WithChecksum(checksum *int64) *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) WithContext(ctx context.Context) *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) WithDefaults() *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) WithHTTPClient(client *http.Client) *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) WithIndex(index *int32) *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) WithTimeout(timeout time.Duration) *DNSServiceCreateNameserverParams
- func (o *DNSServiceCreateNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DNSServiceCreateNameserverReader
- type DNSServiceDeleteNameserverDefault
- func (o *DNSServiceDeleteNameserverDefault) Code() int
- func (o *DNSServiceDeleteNameserverDefault) Error() string
- func (o *DNSServiceDeleteNameserverDefault) GetPayload() *swagger.RPCStatus
- func (o *DNSServiceDeleteNameserverDefault) IsClientError() bool
- func (o *DNSServiceDeleteNameserverDefault) IsCode(code int) bool
- func (o *DNSServiceDeleteNameserverDefault) IsRedirect() bool
- func (o *DNSServiceDeleteNameserverDefault) IsServerError() bool
- func (o *DNSServiceDeleteNameserverDefault) IsSuccess() bool
- func (o *DNSServiceDeleteNameserverDefault) String() string
- type DNSServiceDeleteNameserverOK
- func (o *DNSServiceDeleteNameserverOK) Code() int
- func (o *DNSServiceDeleteNameserverOK) Error() string
- func (o *DNSServiceDeleteNameserverOK) GetPayload() *swagger.V1NameserverResponse
- func (o *DNSServiceDeleteNameserverOK) IsClientError() bool
- func (o *DNSServiceDeleteNameserverOK) IsCode(code int) bool
- func (o *DNSServiceDeleteNameserverOK) IsRedirect() bool
- func (o *DNSServiceDeleteNameserverOK) IsServerError() bool
- func (o *DNSServiceDeleteNameserverOK) IsSuccess() bool
- func (o *DNSServiceDeleteNameserverOK) String() string
- type DNSServiceDeleteNameserverParams
- func NewDNSServiceDeleteNameserverParams() *DNSServiceDeleteNameserverParams
- func NewDNSServiceDeleteNameserverParamsWithContext(ctx context.Context) *DNSServiceDeleteNameserverParams
- func NewDNSServiceDeleteNameserverParamsWithHTTPClient(client *http.Client) *DNSServiceDeleteNameserverParams
- func NewDNSServiceDeleteNameserverParamsWithTimeout(timeout time.Duration) *DNSServiceDeleteNameserverParams
- func (o *DNSServiceDeleteNameserverParams) SetChecksum(checksum *int64)
- func (o *DNSServiceDeleteNameserverParams) SetContext(ctx context.Context)
- func (o *DNSServiceDeleteNameserverParams) SetDefaults()
- func (o *DNSServiceDeleteNameserverParams) SetHTTPClient(client *http.Client)
- func (o *DNSServiceDeleteNameserverParams) SetIndex(index int32)
- func (o *DNSServiceDeleteNameserverParams) SetTimeout(timeout time.Duration)
- func (o *DNSServiceDeleteNameserverParams) WithChecksum(checksum *int64) *DNSServiceDeleteNameserverParams
- func (o *DNSServiceDeleteNameserverParams) WithContext(ctx context.Context) *DNSServiceDeleteNameserverParams
- func (o *DNSServiceDeleteNameserverParams) WithDefaults() *DNSServiceDeleteNameserverParams
- func (o *DNSServiceDeleteNameserverParams) WithHTTPClient(client *http.Client) *DNSServiceDeleteNameserverParams
- func (o *DNSServiceDeleteNameserverParams) WithIndex(index int32) *DNSServiceDeleteNameserverParams
- func (o *DNSServiceDeleteNameserverParams) WithTimeout(timeout time.Duration) *DNSServiceDeleteNameserverParams
- func (o *DNSServiceDeleteNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DNSServiceDeleteNameserverReader
- type DNSServiceGetNameserverAtDefault
- func (o *DNSServiceGetNameserverAtDefault) Code() int
- func (o *DNSServiceGetNameserverAtDefault) Error() string
- func (o *DNSServiceGetNameserverAtDefault) GetPayload() *swagger.RPCStatus
- func (o *DNSServiceGetNameserverAtDefault) IsClientError() bool
- func (o *DNSServiceGetNameserverAtDefault) IsCode(code int) bool
- func (o *DNSServiceGetNameserverAtDefault) IsRedirect() bool
- func (o *DNSServiceGetNameserverAtDefault) IsServerError() bool
- func (o *DNSServiceGetNameserverAtDefault) IsSuccess() bool
- func (o *DNSServiceGetNameserverAtDefault) String() string
- type DNSServiceGetNameserverAtOK
- func (o *DNSServiceGetNameserverAtOK) Code() int
- func (o *DNSServiceGetNameserverAtOK) Error() string
- func (o *DNSServiceGetNameserverAtOK) GetPayload() *swagger.V1NameserverResponse
- func (o *DNSServiceGetNameserverAtOK) IsClientError() bool
- func (o *DNSServiceGetNameserverAtOK) IsCode(code int) bool
- func (o *DNSServiceGetNameserverAtOK) IsRedirect() bool
- func (o *DNSServiceGetNameserverAtOK) IsServerError() bool
- func (o *DNSServiceGetNameserverAtOK) IsSuccess() bool
- func (o *DNSServiceGetNameserverAtOK) String() string
- type DNSServiceGetNameserverAtParams
- func NewDNSServiceGetNameserverAtParams() *DNSServiceGetNameserverAtParams
- func NewDNSServiceGetNameserverAtParamsWithContext(ctx context.Context) *DNSServiceGetNameserverAtParams
- func NewDNSServiceGetNameserverAtParamsWithHTTPClient(client *http.Client) *DNSServiceGetNameserverAtParams
- func NewDNSServiceGetNameserverAtParamsWithTimeout(timeout time.Duration) *DNSServiceGetNameserverAtParams
- func (o *DNSServiceGetNameserverAtParams) SetContext(ctx context.Context)
- func (o *DNSServiceGetNameserverAtParams) SetDefaults()
- func (o *DNSServiceGetNameserverAtParams) SetHTTPClient(client *http.Client)
- func (o *DNSServiceGetNameserverAtParams) SetIndex(index int32)
- func (o *DNSServiceGetNameserverAtParams) SetTimeout(timeout time.Duration)
- func (o *DNSServiceGetNameserverAtParams) WithContext(ctx context.Context) *DNSServiceGetNameserverAtParams
- func (o *DNSServiceGetNameserverAtParams) WithDefaults() *DNSServiceGetNameserverAtParams
- func (o *DNSServiceGetNameserverAtParams) WithHTTPClient(client *http.Client) *DNSServiceGetNameserverAtParams
- func (o *DNSServiceGetNameserverAtParams) WithIndex(index int32) *DNSServiceGetNameserverAtParams
- func (o *DNSServiceGetNameserverAtParams) WithTimeout(timeout time.Duration) *DNSServiceGetNameserverAtParams
- func (o *DNSServiceGetNameserverAtParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DNSServiceGetNameserverAtReader
- type DNSServiceGetNameserverListDefault
- func (o *DNSServiceGetNameserverListDefault) Code() int
- func (o *DNSServiceGetNameserverListDefault) Error() string
- func (o *DNSServiceGetNameserverListDefault) GetPayload() *swagger.RPCStatus
- func (o *DNSServiceGetNameserverListDefault) IsClientError() bool
- func (o *DNSServiceGetNameserverListDefault) IsCode(code int) bool
- func (o *DNSServiceGetNameserverListDefault) IsRedirect() bool
- func (o *DNSServiceGetNameserverListDefault) IsServerError() bool
- func (o *DNSServiceGetNameserverListDefault) IsSuccess() bool
- func (o *DNSServiceGetNameserverListDefault) String() string
- type DNSServiceGetNameserverListOK
- func (o *DNSServiceGetNameserverListOK) Code() int
- func (o *DNSServiceGetNameserverListOK) Error() string
- func (o *DNSServiceGetNameserverListOK) GetPayload() *swagger.V1NameserverList
- func (o *DNSServiceGetNameserverListOK) IsClientError() bool
- func (o *DNSServiceGetNameserverListOK) IsCode(code int) bool
- func (o *DNSServiceGetNameserverListOK) IsRedirect() bool
- func (o *DNSServiceGetNameserverListOK) IsServerError() bool
- func (o *DNSServiceGetNameserverListOK) IsSuccess() bool
- func (o *DNSServiceGetNameserverListOK) String() string
- type DNSServiceGetNameserverListParams
- func NewDNSServiceGetNameserverListParams() *DNSServiceGetNameserverListParams
- func NewDNSServiceGetNameserverListParamsWithContext(ctx context.Context) *DNSServiceGetNameserverListParams
- func NewDNSServiceGetNameserverListParamsWithHTTPClient(client *http.Client) *DNSServiceGetNameserverListParams
- func NewDNSServiceGetNameserverListParamsWithTimeout(timeout time.Duration) *DNSServiceGetNameserverListParams
- func (o *DNSServiceGetNameserverListParams) SetContext(ctx context.Context)
- func (o *DNSServiceGetNameserverListParams) SetDefaults()
- func (o *DNSServiceGetNameserverListParams) SetHTTPClient(client *http.Client)
- func (o *DNSServiceGetNameserverListParams) SetTimeout(timeout time.Duration)
- func (o *DNSServiceGetNameserverListParams) WithContext(ctx context.Context) *DNSServiceGetNameserverListParams
- func (o *DNSServiceGetNameserverListParams) WithDefaults() *DNSServiceGetNameserverListParams
- func (o *DNSServiceGetNameserverListParams) WithHTTPClient(client *http.Client) *DNSServiceGetNameserverListParams
- func (o *DNSServiceGetNameserverListParams) WithTimeout(timeout time.Duration) *DNSServiceGetNameserverListParams
- func (o *DNSServiceGetNameserverListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DNSServiceGetNameserverListReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for dns service API
func (*Client) DNSServiceCreateNameserver ¶
func (a *Client) DNSServiceCreateNameserver(params *DNSServiceCreateNameserverParams, opts ...ClientOption) (*DNSServiceCreateNameserverOK, error)
DNSServiceCreateNameserver creates the nameserer
func (*Client) DNSServiceDeleteNameserver ¶
func (a *Client) DNSServiceDeleteNameserver(params *DNSServiceDeleteNameserverParams, opts ...ClientOption) (*DNSServiceDeleteNameserverOK, error)
DNSServiceDeleteNameserver deletes the nameserver
func (*Client) DNSServiceGetNameserverAt ¶
func (a *Client) DNSServiceGetNameserverAt(params *DNSServiceGetNameserverAtParams, opts ...ClientOption) (*DNSServiceGetNameserverAtOK, error)
DNSServiceGetNameserverAt gets nameserver by index
func (*Client) DNSServiceGetNameserverList ¶
func (a *Client) DNSServiceGetNameserverList(params *DNSServiceGetNameserverListParams, opts ...ClientOption) (*DNSServiceGetNameserverListOK, error)
DNSServiceGetNameserverList gets all used nameservers
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { DNSServiceCreateNameserver(params *DNSServiceCreateNameserverParams, opts ...ClientOption) (*DNSServiceCreateNameserverOK, error) DNSServiceDeleteNameserver(params *DNSServiceDeleteNameserverParams, opts ...ClientOption) (*DNSServiceDeleteNameserverOK, error) DNSServiceGetNameserverAt(params *DNSServiceGetNameserverAtParams, opts ...ClientOption) (*DNSServiceGetNameserverAtOK, error) DNSServiceGetNameserverList(params *DNSServiceGetNameserverListParams, opts ...ClientOption) (*DNSServiceGetNameserverListOK, 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 service API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new dns service API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new dns service API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DNSServiceCreateNameserverDefault ¶
type DNSServiceCreateNameserverDefault struct { Payload *swagger.RPCStatus // contains filtered or unexported fields }
DNSServiceCreateNameserverDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDNSServiceCreateNameserverDefault ¶
func NewDNSServiceCreateNameserverDefault(code int) *DNSServiceCreateNameserverDefault
NewDNSServiceCreateNameserverDefault creates a DNSServiceCreateNameserverDefault with default headers values
func (*DNSServiceCreateNameserverDefault) Code ¶
func (o *DNSServiceCreateNameserverDefault) Code() int
Code gets the status code for the Dns service create nameserver default response
func (*DNSServiceCreateNameserverDefault) Error ¶
func (o *DNSServiceCreateNameserverDefault) Error() string
func (*DNSServiceCreateNameserverDefault) GetPayload ¶
func (o *DNSServiceCreateNameserverDefault) GetPayload() *swagger.RPCStatus
func (*DNSServiceCreateNameserverDefault) IsClientError ¶
func (o *DNSServiceCreateNameserverDefault) IsClientError() bool
IsClientError returns true when this Dns service create nameserver default response has a 4xx status code
func (*DNSServiceCreateNameserverDefault) IsCode ¶
func (o *DNSServiceCreateNameserverDefault) IsCode(code int) bool
IsCode returns true when this Dns service create nameserver default response a status code equal to that given
func (*DNSServiceCreateNameserverDefault) IsRedirect ¶
func (o *DNSServiceCreateNameserverDefault) IsRedirect() bool
IsRedirect returns true when this Dns service create nameserver default response has a 3xx status code
func (*DNSServiceCreateNameserverDefault) IsServerError ¶
func (o *DNSServiceCreateNameserverDefault) IsServerError() bool
IsServerError returns true when this Dns service create nameserver default response has a 5xx status code
func (*DNSServiceCreateNameserverDefault) IsSuccess ¶
func (o *DNSServiceCreateNameserverDefault) IsSuccess() bool
IsSuccess returns true when this Dns service create nameserver default response has a 2xx status code
func (*DNSServiceCreateNameserverDefault) String ¶
func (o *DNSServiceCreateNameserverDefault) String() string
type DNSServiceCreateNameserverOK ¶
type DNSServiceCreateNameserverOK struct {
Payload *swagger.V1NameserverResponse
}
DNSServiceCreateNameserverOK describes a response with status code 200, with default header values.
A successful response.
func NewDNSServiceCreateNameserverOK ¶
func NewDNSServiceCreateNameserverOK() *DNSServiceCreateNameserverOK
NewDNSServiceCreateNameserverOK creates a DNSServiceCreateNameserverOK with default headers values
func (*DNSServiceCreateNameserverOK) Code ¶
func (o *DNSServiceCreateNameserverOK) Code() int
Code gets the status code for the dns service create nameserver o k response
func (*DNSServiceCreateNameserverOK) Error ¶
func (o *DNSServiceCreateNameserverOK) Error() string
func (*DNSServiceCreateNameserverOK) GetPayload ¶
func (o *DNSServiceCreateNameserverOK) GetPayload() *swagger.V1NameserverResponse
func (*DNSServiceCreateNameserverOK) IsClientError ¶
func (o *DNSServiceCreateNameserverOK) IsClientError() bool
IsClientError returns true when this dns service create nameserver o k response has a 4xx status code
func (*DNSServiceCreateNameserverOK) IsCode ¶
func (o *DNSServiceCreateNameserverOK) IsCode(code int) bool
IsCode returns true when this dns service create nameserver o k response a status code equal to that given
func (*DNSServiceCreateNameserverOK) IsRedirect ¶
func (o *DNSServiceCreateNameserverOK) IsRedirect() bool
IsRedirect returns true when this dns service create nameserver o k response has a 3xx status code
func (*DNSServiceCreateNameserverOK) IsServerError ¶
func (o *DNSServiceCreateNameserverOK) IsServerError() bool
IsServerError returns true when this dns service create nameserver o k response has a 5xx status code
func (*DNSServiceCreateNameserverOK) IsSuccess ¶
func (o *DNSServiceCreateNameserverOK) IsSuccess() bool
IsSuccess returns true when this dns service create nameserver o k response has a 2xx status code
func (*DNSServiceCreateNameserverOK) String ¶
func (o *DNSServiceCreateNameserverOK) String() string
type DNSServiceCreateNameserverParams ¶
type DNSServiceCreateNameserverParams struct { /* Address. Internet address of the name server, either IPv4 or IPv6. */ Address string /* Checksum. The last received checksum from GetNameserverList(). Required if Index field is set. Format: int64 */ Checksum *int64 /* Index. Index of the nameserver (can be received from GetNameserverList()). If set, inserts nameserver at specified index. Otherwise, puts nameserver after the last one. Format: int32 */ Index *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DNSServiceCreateNameserverParams contains all the parameters to send to the API endpoint
for the Dns service create nameserver operation. Typically these are written to a http.Request.
func NewDNSServiceCreateNameserverParams ¶
func NewDNSServiceCreateNameserverParams() *DNSServiceCreateNameserverParams
NewDNSServiceCreateNameserverParams creates a new DNSServiceCreateNameserverParams 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 NewDNSServiceCreateNameserverParamsWithContext ¶
func NewDNSServiceCreateNameserverParamsWithContext(ctx context.Context) *DNSServiceCreateNameserverParams
NewDNSServiceCreateNameserverParamsWithContext creates a new DNSServiceCreateNameserverParams object with the ability to set a context for a request.
func NewDNSServiceCreateNameserverParamsWithHTTPClient ¶
func NewDNSServiceCreateNameserverParamsWithHTTPClient(client *http.Client) *DNSServiceCreateNameserverParams
NewDNSServiceCreateNameserverParamsWithHTTPClient creates a new DNSServiceCreateNameserverParams object with the ability to set a custom HTTPClient for a request.
func NewDNSServiceCreateNameserverParamsWithTimeout ¶
func NewDNSServiceCreateNameserverParamsWithTimeout(timeout time.Duration) *DNSServiceCreateNameserverParams
NewDNSServiceCreateNameserverParamsWithTimeout creates a new DNSServiceCreateNameserverParams object with the ability to set a timeout on a request.
func (*DNSServiceCreateNameserverParams) SetAddress ¶ added in v0.0.10
func (o *DNSServiceCreateNameserverParams) SetAddress(address string)
SetAddress adds the address to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) SetChecksum ¶ added in v0.0.10
func (o *DNSServiceCreateNameserverParams) SetChecksum(checksum *int64)
SetChecksum adds the checksum to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) SetContext ¶
func (o *DNSServiceCreateNameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) SetDefaults ¶
func (o *DNSServiceCreateNameserverParams) SetDefaults()
SetDefaults hydrates default values in the Dns service create nameserver params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceCreateNameserverParams) SetHTTPClient ¶
func (o *DNSServiceCreateNameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) SetIndex ¶ added in v0.0.10
func (o *DNSServiceCreateNameserverParams) SetIndex(index *int32)
SetIndex adds the index to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) SetTimeout ¶
func (o *DNSServiceCreateNameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) WithAddress ¶ added in v0.0.10
func (o *DNSServiceCreateNameserverParams) WithAddress(address string) *DNSServiceCreateNameserverParams
WithAddress adds the address to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) WithChecksum ¶ added in v0.0.10
func (o *DNSServiceCreateNameserverParams) WithChecksum(checksum *int64) *DNSServiceCreateNameserverParams
WithChecksum adds the checksum to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) WithContext ¶
func (o *DNSServiceCreateNameserverParams) WithContext(ctx context.Context) *DNSServiceCreateNameserverParams
WithContext adds the context to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) WithDefaults ¶
func (o *DNSServiceCreateNameserverParams) WithDefaults() *DNSServiceCreateNameserverParams
WithDefaults hydrates default values in the Dns service create nameserver params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceCreateNameserverParams) WithHTTPClient ¶
func (o *DNSServiceCreateNameserverParams) WithHTTPClient(client *http.Client) *DNSServiceCreateNameserverParams
WithHTTPClient adds the HTTPClient to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) WithIndex ¶ added in v0.0.10
func (o *DNSServiceCreateNameserverParams) WithIndex(index *int32) *DNSServiceCreateNameserverParams
WithIndex adds the index to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) WithTimeout ¶
func (o *DNSServiceCreateNameserverParams) WithTimeout(timeout time.Duration) *DNSServiceCreateNameserverParams
WithTimeout adds the timeout to the Dns service create nameserver params
func (*DNSServiceCreateNameserverParams) WriteToRequest ¶
func (o *DNSServiceCreateNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DNSServiceCreateNameserverReader ¶
type DNSServiceCreateNameserverReader struct {
// contains filtered or unexported fields
}
DNSServiceCreateNameserverReader is a Reader for the DNSServiceCreateNameserver structure.
func (*DNSServiceCreateNameserverReader) ReadResponse ¶
func (o *DNSServiceCreateNameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DNSServiceDeleteNameserverDefault ¶
type DNSServiceDeleteNameserverDefault struct { Payload *swagger.RPCStatus // contains filtered or unexported fields }
DNSServiceDeleteNameserverDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDNSServiceDeleteNameserverDefault ¶
func NewDNSServiceDeleteNameserverDefault(code int) *DNSServiceDeleteNameserverDefault
NewDNSServiceDeleteNameserverDefault creates a DNSServiceDeleteNameserverDefault with default headers values
func (*DNSServiceDeleteNameserverDefault) Code ¶
func (o *DNSServiceDeleteNameserverDefault) Code() int
Code gets the status code for the Dns service delete nameserver default response
func (*DNSServiceDeleteNameserverDefault) Error ¶
func (o *DNSServiceDeleteNameserverDefault) Error() string
func (*DNSServiceDeleteNameserverDefault) GetPayload ¶
func (o *DNSServiceDeleteNameserverDefault) GetPayload() *swagger.RPCStatus
func (*DNSServiceDeleteNameserverDefault) IsClientError ¶
func (o *DNSServiceDeleteNameserverDefault) IsClientError() bool
IsClientError returns true when this Dns service delete nameserver default response has a 4xx status code
func (*DNSServiceDeleteNameserverDefault) IsCode ¶
func (o *DNSServiceDeleteNameserverDefault) IsCode(code int) bool
IsCode returns true when this Dns service delete nameserver default response a status code equal to that given
func (*DNSServiceDeleteNameserverDefault) IsRedirect ¶
func (o *DNSServiceDeleteNameserverDefault) IsRedirect() bool
IsRedirect returns true when this Dns service delete nameserver default response has a 3xx status code
func (*DNSServiceDeleteNameserverDefault) IsServerError ¶
func (o *DNSServiceDeleteNameserverDefault) IsServerError() bool
IsServerError returns true when this Dns service delete nameserver default response has a 5xx status code
func (*DNSServiceDeleteNameserverDefault) IsSuccess ¶
func (o *DNSServiceDeleteNameserverDefault) IsSuccess() bool
IsSuccess returns true when this Dns service delete nameserver default response has a 2xx status code
func (*DNSServiceDeleteNameserverDefault) String ¶
func (o *DNSServiceDeleteNameserverDefault) String() string
type DNSServiceDeleteNameserverOK ¶
type DNSServiceDeleteNameserverOK struct {
Payload *swagger.V1NameserverResponse
}
DNSServiceDeleteNameserverOK describes a response with status code 200, with default header values.
A successful response.
func NewDNSServiceDeleteNameserverOK ¶
func NewDNSServiceDeleteNameserverOK() *DNSServiceDeleteNameserverOK
NewDNSServiceDeleteNameserverOK creates a DNSServiceDeleteNameserverOK with default headers values
func (*DNSServiceDeleteNameserverOK) Code ¶
func (o *DNSServiceDeleteNameserverOK) Code() int
Code gets the status code for the dns service delete nameserver o k response
func (*DNSServiceDeleteNameserverOK) Error ¶
func (o *DNSServiceDeleteNameserverOK) Error() string
func (*DNSServiceDeleteNameserverOK) GetPayload ¶
func (o *DNSServiceDeleteNameserverOK) GetPayload() *swagger.V1NameserverResponse
func (*DNSServiceDeleteNameserverOK) IsClientError ¶
func (o *DNSServiceDeleteNameserverOK) IsClientError() bool
IsClientError returns true when this dns service delete nameserver o k response has a 4xx status code
func (*DNSServiceDeleteNameserverOK) IsCode ¶
func (o *DNSServiceDeleteNameserverOK) IsCode(code int) bool
IsCode returns true when this dns service delete nameserver o k response a status code equal to that given
func (*DNSServiceDeleteNameserverOK) IsRedirect ¶
func (o *DNSServiceDeleteNameserverOK) IsRedirect() bool
IsRedirect returns true when this dns service delete nameserver o k response has a 3xx status code
func (*DNSServiceDeleteNameserverOK) IsServerError ¶
func (o *DNSServiceDeleteNameserverOK) IsServerError() bool
IsServerError returns true when this dns service delete nameserver o k response has a 5xx status code
func (*DNSServiceDeleteNameserverOK) IsSuccess ¶
func (o *DNSServiceDeleteNameserverOK) IsSuccess() bool
IsSuccess returns true when this dns service delete nameserver o k response has a 2xx status code
func (*DNSServiceDeleteNameserverOK) String ¶
func (o *DNSServiceDeleteNameserverOK) String() string
type DNSServiceDeleteNameserverParams ¶
type DNSServiceDeleteNameserverParams struct { /* Checksum. The last received checksum from GetNameserverList(). Format: int64 */ Checksum *int64 /* Index. Index of the nameserver to delete (can be received from GetNameserverList()). Format: int32 */ Index int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DNSServiceDeleteNameserverParams contains all the parameters to send to the API endpoint
for the Dns service delete nameserver operation. Typically these are written to a http.Request.
func NewDNSServiceDeleteNameserverParams ¶
func NewDNSServiceDeleteNameserverParams() *DNSServiceDeleteNameserverParams
NewDNSServiceDeleteNameserverParams creates a new DNSServiceDeleteNameserverParams 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 NewDNSServiceDeleteNameserverParamsWithContext ¶
func NewDNSServiceDeleteNameserverParamsWithContext(ctx context.Context) *DNSServiceDeleteNameserverParams
NewDNSServiceDeleteNameserverParamsWithContext creates a new DNSServiceDeleteNameserverParams object with the ability to set a context for a request.
func NewDNSServiceDeleteNameserverParamsWithHTTPClient ¶
func NewDNSServiceDeleteNameserverParamsWithHTTPClient(client *http.Client) *DNSServiceDeleteNameserverParams
NewDNSServiceDeleteNameserverParamsWithHTTPClient creates a new DNSServiceDeleteNameserverParams object with the ability to set a custom HTTPClient for a request.
func NewDNSServiceDeleteNameserverParamsWithTimeout ¶
func NewDNSServiceDeleteNameserverParamsWithTimeout(timeout time.Duration) *DNSServiceDeleteNameserverParams
NewDNSServiceDeleteNameserverParamsWithTimeout creates a new DNSServiceDeleteNameserverParams object with the ability to set a timeout on a request.
func (*DNSServiceDeleteNameserverParams) SetChecksum ¶
func (o *DNSServiceDeleteNameserverParams) SetChecksum(checksum *int64)
SetChecksum adds the checksum to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) SetContext ¶
func (o *DNSServiceDeleteNameserverParams) SetContext(ctx context.Context)
SetContext adds the context to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) SetDefaults ¶
func (o *DNSServiceDeleteNameserverParams) SetDefaults()
SetDefaults hydrates default values in the Dns service delete nameserver params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceDeleteNameserverParams) SetHTTPClient ¶
func (o *DNSServiceDeleteNameserverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) SetIndex ¶
func (o *DNSServiceDeleteNameserverParams) SetIndex(index int32)
SetIndex adds the index to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) SetTimeout ¶
func (o *DNSServiceDeleteNameserverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) WithChecksum ¶
func (o *DNSServiceDeleteNameserverParams) WithChecksum(checksum *int64) *DNSServiceDeleteNameserverParams
WithChecksum adds the checksum to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) WithContext ¶
func (o *DNSServiceDeleteNameserverParams) WithContext(ctx context.Context) *DNSServiceDeleteNameserverParams
WithContext adds the context to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) WithDefaults ¶
func (o *DNSServiceDeleteNameserverParams) WithDefaults() *DNSServiceDeleteNameserverParams
WithDefaults hydrates default values in the Dns service delete nameserver params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceDeleteNameserverParams) WithHTTPClient ¶
func (o *DNSServiceDeleteNameserverParams) WithHTTPClient(client *http.Client) *DNSServiceDeleteNameserverParams
WithHTTPClient adds the HTTPClient to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) WithIndex ¶
func (o *DNSServiceDeleteNameserverParams) WithIndex(index int32) *DNSServiceDeleteNameserverParams
WithIndex adds the index to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) WithTimeout ¶
func (o *DNSServiceDeleteNameserverParams) WithTimeout(timeout time.Duration) *DNSServiceDeleteNameserverParams
WithTimeout adds the timeout to the Dns service delete nameserver params
func (*DNSServiceDeleteNameserverParams) WriteToRequest ¶
func (o *DNSServiceDeleteNameserverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DNSServiceDeleteNameserverReader ¶
type DNSServiceDeleteNameserverReader struct {
// contains filtered or unexported fields
}
DNSServiceDeleteNameserverReader is a Reader for the DNSServiceDeleteNameserver structure.
func (*DNSServiceDeleteNameserverReader) ReadResponse ¶
func (o *DNSServiceDeleteNameserverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DNSServiceGetNameserverAtDefault ¶
type DNSServiceGetNameserverAtDefault struct { Payload *swagger.RPCStatus // contains filtered or unexported fields }
DNSServiceGetNameserverAtDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDNSServiceGetNameserverAtDefault ¶
func NewDNSServiceGetNameserverAtDefault(code int) *DNSServiceGetNameserverAtDefault
NewDNSServiceGetNameserverAtDefault creates a DNSServiceGetNameserverAtDefault with default headers values
func (*DNSServiceGetNameserverAtDefault) Code ¶
func (o *DNSServiceGetNameserverAtDefault) Code() int
Code gets the status code for the Dns service get nameserver at default response
func (*DNSServiceGetNameserverAtDefault) Error ¶
func (o *DNSServiceGetNameserverAtDefault) Error() string
func (*DNSServiceGetNameserverAtDefault) GetPayload ¶
func (o *DNSServiceGetNameserverAtDefault) GetPayload() *swagger.RPCStatus
func (*DNSServiceGetNameserverAtDefault) IsClientError ¶
func (o *DNSServiceGetNameserverAtDefault) IsClientError() bool
IsClientError returns true when this Dns service get nameserver at default response has a 4xx status code
func (*DNSServiceGetNameserverAtDefault) IsCode ¶
func (o *DNSServiceGetNameserverAtDefault) IsCode(code int) bool
IsCode returns true when this Dns service get nameserver at default response a status code equal to that given
func (*DNSServiceGetNameserverAtDefault) IsRedirect ¶
func (o *DNSServiceGetNameserverAtDefault) IsRedirect() bool
IsRedirect returns true when this Dns service get nameserver at default response has a 3xx status code
func (*DNSServiceGetNameserverAtDefault) IsServerError ¶
func (o *DNSServiceGetNameserverAtDefault) IsServerError() bool
IsServerError returns true when this Dns service get nameserver at default response has a 5xx status code
func (*DNSServiceGetNameserverAtDefault) IsSuccess ¶
func (o *DNSServiceGetNameserverAtDefault) IsSuccess() bool
IsSuccess returns true when this Dns service get nameserver at default response has a 2xx status code
func (*DNSServiceGetNameserverAtDefault) String ¶
func (o *DNSServiceGetNameserverAtDefault) String() string
type DNSServiceGetNameserverAtOK ¶
type DNSServiceGetNameserverAtOK struct {
Payload *swagger.V1NameserverResponse
}
DNSServiceGetNameserverAtOK describes a response with status code 200, with default header values.
A successful response.
func NewDNSServiceGetNameserverAtOK ¶
func NewDNSServiceGetNameserverAtOK() *DNSServiceGetNameserverAtOK
NewDNSServiceGetNameserverAtOK creates a DNSServiceGetNameserverAtOK with default headers values
func (*DNSServiceGetNameserverAtOK) Code ¶
func (o *DNSServiceGetNameserverAtOK) Code() int
Code gets the status code for the dns service get nameserver at o k response
func (*DNSServiceGetNameserverAtOK) Error ¶
func (o *DNSServiceGetNameserverAtOK) Error() string
func (*DNSServiceGetNameserverAtOK) GetPayload ¶
func (o *DNSServiceGetNameserverAtOK) GetPayload() *swagger.V1NameserverResponse
func (*DNSServiceGetNameserverAtOK) IsClientError ¶
func (o *DNSServiceGetNameserverAtOK) IsClientError() bool
IsClientError returns true when this dns service get nameserver at o k response has a 4xx status code
func (*DNSServiceGetNameserverAtOK) IsCode ¶
func (o *DNSServiceGetNameserverAtOK) IsCode(code int) bool
IsCode returns true when this dns service get nameserver at o k response a status code equal to that given
func (*DNSServiceGetNameserverAtOK) IsRedirect ¶
func (o *DNSServiceGetNameserverAtOK) IsRedirect() bool
IsRedirect returns true when this dns service get nameserver at o k response has a 3xx status code
func (*DNSServiceGetNameserverAtOK) IsServerError ¶
func (o *DNSServiceGetNameserverAtOK) IsServerError() bool
IsServerError returns true when this dns service get nameserver at o k response has a 5xx status code
func (*DNSServiceGetNameserverAtOK) IsSuccess ¶
func (o *DNSServiceGetNameserverAtOK) IsSuccess() bool
IsSuccess returns true when this dns service get nameserver at o k response has a 2xx status code
func (*DNSServiceGetNameserverAtOK) String ¶
func (o *DNSServiceGetNameserverAtOK) String() string
type DNSServiceGetNameserverAtParams ¶
type DNSServiceGetNameserverAtParams struct { /* Index. Index of the nameserver (can be received from GetNameserverList()). Format: int32 */ Index int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DNSServiceGetNameserverAtParams contains all the parameters to send to the API endpoint
for the Dns service get nameserver at operation. Typically these are written to a http.Request.
func NewDNSServiceGetNameserverAtParams ¶
func NewDNSServiceGetNameserverAtParams() *DNSServiceGetNameserverAtParams
NewDNSServiceGetNameserverAtParams creates a new DNSServiceGetNameserverAtParams 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 NewDNSServiceGetNameserverAtParamsWithContext ¶
func NewDNSServiceGetNameserverAtParamsWithContext(ctx context.Context) *DNSServiceGetNameserverAtParams
NewDNSServiceGetNameserverAtParamsWithContext creates a new DNSServiceGetNameserverAtParams object with the ability to set a context for a request.
func NewDNSServiceGetNameserverAtParamsWithHTTPClient ¶
func NewDNSServiceGetNameserverAtParamsWithHTTPClient(client *http.Client) *DNSServiceGetNameserverAtParams
NewDNSServiceGetNameserverAtParamsWithHTTPClient creates a new DNSServiceGetNameserverAtParams object with the ability to set a custom HTTPClient for a request.
func NewDNSServiceGetNameserverAtParamsWithTimeout ¶
func NewDNSServiceGetNameserverAtParamsWithTimeout(timeout time.Duration) *DNSServiceGetNameserverAtParams
NewDNSServiceGetNameserverAtParamsWithTimeout creates a new DNSServiceGetNameserverAtParams object with the ability to set a timeout on a request.
func (*DNSServiceGetNameserverAtParams) SetContext ¶
func (o *DNSServiceGetNameserverAtParams) SetContext(ctx context.Context)
SetContext adds the context to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) SetDefaults ¶
func (o *DNSServiceGetNameserverAtParams) SetDefaults()
SetDefaults hydrates default values in the Dns service get nameserver at params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceGetNameserverAtParams) SetHTTPClient ¶
func (o *DNSServiceGetNameserverAtParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) SetIndex ¶
func (o *DNSServiceGetNameserverAtParams) SetIndex(index int32)
SetIndex adds the index to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) SetTimeout ¶
func (o *DNSServiceGetNameserverAtParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) WithContext ¶
func (o *DNSServiceGetNameserverAtParams) WithContext(ctx context.Context) *DNSServiceGetNameserverAtParams
WithContext adds the context to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) WithDefaults ¶
func (o *DNSServiceGetNameserverAtParams) WithDefaults() *DNSServiceGetNameserverAtParams
WithDefaults hydrates default values in the Dns service get nameserver at params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceGetNameserverAtParams) WithHTTPClient ¶
func (o *DNSServiceGetNameserverAtParams) WithHTTPClient(client *http.Client) *DNSServiceGetNameserverAtParams
WithHTTPClient adds the HTTPClient to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) WithIndex ¶
func (o *DNSServiceGetNameserverAtParams) WithIndex(index int32) *DNSServiceGetNameserverAtParams
WithIndex adds the index to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) WithTimeout ¶
func (o *DNSServiceGetNameserverAtParams) WithTimeout(timeout time.Duration) *DNSServiceGetNameserverAtParams
WithTimeout adds the timeout to the Dns service get nameserver at params
func (*DNSServiceGetNameserverAtParams) WriteToRequest ¶
func (o *DNSServiceGetNameserverAtParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DNSServiceGetNameserverAtReader ¶
type DNSServiceGetNameserverAtReader struct {
// contains filtered or unexported fields
}
DNSServiceGetNameserverAtReader is a Reader for the DNSServiceGetNameserverAt structure.
func (*DNSServiceGetNameserverAtReader) ReadResponse ¶
func (o *DNSServiceGetNameserverAtReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DNSServiceGetNameserverListDefault ¶
type DNSServiceGetNameserverListDefault struct { Payload *swagger.RPCStatus // contains filtered or unexported fields }
DNSServiceGetNameserverListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDNSServiceGetNameserverListDefault ¶
func NewDNSServiceGetNameserverListDefault(code int) *DNSServiceGetNameserverListDefault
NewDNSServiceGetNameserverListDefault creates a DNSServiceGetNameserverListDefault with default headers values
func (*DNSServiceGetNameserverListDefault) Code ¶
func (o *DNSServiceGetNameserverListDefault) Code() int
Code gets the status code for the Dns service get nameserver list default response
func (*DNSServiceGetNameserverListDefault) Error ¶
func (o *DNSServiceGetNameserverListDefault) Error() string
func (*DNSServiceGetNameserverListDefault) GetPayload ¶
func (o *DNSServiceGetNameserverListDefault) GetPayload() *swagger.RPCStatus
func (*DNSServiceGetNameserverListDefault) IsClientError ¶
func (o *DNSServiceGetNameserverListDefault) IsClientError() bool
IsClientError returns true when this Dns service get nameserver list default response has a 4xx status code
func (*DNSServiceGetNameserverListDefault) IsCode ¶
func (o *DNSServiceGetNameserverListDefault) IsCode(code int) bool
IsCode returns true when this Dns service get nameserver list default response a status code equal to that given
func (*DNSServiceGetNameserverListDefault) IsRedirect ¶
func (o *DNSServiceGetNameserverListDefault) IsRedirect() bool
IsRedirect returns true when this Dns service get nameserver list default response has a 3xx status code
func (*DNSServiceGetNameserverListDefault) IsServerError ¶
func (o *DNSServiceGetNameserverListDefault) IsServerError() bool
IsServerError returns true when this Dns service get nameserver list default response has a 5xx status code
func (*DNSServiceGetNameserverListDefault) IsSuccess ¶
func (o *DNSServiceGetNameserverListDefault) IsSuccess() bool
IsSuccess returns true when this Dns service get nameserver list default response has a 2xx status code
func (*DNSServiceGetNameserverListDefault) String ¶
func (o *DNSServiceGetNameserverListDefault) String() string
type DNSServiceGetNameserverListOK ¶
type DNSServiceGetNameserverListOK struct {
Payload *swagger.V1NameserverList
}
DNSServiceGetNameserverListOK describes a response with status code 200, with default header values.
A successful response.
func NewDNSServiceGetNameserverListOK ¶
func NewDNSServiceGetNameserverListOK() *DNSServiceGetNameserverListOK
NewDNSServiceGetNameserverListOK creates a DNSServiceGetNameserverListOK with default headers values
func (*DNSServiceGetNameserverListOK) Code ¶
func (o *DNSServiceGetNameserverListOK) Code() int
Code gets the status code for the dns service get nameserver list o k response
func (*DNSServiceGetNameserverListOK) Error ¶
func (o *DNSServiceGetNameserverListOK) Error() string
func (*DNSServiceGetNameserverListOK) GetPayload ¶
func (o *DNSServiceGetNameserverListOK) GetPayload() *swagger.V1NameserverList
func (*DNSServiceGetNameserverListOK) IsClientError ¶
func (o *DNSServiceGetNameserverListOK) IsClientError() bool
IsClientError returns true when this dns service get nameserver list o k response has a 4xx status code
func (*DNSServiceGetNameserverListOK) IsCode ¶
func (o *DNSServiceGetNameserverListOK) IsCode(code int) bool
IsCode returns true when this dns service get nameserver list o k response a status code equal to that given
func (*DNSServiceGetNameserverListOK) IsRedirect ¶
func (o *DNSServiceGetNameserverListOK) IsRedirect() bool
IsRedirect returns true when this dns service get nameserver list o k response has a 3xx status code
func (*DNSServiceGetNameserverListOK) IsServerError ¶
func (o *DNSServiceGetNameserverListOK) IsServerError() bool
IsServerError returns true when this dns service get nameserver list o k response has a 5xx status code
func (*DNSServiceGetNameserverListOK) IsSuccess ¶
func (o *DNSServiceGetNameserverListOK) IsSuccess() bool
IsSuccess returns true when this dns service get nameserver list o k response has a 2xx status code
func (*DNSServiceGetNameserverListOK) String ¶
func (o *DNSServiceGetNameserverListOK) String() string
type DNSServiceGetNameserverListParams ¶
type DNSServiceGetNameserverListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DNSServiceGetNameserverListParams contains all the parameters to send to the API endpoint
for the Dns service get nameserver list operation. Typically these are written to a http.Request.
func NewDNSServiceGetNameserverListParams ¶
func NewDNSServiceGetNameserverListParams() *DNSServiceGetNameserverListParams
NewDNSServiceGetNameserverListParams creates a new DNSServiceGetNameserverListParams 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 NewDNSServiceGetNameserverListParamsWithContext ¶
func NewDNSServiceGetNameserverListParamsWithContext(ctx context.Context) *DNSServiceGetNameserverListParams
NewDNSServiceGetNameserverListParamsWithContext creates a new DNSServiceGetNameserverListParams object with the ability to set a context for a request.
func NewDNSServiceGetNameserverListParamsWithHTTPClient ¶
func NewDNSServiceGetNameserverListParamsWithHTTPClient(client *http.Client) *DNSServiceGetNameserverListParams
NewDNSServiceGetNameserverListParamsWithHTTPClient creates a new DNSServiceGetNameserverListParams object with the ability to set a custom HTTPClient for a request.
func NewDNSServiceGetNameserverListParamsWithTimeout ¶
func NewDNSServiceGetNameserverListParamsWithTimeout(timeout time.Duration) *DNSServiceGetNameserverListParams
NewDNSServiceGetNameserverListParamsWithTimeout creates a new DNSServiceGetNameserverListParams object with the ability to set a timeout on a request.
func (*DNSServiceGetNameserverListParams) SetContext ¶
func (o *DNSServiceGetNameserverListParams) SetContext(ctx context.Context)
SetContext adds the context to the Dns service get nameserver list params
func (*DNSServiceGetNameserverListParams) SetDefaults ¶
func (o *DNSServiceGetNameserverListParams) SetDefaults()
SetDefaults hydrates default values in the Dns service get nameserver list params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceGetNameserverListParams) SetHTTPClient ¶
func (o *DNSServiceGetNameserverListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the Dns service get nameserver list params
func (*DNSServiceGetNameserverListParams) SetTimeout ¶
func (o *DNSServiceGetNameserverListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the Dns service get nameserver list params
func (*DNSServiceGetNameserverListParams) WithContext ¶
func (o *DNSServiceGetNameserverListParams) WithContext(ctx context.Context) *DNSServiceGetNameserverListParams
WithContext adds the context to the Dns service get nameserver list params
func (*DNSServiceGetNameserverListParams) WithDefaults ¶
func (o *DNSServiceGetNameserverListParams) WithDefaults() *DNSServiceGetNameserverListParams
WithDefaults hydrates default values in the Dns service get nameserver list params (not the query body).
All values with no default are reset to their zero value.
func (*DNSServiceGetNameserverListParams) WithHTTPClient ¶
func (o *DNSServiceGetNameserverListParams) WithHTTPClient(client *http.Client) *DNSServiceGetNameserverListParams
WithHTTPClient adds the HTTPClient to the Dns service get nameserver list params
func (*DNSServiceGetNameserverListParams) WithTimeout ¶
func (o *DNSServiceGetNameserverListParams) WithTimeout(timeout time.Duration) *DNSServiceGetNameserverListParams
WithTimeout adds the timeout to the Dns service get nameserver list params
func (*DNSServiceGetNameserverListParams) WriteToRequest ¶
func (o *DNSServiceGetNameserverListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DNSServiceGetNameserverListReader ¶
type DNSServiceGetNameserverListReader struct {
// contains filtered or unexported fields
}
DNSServiceGetNameserverListReader is a Reader for the DNSServiceGetNameserverList structure.
func (*DNSServiceGetNameserverListReader) ReadResponse ¶
func (o *DNSServiceGetNameserverListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- dns_service_client.go
- dns_service_create_nameserver_parameters.go
- dns_service_create_nameserver_responses.go
- dns_service_delete_nameserver_parameters.go
- dns_service_delete_nameserver_responses.go
- dns_service_get_nameserver_at_parameters.go
- dns_service_get_nameserver_at_responses.go
- dns_service_get_nameserver_list_parameters.go
- dns_service_get_nameserver_list_responses.go