Documentation ¶
Index ¶
- type API
- type Client
- type V2ListManagedDomainsInternalServerError
- func (o *V2ListManagedDomainsInternalServerError) Error() string
- func (o *V2ListManagedDomainsInternalServerError) GetPayload() *models.Error
- func (o *V2ListManagedDomainsInternalServerError) IsClientError() bool
- func (o *V2ListManagedDomainsInternalServerError) IsCode(code int) bool
- func (o *V2ListManagedDomainsInternalServerError) IsRedirect() bool
- func (o *V2ListManagedDomainsInternalServerError) IsServerError() bool
- func (o *V2ListManagedDomainsInternalServerError) IsSuccess() bool
- func (o *V2ListManagedDomainsInternalServerError) String() string
- type V2ListManagedDomainsOK
- func (o *V2ListManagedDomainsOK) Error() string
- func (o *V2ListManagedDomainsOK) GetPayload() models.ListManagedDomains
- func (o *V2ListManagedDomainsOK) IsClientError() bool
- func (o *V2ListManagedDomainsOK) IsCode(code int) bool
- func (o *V2ListManagedDomainsOK) IsRedirect() bool
- func (o *V2ListManagedDomainsOK) IsServerError() bool
- func (o *V2ListManagedDomainsOK) IsSuccess() bool
- func (o *V2ListManagedDomainsOK) String() string
- type V2ListManagedDomainsParams
- func NewV2ListManagedDomainsParams() *V2ListManagedDomainsParams
- func NewV2ListManagedDomainsParamsWithContext(ctx context.Context) *V2ListManagedDomainsParams
- func NewV2ListManagedDomainsParamsWithHTTPClient(client *http.Client) *V2ListManagedDomainsParams
- func NewV2ListManagedDomainsParamsWithTimeout(timeout time.Duration) *V2ListManagedDomainsParams
- func (o *V2ListManagedDomainsParams) SetContext(ctx context.Context)
- func (o *V2ListManagedDomainsParams) SetDefaults()
- func (o *V2ListManagedDomainsParams) SetHTTPClient(client *http.Client)
- func (o *V2ListManagedDomainsParams) SetTimeout(timeout time.Duration)
- func (o *V2ListManagedDomainsParams) WithContext(ctx context.Context) *V2ListManagedDomainsParams
- func (o *V2ListManagedDomainsParams) WithDefaults() *V2ListManagedDomainsParams
- func (o *V2ListManagedDomainsParams) WithHTTPClient(client *http.Client) *V2ListManagedDomainsParams
- func (o *V2ListManagedDomainsParams) WithTimeout(timeout time.Duration) *V2ListManagedDomainsParams
- func (o *V2ListManagedDomainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V2ListManagedDomainsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* V2ListManagedDomains List of managed DNS domains.*/ V2ListManagedDomains(ctx context.Context, params *V2ListManagedDomainsParams) (*V2ListManagedDomainsOK, error) }
API is the interface of the managed domains client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for managed domains API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new managed domains API client.
func (*Client) V2ListManagedDomains ¶
func (a *Client) V2ListManagedDomains(ctx context.Context, params *V2ListManagedDomainsParams) (*V2ListManagedDomainsOK, error)
V2ListManagedDomains List of managed DNS domains.
type V2ListManagedDomainsInternalServerError ¶
V2ListManagedDomainsInternalServerError describes a response with status code 500, with default header values.
Error.
func NewV2ListManagedDomainsInternalServerError ¶
func NewV2ListManagedDomainsInternalServerError() *V2ListManagedDomainsInternalServerError
NewV2ListManagedDomainsInternalServerError creates a V2ListManagedDomainsInternalServerError with default headers values
func (*V2ListManagedDomainsInternalServerError) Error ¶
func (o *V2ListManagedDomainsInternalServerError) Error() string
func (*V2ListManagedDomainsInternalServerError) GetPayload ¶
func (o *V2ListManagedDomainsInternalServerError) GetPayload() *models.Error
func (*V2ListManagedDomainsInternalServerError) IsClientError ¶
func (o *V2ListManagedDomainsInternalServerError) IsClientError() bool
IsClientError returns true when this v2 list managed domains internal server error response has a 4xx status code
func (*V2ListManagedDomainsInternalServerError) IsCode ¶
func (o *V2ListManagedDomainsInternalServerError) IsCode(code int) bool
IsCode returns true when this v2 list managed domains internal server error response a status code equal to that given
func (*V2ListManagedDomainsInternalServerError) IsRedirect ¶
func (o *V2ListManagedDomainsInternalServerError) IsRedirect() bool
IsRedirect returns true when this v2 list managed domains internal server error response has a 3xx status code
func (*V2ListManagedDomainsInternalServerError) IsServerError ¶
func (o *V2ListManagedDomainsInternalServerError) IsServerError() bool
IsServerError returns true when this v2 list managed domains internal server error response has a 5xx status code
func (*V2ListManagedDomainsInternalServerError) IsSuccess ¶
func (o *V2ListManagedDomainsInternalServerError) IsSuccess() bool
IsSuccess returns true when this v2 list managed domains internal server error response has a 2xx status code
func (*V2ListManagedDomainsInternalServerError) String ¶
func (o *V2ListManagedDomainsInternalServerError) String() string
type V2ListManagedDomainsOK ¶
type V2ListManagedDomainsOK struct {
Payload models.ListManagedDomains
}
V2ListManagedDomainsOK describes a response with status code 200, with default header values.
Success.
func NewV2ListManagedDomainsOK ¶
func NewV2ListManagedDomainsOK() *V2ListManagedDomainsOK
NewV2ListManagedDomainsOK creates a V2ListManagedDomainsOK with default headers values
func (*V2ListManagedDomainsOK) Error ¶
func (o *V2ListManagedDomainsOK) Error() string
func (*V2ListManagedDomainsOK) GetPayload ¶
func (o *V2ListManagedDomainsOK) GetPayload() models.ListManagedDomains
func (*V2ListManagedDomainsOK) IsClientError ¶
func (o *V2ListManagedDomainsOK) IsClientError() bool
IsClientError returns true when this v2 list managed domains o k response has a 4xx status code
func (*V2ListManagedDomainsOK) IsCode ¶
func (o *V2ListManagedDomainsOK) IsCode(code int) bool
IsCode returns true when this v2 list managed domains o k response a status code equal to that given
func (*V2ListManagedDomainsOK) IsRedirect ¶
func (o *V2ListManagedDomainsOK) IsRedirect() bool
IsRedirect returns true when this v2 list managed domains o k response has a 3xx status code
func (*V2ListManagedDomainsOK) IsServerError ¶
func (o *V2ListManagedDomainsOK) IsServerError() bool
IsServerError returns true when this v2 list managed domains o k response has a 5xx status code
func (*V2ListManagedDomainsOK) IsSuccess ¶
func (o *V2ListManagedDomainsOK) IsSuccess() bool
IsSuccess returns true when this v2 list managed domains o k response has a 2xx status code
func (*V2ListManagedDomainsOK) String ¶
func (o *V2ListManagedDomainsOK) String() string
type V2ListManagedDomainsParams ¶
type V2ListManagedDomainsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V2ListManagedDomainsParams contains all the parameters to send to the API endpoint
for the v2 list managed domains operation. Typically these are written to a http.Request.
func NewV2ListManagedDomainsParams ¶
func NewV2ListManagedDomainsParams() *V2ListManagedDomainsParams
NewV2ListManagedDomainsParams creates a new V2ListManagedDomainsParams 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 NewV2ListManagedDomainsParamsWithContext ¶
func NewV2ListManagedDomainsParamsWithContext(ctx context.Context) *V2ListManagedDomainsParams
NewV2ListManagedDomainsParamsWithContext creates a new V2ListManagedDomainsParams object with the ability to set a context for a request.
func NewV2ListManagedDomainsParamsWithHTTPClient ¶
func NewV2ListManagedDomainsParamsWithHTTPClient(client *http.Client) *V2ListManagedDomainsParams
NewV2ListManagedDomainsParamsWithHTTPClient creates a new V2ListManagedDomainsParams object with the ability to set a custom HTTPClient for a request.
func NewV2ListManagedDomainsParamsWithTimeout ¶
func NewV2ListManagedDomainsParamsWithTimeout(timeout time.Duration) *V2ListManagedDomainsParams
NewV2ListManagedDomainsParamsWithTimeout creates a new V2ListManagedDomainsParams object with the ability to set a timeout on a request.
func (*V2ListManagedDomainsParams) SetContext ¶
func (o *V2ListManagedDomainsParams) SetContext(ctx context.Context)
SetContext adds the context to the v2 list managed domains params
func (*V2ListManagedDomainsParams) SetDefaults ¶
func (o *V2ListManagedDomainsParams) SetDefaults()
SetDefaults hydrates default values in the v2 list managed domains params (not the query body).
All values with no default are reset to their zero value.
func (*V2ListManagedDomainsParams) SetHTTPClient ¶
func (o *V2ListManagedDomainsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v2 list managed domains params
func (*V2ListManagedDomainsParams) SetTimeout ¶
func (o *V2ListManagedDomainsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v2 list managed domains params
func (*V2ListManagedDomainsParams) WithContext ¶
func (o *V2ListManagedDomainsParams) WithContext(ctx context.Context) *V2ListManagedDomainsParams
WithContext adds the context to the v2 list managed domains params
func (*V2ListManagedDomainsParams) WithDefaults ¶
func (o *V2ListManagedDomainsParams) WithDefaults() *V2ListManagedDomainsParams
WithDefaults hydrates default values in the v2 list managed domains params (not the query body).
All values with no default are reset to their zero value.
func (*V2ListManagedDomainsParams) WithHTTPClient ¶
func (o *V2ListManagedDomainsParams) WithHTTPClient(client *http.Client) *V2ListManagedDomainsParams
WithHTTPClient adds the HTTPClient to the v2 list managed domains params
func (*V2ListManagedDomainsParams) WithTimeout ¶
func (o *V2ListManagedDomainsParams) WithTimeout(timeout time.Duration) *V2ListManagedDomainsParams
WithTimeout adds the timeout to the v2 list managed domains params
func (*V2ListManagedDomainsParams) WriteToRequest ¶
func (o *V2ListManagedDomainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V2ListManagedDomainsReader ¶
type V2ListManagedDomainsReader struct {
// contains filtered or unexported fields
}
V2ListManagedDomainsReader is a Reader for the V2ListManagedDomains structure.
func (*V2ListManagedDomainsReader) ReadResponse ¶
func (o *V2ListManagedDomainsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.