api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func NewDeleteV1ProjectsProjectIdZonesZoneIdRequest

func NewDeleteV1ProjectsProjectIdZonesZoneIdRequest(server string, projectId string, zoneId string) (*http.Request, error)

NewDeleteV1ProjectsProjectIdZonesZoneIdRequest generates requests for DeleteV1ProjectsProjectIdZonesZoneId

func NewDeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest

func NewDeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest(server string, projectId string, zoneId string, rrSetId string) (*http.Request, error)

NewDeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest generates requests for DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func NewGetV1HealthzRequest

func NewGetV1HealthzRequest(server string) (*http.Request, error)

NewGetV1HealthzRequest generates requests for GetV1Healthz

func NewGetV1ProjectsProjectIdZonesRequest

func NewGetV1ProjectsProjectIdZonesRequest(server string, projectId string, params *GetV1ProjectsProjectIdZonesParams) (*http.Request, error)

NewGetV1ProjectsProjectIdZonesRequest generates requests for GetV1ProjectsProjectIdZones

func NewGetV1ProjectsProjectIdZonesZoneIdRequest

func NewGetV1ProjectsProjectIdZonesZoneIdRequest(server string, projectId string, zoneId string) (*http.Request, error)

NewGetV1ProjectsProjectIdZonesZoneIdRequest generates requests for GetV1ProjectsProjectIdZonesZoneId

func NewGetV1ProjectsProjectIdZonesZoneIdRrsetsRequest

func NewGetV1ProjectsProjectIdZonesZoneIdRrsetsRequest(server string, projectId string, zoneId string, params *GetV1ProjectsProjectIdZonesZoneIdRrsetsParams) (*http.Request, error)

NewGetV1ProjectsProjectIdZonesZoneIdRrsetsRequest generates requests for GetV1ProjectsProjectIdZonesZoneIdRrsets

func NewGetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest

func NewGetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest(server string, projectId string, zoneId string, rrSetId string) (*http.Request, error)

NewGetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest generates requests for GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func NewPatchV1ProjectsProjectIdZonesZoneIdRequest

func NewPatchV1ProjectsProjectIdZonesZoneIdRequest(server string, projectId string, zoneId string, body PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody) (*http.Request, error)

NewPatchV1ProjectsProjectIdZonesZoneIdRequest calls the generic PatchV1ProjectsProjectIdZonesZoneId builder with application/json body

func NewPatchV1ProjectsProjectIdZonesZoneIdRequestWithBody

