managed_domains

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   ListManagedDomains lists of managed DNS domains*/
	ListManagedDomains(ctx context.Context, params *ListManagedDomainsParams) (*ListManagedDomainsOK, 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) ListManagedDomains

func (a *Client) ListManagedDomains(ctx context.Context, params *ListManagedDomainsParams) (*ListManagedDomainsOK, error)

ListManagedDomains lists of managed DNS domains

type ListManagedDomainsInternalServerError

type ListManagedDomainsInternalServerError struct {
	Payload *models.Error
}

ListManagedDomainsInternalServerError handles this case with default header values.

Error.

func NewListManagedDomainsInternalServerError

func NewListManagedDomainsInternalServerError() *ListManagedDomainsInternalServerError

NewListManagedDomainsInternalServerError creates a ListManagedDomainsInternalServerError with default headers values

func (*ListManagedDomainsInternalServerError) Error

func (*ListManagedDomainsInternalServerError) GetPayload

type ListManagedDomainsOK

type ListManagedDomainsOK struct {
	Payload models.ListManagedDomains
}

ListManagedDomainsOK handles this case with default header values.

Success.

func NewListManagedDomainsOK

func NewListManagedDomainsOK() *ListManagedDomainsOK

NewListManagedDomainsOK creates a ListManagedDomainsOK with default headers values

func (*ListManagedDomainsOK) Error

func (o *ListManagedDomainsOK) Error() string

func (*ListManagedDomainsOK) GetPayload

type ListManagedDomainsParams

type ListManagedDomainsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListManagedDomainsParams contains all the parameters to send to the API endpoint for the list managed domains operation typically these are written to a http.Request

func NewListManagedDomainsParams

func NewListManagedDomainsParams() *ListManagedDomainsParams

NewListManagedDomainsParams creates a new ListManagedDomainsParams object with the default values initialized.

func NewListManagedDomainsParamsWithContext

func NewListManagedDomainsParamsWithContext(ctx context.Context) *ListManagedDomainsParams

NewListManagedDomainsParamsWithContext creates a new ListManagedDomainsParams object with the default values initialized, and the ability to set a context for a request

func NewListManagedDomainsParamsWithHTTPClient

func NewListManagedDomainsParamsWithHTTPClient(client *http.Client) *ListManagedDomainsParams

NewListManagedDomainsParamsWithHTTPClient creates a new ListManagedDomainsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListManagedDomainsParamsWithTimeout

func NewListManagedDomainsParamsWithTimeout(timeout time.Duration) *ListManagedDomainsParams

NewListManagedDomainsParamsWithTimeout creates a new ListManagedDomainsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListManagedDomainsParams) SetContext

func (o *ListManagedDomainsParams) SetContext(ctx context.Context)

SetContext adds the context to the list managed domains params

func (*ListManagedDomainsParams) SetHTTPClient

func (o *ListManagedDomainsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list managed domains params

func (*ListManagedDomainsParams) SetTimeout

func (o *ListManagedDomainsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list managed domains params

func (*ListManagedDomainsParams) WithContext

WithContext adds the context to the list managed domains params

func (*ListManagedDomainsParams) WithHTTPClient

func (o *ListManagedDomainsParams) WithHTTPClient(client *http.Client) *ListManagedDomainsParams

WithHTTPClient adds the HTTPClient to the list managed domains params

func (*ListManagedDomainsParams) WithTimeout

WithTimeout adds the timeout to the list managed domains params

func (*ListManagedDomainsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListManagedDomainsReader

type ListManagedDomainsReader struct {
	// contains filtered or unexported fields
}

ListManagedDomainsReader is a Reader for the ListManagedDomains structure.

func (*ListManagedDomainsReader) ReadResponse

func (o *ListManagedDomainsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL