managed_domains

package
v0.0.0-...-8dc67a1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 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 {
	/*
	   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

type V2ListManagedDomainsInternalServerError struct {
	Payload *models.Error
}

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 (*V2ListManagedDomainsInternalServerError) GetPayload

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

IsCode returns true when this v2 list managed domains internal server error response a status code equal to that given

func (*V2ListManagedDomainsInternalServerError) IsRedirect

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

IsSuccess returns true when this v2 list managed domains internal server error response has a 2xx status code

func (*V2ListManagedDomainsInternalServerError) 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 (*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

WithContext adds the context to the v2 list managed domains params

func (*V2ListManagedDomainsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the v2 list managed domains params

func (*V2ListManagedDomainsParams) WithTimeout

WithTimeout adds the timeout to the v2 list managed domains params

func (*V2ListManagedDomainsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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