func NewPatchV1ProjectsProjectIdZonesZoneIdRequestWithBody(server string, projectId string, zoneId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV1ProjectsProjectIdZonesZoneIdRequestWithBody generates requests for PatchV1ProjectsProjectIdZonesZoneId with any type of body

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsRequest

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsRequest(server string, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsJSONRequestBody) (*http.Request, error)

NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsRequest calls the generic PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords builder with application/json body

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsRequestWithBody

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsRequestWithBody(server string, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsRequestWithBody generates requests for PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords with any type of body

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest(server string, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody) (*http.Request, error)

NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequest calls the generic PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId builder with application/json body

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequestWithBody

func NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequestWithBody(server string, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRequestWithBody generates requests for PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId with any type of body

func NewPostV1ProjectsProjectIdZonesRequest

func NewPostV1ProjectsProjectIdZonesRequest(server string, projectId string, body PostV1ProjectsProjectIdZonesJSONRequestBody) (*http.Request, error)

NewPostV1ProjectsProjectIdZonesRequest calls the generic PostV1ProjectsProjectIdZones builder with application/json body

func NewPostV1ProjectsProjectIdZonesRequestWithBody

func NewPostV1ProjectsProjectIdZonesRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1ProjectsProjectIdZonesRequestWithBody generates requests for PostV1ProjectsProjectIdZones with any type of body

func NewPostV1ProjectsProjectIdZonesZoneIdRestoresRequest

func NewPostV1ProjectsProjectIdZonesZoneIdRestoresRequest(server string, projectId string, zoneId string) (*http.Request, error)

NewPostV1ProjectsProjectIdZonesZoneIdRestoresRequest generates requests for PostV1ProjectsProjectIdZonesZoneIdRestores

func NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRequest

func NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRequest(server string, projectId string, zoneId string, body PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody) (*http.Request, error)

NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRequest calls the generic PostV1ProjectsProjectIdZonesZoneIdRrsets builder with application/json body

func NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRequestWithBody

func NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRequestWithBody(server string, projectId string, zoneId string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRequestWithBody generates requests for PostV1ProjectsProjectIdZonesZoneIdRrsets with any type of body

func NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresRequest

func NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresRequest(server string, projectId string, zoneId string, rrSetId string) (*http.Request, error)

NewPostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresRequest generates requests for PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func RegisterHandlers

func RegisterHandlers(router EchoRouter, si ServerInterface)

RegisterHandlers adds each server route to the EchoRouter.

func RegisterHandlersWithBaseURL

func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)

Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

Types

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) DeleteV1ProjectsProjectIdZonesZoneId

func (c *Client) DeleteV1ProjectsProjectIdZonesZoneId(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func (c *Client) DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Healthz

func (c *Client) GetV1Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1ProjectsProjectIdZones

func (c *Client) GetV1ProjectsProjectIdZones(ctx context.Context, projectId string, params *GetV1ProjectsProjectIdZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1ProjectsProjectIdZonesZoneId

func (c *Client) GetV1ProjectsProjectIdZonesZoneId(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1ProjectsProjectIdZonesZoneIdRrsets

func (c *Client) GetV1ProjectsProjectIdZonesZoneIdRrsets(ctx context.Context, projectId string, zoneId string, params *GetV1ProjectsProjectIdZonesZoneIdRrsetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func (c *Client) GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1ProjectsProjectIdZonesZoneId

func (c *Client) PatchV1ProjectsProjectIdZonesZoneId(ctx context.Context, projectId string, zoneId string, body PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func (c *Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx context.Context, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords

func (c *Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords(ctx context.Context, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithBody

func (c *Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithBody(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithBody

func (c *Client) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithBody(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchV1ProjectsProjectIdZonesZoneIdWithBody

func (c *Client) PatchV1ProjectsProjectIdZonesZoneIdWithBody(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1ProjectsProjectIdZones

func (c *Client) PostV1ProjectsProjectIdZones(ctx context.Context, projectId string, body PostV1ProjectsProjectIdZonesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1ProjectsProjectIdZonesWithBody

func (c *Client) PostV1ProjectsProjectIdZonesWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1ProjectsProjectIdZonesZoneIdRestores

func (c *Client) PostV1ProjectsProjectIdZonesZoneIdRestores(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1ProjectsProjectIdZonesZoneIdRrsets

func (c *Client) PostV1ProjectsProjectIdZonesZoneIdRrsets(ctx context.Context, projectId string, zoneId string, body PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores

func (c *Client) PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1ProjectsProjectIdZonesZoneIdRrsetsWithBody

func (c *Client) PostV1ProjectsProjectIdZonesZoneIdRrsetsWithBody(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetV1Healthz request
	GetV1Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1ProjectsProjectIdZones request
	GetV1ProjectsProjectIdZones(ctx context.Context, projectId string, params *GetV1ProjectsProjectIdZonesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ProjectsProjectIdZones request with any body
	PostV1ProjectsProjectIdZonesWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1ProjectsProjectIdZones(ctx context.Context, projectId string, body PostV1ProjectsProjectIdZonesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1ProjectsProjectIdZonesZoneId request
	DeleteV1ProjectsProjectIdZonesZoneId(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1ProjectsProjectIdZonesZoneId request
	GetV1ProjectsProjectIdZonesZoneId(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV1ProjectsProjectIdZonesZoneId request with any body
	PatchV1ProjectsProjectIdZonesZoneIdWithBody(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV1ProjectsProjectIdZonesZoneId(ctx context.Context, projectId string, zoneId string, body PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ProjectsProjectIdZonesZoneIdRestores request
	PostV1ProjectsProjectIdZonesZoneIdRestores(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1ProjectsProjectIdZonesZoneIdRrsets request
	GetV1ProjectsProjectIdZonesZoneIdRrsets(ctx context.Context, projectId string, zoneId string, params *GetV1ProjectsProjectIdZonesZoneIdRrsetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ProjectsProjectIdZonesZoneIdRrsets request with any body
	PostV1ProjectsProjectIdZonesZoneIdRrsetsWithBody(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1ProjectsProjectIdZonesZoneIdRrsets(ctx context.Context, projectId string, zoneId string, body PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId request
	DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId request
	GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId request with any body
	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithBody(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx context.Context, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords request with any body
	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithBody(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords(ctx context.Context, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores request
	PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse

func (c *ClientWithResponses) DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse request returning *DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

func (*ClientWithResponses) DeleteV1ProjectsProjectIdZonesZoneIdWithResponse

func (c *ClientWithResponses) DeleteV1ProjectsProjectIdZonesZoneIdWithResponse(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsProjectIdZonesZoneIdResponse, error)

DeleteV1ProjectsProjectIdZonesZoneIdWithResponse request returning *DeleteV1ProjectsProjectIdZonesZoneIdResponse

func (*ClientWithResponses) GetV1HealthzWithResponse

func (c *ClientWithResponses) GetV1HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1HealthzResponse, error)

GetV1HealthzWithResponse request returning *GetV1HealthzResponse

func (*ClientWithResponses) GetV1ProjectsProjectIdZonesWithResponse

func (c *ClientWithResponses) GetV1ProjectsProjectIdZonesWithResponse(ctx context.Context, projectId string, params *GetV1ProjectsProjectIdZonesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesResponse, error)

GetV1ProjectsProjectIdZonesWithResponse request returning *GetV1ProjectsProjectIdZonesResponse

func (*ClientWithResponses) GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse

func (c *ClientWithResponses) GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse request returning *GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

func (*ClientWithResponses) GetV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse

func (c *ClientWithResponses) GetV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse(ctx context.Context, projectId string, zoneId string, params *GetV1ProjectsProjectIdZonesZoneIdRrsetsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

GetV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse request returning *GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse

func (*ClientWithResponses) GetV1ProjectsProjectIdZonesZoneIdWithResponse

func (c *ClientWithResponses) GetV1ProjectsProjectIdZonesZoneIdWithResponse(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesZoneIdResponse, error)

GetV1ProjectsProjectIdZonesZoneIdWithResponse request returning *GetV1ProjectsProjectIdZonesZoneIdResponse

func (*ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithBodyWithResponse

func (c *ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse, error)

PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithBodyWithResponse request with arbitrary body returning *PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse

func (*ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithBodyWithResponse request with arbitrary body returning *PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

func (*ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse

func (c *ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

func (*ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdWithBodyWithResponse

func (c *ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdResponse, error)

PatchV1ProjectsProjectIdZonesZoneIdWithBodyWithResponse request with arbitrary body returning *PatchV1ProjectsProjectIdZonesZoneIdResponse

func (*ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdWithResponse

func (c *ClientWithResponses) PatchV1ProjectsProjectIdZonesZoneIdWithResponse(ctx context.Context, projectId string, zoneId string, body PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdResponse, error)

func (*ClientWithResponses) PostV1ProjectsProjectIdZonesWithBodyWithResponse

func (c *ClientWithResponses) PostV1ProjectsProjectIdZonesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesResponse, error)

PostV1ProjectsProjectIdZonesWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsProjectIdZonesResponse

func (*ClientWithResponses) PostV1ProjectsProjectIdZonesWithResponse

func (c *ClientWithResponses) PostV1ProjectsProjectIdZonesWithResponse(ctx context.Context, projectId string, body PostV1ProjectsProjectIdZonesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesResponse, error)

func (*ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRestoresWithResponse

func (c *ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRestoresWithResponse(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRestoresResponse, error)

PostV1ProjectsProjectIdZonesZoneIdRestoresWithResponse request returning *PostV1ProjectsProjectIdZonesZoneIdRestoresResponse

func (*ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresWithResponse

func (c *ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse, error)

PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresWithResponse request returning *PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse

func (*ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRrsetsWithBodyWithResponse

func (c *ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRrsetsWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

PostV1ProjectsProjectIdZonesZoneIdRrsetsWithBodyWithResponse request with arbitrary body returning *PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse

func (*ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse

func (c *ClientWithResponses) PostV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse(ctx context.Context, projectId string, zoneId string, body PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetV1Healthz request
	GetV1HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1HealthzResponse, error)

	// GetV1ProjectsProjectIdZones request
	GetV1ProjectsProjectIdZonesWithResponse(ctx context.Context, projectId string, params *GetV1ProjectsProjectIdZonesParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesResponse, error)

	// PostV1ProjectsProjectIdZones request with any body
	PostV1ProjectsProjectIdZonesWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesResponse, error)

	PostV1ProjectsProjectIdZonesWithResponse(ctx context.Context, projectId string, body PostV1ProjectsProjectIdZonesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesResponse, error)

	// DeleteV1ProjectsProjectIdZonesZoneId request
	DeleteV1ProjectsProjectIdZonesZoneIdWithResponse(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsProjectIdZonesZoneIdResponse, error)

	// GetV1ProjectsProjectIdZonesZoneId request
	GetV1ProjectsProjectIdZonesZoneIdWithResponse(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesZoneIdResponse, error)

	// PatchV1ProjectsProjectIdZonesZoneId request with any body
	PatchV1ProjectsProjectIdZonesZoneIdWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdResponse, error)

	PatchV1ProjectsProjectIdZonesZoneIdWithResponse(ctx context.Context, projectId string, zoneId string, body PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdResponse, error)

	// PostV1ProjectsProjectIdZonesZoneIdRestores request
	PostV1ProjectsProjectIdZonesZoneIdRestoresWithResponse(ctx context.Context, projectId string, zoneId string, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRestoresResponse, error)

	// GetV1ProjectsProjectIdZonesZoneIdRrsets request
	GetV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse(ctx context.Context, projectId string, zoneId string, params *GetV1ProjectsProjectIdZonesZoneIdRrsetsParams, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

	// PostV1ProjectsProjectIdZonesZoneIdRrsets request with any body
	PostV1ProjectsProjectIdZonesZoneIdRrsetsWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

	PostV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse(ctx context.Context, projectId string, zoneId string, body PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

	// DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId request
	DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

	// GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId request
	GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

	// PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId request with any body
	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

	// PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords request with any body
	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithBodyWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse, error)

	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, body PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse, error)

	// PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores request
	PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresWithResponse(ctx context.Context, projectId string, zoneId string, rrSetId string, reqEditors ...RequestEditorFn) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type DeleteV1ProjectsProjectIdZonesZoneIdResponse

type DeleteV1ProjectsProjectIdZonesZoneIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SerializerMessage
	JSON400      *SerializerMessage
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParseDeleteV1ProjectsProjectIdZonesZoneIdResponse

func ParseDeleteV1ProjectsProjectIdZonesZoneIdResponse(rsp *http.Response) (*DeleteV1ProjectsProjectIdZonesZoneIdResponse, error)

ParseDeleteV1ProjectsProjectIdZonesZoneIdResponse parses an HTTP response from a DeleteV1ProjectsProjectIdZonesZoneIdWithResponse call

func (DeleteV1ProjectsProjectIdZonesZoneIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV1ProjectsProjectIdZonesZoneIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

type DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SerializerMessage
	JSON400      *SerializerMessage
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParseDeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

func ParseDeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse(rsp *http.Response) (*DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

ParseDeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse parses an HTTP response from a DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse call

func (DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DomainRRSet

type DomainRRSet struct {
	// Active if the record set is active or not
	Active *bool `json:"active,omitempty"`

	// Comment comment
	Comment *string `json:"comment,omitempty"`

	// CreationFinished when record set creation finished
	CreationFinished string `json:"creationFinished"`

	// CreationStarted when record set creation started
	CreationStarted string `json:"creationStarted"`

	// Error Error shows error in case create/update/delete failed
	Error *string `json:"error,omitempty"`

	// Id rr set id
	Id string `json:"id"`

	// Name name of the record which should be a valid domain according to rfc1035 Section 2.3.4
	Name string `json:"name"`

	// Records records
	Records []DomainRecord `json:"records"`

	// State record set state
	State DomainRRSetState `json:"state"`

	// Ttl time to live
	Ttl int `json:"ttl"`

	// Type record set type
	Type DomainRRSetType `json:"type"`

	// UpdateFinished when record set update/deletion finished
	UpdateFinished string `json:"updateFinished"`

	// UpdateStarted when record set update/deletion started
	UpdateStarted string `json:"updateStarted"`
}

DomainRRSet RRSet.

type DomainRRSetState

type DomainRRSetState string

DomainRRSetState record set state

const (
	DomainRRSetStateCREATEFAILED    DomainRRSetState = "CREATE_FAILED"
	DomainRRSetStateCREATESUCCEEDED DomainRRSetState = "CREATE_SUCCEEDED"
	DomainRRSetStateCREATING        DomainRRSetState = "CREATING"
	DomainRRSetStateDELETEFAILED    DomainRRSetState = "DELETE_FAILED"
	DomainRRSetStateDELETESUCCEEDED DomainRRSetState = "DELETE_SUCCEEDED"
	DomainRRSetStateDELETING        DomainRRSetState = "DELETING"
	DomainRRSetStateUPDATEFAILED    DomainRRSetState = "UPDATE_FAILED"
	DomainRRSetStateUPDATESUCCEEDED DomainRRSetState = "UPDATE_SUCCEEDED"
	DomainRRSetStateUPDATING        DomainRRSetState = "UPDATING"
)

Defines values for DomainRRSetState.

type DomainRRSetType

type DomainRRSetType string

DomainRRSetType record set type

const (
	DomainRRSetTypeA     DomainRRSetType = "A"
	DomainRRSetTypeAAAA  DomainRRSetType = "AAAA"
	DomainRRSetTypeALIAS DomainRRSetType = "ALIAS"
	DomainRRSetTypeCAA   DomainRRSetType = "CAA"
	DomainRRSetTypeCNAME DomainRRSetType = "CNAME"
	DomainRRSetTypeDNAME DomainRRSetType = "DNAME"
	DomainRRSetTypeMX    DomainRRSetType = "MX"
	DomainRRSetTypeNS    DomainRRSetType = "NS"
	DomainRRSetTypePTR   DomainRRSetType = "PTR"
	DomainRRSetTypeSOA   DomainRRSetType = "SOA"
	DomainRRSetTypeSRV   DomainRRSetType = "SRV"
	DomainRRSetTypeTXT   DomainRRSetType = "TXT"
)

Defines values for DomainRRSetType.

type DomainRecord

type DomainRecord struct {
	// Content content of the record
	Content string `json:"content"`

	// Id rr set id
	Id string `json:"id"`
}

DomainRecord Record.

type DomainZone

type DomainZone struct {
	// Acl access control list
	Acl    string `json:"acl"`
	Active *bool  `json:"active,omitempty"`

	// ContactEmail contact email from soa record
	ContactEmail *string `json:"contactEmail,omitempty"`

	// CreationFinished when zone creation finished
	CreationFinished string `json:"creationFinished"`

	// CreationStarted when zone creation started
	CreationStarted string `json:"creationStarted"`

	// DefaultTTL default time to live
	DefaultTTL int `json:"defaultTTL"`

	// Description description of the zone
	Description *string `json:"description,omitempty"`

	// DnsName zone name
	DnsName string `json:"dnsName"`

	// Error Error shows error in case create/update/delete failed
	Error *string `json:"error,omitempty"`

	// ExpireTime expire time
	ExpireTime int `json:"expireTime"`

	// Id zone id
	Id string `json:"id"`

	// IsReverseZone if the zone is a reverse zone or not
	IsReverseZone *bool `json:"isReverseZone,omitempty"`

	// Name user given name
	Name string `json:"name"`

	// NegativeCache negative caching
	NegativeCache int `json:"negativeCache"`

	// Primaries primary name server for secondary zone
	Primaries *[]string `json:"primaries,omitempty"`

	// PrimaryNameServer primary name server. FQDN
	PrimaryNameServer string `json:"primaryNameServer"`

	// RecordCount record count how many records are in the zone
	RecordCount *int `json:"recordCount,omitempty"`

	// RefreshTime refresh time
	RefreshTime int `json:"refreshTime"`

	// RetryTime retry time
	RetryTime int `json:"retryTime"`

	// SerialNumber serial number
	SerialNumber int `json:"serialNumber"`

	// State zone state
	State DomainZoneState `json:"state"`

	// Type zone type
	Type DomainZoneType `json:"type"`

	// UpdateFinished when zone update/deletion finished
	UpdateFinished string `json:"updateFinished"`

	// UpdateStarted when zone update/deletion started
	UpdateStarted string `json:"updateStarted"`

	// Visibility visibility of the zone
	Visibility DomainZoneVisibility `json:"visibility"`
}

DomainZone Zone.

type DomainZoneState

type DomainZoneState string

DomainZoneState zone state

const (
	DomainZoneStateCREATEFAILED    DomainZoneState = "CREATE_FAILED"
	DomainZoneStateCREATESUCCEEDED DomainZoneState = "CREATE_SUCCEEDED"
	DomainZoneStateCREATING        DomainZoneState = "CREATING"
	DomainZoneStateDELETEFAILED    DomainZoneState = "DELETE_FAILED"
	DomainZoneStateDELETESUCCEEDED DomainZoneState = "DELETE_SUCCEEDED"
	DomainZoneStateDELETING        DomainZoneState = "DELETING"
	DomainZoneStateUPDATEFAILED    DomainZoneState = "UPDATE_FAILED"
	DomainZoneStateUPDATESUCCEEDED DomainZoneState = "UPDATE_SUCCEEDED"
	DomainZoneStateUPDATING        DomainZoneState = "UPDATING"
)

Defines values for DomainZoneState.

type DomainZoneType

type DomainZoneType string

DomainZoneType zone type

const (
	DomainZoneTypePrimary   DomainZoneType = "primary"
	DomainZoneTypeSecondary DomainZoneType = "secondary"
)

Defines values for DomainZoneType.

type DomainZoneVisibility

type DomainZoneVisibility string

DomainZoneVisibility visibility of the zone

const (
	Public DomainZoneVisibility = "public"
)

Defines values for DomainZoneVisibility.

type EchoRouter

type EchoRouter interface {
	CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration

type GetV1HealthzResponse

type GetV1HealthzResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SerializerMessage
}

func ParseGetV1HealthzResponse

func ParseGetV1HealthzResponse(rsp *http.Response) (*GetV1HealthzResponse, error)

ParseGetV1HealthzResponse parses an HTTP response from a GetV1HealthzWithResponse call

func (GetV1HealthzResponse) Status

func (r GetV1HealthzResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1HealthzResponse) StatusCode

func (r GetV1HealthzResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1ProjectsProjectIdZonesParams

type GetV1ProjectsProjectIdZonesParams struct {
	// Page page
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// DnsNameEq filter dns name equal
	DnsNameEq *string `form:"dnsName[eq],omitempty" json:"dnsName[eq],omitempty"`

	// DnsNameLike filter dns name like
	DnsNameLike *string `form:"dnsName[like],omitempty" json:"dnsName[like],omitempty"`

	// TypeEq filter type
	TypeEq *GetV1ProjectsProjectIdZonesParamsTypeEq `form:"type[eq],omitempty" json:"type[eq],omitempty"`

	// StateEq filter state
	StateEq *GetV1ProjectsProjectIdZonesParamsStateEq `form:"state[eq],omitempty" json:"state[eq],omitempty"`

	// StateNeq filter state
	StateNeq *GetV1ProjectsProjectIdZonesParamsStateNeq `form:"state[neq],omitempty" json:"state[neq],omitempty"`

	// PrimaryNameServerEq filter primary name server equal
	PrimaryNameServerEq *string `form:"primaryNameServer[eq],omitempty" json:"primaryNameServer[eq],omitempty"`

	// PrimaryNameServerLike filter primary name server like
	PrimaryNameServerLike *string `form:"primaryNameServer[like],omitempty" json:"primaryNameServer[like],omitempty"`

	// IsReverseZoneEq filter reverse zone equal
	IsReverseZoneEq *bool `form:"isReverseZone[eq],omitempty" json:"isReverseZone[eq],omitempty"`

	// ActiveEq filter active equal
	ActiveEq *bool `form:"active[eq],omitempty" json:"active[eq],omitempty"`

	// CreationStartedGt filter creation started greater with utc timestamp
	CreationStartedGt *string `form:"creationStarted[gt],omitempty" json:"creationStarted[gt],omitempty"`

	// CreationStartedLt filter creation started lesser with utc timestamp
	CreationStartedLt *string `form:"creationStarted[lt],omitempty" json:"creationStarted[lt],omitempty"`

	// CreationStartedGte filter creation started greater equal with utc timestamp
	CreationStartedGte *string `form:"creationStarted[gte],omitempty" json:"creationStarted[gte],omitempty"`

	// CreationStartedLte filter creation started lesser equal with utc timestamp
	CreationStartedLte *string `form:"creationStarted[lte],omitempty" json:"creationStarted[lte],omitempty"`

	// CreationFinishedGt filter creation finished greater with utc timestamp
	CreationFinishedGt *string `form:"creationFinished[gt],omitempty" json:"creationFinished[gt],omitempty"`

	// CreationFinishedLt filter creation finished lesser with utc timestamp
	CreationFinishedLt *string `form:"creationFinished[lt],omitempty" json:"creationFinished[lt],omitempty"`

	// CreationFinishedGte filter creation finished greater equal with utc timestamp
	CreationFinishedGte *string `form:"creationFinished[gte],omitempty" json:"creationFinished[gte],omitempty"`

	// CreationFinishedLte filter creation finished lesser equal with utc timestamp
	CreationFinishedLte *string `form:"creationFinished[lte],omitempty" json:"creationFinished[lte],omitempty"`

	// UpdateStartedGt filter update started greater with utc timestamp
	UpdateStartedGt *string `form:"updateStarted[gt],omitempty" json:"updateStarted[gt],omitempty"`

	// UpdateStartedLt filter update started lesser with utc timestamp
	UpdateStartedLt *string `form:"updateStarted[lt],omitempty" json:"updateStarted[lt],omitempty"`

	// UpdateStartedGte filter update started greater equal with utc timestamp
	UpdateStartedGte *string `form:"updateStarted[gte],omitempty" json:"updateStarted[gte],omitempty"`

	// UpdateStartedLte filter update started lesser equal with utc timestamp
	UpdateStartedLte *string `form:"updateStarted[lte],omitempty" json:"updateStarted[lte],omitempty"`

	// UpdateFinishedGt filter update finished greater with utc timestamp
	UpdateFinishedGt *string `form:"updateFinished[gt],omitempty" json:"updateFinished[gt],omitempty"`

	// UpdateFinishedLt filter update finished lesser with utc timestamp
	UpdateFinishedLt *string `form:"updateFinished[lt],omitempty" json:"updateFinished[lt],omitempty"`

	// UpdateFinishedGte filter update finished greater equal with utc timestamp
	UpdateFinishedGte *string `form:"updateFinished[gte],omitempty" json:"updateFinished[gte],omitempty"`

	// UpdateFinishedLte filter update finished lesser equal with utc timestamp
	UpdateFinishedLte *string `form:"updateFinished[lte],omitempty" json:"updateFinished[lte],omitempty"`

	// OrderByDnsName order by dns name
	OrderByDnsName *GetV1ProjectsProjectIdZonesParamsOrderByDnsName `form:"orderBy[dnsName],omitempty" json:"orderBy[dnsName],omitempty"`

	// OrderByName order by name
	OrderByName *GetV1ProjectsProjectIdZonesParamsOrderByName `form:"orderBy[name],omitempty" json:"orderBy[name],omitempty"`

	// OrderByRecordCount order by record count
	OrderByRecordCount *GetV1ProjectsProjectIdZonesParamsOrderByRecordCount `form:"orderBy[recordCount],omitempty" json:"orderBy[recordCount],omitempty"`

	// OrderByType order by type
	OrderByType *GetV1ProjectsProjectIdZonesParamsOrderByType `form:"orderBy[type],omitempty" json:"orderBy[type],omitempty"`

	// OrderByDescription order by description
	OrderByDescription *GetV1ProjectsProjectIdZonesParamsOrderByDescription `form:"orderBy[description],omitempty" json:"orderBy[description],omitempty"`

	// OrderByCreationStarted order by creationStarted
	OrderByCreationStarted *GetV1ProjectsProjectIdZonesParamsOrderByCreationStarted `form:"orderBy[creationStarted],omitempty" json:"orderBy[creationStarted],omitempty"`

	// OrderByCreationFinished order by creationFinished
	OrderByCreationFinished *GetV1ProjectsProjectIdZonesParamsOrderByCreationFinished `form:"orderBy[creationFinished],omitempty" json:"orderBy[creationFinished],omitempty"`

	// OrderByUpdateStarted order by updateStarted
	OrderByUpdateStarted *GetV1ProjectsProjectIdZonesParamsOrderByUpdateStarted `form:"orderBy[updateStarted],omitempty" json:"orderBy[updateStarted],omitempty"`

	// OrderByUpdateFinished order by updateFinished
	OrderByUpdateFinished *GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinished `form:"orderBy[updateFinished],omitempty" json:"orderBy[updateFinished],omitempty"`
}

GetV1ProjectsProjectIdZonesParams defines parameters for GetV1ProjectsProjectIdZones.

type GetV1ProjectsProjectIdZonesParamsOrderByCreationFinished

type GetV1ProjectsProjectIdZonesParamsOrderByCreationFinished string

GetV1ProjectsProjectIdZonesParamsOrderByCreationFinished defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByCreationFinishedASC  GetV1ProjectsProjectIdZonesParamsOrderByCreationFinished = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByCreationFinishedDESC GetV1ProjectsProjectIdZonesParamsOrderByCreationFinished = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByCreationFinished.

type GetV1ProjectsProjectIdZonesParamsOrderByCreationStarted

type GetV1ProjectsProjectIdZonesParamsOrderByCreationStarted string

GetV1ProjectsProjectIdZonesParamsOrderByCreationStarted defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByCreationStartedASC  GetV1ProjectsProjectIdZonesParamsOrderByCreationStarted = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByCreationStartedDESC GetV1ProjectsProjectIdZonesParamsOrderByCreationStarted = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByCreationStarted.

type GetV1ProjectsProjectIdZonesParamsOrderByDescription

type GetV1ProjectsProjectIdZonesParamsOrderByDescription string

GetV1ProjectsProjectIdZonesParamsOrderByDescription defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByDescriptionASC  GetV1ProjectsProjectIdZonesParamsOrderByDescription = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByDescriptionDESC GetV1ProjectsProjectIdZonesParamsOrderByDescription = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByDescription.

type GetV1ProjectsProjectIdZonesParamsOrderByDnsName

type GetV1ProjectsProjectIdZonesParamsOrderByDnsName string

GetV1ProjectsProjectIdZonesParamsOrderByDnsName defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByDnsNameASC  GetV1ProjectsProjectIdZonesParamsOrderByDnsName = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByDnsNameDESC GetV1ProjectsProjectIdZonesParamsOrderByDnsName = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByDnsName.

type GetV1ProjectsProjectIdZonesParamsOrderByName

type GetV1ProjectsProjectIdZonesParamsOrderByName string

GetV1ProjectsProjectIdZonesParamsOrderByName defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByNameASC  GetV1ProjectsProjectIdZonesParamsOrderByName = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByNameDESC GetV1ProjectsProjectIdZonesParamsOrderByName = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByName.

type GetV1ProjectsProjectIdZonesParamsOrderByRecordCount

type GetV1ProjectsProjectIdZonesParamsOrderByRecordCount string

GetV1ProjectsProjectIdZonesParamsOrderByRecordCount defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByRecordCountASC  GetV1ProjectsProjectIdZonesParamsOrderByRecordCount = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByRecordCountDESC GetV1ProjectsProjectIdZonesParamsOrderByRecordCount = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByRecordCount.

type GetV1ProjectsProjectIdZonesParamsOrderByType

type GetV1ProjectsProjectIdZonesParamsOrderByType string

GetV1ProjectsProjectIdZonesParamsOrderByType defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByTypeASC  GetV1ProjectsProjectIdZonesParamsOrderByType = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByTypeDESC GetV1ProjectsProjectIdZonesParamsOrderByType = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByType.

type GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinished

type GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinished string

GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinished defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinishedASC  GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinished = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinishedDESC GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinished = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByUpdateFinished.

type GetV1ProjectsProjectIdZonesParamsOrderByUpdateStarted

type GetV1ProjectsProjectIdZonesParamsOrderByUpdateStarted string

GetV1ProjectsProjectIdZonesParamsOrderByUpdateStarted defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsOrderByUpdateStartedASC  GetV1ProjectsProjectIdZonesParamsOrderByUpdateStarted = "ASC"
	GetV1ProjectsProjectIdZonesParamsOrderByUpdateStartedDESC GetV1ProjectsProjectIdZonesParamsOrderByUpdateStarted = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesParamsOrderByUpdateStarted.

type GetV1ProjectsProjectIdZonesParamsStateEq

type GetV1ProjectsProjectIdZonesParamsStateEq string

GetV1ProjectsProjectIdZonesParamsStateEq defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsStateEqCREATEFAILED    GetV1ProjectsProjectIdZonesParamsStateEq = "CREATE_FAILED"
	GetV1ProjectsProjectIdZonesParamsStateEqCREATESUCCEEDED GetV1ProjectsProjectIdZonesParamsStateEq = "CREATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesParamsStateEqCREATING        GetV1ProjectsProjectIdZonesParamsStateEq = "CREATING"
	GetV1ProjectsProjectIdZonesParamsStateEqDELETEFAILED    GetV1ProjectsProjectIdZonesParamsStateEq = "DELETE_FAILED"
	GetV1ProjectsProjectIdZonesParamsStateEqDELETESUCCEEDED GetV1ProjectsProjectIdZonesParamsStateEq = "DELETE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesParamsStateEqDELETING        GetV1ProjectsProjectIdZonesParamsStateEq = "DELETING"
	GetV1ProjectsProjectIdZonesParamsStateEqUPDATEFAILED    GetV1ProjectsProjectIdZonesParamsStateEq = "UPDATE_FAILED"
	GetV1ProjectsProjectIdZonesParamsStateEqUPDATESUCCEEDED GetV1ProjectsProjectIdZonesParamsStateEq = "UPDATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesParamsStateEqUPDATING        GetV1ProjectsProjectIdZonesParamsStateEq = "UPDATING"
)

Defines values for GetV1ProjectsProjectIdZonesParamsStateEq.

type GetV1ProjectsProjectIdZonesParamsStateNeq

type GetV1ProjectsProjectIdZonesParamsStateNeq string

GetV1ProjectsProjectIdZonesParamsStateNeq defines parameters for GetV1ProjectsProjectIdZones.

const (
	GetV1ProjectsProjectIdZonesParamsStateNeqCREATEFAILED    GetV1ProjectsProjectIdZonesParamsStateNeq = "CREATE_FAILED"
	GetV1ProjectsProjectIdZonesParamsStateNeqCREATESUCCEEDED GetV1ProjectsProjectIdZonesParamsStateNeq = "CREATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesParamsStateNeqCREATING        GetV1ProjectsProjectIdZonesParamsStateNeq = "CREATING"
	GetV1ProjectsProjectIdZonesParamsStateNeqDELETEFAILED    GetV1ProjectsProjectIdZonesParamsStateNeq = "DELETE_FAILED"
	GetV1ProjectsProjectIdZonesParamsStateNeqDELETESUCCEEDED GetV1ProjectsProjectIdZonesParamsStateNeq = "DELETE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesParamsStateNeqDELETING        GetV1ProjectsProjectIdZonesParamsStateNeq = "DELETING"
	GetV1ProjectsProjectIdZonesParamsStateNeqUPDATEFAILED    GetV1ProjectsProjectIdZonesParamsStateNeq = "UPDATE_FAILED"
	GetV1ProjectsProjectIdZonesParamsStateNeqUPDATESUCCEEDED GetV1ProjectsProjectIdZonesParamsStateNeq = "UPDATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesParamsStateNeqUPDATING        GetV1ProjectsProjectIdZonesParamsStateNeq = "UPDATING"
)

Defines values for GetV1ProjectsProjectIdZonesParamsStateNeq.

type GetV1ProjectsProjectIdZonesParamsTypeEq

type GetV1ProjectsProjectIdZonesParamsTypeEq string

GetV1ProjectsProjectIdZonesParamsTypeEq defines parameters for GetV1ProjectsProjectIdZones.

const (
	Primary   GetV1ProjectsProjectIdZonesParamsTypeEq = "primary"
	Secondary GetV1ProjectsProjectIdZonesParamsTypeEq = "secondary"
)

Defines values for GetV1ProjectsProjectIdZonesParamsTypeEq.

type GetV1ProjectsProjectIdZonesResponse

type GetV1ProjectsProjectIdZonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneResponseZoneAll
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParseGetV1ProjectsProjectIdZonesResponse

func ParseGetV1ProjectsProjectIdZonesResponse(rsp *http.Response) (*GetV1ProjectsProjectIdZonesResponse, error)

ParseGetV1ProjectsProjectIdZonesResponse parses an HTTP response from a GetV1ProjectsProjectIdZonesWithResponse call

func (GetV1ProjectsProjectIdZonesResponse) Status

Status returns HTTPResponse.Status

func (GetV1ProjectsProjectIdZonesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1ProjectsProjectIdZonesZoneIdResponse

type GetV1ProjectsProjectIdZonesZoneIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ZoneResponseZone
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParseGetV1ProjectsProjectIdZonesZoneIdResponse

func ParseGetV1ProjectsProjectIdZonesZoneIdResponse(rsp *http.Response) (*GetV1ProjectsProjectIdZonesZoneIdResponse, error)

ParseGetV1ProjectsProjectIdZonesZoneIdResponse parses an HTTP response from a GetV1ProjectsProjectIdZonesZoneIdWithResponse call

func (GetV1ProjectsProjectIdZonesZoneIdResponse) Status

Status returns HTTPResponse.Status

func (GetV1ProjectsProjectIdZonesZoneIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParams

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParams struct {
	// Page page
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize page size
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// NameEq filter name equal
	NameEq *string `form:"name[eq],omitempty" json:"name[eq],omitempty"`

	// NameLike filter name like
	NameLike *string `form:"name[like],omitempty" json:"name[like],omitempty"`

	// TypeEq filter type
	TypeEq *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsTypeEq `form:"type[eq],omitempty" json:"type[eq],omitempty"`

	// StateEq filter state
	StateEq *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq `form:"state[eq],omitempty" json:"state[eq],omitempty"`

	// StateNeq filter state
	StateNeq *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq `form:"state[neq],omitempty" json:"state[neq],omitempty"`

	// ActiveEq filter active equal
	ActiveEq *bool `form:"active[eq],omitempty" json:"active[eq],omitempty"`

	// CreationStartedGt filter creation started greater with utc timestamp
	CreationStartedGt *string `form:"creationStarted[gt],omitempty" json:"creationStarted[gt],omitempty"`

	// CreationStartedLt filter creation started lesser with utc timestamp
	CreationStartedLt *string `form:"creationStarted[lt],omitempty" json:"creationStarted[lt],omitempty"`

	// CreationStartedGte filter creation started greater equal with utc timestamp
	CreationStartedGte *string `form:"creationStarted[gte],omitempty" json:"creationStarted[gte],omitempty"`

	// CreationStartedLte filter creation started lesser equal with utc timestamp
	CreationStartedLte *string `form:"creationStarted[lte],omitempty" json:"creationStarted[lte],omitempty"`

	// CreationFinishedGt filter creation finished greater with utc timestamp
	CreationFinishedGt *string `form:"creationFinished[gt],omitempty" json:"creationFinished[gt],omitempty"`

	// CreationFinishedLt filter creation finished lesser with utc timestamp
	CreationFinishedLt *string `form:"creationFinished[lt],omitempty" json:"creationFinished[lt],omitempty"`

	// CreationFinishedGte filter creation finished greater equal with utc timestamp
	CreationFinishedGte *string `form:"creationFinished[gte],omitempty" json:"creationFinished[gte],omitempty"`

	// CreationFinishedLte filter creation finished lesser equal with utc timestamp
	CreationFinishedLte *string `form:"creationFinished[lte],omitempty" json:"creationFinished[lte],omitempty"`

	// UpdateStartedGt filter update started greater with utc timestamp
	UpdateStartedGt *string `form:"updateStarted[gt],omitempty" json:"updateStarted[gt],omitempty"`

	// UpdateStartedLt filter update started lesser with utc timestamp
	UpdateStartedLt *string `form:"updateStarted[lt],omitempty" json:"updateStarted[lt],omitempty"`

	// UpdateStartedGte filter update started greater equal with utc timestamp
	UpdateStartedGte *string `form:"updateStarted[gte],omitempty" json:"updateStarted[gte],omitempty"`

	// UpdateStartedLte filter update started lesser equal with utc timestamp
	UpdateStartedLte *string `form:"updateStarted[lte],omitempty" json:"updateStarted[lte],omitempty"`

	// UpdateFinishedGt filter update finished greater with utc timestamp
	UpdateFinishedGt *string `form:"updateFinished[gt],omitempty" json:"updateFinished[gt],omitempty"`

	// UpdateFinishedLt filter update finished lesser with utc timestamp
	UpdateFinishedLt *string `form:"updateFinished[lt],omitempty" json:"updateFinished[lt],omitempty"`

	// UpdateFinishedGte filter update finished greater equal with utc timestamp
	UpdateFinishedGte *string `form:"updateFinished[gte],omitempty" json:"updateFinished[gte],omitempty"`

	// UpdateFinishedLte filter update finished lesser equal with utc timestamp
	UpdateFinishedLte *string `form:"updateFinished[lte],omitempty" json:"updateFinished[lte],omitempty"`

	// OrderByName order by name
	OrderByName *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByName `form:"orderBy[name],omitempty" json:"orderBy[name],omitempty"`

	// OrderByCreationStarted order by creationStarted
	OrderByCreationStarted *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStarted `form:"orderBy[creationStarted],omitempty" json:"orderBy[creationStarted],omitempty"`

	// OrderByCreationFinished order by creationFinished
	OrderByCreationFinished *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinished `form:"orderBy[creationFinished],omitempty" json:"orderBy[creationFinished],omitempty"`

	// OrderByUpdateStarted order by updateStarted
	OrderByUpdateStarted *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStarted `form:"orderBy[updateStarted],omitempty" json:"orderBy[updateStarted],omitempty"`

	// OrderByUpdateFinished order by updateFinished
	OrderByUpdateFinished *GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinished `form:"orderBy[updateFinished],omitempty" json:"orderBy[updateFinished],omitempty"`
}

GetV1ProjectsProjectIdZonesZoneIdRrsetsParams defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinished

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinished string

GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinished defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

const (
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinishedASC  GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinished = "ASC"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinishedDESC GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinished = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationFinished.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStarted

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStarted string

GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStarted defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

const (
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStartedASC  GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStarted = "ASC"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStartedDESC GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStarted = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByCreationStarted.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByName

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByName string

GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByName defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

const (
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByNameASC  GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByName = "ASC"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByNameDESC GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByName = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByName.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinished

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinished string

GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinished defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

const (
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinishedASC  GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinished = "ASC"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinishedDESC GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinished = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateFinished.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStarted

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStarted string

GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStarted defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

const (
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStartedASC  GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStarted = "ASC"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStartedDESC GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStarted = "DESC"
)

Defines values for GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsOrderByUpdateStarted.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq string

GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

const (
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqCREATEFAILED    GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "CREATE_FAILED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqCREATESUCCEEDED GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "CREATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqCREATING        GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "CREATING"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqDELETEFAILED    GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "DELETE_FAILED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqDELETESUCCEEDED GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "DELETE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqDELETING        GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "DELETING"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqUPDATEFAILED    GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "UPDATE_FAILED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqUPDATESUCCEEDED GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "UPDATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEqUPDATING        GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq = "UPDATING"
)

Defines values for GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateEq.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq

type GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq string

GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq defines parameters for GetV1ProjectsProjectIdZonesZoneIdRrsets.

const (
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqCREATEFAILED    GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "CREATE_FAILED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqCREATESUCCEEDED GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "CREATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqCREATING        GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "CREATING"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqDELETEFAILED    GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "DELETE_FAILED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqDELETESUCCEEDED GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "DELETE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqDELETING        GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "DELETING"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqUPDATEFAILED    GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "UPDATE_FAILED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqUPDATESUCCEEDED GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "UPDATE_SUCCEEDED"
	GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeqUPDATING        GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq = "UPDATING"
)

Defines values for GetV1ProjectsProjectIdZonesZoneIdRrsetsParamsStateNeq.

type GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse

type GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RrsetResponseRRSetAll
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParseGetV1ProjectsProjectIdZonesZoneIdRrsetsResponse

func ParseGetV1ProjectsProjectIdZonesZoneIdRrsetsResponse(rsp *http.Response) (*GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

ParseGetV1ProjectsProjectIdZonesZoneIdRrsetsResponse parses an HTTP response from a GetV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse call

func (GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse) Status

Status returns HTTPResponse.Status

func (GetV1ProjectsProjectIdZonesZoneIdRrsetsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

type GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RrsetResponseRRSet
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParseGetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

func ParseGetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse(rsp *http.Response) (*GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

ParseGetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse parses an HTTP response from a GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse call

func (GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse) Status

Status returns HTTPResponse.Status

func (GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody

type PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody = ZoneZonePatch

PatchV1ProjectsProjectIdZonesZoneIdJSONRequestBody defines body for PatchV1ProjectsProjectIdZonesZoneId for application/json ContentType.

type PatchV1ProjectsProjectIdZonesZoneIdResponse

type PatchV1ProjectsProjectIdZonesZoneIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ZoneResponseZone
	JSON400      *SerializerMessage
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParsePatchV1ProjectsProjectIdZonesZoneIdResponse

func ParsePatchV1ProjectsProjectIdZonesZoneIdResponse(rsp *http.Response) (*PatchV1ProjectsProjectIdZonesZoneIdResponse, error)

ParsePatchV1ProjectsProjectIdZonesZoneIdResponse parses an HTTP response from a PatchV1ProjectsProjectIdZonesZoneIdWithResponse call

func (PatchV1ProjectsProjectIdZonesZoneIdResponse) Status

Status returns HTTPResponse.Status

func (PatchV1ProjectsProjectIdZonesZoneIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody = RrsetRRSetPatch

PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdJSONRequestBody defines body for PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId for application/json ContentType.

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsJSONRequestBody

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsJSONRequestBody = RrsetRecordPatch

PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsJSONRequestBody defines body for PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords for application/json ContentType.

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SerializerMessage
	JSON400      *SerializerMessage
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParsePatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse

func ParsePatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse(rsp *http.Response) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse, error)

ParsePatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse parses an HTTP response from a PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsWithResponse call

func (PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse) Status

Status returns HTTPResponse.Status

func (PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecordsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

type PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SerializerMessage
	JSON400      *SerializerMessage
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParsePatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse

func ParsePatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse(rsp *http.Response) (*PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse, error)

ParsePatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse parses an HTTP response from a PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdWithResponse call

func (PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse) Status

Status returns HTTPResponse.Status

func (PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV1ProjectsProjectIdZonesJSONRequestBody

type PostV1ProjectsProjectIdZonesJSONRequestBody = ZoneZonePost

PostV1ProjectsProjectIdZonesJSONRequestBody defines body for PostV1ProjectsProjectIdZones for application/json ContentType.

type PostV1ProjectsProjectIdZonesResponse

type PostV1ProjectsProjectIdZonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ZoneResponseZone
	JSON400      *SerializerMessage
	JSON404      *SerializerMessage
	JSON409      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParsePostV1ProjectsProjectIdZonesResponse

func ParsePostV1ProjectsProjectIdZonesResponse(rsp *http.Response) (*PostV1ProjectsProjectIdZonesResponse, error)

ParsePostV1ProjectsProjectIdZonesResponse parses an HTTP response from a PostV1ProjectsProjectIdZonesWithResponse call

func (PostV1ProjectsProjectIdZonesResponse) Status

Status returns HTTPResponse.Status

func (PostV1ProjectsProjectIdZonesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV1ProjectsProjectIdZonesZoneIdRestoresResponse

type PostV1ProjectsProjectIdZonesZoneIdRestoresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SerializerMessage
	JSON400      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParsePostV1ProjectsProjectIdZonesZoneIdRestoresResponse

func ParsePostV1ProjectsProjectIdZonesZoneIdRestoresResponse(rsp *http.Response) (*PostV1ProjectsProjectIdZonesZoneIdRestoresResponse, error)

ParsePostV1ProjectsProjectIdZonesZoneIdRestoresResponse parses an HTTP response from a PostV1ProjectsProjectIdZonesZoneIdRestoresWithResponse call

func (PostV1ProjectsProjectIdZonesZoneIdRestoresResponse) Status

Status returns HTTPResponse.Status

func (PostV1ProjectsProjectIdZonesZoneIdRestoresResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody

type PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody = RrsetRRSetPost

PostV1ProjectsProjectIdZonesZoneIdRrsetsJSONRequestBody defines body for PostV1ProjectsProjectIdZonesZoneIdRrsets for application/json ContentType.

type PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse

type PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *RrsetResponseRRSet
	JSON400      *SerializerMessage
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParsePostV1ProjectsProjectIdZonesZoneIdRrsetsResponse

func ParsePostV1ProjectsProjectIdZonesZoneIdRrsetsResponse(rsp *http.Response) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse, error)

ParsePostV1ProjectsProjectIdZonesZoneIdRrsetsResponse parses an HTTP response from a PostV1ProjectsProjectIdZonesZoneIdRrsetsWithResponse call

func (PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse) Status

Status returns HTTPResponse.Status

func (PostV1ProjectsProjectIdZonesZoneIdRrsetsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse

type PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SerializerMessage
	JSON404      *SerializerMessage
	JSON502      *SerializerMessage
}

func ParsePostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse

func ParsePostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse(rsp *http.Response) (*PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse, error)

ParsePostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse parses an HTTP response from a PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresWithResponse call

func (PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse) Status

Status returns HTTPResponse.Status

func (PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestoresResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RrsetRRSetPatch

type RrsetRRSetPatch struct {
	// Comment user comment
	Comment *string `json:"comment,omitempty"`

	// Name rfc1035 Section 2.3.4
	Name *string `json:"name,omitempty"`

	// Records records
	Records *[]RrsetRecordPost `json:"records,omitempty"`

	// Ttl time to live
	Ttl *int `json:"ttl,omitempty"`
}

RrsetRRSetPatch RRSetPatch for rr patch set info.

type RrsetRRSetPost

type RrsetRRSetPost struct {
	// Comment user comment
	Comment *string `json:"comment,omitempty"`

	// Name name of the record which should be a valid domain according to rfc1035 Section 2.3.4
	Name string `json:"name"`

	// Records records
	Records []RrsetRecordPost `json:"records"`

	// Ttl time to live. If nothing provided we will set the zone ttl.
	Ttl *int `json:"ttl,omitempty"`

	// Type record set type
	Type RrsetRRSetPostType `json:"type"`
}

RrsetRRSetPost RRSetPost for rr set info.

type RrsetRRSetPostType

type RrsetRRSetPostType string

RrsetRRSetPostType record set type

const (
	RrsetRRSetPostTypeA     RrsetRRSetPostType = "A"
	RrsetRRSetPostTypeAAAA  RrsetRRSetPostType = "AAAA"
	RrsetRRSetPostTypeALIAS RrsetRRSetPostType = "ALIAS"
	RrsetRRSetPostTypeCAA   RrsetRRSetPostType = "CAA"
	RrsetRRSetPostTypeCNAME RrsetRRSetPostType = "CNAME"
	RrsetRRSetPostTypeDNAME RrsetRRSetPostType = "DNAME"
	RrsetRRSetPostTypeMX    RrsetRRSetPostType = "MX"
	RrsetRRSetPostTypeNS    RrsetRRSetPostType = "NS"
	RrsetRRSetPostTypePTR   RrsetRRSetPostType = "PTR"
	RrsetRRSetPostTypeSOA   RrsetRRSetPostType = "SOA"
	RrsetRRSetPostTypeSRV   RrsetRRSetPostType = "SRV"
	RrsetRRSetPostTypeTXT   RrsetRRSetPostType = "TXT"
)

Defines values for RrsetRRSetPostType.

type RrsetRecordPatch

type RrsetRecordPatch struct {
	Action RrsetRecordPatchAction `json:"action"`

	// Records records
	Records []RrsetRecordPost `json:"records"`
}

RrsetRecordPatch RecordPatch for record patch in record set.

type RrsetRecordPatchAction

type RrsetRecordPatchAction string

RrsetRecordPatchAction defines model for RrsetRecordPatch.Action.

const (
	Add    RrsetRecordPatchAction = "add"
	Delete RrsetRecordPatchAction = "delete"
)

Defines values for RrsetRecordPatchAction.

type RrsetRecordPost

type RrsetRecordPost struct {
	// Content content of the record
	Content string `json:"content"`
}

RrsetRecordPost RecordPost for rr set info.

type RrsetResponseRRSet

type RrsetResponseRRSet struct {
	Message *string `json:"message,omitempty"`

	// Rrset RRSet.
	Rrset DomainRRSet `json:"rrset"`
}

RrsetResponseRRSet ResponseRRSet for rr set info.

type RrsetResponseRRSetAll

type RrsetResponseRRSetAll struct {
	ItemsPerPage int           `json:"itemsPerPage"`
	Message      *string       `json:"message,omitempty"`
	RrSets       []DomainRRSet `json:"rrSets"`
	TotalItems   int           `json:"totalItems"`
	TotalPages   int           `json:"totalPages"`
}

RrsetResponseRRSetAll ResponseRRSetAll.

type SerializerMessage

type SerializerMessage struct {
	Message *string `json:"message,omitempty"`
}

SerializerMessage defines model for serializer.Message.

type ServerInterface

type ServerInterface interface {
	// Health route
	// (GET /v1/healthz)
	GetV1Healthz(ctx echo.Context) error
	// All get selected zones
	// (GET /v1/projects/{projectId}/zones)
	GetV1ProjectsProjectIdZones(ctx echo.Context, projectId string, params GetV1ProjectsProjectIdZonesParams) error
	// Post create a new zone
	// (POST /v1/projects/{projectId}/zones)
	PostV1ProjectsProjectIdZones(ctx echo.Context, projectId string) error
	// Delete a zone
	// (DELETE /v1/projects/{projectId}/zones/{zoneId})
	DeleteV1ProjectsProjectIdZonesZoneId(ctx echo.Context, projectId string, zoneId string) error
	// Get a single zone
	// (GET /v1/projects/{projectId}/zones/{zoneId})
	GetV1ProjectsProjectIdZonesZoneId(ctx echo.Context, projectId string, zoneId string) error
	// Patch update an existing zone
	// (PATCH /v1/projects/{projectId}/zones/{zoneId})
	PatchV1ProjectsProjectIdZonesZoneId(ctx echo.Context, projectId string, zoneId string) error
	// Restore  an inactive zone but will not restore the record sets
	// (POST /v1/projects/{projectId}/zones/{zoneId}/restores)
	PostV1ProjectsProjectIdZonesZoneIdRestores(ctx echo.Context, projectId string, zoneId string) error
	// All get selected RRSets
	// (GET /v1/projects/{projectId}/zones/{zoneId}/rrsets)
	GetV1ProjectsProjectIdZonesZoneIdRrsets(ctx echo.Context, projectId string, zoneId string, params GetV1ProjectsProjectIdZonesZoneIdRrsetsParams) error
	// Post record set
	// (POST /v1/projects/{projectId}/zones/{zoneId}/rrsets)
	PostV1ProjectsProjectIdZonesZoneIdRrsets(ctx echo.Context, projectId string, zoneId string) error
	// Delete a record set
	// (DELETE /v1/projects/{projectId}/zones/{zoneId}/rrsets/{rrSetId})
	DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx echo.Context, projectId string, zoneId string, rrSetId string) error
	// Get a single rrset
	// (GET /v1/projects/{projectId}/zones/{zoneId}/rrsets/{rrSetId})
	GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx echo.Context, projectId string, zoneId string, rrSetId string) error
	// Patch updates a record set
	// (PATCH /v1/projects/{projectId}/zones/{zoneId}/rrsets/{rrSetId})
	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx echo.Context, projectId string, zoneId string, rrSetId string) error
	// PatchRecords updates a record in a rrset
	// (PATCH /v1/projects/{projectId}/zones/{zoneId}/rrsets/{rrSetId}/records)
	PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords(ctx echo.Context, projectId string, zoneId string, rrSetId string) error
	// Restore record set
	// (POST /v1/projects/{projectId}/zones/{zoneId}/rrsets/{rrSetId}/restores)
	PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores(ctx echo.Context, projectId string, zoneId string, rrSetId string) error
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

ServerInterfaceWrapper converts echo contexts to parameters.

func (*ServerInterfaceWrapper) DeleteV1ProjectsProjectIdZonesZoneId

func (w *ServerInterfaceWrapper) DeleteV1ProjectsProjectIdZonesZoneId(ctx echo.Context) error

DeleteV1ProjectsProjectIdZonesZoneId converts echo context to params.

func (*ServerInterfaceWrapper) DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func (w *ServerInterfaceWrapper) DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx echo.Context) error

DeleteV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId converts echo context to params.

func (*ServerInterfaceWrapper) GetV1Healthz

func (w *ServerInterfaceWrapper) GetV1Healthz(ctx echo.Context) error

GetV1Healthz converts echo context to params.

func (*ServerInterfaceWrapper) GetV1ProjectsProjectIdZones

func (w *ServerInterfaceWrapper) GetV1ProjectsProjectIdZones(ctx echo.Context) error

GetV1ProjectsProjectIdZones converts echo context to params.

func (*ServerInterfaceWrapper) GetV1ProjectsProjectIdZonesZoneId

func (w *ServerInterfaceWrapper) GetV1ProjectsProjectIdZonesZoneId(ctx echo.Context) error

GetV1ProjectsProjectIdZonesZoneId converts echo context to params.

func (*ServerInterfaceWrapper) GetV1ProjectsProjectIdZonesZoneIdRrsets

func (w *ServerInterfaceWrapper) GetV1ProjectsProjectIdZonesZoneIdRrsets(ctx echo.Context) error

GetV1ProjectsProjectIdZonesZoneIdRrsets converts echo context to params.

func (*ServerInterfaceWrapper) GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func (w *ServerInterfaceWrapper) GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx echo.Context) error

GetV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId converts echo context to params.

func (*ServerInterfaceWrapper) PatchV1ProjectsProjectIdZonesZoneId

func (w *ServerInterfaceWrapper) PatchV1ProjectsProjectIdZonesZoneId(ctx echo.Context) error

PatchV1ProjectsProjectIdZonesZoneId converts echo context to params.

func (*ServerInterfaceWrapper) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId

func (w *ServerInterfaceWrapper) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId(ctx echo.Context) error

PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetId converts echo context to params.

func (*ServerInterfaceWrapper) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords

func (w *ServerInterfaceWrapper) PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords(ctx echo.Context) error

PatchV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRecords converts echo context to params.

func (*ServerInterfaceWrapper) PostV1ProjectsProjectIdZones

func (w *ServerInterfaceWrapper) PostV1ProjectsProjectIdZones(ctx echo.Context) error

PostV1ProjectsProjectIdZones converts echo context to params.

func (*ServerInterfaceWrapper) PostV1ProjectsProjectIdZonesZoneIdRestores

func (w *ServerInterfaceWrapper) PostV1ProjectsProjectIdZonesZoneIdRestores(ctx echo.Context) error

PostV1ProjectsProjectIdZonesZoneIdRestores converts echo context to params.

func (*ServerInterfaceWrapper) PostV1ProjectsProjectIdZonesZoneIdRrsets

func (w *ServerInterfaceWrapper) PostV1ProjectsProjectIdZonesZoneIdRrsets(ctx echo.Context) error

PostV1ProjectsProjectIdZonesZoneIdRrsets converts echo context to params.

func (*ServerInterfaceWrapper) PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores

func (w *ServerInterfaceWrapper) PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores(ctx echo.Context) error

PostV1ProjectsProjectIdZonesZoneIdRrsetsRrSetIdRestores converts echo context to params.

type ZoneResponseZone

type ZoneResponseZone struct {
	Message *string `json:"message,omitempty"`

	// Zone Zone.
	Zone DomainZone `json:"zone"`
}

ZoneResponseZone ResponseZone for user info.

type ZoneResponseZoneAll

type ZoneResponseZoneAll struct {
	ItemsPerPage int          `json:"itemsPerPage"`
	Message      *string      `json:"message,omitempty"`
	TotalItems   int          `json:"totalItems"`
	TotalPages   int          `json:"totalPages"`
	Zones        []DomainZone `json:"zones"`
}

ZoneResponseZoneAll ResponseZoneAll for filtered zones.

type ZoneZonePatch

type ZoneZonePatch struct {
	// Acl access control list
	Acl *string `json:"acl,omitempty"`

	// ContactEmail contact e-mail for the zone
	ContactEmail *string `json:"contactEmail,omitempty"`

	// DefaultTTL default time to live
	DefaultTTL *int `json:"defaultTTL,omitempty"`

	// Description description of the zone
	Description *string `json:"description,omitempty"`

	// ExpireTime expire time
	ExpireTime *int `json:"expireTime,omitempty"`

	// Name user given name
	Name *string `json:"name,omitempty"`

	// NegativeCache negative caching
	NegativeCache *int `json:"negativeCache,omitempty"`

	// Primaries primary name server for secondary zone
	Primaries *[]string `json:"primaries,omitempty"`

	// RefreshTime refresh time
	RefreshTime *int `json:"refreshTime,omitempty"`

	// RetryTime retry time
	RetryTime *int `json:"retryTime,omitempty"`
}

ZoneZonePatch defines model for zone.ZonePatch.

type ZoneZonePost

type ZoneZonePost struct {
	// Acl access control list
	Acl *string `json:"acl,omitempty"`

	// ContactEmail contact e-mail for the zone
	ContactEmail *string `json:"contactEmail,omitempty"`

	// DefaultTTL default time to live
	DefaultTTL *int `json:"defaultTTL,omitempty"`

	// Description description of the zone
	Description *string `json:"description,omitempty"`

	// DnsName zone name
	DnsName string `json:"dnsName"`

	// ExpireTime expire time
	ExpireTime *int `json:"expireTime,omitempty"`

	// IsReverseZone if the zone is a reverse zone or not
	IsReverseZone *bool `json:"isReverseZone,omitempty"`

	// Name user given name
	Name string `json:"name"`

	// NegativeCache negative caching
	NegativeCache *int `json:"negativeCache,omitempty"`

	// Primaries primary name server for secondary zone
	Primaries *[]string `json:"primaries,omitempty"`

	// RefreshTime refresh time
	RefreshTime *int `json:"refreshTime,omitempty"`

	// RetryTime retry time
	RetryTime *int `json:"retryTime,omitempty"`

	// Type zone type
	Type *ZoneZonePostType `json:"type,omitempty"`
}

ZoneZonePost Zone to create.

type ZoneZonePostType

type ZoneZonePostType string

ZoneZonePostType zone type

const (
	ZoneZonePostTypePrimary   ZoneZonePostType = "primary"
	ZoneZonePostTypeSecondary ZoneZonePostType = "secondary"
)

Defines values for ZoneZonePostType.

Jump to

Keyboard shortcuts

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