network

package
v8.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

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

Variables

This section is empty.

Functions

func NewAddNetworkPolicyRequest

func NewAddNetworkPolicyRequest(server string, networkId openapi_types.UUID, body AddNetworkPolicyJSONRequestBody) (*http.Request, error)

NewAddNetworkPolicyRequest calls the generic AddNetworkPolicy builder with application/json body

func NewAddNetworkPolicyRequestWithBody

func NewAddNetworkPolicyRequestWithBody(server string, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAddNetworkPolicyRequestWithBody generates requests for AddNetworkPolicy with any type of body

func NewCreateCidrStaticNetworkRequest

func NewCreateCidrStaticNetworkRequest(server string, body CreateCidrStaticNetworkJSONRequestBody) (*http.Request, error)

NewCreateCidrStaticNetworkRequest calls the generic CreateCidrStaticNetwork builder with application/json body

func NewCreateCidrStaticNetworkRequestWithBody

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

NewCreateCidrStaticNetworkRequestWithBody generates requests for CreateCidrStaticNetwork with any type of body

func NewCreateEdnsRequest

func NewCreateEdnsRequest(server string, body CreateEdnsJSONRequestBody) (*http.Request, error)

NewCreateEdnsRequest calls the generic CreateEdns builder with application/json body

func NewCreateEdnsRequestWithBody

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

NewCreateEdnsRequestWithBody generates requests for CreateEdns with any type of body

func NewCreateEncryptedNetworkRequest

func NewCreateEncryptedNetworkRequest(server string, body CreateEncryptedNetworkJSONRequestBody) (*http.Request, error)

NewCreateEncryptedNetworkRequest calls the generic CreateEncryptedNetwork builder with application/json body

func NewCreateEncryptedNetworkRequestWithBody

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

NewCreateEncryptedNetworkRequestWithBody generates requests for CreateEncryptedNetwork with any type of body

func NewCreateExternalDynamicNetworkRequest

func NewCreateExternalDynamicNetworkRequest(server string, body CreateExternalDynamicNetworkJSONRequestBody) (*http.Request, error)

NewCreateExternalDynamicNetworkRequest calls the generic CreateExternalDynamicNetwork builder with application/json body

func NewCreateExternalDynamicNetworkRequestWithBody

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

NewCreateExternalDynamicNetworkRequestWithBody generates requests for CreateExternalDynamicNetwork with any type of body

func NewCreateInternalDynamicNetworkRequest

func NewCreateInternalDynamicNetworkRequest(server string, body CreateInternalDynamicNetworkJSONRequestBody) (*http.Request, error)

NewCreateInternalDynamicNetworkRequest calls the generic CreateInternalDynamicNetwork builder with application/json body

func NewCreateInternalDynamicNetworkRequestWithBody

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

NewCreateInternalDynamicNetworkRequestWithBody generates requests for CreateInternalDynamicNetwork with any type of body

func NewCreateRangeStaticNetworkRequest

func NewCreateRangeStaticNetworkRequest(server string, body CreateRangeStaticNetworkJSONRequestBody) (*http.Request, error)

NewCreateRangeStaticNetworkRequest calls the generic CreateRangeStaticNetwork builder with application/json body

func NewCreateRangeStaticNetworkRequestWithBody

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

NewCreateRangeStaticNetworkRequestWithBody generates requests for CreateRangeStaticNetwork with any type of body

func NewCreateSingleStaticNetworkRequest

func NewCreateSingleStaticNetworkRequest(server string, body CreateSingleStaticNetworkJSONRequestBody) (*http.Request, error)

NewCreateSingleStaticNetworkRequest calls the generic CreateSingleStaticNetwork builder with application/json body

func NewCreateSingleStaticNetworkRequestWithBody

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

NewCreateSingleStaticNetworkRequestWithBody generates requests for CreateSingleStaticNetwork with any type of body

func NewDeleteEdnsRequest

func NewDeleteEdnsRequest(server string, ednsId openapi_types.UUID) (*http.Request, error)

NewDeleteEdnsRequest generates requests for DeleteEdns

func NewDeleteNetworkPolicyRequest

func NewDeleteNetworkPolicyRequest(server string, networkId openapi_types.UUID, policyId openapi_types.UUID) (*http.Request, error)

NewDeleteNetworkPolicyRequest generates requests for DeleteNetworkPolicy

func NewDeleteNetworkRequest

func NewDeleteNetworkRequest(server string, networkId openapi_types.UUID) (*http.Request, error)

NewDeleteNetworkRequest generates requests for DeleteNetwork

func NewGetEdnsRequest

func NewGetEdnsRequest(server string, ednsId openapi_types.UUID) (*http.Request, error)

NewGetEdnsRequest generates requests for GetEdns

func NewGetNetworkRequest

func NewGetNetworkRequest(server string, networkId openapi_types.UUID, params *GetNetworkParams) (*http.Request, error)

NewGetNetworkRequest generates requests for GetNetwork

func NewListAvailableNetworkDnsRequest

func NewListAvailableNetworkDnsRequest(server string, networkId openapi_types.UUID) (*http.Request, error)

NewListAvailableNetworkDnsRequest generates requests for ListAvailableNetworkDns

func NewListEdnsRequest

func NewListEdnsRequest(server string, params *ListEdnsParams) (*http.Request, error)

NewListEdnsRequest generates requests for ListEdns

func NewListNetworkDnsRequest

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

NewListNetworkDnsRequest generates requests for ListNetworkDns

func NewListNetworkPoliciesRequest

func NewListNetworkPoliciesRequest(server string, networkId openapi_types.UUID) (*http.Request, error)

NewListNetworkPoliciesRequest generates requests for ListNetworkPolicies

func NewListNetworksRequest

func NewListNetworksRequest(server string, params *ListNetworksParams) (*http.Request, error)

NewListNetworksRequest generates requests for ListNetworks

func NewUpdateCidrStaticNetworkRequest

func NewUpdateCidrStaticNetworkRequest(server string, networkId openapi_types.UUID, body UpdateCidrStaticNetworkJSONRequestBody) (*http.Request, error)

NewUpdateCidrStaticNetworkRequest calls the generic UpdateCidrStaticNetwork builder with application/json body

func NewUpdateCidrStaticNetworkRequestWithBody

func NewUpdateCidrStaticNetworkRequestWithBody(server string, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateCidrStaticNetworkRequestWithBody generates requests for UpdateCidrStaticNetwork with any type of body

func NewUpdateEdnsRequest

func NewUpdateEdnsRequest(server string, ednsId openapi_types.UUID, body UpdateEdnsJSONRequestBody) (*http.Request, error)

NewUpdateEdnsRequest calls the generic UpdateEdns builder with application/json body

func NewUpdateEdnsRequestWithBody

func NewUpdateEdnsRequestWithBody(server string, ednsId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEdnsRequestWithBody generates requests for UpdateEdns with any type of body

func NewUpdateEncryptedNetworkRequest

func NewUpdateEncryptedNetworkRequest(server string, networkId openapi_types.UUID, body UpdateEncryptedNetworkJSONRequestBody) (*http.Request, error)

NewUpdateEncryptedNetworkRequest calls the generic UpdateEncryptedNetwork builder with application/json body

func NewUpdateEncryptedNetworkRequestWithBody

func NewUpdateEncryptedNetworkRequestWithBody(server string, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEncryptedNetworkRequestWithBody generates requests for UpdateEncryptedNetwork with any type of body

func NewUpdateExternalDynamicNetworkRequest

func NewUpdateExternalDynamicNetworkRequest(server string, networkId openapi_types.UUID, body UpdateExternalDynamicNetworkJSONRequestBody) (*http.Request, error)

NewUpdateExternalDynamicNetworkRequest calls the generic UpdateExternalDynamicNetwork builder with application/json body

func NewUpdateExternalDynamicNetworkRequestWithBody

func NewUpdateExternalDynamicNetworkRequestWithBody(server string, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateExternalDynamicNetworkRequestWithBody generates requests for UpdateExternalDynamicNetwork with any type of body

func NewUpdateInternalDynamicNetworkRequest

func NewUpdateInternalDynamicNetworkRequest(server string, networkId openapi_types.UUID, body UpdateInternalDynamicNetworkJSONRequestBody) (*http.Request, error)

NewUpdateInternalDynamicNetworkRequest calls the generic UpdateInternalDynamicNetwork builder with application/json body

func NewUpdateInternalDynamicNetworkRequestWithBody

func NewUpdateInternalDynamicNetworkRequestWithBody(server string, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateInternalDynamicNetworkRequestWithBody generates requests for UpdateInternalDynamicNetwork with any type of body

func NewUpdateRangeStaticNetworkRequest

func NewUpdateRangeStaticNetworkRequest(server string, networkId openapi_types.UUID, body UpdateRangeStaticNetworkJSONRequestBody) (*http.Request, error)

NewUpdateRangeStaticNetworkRequest calls the generic UpdateRangeStaticNetwork builder with application/json body

func NewUpdateRangeStaticNetworkRequestWithBody

func NewUpdateRangeStaticNetworkRequestWithBody(server string, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateRangeStaticNetworkRequestWithBody generates requests for UpdateRangeStaticNetwork with any type of body

func NewUpdateSingleStaticNetworkRequest

func NewUpdateSingleStaticNetworkRequest(server string, networkId openapi_types.UUID, body UpdateSingleStaticNetworkJSONRequestBody) (*http.Request, error)

NewUpdateSingleStaticNetworkRequest calls the generic UpdateSingleStaticNetwork builder with application/json body

func NewUpdateSingleStaticNetworkRequestWithBody

func NewUpdateSingleStaticNetworkRequestWithBody(server string, networkId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSingleStaticNetworkRequestWithBody generates requests for UpdateSingleStaticNetwork with any type of body

Types

type AddNetworkPolicyJSONBody

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

AddNetworkPolicyJSONBody defines parameters for AddNetworkPolicy.

type AddNetworkPolicyJSONBody0

type AddNetworkPolicyJSONBody0 struct {
	DnsId    openapi_types.UUID `json:"dnsId"`
	Note     *string            `json:"note,omitempty"`
	PolicyId openapi_types.UUID `json:"policyId"`
}

AddNetworkPolicyJSONBody0 defines parameters for AddNetworkPolicy.

type AddNetworkPolicyJSONBody1

type AddNetworkPolicyJSONBody1 struct {
	DnsPort  int                `json:"dnsPort"`
	Note     *string            `json:"note,omitempty"`
	PolicyId openapi_types.UUID `json:"policyId"`
}

AddNetworkPolicyJSONBody1 defines parameters for AddNetworkPolicy.

type AddNetworkPolicyJSONRequestBody

type AddNetworkPolicyJSONRequestBody AddNetworkPolicyJSONBody

AddNetworkPolicyJSONRequestBody defines body for AddNetworkPolicy for application/json ContentType.

type AddNetworkPolicyResponse

type AddNetworkPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Dns *struct {
			Id             openapi_types.UUID `json:"id"`
			Port           int                `json:"port"`
			PrimaryDNSv4   string             `json:"primaryDNSv4"`
			PrimaryDNSv6   string             `json:"primaryDNSv6"`
			SecondaryDNSv4 string             `json:"secondaryDNSv4"`
			SecondaryDNSv6 string             `json:"secondaryDNSv6"`
		} `json:"dns"`
		Id        *openapi_types.UUID `json:"id"`
		NetworkId openapi_types.UUID  `json:"networkId"`
		Note      *string             `json:"note"`
		Policy    struct {
			Id             openapi_types.UUID `json:"id"`
			IsLimited      bool               `json:"isLimited"`
			IsShared       bool               `json:"isShared"`
			Name           string             `json:"name"`
			OrganizationId openapi_types.UUID `json:"organizationId"`
		} `json:"policy"`
		Tag *string `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseAddNetworkPolicyResponse

func ParseAddNetworkPolicyResponse(rsp *http.Response) (*AddNetworkPolicyResponse, error)

ParseAddNetworkPolicyResponse parses an HTTP response from a AddNetworkPolicyWithResponse call

func (AddNetworkPolicyResponse) Status

func (r AddNetworkPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (AddNetworkPolicyResponse) StatusCode

func (r AddNetworkPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BadRequestResponse

type BadRequestResponse = FlashStartErrorBody

BadRequestResponse defines model for BadRequest.

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) AddNetworkPolicy

func (c *Client) AddNetworkPolicy(ctx context.Context, networkId openapi_types.UUID, body AddNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddNetworkPolicyWithBody

func (c *Client) AddNetworkPolicyWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCidrStaticNetwork

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

func (*Client) CreateCidrStaticNetworkWithBody

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

func (*Client) CreateEdns

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

func (*Client) CreateEdnsWithBody

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

func (*Client) CreateEncryptedNetwork

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

func (*Client) CreateEncryptedNetworkWithBody

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

func (*Client) CreateExternalDynamicNetwork

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

func (*Client) CreateExternalDynamicNetworkWithBody

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

func (*Client) CreateInternalDynamicNetwork

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

func (*Client) CreateInternalDynamicNetworkWithBody

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

func (*Client) CreateRangeStaticNetwork

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

func (*Client) CreateRangeStaticNetworkWithBody

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

func (*Client) CreateSingleStaticNetwork

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

func (*Client) CreateSingleStaticNetworkWithBody

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

func (*Client) DeleteEdns

func (c *Client) DeleteEdns(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNetwork

func (c *Client) DeleteNetwork(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNetworkPolicy

func (c *Client) DeleteNetworkPolicy(ctx context.Context, networkId openapi_types.UUID, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEdns

func (c *Client) GetEdns(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNetwork

func (c *Client) GetNetwork(ctx context.Context, networkId openapi_types.UUID, params *GetNetworkParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAvailableNetworkDns

func (c *Client) ListAvailableNetworkDns(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListEdns

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

func (*Client) ListNetworkDns

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

func (*Client) ListNetworkPolicies

func (c *Client) ListNetworkPolicies(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNetworks

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

func (*Client) UpdateCidrStaticNetwork

func (c *Client) UpdateCidrStaticNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateCidrStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCidrStaticNetworkWithBody

func (c *Client) UpdateCidrStaticNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEdns

func (c *Client) UpdateEdns(ctx context.Context, ednsId openapi_types.UUID, body UpdateEdnsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEdnsWithBody

func (c *Client) UpdateEdnsWithBody(ctx context.Context, ednsId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEncryptedNetwork

func (c *Client) UpdateEncryptedNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateEncryptedNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEncryptedNetworkWithBody

func (c *Client) UpdateEncryptedNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExternalDynamicNetwork

func (c *Client) UpdateExternalDynamicNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateExternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExternalDynamicNetworkWithBody

func (c *Client) UpdateExternalDynamicNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInternalDynamicNetwork

func (c *Client) UpdateInternalDynamicNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateInternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInternalDynamicNetworkWithBody

func (c *Client) UpdateInternalDynamicNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateRangeStaticNetwork

func (c *Client) UpdateRangeStaticNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateRangeStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateRangeStaticNetworkWithBody

func (c *Client) UpdateRangeStaticNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSingleStaticNetwork

func (c *Client) UpdateSingleStaticNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateSingleStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSingleStaticNetworkWithBody

func (c *Client) UpdateSingleStaticNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

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

	// ListNetworkDns request
	ListNetworkDns(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateExternalDynamicNetwork(ctx context.Context, body CreateExternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateExternalDynamicNetworkWithBody request with any body
	UpdateExternalDynamicNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateExternalDynamicNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateExternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateInternalDynamicNetwork(ctx context.Context, body CreateInternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateInternalDynamicNetworkWithBody request with any body
	UpdateInternalDynamicNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateInternalDynamicNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateInternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEdns request
	ListEdns(ctx context.Context, params *ListEdnsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateEdns(ctx context.Context, body CreateEdnsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteEdns request
	DeleteEdns(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEdns request
	GetEdns(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEdnsWithBody request with any body
	UpdateEdnsWithBody(ctx context.Context, ednsId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateEdns(ctx context.Context, ednsId openapi_types.UUID, body UpdateEdnsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateEncryptedNetwork(ctx context.Context, body CreateEncryptedNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEncryptedNetworkWithBody request with any body
	UpdateEncryptedNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateEncryptedNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateEncryptedNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateCidrStaticNetwork(ctx context.Context, body CreateCidrStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCidrStaticNetworkWithBody request with any body
	UpdateCidrStaticNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateCidrStaticNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateCidrStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateRangeStaticNetwork(ctx context.Context, body CreateRangeStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRangeStaticNetworkWithBody request with any body
	UpdateRangeStaticNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateRangeStaticNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateRangeStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateSingleStaticNetwork(ctx context.Context, body CreateSingleStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSingleStaticNetworkWithBody request with any body
	UpdateSingleStaticNetworkWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSingleStaticNetwork(ctx context.Context, networkId openapi_types.UUID, body UpdateSingleStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNetwork request
	DeleteNetwork(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNetwork request
	GetNetwork(ctx context.Context, networkId openapi_types.UUID, params *GetNetworkParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAvailableNetworkDns request
	ListAvailableNetworkDns(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNetworkPolicies request
	ListNetworkPolicies(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddNetworkPolicyWithBody request with any body
	AddNetworkPolicyWithBody(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddNetworkPolicy(ctx context.Context, networkId openapi_types.UUID, body AddNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNetworkPolicy request
	DeleteNetworkPolicy(ctx context.Context, networkId openapi_types.UUID, policyId openapi_types.UUID, 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) AddNetworkPolicyWithBodyWithResponse

func (c *ClientWithResponses) AddNetworkPolicyWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddNetworkPolicyResponse, error)

AddNetworkPolicyWithBodyWithResponse request with arbitrary body returning *AddNetworkPolicyResponse

func (*ClientWithResponses) AddNetworkPolicyWithResponse

func (c *ClientWithResponses) AddNetworkPolicyWithResponse(ctx context.Context, networkId openapi_types.UUID, body AddNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddNetworkPolicyResponse, error)

func (*ClientWithResponses) CreateCidrStaticNetworkWithBodyWithResponse

func (c *ClientWithResponses) CreateCidrStaticNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCidrStaticNetworkResponse, error)

CreateCidrStaticNetworkWithBodyWithResponse request with arbitrary body returning *CreateCidrStaticNetworkResponse

func (*ClientWithResponses) CreateCidrStaticNetworkWithResponse

func (c *ClientWithResponses) CreateCidrStaticNetworkWithResponse(ctx context.Context, body CreateCidrStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCidrStaticNetworkResponse, error)

func (*ClientWithResponses) CreateEdnsWithBodyWithResponse

func (c *ClientWithResponses) CreateEdnsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEdnsResponse, error)

CreateEdnsWithBodyWithResponse request with arbitrary body returning *CreateEdnsResponse

func (*ClientWithResponses) CreateEdnsWithResponse

func (c *ClientWithResponses) CreateEdnsWithResponse(ctx context.Context, body CreateEdnsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEdnsResponse, error)

func (*ClientWithResponses) CreateEncryptedNetworkWithBodyWithResponse

func (c *ClientWithResponses) CreateEncryptedNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEncryptedNetworkResponse, error)

CreateEncryptedNetworkWithBodyWithResponse request with arbitrary body returning *CreateEncryptedNetworkResponse

func (*ClientWithResponses) CreateEncryptedNetworkWithResponse

func (c *ClientWithResponses) CreateEncryptedNetworkWithResponse(ctx context.Context, body CreateEncryptedNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEncryptedNetworkResponse, error)

func (*ClientWithResponses) CreateExternalDynamicNetworkWithBodyWithResponse

func (c *ClientWithResponses) CreateExternalDynamicNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExternalDynamicNetworkResponse, error)

CreateExternalDynamicNetworkWithBodyWithResponse request with arbitrary body returning *CreateExternalDynamicNetworkResponse

func (*ClientWithResponses) CreateExternalDynamicNetworkWithResponse

func (c *ClientWithResponses) CreateExternalDynamicNetworkWithResponse(ctx context.Context, body CreateExternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExternalDynamicNetworkResponse, error)

func (*ClientWithResponses) CreateInternalDynamicNetworkWithBodyWithResponse

func (c *ClientWithResponses) CreateInternalDynamicNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInternalDynamicNetworkResponse, error)

CreateInternalDynamicNetworkWithBodyWithResponse request with arbitrary body returning *CreateInternalDynamicNetworkResponse

func (*ClientWithResponses) CreateInternalDynamicNetworkWithResponse

func (c *ClientWithResponses) CreateInternalDynamicNetworkWithResponse(ctx context.Context, body CreateInternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInternalDynamicNetworkResponse, error)

func (*ClientWithResponses) CreateRangeStaticNetworkWithBodyWithResponse

func (c *ClientWithResponses) CreateRangeStaticNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRangeStaticNetworkResponse, error)

CreateRangeStaticNetworkWithBodyWithResponse request with arbitrary body returning *CreateRangeStaticNetworkResponse

func (*ClientWithResponses) CreateRangeStaticNetworkWithResponse

func (c *ClientWithResponses) CreateRangeStaticNetworkWithResponse(ctx context.Context, body CreateRangeStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRangeStaticNetworkResponse, error)

func (*ClientWithResponses) CreateSingleStaticNetworkWithBodyWithResponse

func (c *ClientWithResponses) CreateSingleStaticNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSingleStaticNetworkResponse, error)

CreateSingleStaticNetworkWithBodyWithResponse request with arbitrary body returning *CreateSingleStaticNetworkResponse

func (*ClientWithResponses) CreateSingleStaticNetworkWithResponse

func (c *ClientWithResponses) CreateSingleStaticNetworkWithResponse(ctx context.Context, body CreateSingleStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSingleStaticNetworkResponse, error)

func (*ClientWithResponses) DeleteEdnsWithResponse

func (c *ClientWithResponses) DeleteEdnsWithResponse(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEdnsResponse, error)

DeleteEdnsWithResponse request returning *DeleteEdnsResponse

func (*ClientWithResponses) DeleteNetworkPolicyWithResponse

func (c *ClientWithResponses) DeleteNetworkPolicyWithResponse(ctx context.Context, networkId openapi_types.UUID, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNetworkPolicyResponse, error)

DeleteNetworkPolicyWithResponse request returning *DeleteNetworkPolicyResponse

func (*ClientWithResponses) DeleteNetworkWithResponse

func (c *ClientWithResponses) DeleteNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNetworkResponse, error)

DeleteNetworkWithResponse request returning *DeleteNetworkResponse

func (*ClientWithResponses) GetEdnsWithResponse

func (c *ClientWithResponses) GetEdnsWithResponse(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEdnsResponse, error)

GetEdnsWithResponse request returning *GetEdnsResponse

func (*ClientWithResponses) GetNetworkWithResponse

func (c *ClientWithResponses) GetNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, params *GetNetworkParams, reqEditors ...RequestEditorFn) (*GetNetworkResponse, error)

GetNetworkWithResponse request returning *GetNetworkResponse

func (*ClientWithResponses) ListAvailableNetworkDnsWithResponse

func (c *ClientWithResponses) ListAvailableNetworkDnsWithResponse(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListAvailableNetworkDnsResponse, error)

ListAvailableNetworkDnsWithResponse request returning *ListAvailableNetworkDnsResponse

func (*ClientWithResponses) ListEdnsWithResponse

func (c *ClientWithResponses) ListEdnsWithResponse(ctx context.Context, params *ListEdnsParams, reqEditors ...RequestEditorFn) (*ListEdnsResponse, error)

ListEdnsWithResponse request returning *ListEdnsResponse

func (*ClientWithResponses) ListNetworkDnsWithResponse

func (c *ClientWithResponses) ListNetworkDnsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNetworkDnsResponse, error)

ListNetworkDnsWithResponse request returning *ListNetworkDnsResponse

func (*ClientWithResponses) ListNetworkPoliciesWithResponse

func (c *ClientWithResponses) ListNetworkPoliciesWithResponse(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListNetworkPoliciesResponse, error)

ListNetworkPoliciesWithResponse request returning *ListNetworkPoliciesResponse

func (*ClientWithResponses) ListNetworksWithResponse

func (c *ClientWithResponses) ListNetworksWithResponse(ctx context.Context, params *ListNetworksParams, reqEditors ...RequestEditorFn) (*ListNetworksResponse, error)

ListNetworksWithResponse request returning *ListNetworksResponse

func (*ClientWithResponses) UpdateCidrStaticNetworkWithBodyWithResponse

func (c *ClientWithResponses) UpdateCidrStaticNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCidrStaticNetworkResponse, error)

UpdateCidrStaticNetworkWithBodyWithResponse request with arbitrary body returning *UpdateCidrStaticNetworkResponse

func (*ClientWithResponses) UpdateCidrStaticNetworkWithResponse

func (c *ClientWithResponses) UpdateCidrStaticNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateCidrStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCidrStaticNetworkResponse, error)

func (*ClientWithResponses) UpdateEdnsWithBodyWithResponse

func (c *ClientWithResponses) UpdateEdnsWithBodyWithResponse(ctx context.Context, ednsId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEdnsResponse, error)

UpdateEdnsWithBodyWithResponse request with arbitrary body returning *UpdateEdnsResponse

func (*ClientWithResponses) UpdateEdnsWithResponse

func (c *ClientWithResponses) UpdateEdnsWithResponse(ctx context.Context, ednsId openapi_types.UUID, body UpdateEdnsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEdnsResponse, error)

func (*ClientWithResponses) UpdateEncryptedNetworkWithBodyWithResponse

func (c *ClientWithResponses) UpdateEncryptedNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEncryptedNetworkResponse, error)

UpdateEncryptedNetworkWithBodyWithResponse request with arbitrary body returning *UpdateEncryptedNetworkResponse

func (*ClientWithResponses) UpdateEncryptedNetworkWithResponse

func (c *ClientWithResponses) UpdateEncryptedNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateEncryptedNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEncryptedNetworkResponse, error)

func (*ClientWithResponses) UpdateExternalDynamicNetworkWithBodyWithResponse

func (c *ClientWithResponses) UpdateExternalDynamicNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExternalDynamicNetworkResponse, error)

UpdateExternalDynamicNetworkWithBodyWithResponse request with arbitrary body returning *UpdateExternalDynamicNetworkResponse

func (*ClientWithResponses) UpdateExternalDynamicNetworkWithResponse

func (c *ClientWithResponses) UpdateExternalDynamicNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateExternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExternalDynamicNetworkResponse, error)

func (*ClientWithResponses) UpdateInternalDynamicNetworkWithBodyWithResponse

func (c *ClientWithResponses) UpdateInternalDynamicNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInternalDynamicNetworkResponse, error)

UpdateInternalDynamicNetworkWithBodyWithResponse request with arbitrary body returning *UpdateInternalDynamicNetworkResponse

func (*ClientWithResponses) UpdateInternalDynamicNetworkWithResponse

func (c *ClientWithResponses) UpdateInternalDynamicNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateInternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInternalDynamicNetworkResponse, error)

func (*ClientWithResponses) UpdateRangeStaticNetworkWithBodyWithResponse

func (c *ClientWithResponses) UpdateRangeStaticNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRangeStaticNetworkResponse, error)

UpdateRangeStaticNetworkWithBodyWithResponse request with arbitrary body returning *UpdateRangeStaticNetworkResponse

func (*ClientWithResponses) UpdateRangeStaticNetworkWithResponse

func (c *ClientWithResponses) UpdateRangeStaticNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateRangeStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRangeStaticNetworkResponse, error)

func (*ClientWithResponses) UpdateSingleStaticNetworkWithBodyWithResponse

func (c *ClientWithResponses) UpdateSingleStaticNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSingleStaticNetworkResponse, error)

UpdateSingleStaticNetworkWithBodyWithResponse request with arbitrary body returning *UpdateSingleStaticNetworkResponse

func (*ClientWithResponses) UpdateSingleStaticNetworkWithResponse

func (c *ClientWithResponses) UpdateSingleStaticNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateSingleStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSingleStaticNetworkResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListNetworksWithResponse request
	ListNetworksWithResponse(ctx context.Context, params *ListNetworksParams, reqEditors ...RequestEditorFn) (*ListNetworksResponse, error)

	// ListNetworkDnsWithResponse request
	ListNetworkDnsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNetworkDnsResponse, error)

	// CreateExternalDynamicNetworkWithBodyWithResponse request with any body
	CreateExternalDynamicNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExternalDynamicNetworkResponse, error)

	CreateExternalDynamicNetworkWithResponse(ctx context.Context, body CreateExternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExternalDynamicNetworkResponse, error)

	// UpdateExternalDynamicNetworkWithBodyWithResponse request with any body
	UpdateExternalDynamicNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExternalDynamicNetworkResponse, error)

	UpdateExternalDynamicNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateExternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExternalDynamicNetworkResponse, error)

	// CreateInternalDynamicNetworkWithBodyWithResponse request with any body
	CreateInternalDynamicNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInternalDynamicNetworkResponse, error)

	CreateInternalDynamicNetworkWithResponse(ctx context.Context, body CreateInternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInternalDynamicNetworkResponse, error)

	// UpdateInternalDynamicNetworkWithBodyWithResponse request with any body
	UpdateInternalDynamicNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInternalDynamicNetworkResponse, error)

	UpdateInternalDynamicNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateInternalDynamicNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInternalDynamicNetworkResponse, error)

	// ListEdnsWithResponse request
	ListEdnsWithResponse(ctx context.Context, params *ListEdnsParams, reqEditors ...RequestEditorFn) (*ListEdnsResponse, error)

	// CreateEdnsWithBodyWithResponse request with any body
	CreateEdnsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEdnsResponse, error)

	CreateEdnsWithResponse(ctx context.Context, body CreateEdnsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEdnsResponse, error)

	// DeleteEdnsWithResponse request
	DeleteEdnsWithResponse(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteEdnsResponse, error)

	// GetEdnsWithResponse request
	GetEdnsWithResponse(ctx context.Context, ednsId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetEdnsResponse, error)

	// UpdateEdnsWithBodyWithResponse request with any body
	UpdateEdnsWithBodyWithResponse(ctx context.Context, ednsId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEdnsResponse, error)

	UpdateEdnsWithResponse(ctx context.Context, ednsId openapi_types.UUID, body UpdateEdnsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEdnsResponse, error)

	// CreateEncryptedNetworkWithBodyWithResponse request with any body
	CreateEncryptedNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEncryptedNetworkResponse, error)

	CreateEncryptedNetworkWithResponse(ctx context.Context, body CreateEncryptedNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEncryptedNetworkResponse, error)

	// UpdateEncryptedNetworkWithBodyWithResponse request with any body
	UpdateEncryptedNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEncryptedNetworkResponse, error)

	UpdateEncryptedNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateEncryptedNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEncryptedNetworkResponse, error)

	// CreateCidrStaticNetworkWithBodyWithResponse request with any body
	CreateCidrStaticNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCidrStaticNetworkResponse, error)

	CreateCidrStaticNetworkWithResponse(ctx context.Context, body CreateCidrStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCidrStaticNetworkResponse, error)

	// UpdateCidrStaticNetworkWithBodyWithResponse request with any body
	UpdateCidrStaticNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCidrStaticNetworkResponse, error)

	UpdateCidrStaticNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateCidrStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCidrStaticNetworkResponse, error)

	// CreateRangeStaticNetworkWithBodyWithResponse request with any body
	CreateRangeStaticNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRangeStaticNetworkResponse, error)

	CreateRangeStaticNetworkWithResponse(ctx context.Context, body CreateRangeStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRangeStaticNetworkResponse, error)

	// UpdateRangeStaticNetworkWithBodyWithResponse request with any body
	UpdateRangeStaticNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRangeStaticNetworkResponse, error)

	UpdateRangeStaticNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateRangeStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRangeStaticNetworkResponse, error)

	// CreateSingleStaticNetworkWithBodyWithResponse request with any body
	CreateSingleStaticNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSingleStaticNetworkResponse, error)

	CreateSingleStaticNetworkWithResponse(ctx context.Context, body CreateSingleStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSingleStaticNetworkResponse, error)

	// UpdateSingleStaticNetworkWithBodyWithResponse request with any body
	UpdateSingleStaticNetworkWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSingleStaticNetworkResponse, error)

	UpdateSingleStaticNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, body UpdateSingleStaticNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSingleStaticNetworkResponse, error)

	// DeleteNetworkWithResponse request
	DeleteNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNetworkResponse, error)

	// GetNetworkWithResponse request
	GetNetworkWithResponse(ctx context.Context, networkId openapi_types.UUID, params *GetNetworkParams, reqEditors ...RequestEditorFn) (*GetNetworkResponse, error)

	// ListAvailableNetworkDnsWithResponse request
	ListAvailableNetworkDnsWithResponse(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListAvailableNetworkDnsResponse, error)

	// ListNetworkPoliciesWithResponse request
	ListNetworkPoliciesWithResponse(ctx context.Context, networkId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListNetworkPoliciesResponse, error)

	// AddNetworkPolicyWithBodyWithResponse request with any body
	AddNetworkPolicyWithBodyWithResponse(ctx context.Context, networkId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddNetworkPolicyResponse, error)

	AddNetworkPolicyWithResponse(ctx context.Context, networkId openapi_types.UUID, body AddNetworkPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*AddNetworkPolicyResponse, error)

	// DeleteNetworkPolicyWithResponse request
	DeleteNetworkPolicyWithResponse(ctx context.Context, networkId openapi_types.UUID, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNetworkPolicyResponse, error)
}

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

type CreateCidrStaticNetwork201Type

type CreateCidrStaticNetwork201Type string

type CreateCidrStaticNetworkJSONBody

type CreateCidrStaticNetworkJSONBody struct {
	Cidr           CreateCidrStaticNetworkJSONBody_Cidr `json:"cidr"`
	Name           string                               `json:"name"`
	Note           *string                              `json:"note,omitempty"`
	OrganizationId *openapi_types.UUID                  `json:"organizationId,omitempty"`
}

CreateCidrStaticNetworkJSONBody defines parameters for CreateCidrStaticNetwork.

type CreateCidrStaticNetworkJSONBodyCidr0

type CreateCidrStaticNetworkJSONBodyCidr0 = string

CreateCidrStaticNetworkJSONBodyCidr0 defines parameters for CreateCidrStaticNetwork.

type CreateCidrStaticNetworkJSONBodyCidr1

type CreateCidrStaticNetworkJSONBodyCidr1 = string

CreateCidrStaticNetworkJSONBodyCidr1 defines parameters for CreateCidrStaticNetwork.

type CreateCidrStaticNetworkJSONBody_Cidr

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

CreateCidrStaticNetworkJSONBody_Cidr defines parameters for CreateCidrStaticNetwork.

type CreateCidrStaticNetworkJSONRequestBody

type CreateCidrStaticNetworkJSONRequestBody CreateCidrStaticNetworkJSONBody

CreateCidrStaticNetworkJSONRequestBody defines body for CreateCidrStaticNetwork for application/json ContentType.

type CreateCidrStaticNetworkResponse

type CreateCidrStaticNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Cidr           string                         `json:"cidr"`
		CreatedAt      time.Time                      `json:"createdAt"`
		Id             openapi_types.UUID             `json:"id"`
		LastQueriedAt  *time.Time                     `json:"lastQueriedAt"`
		Name           string                         `json:"name"`
		Note           *string                        `json:"note"`
		OrganizationId openapi_types.UUID             `json:"organizationId"`
		Type           CreateCidrStaticNetwork201Type `json:"type"`
		UpdatedAt      time.Time                      `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseCreateCidrStaticNetworkResponse

func ParseCreateCidrStaticNetworkResponse(rsp *http.Response) (*CreateCidrStaticNetworkResponse, error)

ParseCreateCidrStaticNetworkResponse parses an HTTP response from a CreateCidrStaticNetworkWithResponse call

func (CreateCidrStaticNetworkResponse) Status

Status returns HTTPResponse.Status

func (CreateCidrStaticNetworkResponse) StatusCode

func (r CreateCidrStaticNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEdnsJSONBody

type CreateEdnsJSONBody struct {
	Note           *string             `json:"note,omitempty"`
	OrganizationId *openapi_types.UUID `json:"organizationId,omitempty"`
	PolicyId       openapi_types.UUID  `json:"policyId"`
	Tag            string              `json:"tag"`
}

CreateEdnsJSONBody defines parameters for CreateEdns.

type CreateEdnsJSONRequestBody

type CreateEdnsJSONRequestBody CreateEdnsJSONBody

CreateEdnsJSONRequestBody defines body for CreateEdns for application/json ContentType.

type CreateEdnsResponse

type CreateEdnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Id             openapi_types.UUID `json:"id"`
		Note           *string            `json:"note"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
		PolicyId       openapi_types.UUID `json:"policyId"`
		Tag            string             `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseCreateEdnsResponse

func ParseCreateEdnsResponse(rsp *http.Response) (*CreateEdnsResponse, error)

ParseCreateEdnsResponse parses an HTTP response from a CreateEdnsWithResponse call

func (CreateEdnsResponse) Status

func (r CreateEdnsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateEdnsResponse) StatusCode

func (r CreateEdnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEncryptedNetwork201Type

type CreateEncryptedNetwork201Type string

type CreateEncryptedNetworkJSONBody

type CreateEncryptedNetworkJSONBody struct {
	Name           string              `json:"name"`
	Note           *string             `json:"note,omitempty"`
	OrganizationId *openapi_types.UUID `json:"organizationId,omitempty"`
	PolicyId       openapi_types.UUID  `json:"policyId"`
	Tag            *string             `json:"tag,omitempty"`
}

CreateEncryptedNetworkJSONBody defines parameters for CreateEncryptedNetwork.

type CreateEncryptedNetworkJSONRequestBody

type CreateEncryptedNetworkJSONRequestBody CreateEncryptedNetworkJSONBody

CreateEncryptedNetworkJSONRequestBody defines body for CreateEncryptedNetwork for application/json ContentType.

type CreateEncryptedNetworkResponse

type CreateEncryptedNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		CreatedAt      time.Time                     `json:"createdAt"`
		Id             openapi_types.UUID            `json:"id"`
		LastQueriedAt  *time.Time                    `json:"lastQueriedAt"`
		Name           string                        `json:"name"`
		Note           *string                       `json:"note"`
		OrganizationId openapi_types.UUID            `json:"organizationId"`
		PolicyId       openapi_types.UUID            `json:"policyId"`
		Tag            string                        `json:"tag"`
		Type           CreateEncryptedNetwork201Type `json:"type"`
		UpdatedAt      time.Time                     `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseCreateEncryptedNetworkResponse

func ParseCreateEncryptedNetworkResponse(rsp *http.Response) (*CreateEncryptedNetworkResponse, error)

ParseCreateEncryptedNetworkResponse parses an HTTP response from a CreateEncryptedNetworkWithResponse call

func (CreateEncryptedNetworkResponse) Status

Status returns HTTPResponse.Status

func (CreateEncryptedNetworkResponse) StatusCode

func (r CreateEncryptedNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateExternalDynamicNetwork201DynamicIp0

type CreateExternalDynamicNetwork201DynamicIp0 = string

type CreateExternalDynamicNetwork201DynamicIp1

type CreateExternalDynamicNetwork201DynamicIp1 string

type CreateExternalDynamicNetwork201Type

type CreateExternalDynamicNetwork201Type string

type CreateExternalDynamicNetworkJSONBody

type CreateExternalDynamicNetworkJSONBody struct {
	Domain         string              `json:"domain"`
	Name           string              `json:"name"`
	Note           *string             `json:"note,omitempty"`
	OrganizationId *openapi_types.UUID `json:"organizationId,omitempty"`
}

CreateExternalDynamicNetworkJSONBody defines parameters for CreateExternalDynamicNetwork.

type CreateExternalDynamicNetworkJSONRequestBody

type CreateExternalDynamicNetworkJSONRequestBody CreateExternalDynamicNetworkJSONBody

CreateExternalDynamicNetworkJSONRequestBody defines body for CreateExternalDynamicNetwork for application/json ContentType.

type CreateExternalDynamicNetworkResponse

type CreateExternalDynamicNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		CreatedAt      time.Time                                  `json:"createdAt"`
		Domain         string                                     `json:"domain"`
		DynamicIp      CreateExternalDynamicNetwork_201_DynamicIp `json:"dynamicIp"`
		Id             openapi_types.UUID                         `json:"id"`
		LastChanged    *time.Time                                 `json:"lastChanged"`
		LastQueriedAt  *time.Time                                 `json:"lastQueriedAt"`
		Name           string                                     `json:"name"`
		Note           *string                                    `json:"note"`
		OrganizationId openapi_types.UUID                         `json:"organizationId"`
		Type           CreateExternalDynamicNetwork201Type        `json:"type"`
		UpdatedAt      time.Time                                  `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseCreateExternalDynamicNetworkResponse

func ParseCreateExternalDynamicNetworkResponse(rsp *http.Response) (*CreateExternalDynamicNetworkResponse, error)

ParseCreateExternalDynamicNetworkResponse parses an HTTP response from a CreateExternalDynamicNetworkWithResponse call

func (CreateExternalDynamicNetworkResponse) Status

Status returns HTTPResponse.Status

func (CreateExternalDynamicNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateExternalDynamicNetwork_201_DynamicIp

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

type CreateInternalDynamicNetwork201DynamicIp0

type CreateInternalDynamicNetwork201DynamicIp0 = string

type CreateInternalDynamicNetwork201DynamicIp1

type CreateInternalDynamicNetwork201DynamicIp1 = string

type CreateInternalDynamicNetwork201DynamicIp2

type CreateInternalDynamicNetwork201DynamicIp2 string

type CreateInternalDynamicNetwork201Type

type CreateInternalDynamicNetwork201Type string

type CreateInternalDynamicNetworkJSONBody

type CreateInternalDynamicNetworkJSONBody struct {
	Ddns struct {
		Password string `json:"password"`
		Username string `json:"username"`
	} `json:"ddns"`
	Name           string              `json:"name"`
	Note           *string             `json:"note,omitempty"`
	OrganizationId *openapi_types.UUID `json:"organizationId,omitempty"`
}

CreateInternalDynamicNetworkJSONBody defines parameters for CreateInternalDynamicNetwork.

type CreateInternalDynamicNetworkJSONRequestBody

type CreateInternalDynamicNetworkJSONRequestBody CreateInternalDynamicNetworkJSONBody

CreateInternalDynamicNetworkJSONRequestBody defines body for CreateInternalDynamicNetwork for application/json ContentType.

type CreateInternalDynamicNetworkResponse

type CreateInternalDynamicNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		CreatedAt time.Time `json:"createdAt"`
		Ddns      struct {
			LastSync *time.Time `json:"lastSync"`
			Password string     `json:"password"`
			Username string     `json:"username"`
		} `json:"ddns"`
		DynamicIp      CreateInternalDynamicNetwork_201_DynamicIp `json:"dynamicIp"`
		Id             openapi_types.UUID                         `json:"id"`
		LastQueriedAt  *time.Time                                 `json:"lastQueriedAt"`
		Name           string                                     `json:"name"`
		Note           *string                                    `json:"note"`
		OrganizationId openapi_types.UUID                         `json:"organizationId"`
		Type           CreateInternalDynamicNetwork201Type        `json:"type"`
		UpdatedAt      time.Time                                  `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseCreateInternalDynamicNetworkResponse

func ParseCreateInternalDynamicNetworkResponse(rsp *http.Response) (*CreateInternalDynamicNetworkResponse, error)

ParseCreateInternalDynamicNetworkResponse parses an HTTP response from a CreateInternalDynamicNetworkWithResponse call

func (CreateInternalDynamicNetworkResponse) Status

Status returns HTTPResponse.Status

func (CreateInternalDynamicNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateInternalDynamicNetwork_201_DynamicIp

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

type CreateRangeStaticNetwork201Type

type CreateRangeStaticNetwork201Type string

type CreateRangeStaticNetworkJSONBody

type CreateRangeStaticNetworkJSONBody struct {
	Name           string              `json:"name"`
	Note           *string             `json:"note,omitempty"`
	OrganizationId *openapi_types.UUID `json:"organizationId,omitempty"`
	RangeIp        struct {
		End   string `json:"end"`
		Start string `json:"start"`
	} `json:"rangeIp"`
}

CreateRangeStaticNetworkJSONBody defines parameters for CreateRangeStaticNetwork.

type CreateRangeStaticNetworkJSONRequestBody

type CreateRangeStaticNetworkJSONRequestBody CreateRangeStaticNetworkJSONBody

CreateRangeStaticNetworkJSONRequestBody defines body for CreateRangeStaticNetwork for application/json ContentType.

type CreateRangeStaticNetworkResponse

type CreateRangeStaticNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		CreatedAt      time.Time          `json:"createdAt"`
		Id             openapi_types.UUID `json:"id"`
		LastQueriedAt  *time.Time         `json:"lastQueriedAt"`
		Name           string             `json:"name"`
		Note           *string            `json:"note"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
		RangeIp        struct {
			End   string `json:"end"`
			Start string `json:"start"`
		} `json:"rangeIp"`
		Type      CreateRangeStaticNetwork201Type `json:"type"`
		UpdatedAt time.Time                       `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseCreateRangeStaticNetworkResponse

func ParseCreateRangeStaticNetworkResponse(rsp *http.Response) (*CreateRangeStaticNetworkResponse, error)

ParseCreateRangeStaticNetworkResponse parses an HTTP response from a CreateRangeStaticNetworkWithResponse call

func (CreateRangeStaticNetworkResponse) Status

Status returns HTTPResponse.Status

func (CreateRangeStaticNetworkResponse) StatusCode

func (r CreateRangeStaticNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSingleStaticNetwork201Ip0

type CreateSingleStaticNetwork201Ip0 = string

type CreateSingleStaticNetwork201Ip1

type CreateSingleStaticNetwork201Ip1 = string

type CreateSingleStaticNetwork201Type

type CreateSingleStaticNetwork201Type string

type CreateSingleStaticNetworkJSONBody

type CreateSingleStaticNetworkJSONBody struct {
	Ip             CreateSingleStaticNetworkJSONBody_Ip `json:"ip"`
	Name           string                               `json:"name"`
	Note           *string                              `json:"note,omitempty"`
	OrganizationId *openapi_types.UUID                  `json:"organizationId,omitempty"`
}

CreateSingleStaticNetworkJSONBody defines parameters for CreateSingleStaticNetwork.

type CreateSingleStaticNetworkJSONBodyIp0

type CreateSingleStaticNetworkJSONBodyIp0 = string

CreateSingleStaticNetworkJSONBodyIp0 defines parameters for CreateSingleStaticNetwork.

type CreateSingleStaticNetworkJSONBodyIp1

type CreateSingleStaticNetworkJSONBodyIp1 = string

CreateSingleStaticNetworkJSONBodyIp1 defines parameters for CreateSingleStaticNetwork.

type CreateSingleStaticNetworkJSONBody_Ip

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

CreateSingleStaticNetworkJSONBody_Ip defines parameters for CreateSingleStaticNetwork.

type CreateSingleStaticNetworkJSONRequestBody

type CreateSingleStaticNetworkJSONRequestBody CreateSingleStaticNetworkJSONBody

CreateSingleStaticNetworkJSONRequestBody defines body for CreateSingleStaticNetwork for application/json ContentType.

type CreateSingleStaticNetworkResponse

type CreateSingleStaticNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		CreatedAt      time.Time                        `json:"createdAt"`
		Id             openapi_types.UUID               `json:"id"`
		Ip             CreateSingleStaticNetwork_201_Ip `json:"ip"`
		LastQueriedAt  *time.Time                       `json:"lastQueriedAt"`
		Name           string                           `json:"name"`
		Note           *string                          `json:"note"`
		OrganizationId openapi_types.UUID               `json:"organizationId"`
		Type           CreateSingleStaticNetwork201Type `json:"type"`
		UpdatedAt      time.Time                        `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseCreateSingleStaticNetworkResponse

func ParseCreateSingleStaticNetworkResponse(rsp *http.Response) (*CreateSingleStaticNetworkResponse, error)

ParseCreateSingleStaticNetworkResponse parses an HTTP response from a CreateSingleStaticNetworkWithResponse call

func (CreateSingleStaticNetworkResponse) Status

Status returns HTTPResponse.Status

func (CreateSingleStaticNetworkResponse) StatusCode

func (r CreateSingleStaticNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSingleStaticNetwork_201_Ip

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

type DeleteEdnsResponse

type DeleteEdnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id             openapi_types.UUID `json:"id"`
		Note           *string            `json:"note"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
		PolicyId       openapi_types.UUID `json:"policyId"`
		Tag            string             `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseDeleteEdnsResponse

func ParseDeleteEdnsResponse(rsp *http.Response) (*DeleteEdnsResponse, error)

ParseDeleteEdnsResponse parses an HTTP response from a DeleteEdnsWithResponse call

func (DeleteEdnsResponse) Status

func (r DeleteEdnsResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteEdnsResponse) StatusCode

func (r DeleteEdnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteNetwork2000

type DeleteNetwork2000 struct {
	CreatedAt      time.Time              `json:"createdAt"`
	Id             openapi_types.UUID     `json:"id"`
	Ip             DeleteNetwork_200_0_Ip `json:"ip"`
	LastQueriedAt  *time.Time             `json:"lastQueriedAt"`
	Name           string                 `json:"name"`
	Note           *string                `json:"note"`
	OrganizationId openapi_types.UUID     `json:"organizationId"`
	Type           DeleteNetwork2000Type  `json:"type"`
	UpdatedAt      time.Time              `json:"updatedAt"`
}

type DeleteNetwork2000Ip0

type DeleteNetwork2000Ip0 = string

type DeleteNetwork2000Ip1

type DeleteNetwork2000Ip1 = string

type DeleteNetwork2000Type

type DeleteNetwork2000Type string

type DeleteNetwork2001

type DeleteNetwork2001 struct {
	Cidr           string                `json:"cidr"`
	CreatedAt      time.Time             `json:"createdAt"`
	Id             openapi_types.UUID    `json:"id"`
	LastQueriedAt  *time.Time            `json:"lastQueriedAt"`
	Name           string                `json:"name"`
	Note           *string               `json:"note"`
	OrganizationId openapi_types.UUID    `json:"organizationId"`
	Type           DeleteNetwork2001Type `json:"type"`
	UpdatedAt      time.Time             `json:"updatedAt"`
}

type DeleteNetwork2001Type

type DeleteNetwork2001Type string

type DeleteNetwork2002

type DeleteNetwork2002 struct {
	CreatedAt      time.Time          `json:"createdAt"`
	Id             openapi_types.UUID `json:"id"`
	LastQueriedAt  *time.Time         `json:"lastQueriedAt"`
	Name           string             `json:"name"`
	Note           *string            `json:"note"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
	RangeIp        struct {
		End   string `json:"end"`
		Start string `json:"start"`
	} `json:"rangeIp"`
	Type      DeleteNetwork2002Type `json:"type"`
	UpdatedAt time.Time             `json:"updatedAt"`
}

type DeleteNetwork2002Type

type DeleteNetwork2002Type string

type DeleteNetwork2003

type DeleteNetwork2003 struct {
	CreatedAt time.Time `json:"createdAt"`
	Ddns      struct {
		LastSync *time.Time `json:"lastSync"`
		Password string     `json:"password"`
		Username string     `json:"username"`
	} `json:"ddns"`
	DynamicIp      DeleteNetwork_200_3_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID            `json:"id"`
	LastQueriedAt  *time.Time                    `json:"lastQueriedAt"`
	Name           string                        `json:"name"`
	Note           *string                       `json:"note"`
	OrganizationId openapi_types.UUID            `json:"organizationId"`
	Type           DeleteNetwork2003Type         `json:"type"`
	UpdatedAt      time.Time                     `json:"updatedAt"`
}

type DeleteNetwork2003DynamicIp0

type DeleteNetwork2003DynamicIp0 = string

type DeleteNetwork2003DynamicIp1

type DeleteNetwork2003DynamicIp1 = string

type DeleteNetwork2003DynamicIp2

type DeleteNetwork2003DynamicIp2 string

type DeleteNetwork2003Type

type DeleteNetwork2003Type string

type DeleteNetwork2004

type DeleteNetwork2004 struct {
	CreatedAt      time.Time                     `json:"createdAt"`
	Domain         string                        `json:"domain"`
	DynamicIp      DeleteNetwork_200_4_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID            `json:"id"`
	LastChanged    *time.Time                    `json:"lastChanged"`
	LastQueriedAt  *time.Time                    `json:"lastQueriedAt"`
	Name           string                        `json:"name"`
	Note           *string                       `json:"note"`
	OrganizationId openapi_types.UUID            `json:"organizationId"`
	Type           DeleteNetwork2004Type         `json:"type"`
	UpdatedAt      time.Time                     `json:"updatedAt"`
}

type DeleteNetwork2004DynamicIp0

type DeleteNetwork2004DynamicIp0 = string

type DeleteNetwork2004DynamicIp1

type DeleteNetwork2004DynamicIp1 string

type DeleteNetwork2004Type

type DeleteNetwork2004Type string

type DeleteNetwork2005

type DeleteNetwork2005 struct {
	CreatedAt      time.Time             `json:"createdAt"`
	Id             openapi_types.UUID    `json:"id"`
	LastQueriedAt  *time.Time            `json:"lastQueriedAt"`
	Name           string                `json:"name"`
	Note           *string               `json:"note"`
	OrganizationId openapi_types.UUID    `json:"organizationId"`
	PolicyId       openapi_types.UUID    `json:"policyId"`
	Tag            string                `json:"tag"`
	Type           DeleteNetwork2005Type `json:"type"`
	UpdatedAt      time.Time             `json:"updatedAt"`
}

type DeleteNetwork2005Type

type DeleteNetwork2005Type string

type DeleteNetworkPolicyResponse

type DeleteNetworkPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Dns *struct {
			Id             openapi_types.UUID `json:"id"`
			Port           int                `json:"port"`
			PrimaryDNSv4   string             `json:"primaryDNSv4"`
			PrimaryDNSv6   string             `json:"primaryDNSv6"`
			SecondaryDNSv4 string             `json:"secondaryDNSv4"`
			SecondaryDNSv6 string             `json:"secondaryDNSv6"`
		} `json:"dns"`
		Id        *openapi_types.UUID `json:"id"`
		NetworkId openapi_types.UUID  `json:"networkId"`
		Note      *string             `json:"note"`
		Policy    struct {
			Id             openapi_types.UUID `json:"id"`
			IsLimited      bool               `json:"isLimited"`
			IsShared       bool               `json:"isShared"`
			Name           string             `json:"name"`
			OrganizationId openapi_types.UUID `json:"organizationId"`
		} `json:"policy"`
		Tag *string `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseDeleteNetworkPolicyResponse

func ParseDeleteNetworkPolicyResponse(rsp *http.Response) (*DeleteNetworkPolicyResponse, error)

ParseDeleteNetworkPolicyResponse parses an HTTP response from a DeleteNetworkPolicyWithResponse call

func (DeleteNetworkPolicyResponse) Status

Status returns HTTPResponse.Status

func (DeleteNetworkPolicyResponse) StatusCode

func (r DeleteNetworkPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteNetworkResponse

type DeleteNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseDeleteNetworkResponse

func ParseDeleteNetworkResponse(rsp *http.Response) (*DeleteNetworkResponse, error)

ParseDeleteNetworkResponse parses an HTTP response from a DeleteNetworkWithResponse call

func (DeleteNetworkResponse) Status

func (r DeleteNetworkResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteNetworkResponse) StatusCode

func (r DeleteNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteNetwork_200_0_Ip

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

type DeleteNetwork_200_3_DynamicIp

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

type DeleteNetwork_200_4_DynamicIp

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

type FlashStartErrorBody

type FlashStartErrorBody struct {
	Code    string       `json:"code"`
	Details *interface{} `json:"details,omitempty"`
	Message *string      `json:"message,omitempty"`
}

FlashStartErrorBody defines model for FlashStartErrorBody.

type ForbiddenResponse

type ForbiddenResponse = FlashStartErrorBody

ForbiddenResponse defines model for Forbidden.

type GetEdnsResponse

type GetEdnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id             openapi_types.UUID `json:"id"`
		Note           *string            `json:"note"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
		PolicyId       openapi_types.UUID `json:"policyId"`
		Tag            string             `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseGetEdnsResponse

func ParseGetEdnsResponse(rsp *http.Response) (*GetEdnsResponse, error)

ParseGetEdnsResponse parses an HTTP response from a GetEdnsWithResponse call

func (GetEdnsResponse) Status

func (r GetEdnsResponse) Status() string

Status returns HTTPResponse.Status

func (GetEdnsResponse) StatusCode

func (r GetEdnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNetwork2000

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

type GetNetwork2001

type GetNetwork2001 struct {
	Network  GetNetwork_200_1_Network `json:"network"`
	Policies []struct {
		Dns *struct {
			Id             openapi_types.UUID `json:"id"`
			Port           int                `json:"port"`
			PrimaryDNSv4   string             `json:"primaryDNSv4"`
			PrimaryDNSv6   string             `json:"primaryDNSv6"`
			SecondaryDNSv4 string             `json:"secondaryDNSv4"`
			SecondaryDNSv6 string             `json:"secondaryDNSv6"`
		} `json:"dns"`
		Id        *openapi_types.UUID `json:"id"`
		NetworkId openapi_types.UUID  `json:"networkId"`
		Note      *string             `json:"note"`
		Policy    struct {
			Id             openapi_types.UUID `json:"id"`
			IsLimited      bool               `json:"isLimited"`
			IsShared       bool               `json:"isShared"`
			Name           string             `json:"name"`
			OrganizationId openapi_types.UUID `json:"organizationId"`
		} `json:"policy"`
		Tag *string `json:"tag"`
	} `json:"policies"`
}

type GetNetwork2001Network0

type GetNetwork2001Network0 struct {
	CreatedAt      time.Time                     `json:"createdAt"`
	Id             openapi_types.UUID            `json:"id"`
	Ip             GetNetwork_200_1_Network_0_Ip `json:"ip"`
	LastQueriedAt  *time.Time                    `json:"lastQueriedAt"`
	Name           string                        `json:"name"`
	Note           *string                       `json:"note"`
	OrganizationId openapi_types.UUID            `json:"organizationId"`
	Type           GetNetwork2001Network0Type    `json:"type"`
	UpdatedAt      time.Time                     `json:"updatedAt"`
}

type GetNetwork2001Network0Ip0

type GetNetwork2001Network0Ip0 = string

type GetNetwork2001Network0Ip1

type GetNetwork2001Network0Ip1 = string

type GetNetwork2001Network0Type

type GetNetwork2001Network0Type string

type GetNetwork2001Network1

type GetNetwork2001Network1 struct {
	Cidr           string                     `json:"cidr"`
	CreatedAt      time.Time                  `json:"createdAt"`
	Id             openapi_types.UUID         `json:"id"`
	LastQueriedAt  *time.Time                 `json:"lastQueriedAt"`
	Name           string                     `json:"name"`
	Note           *string                    `json:"note"`
	OrganizationId openapi_types.UUID         `json:"organizationId"`
	Type           GetNetwork2001Network1Type `json:"type"`
	UpdatedAt      time.Time                  `json:"updatedAt"`
}

type GetNetwork2001Network1Type

type GetNetwork2001Network1Type string

type GetNetwork2001Network2

type GetNetwork2001Network2 struct {
	CreatedAt      time.Time          `json:"createdAt"`
	Id             openapi_types.UUID `json:"id"`
	LastQueriedAt  *time.Time         `json:"lastQueriedAt"`
	Name           string             `json:"name"`
	Note           *string            `json:"note"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
	RangeIp        struct {
		End   string `json:"end"`
		Start string `json:"start"`
	} `json:"rangeIp"`
	Type      GetNetwork2001Network2Type `json:"type"`
	UpdatedAt time.Time                  `json:"updatedAt"`
}

type GetNetwork2001Network2Type

type GetNetwork2001Network2Type string

type GetNetwork2001Network3

type GetNetwork2001Network3 struct {
	CreatedAt time.Time `json:"createdAt"`
	Ddns      struct {
		LastSync *time.Time `json:"lastSync"`
		Password string     `json:"password"`
		Username string     `json:"username"`
	} `json:"ddns"`
	DynamicIp      GetNetwork_200_1_Network_3_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID                   `json:"id"`
	LastQueriedAt  *time.Time                           `json:"lastQueriedAt"`
	Name           string                               `json:"name"`
	Note           *string                              `json:"note"`
	OrganizationId openapi_types.UUID                   `json:"organizationId"`
	Type           GetNetwork2001Network3Type           `json:"type"`
	UpdatedAt      time.Time                            `json:"updatedAt"`
}

type GetNetwork2001Network3DynamicIp0

type GetNetwork2001Network3DynamicIp0 = string

type GetNetwork2001Network3DynamicIp1

type GetNetwork2001Network3DynamicIp1 = string

type GetNetwork2001Network3DynamicIp2

type GetNetwork2001Network3DynamicIp2 string

type GetNetwork2001Network3Type

type GetNetwork2001Network3Type string

type GetNetwork2001Network4

type GetNetwork2001Network4 struct {
	CreatedAt      time.Time                            `json:"createdAt"`
	Domain         string                               `json:"domain"`
	DynamicIp      GetNetwork_200_1_Network_4_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID                   `json:"id"`
	LastChanged    *time.Time                           `json:"lastChanged"`
	LastQueriedAt  *time.Time                           `json:"lastQueriedAt"`
	Name           string                               `json:"name"`
	Note           *string                              `json:"note"`
	OrganizationId openapi_types.UUID                   `json:"organizationId"`
	Type           GetNetwork2001Network4Type           `json:"type"`
	UpdatedAt      time.Time                            `json:"updatedAt"`
}

type GetNetwork2001Network4DynamicIp0

type GetNetwork2001Network4DynamicIp0 = string

type GetNetwork2001Network4DynamicIp1

type GetNetwork2001Network4DynamicIp1 string

type GetNetwork2001Network4Type

type GetNetwork2001Network4Type string

type GetNetwork2001Network5

type GetNetwork2001Network5 struct {
	CreatedAt      time.Time                  `json:"createdAt"`
	Id             openapi_types.UUID         `json:"id"`
	LastQueriedAt  *time.Time                 `json:"lastQueriedAt"`
	Name           string                     `json:"name"`
	Note           *string                    `json:"note"`
	OrganizationId openapi_types.UUID         `json:"organizationId"`
	PolicyId       openapi_types.UUID         `json:"policyId"`
	Tag            string                     `json:"tag"`
	Type           GetNetwork2001Network5Type `json:"type"`
	UpdatedAt      time.Time                  `json:"updatedAt"`
}

type GetNetwork2001Network5Type

type GetNetwork2001Network5Type string

type GetNetwork20000

type GetNetwork20000 struct {
	CreatedAt      time.Time             `json:"createdAt"`
	Id             openapi_types.UUID    `json:"id"`
	Ip             GetNetwork_200_0_0_Ip `json:"ip"`
	LastQueriedAt  *time.Time            `json:"lastQueriedAt"`
	Name           string                `json:"name"`
	Note           *string               `json:"note"`
	OrganizationId openapi_types.UUID    `json:"organizationId"`
	Type           GetNetwork20000Type   `json:"type"`
	UpdatedAt      time.Time             `json:"updatedAt"`
}

type GetNetwork20000Ip0

type GetNetwork20000Ip0 = string

type GetNetwork20000Ip1

type GetNetwork20000Ip1 = string

type GetNetwork20000Type

type GetNetwork20000Type string

type GetNetwork20001

type GetNetwork20001 struct {
	Cidr           string              `json:"cidr"`
	CreatedAt      time.Time           `json:"createdAt"`
	Id             openapi_types.UUID  `json:"id"`
	LastQueriedAt  *time.Time          `json:"lastQueriedAt"`
	Name           string              `json:"name"`
	Note           *string             `json:"note"`
	OrganizationId openapi_types.UUID  `json:"organizationId"`
	Type           GetNetwork20001Type `json:"type"`
	UpdatedAt      time.Time           `json:"updatedAt"`
}

type GetNetwork20001Type

type GetNetwork20001Type string

type GetNetwork20002

type GetNetwork20002 struct {
	CreatedAt      time.Time          `json:"createdAt"`
	Id             openapi_types.UUID `json:"id"`
	LastQueriedAt  *time.Time         `json:"lastQueriedAt"`
	Name           string             `json:"name"`
	Note           *string            `json:"note"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
	RangeIp        struct {
		End   string `json:"end"`
		Start string `json:"start"`
	} `json:"rangeIp"`
	Type      GetNetwork20002Type `json:"type"`
	UpdatedAt time.Time           `json:"updatedAt"`
}

type GetNetwork20002Type

type GetNetwork20002Type string

type GetNetwork20003

type GetNetwork20003 struct {
	CreatedAt time.Time `json:"createdAt"`
	Ddns      struct {
		LastSync *time.Time `json:"lastSync"`
		Password string     `json:"password"`
		Username string     `json:"username"`
	} `json:"ddns"`
	DynamicIp      GetNetwork_200_0_3_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID           `json:"id"`
	LastQueriedAt  *time.Time                   `json:"lastQueriedAt"`
	Name           string                       `json:"name"`
	Note           *string                      `json:"note"`
	OrganizationId openapi_types.UUID           `json:"organizationId"`
	Type           GetNetwork20003Type          `json:"type"`
	UpdatedAt      time.Time                    `json:"updatedAt"`
}

type GetNetwork20003DynamicIp0

type GetNetwork20003DynamicIp0 = string

type GetNetwork20003DynamicIp1

type GetNetwork20003DynamicIp1 = string

type GetNetwork20003DynamicIp2

type GetNetwork20003DynamicIp2 string

type GetNetwork20003Type

type GetNetwork20003Type string

type GetNetwork20004

type GetNetwork20004 struct {
	CreatedAt      time.Time                    `json:"createdAt"`
	Domain         string                       `json:"domain"`
	DynamicIp      GetNetwork_200_0_4_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID           `json:"id"`
	LastChanged    *time.Time                   `json:"lastChanged"`
	LastQueriedAt  *time.Time                   `json:"lastQueriedAt"`
	Name           string                       `json:"name"`
	Note           *string                      `json:"note"`
	OrganizationId openapi_types.UUID           `json:"organizationId"`
	Type           GetNetwork20004Type          `json:"type"`
	UpdatedAt      time.Time                    `json:"updatedAt"`
}

type GetNetwork20004DynamicIp0

type GetNetwork20004DynamicIp0 = string

type GetNetwork20004DynamicIp1

type GetNetwork20004DynamicIp1 string

type GetNetwork20004Type

type GetNetwork20004Type string

type GetNetwork20005

type GetNetwork20005 struct {
	CreatedAt      time.Time           `json:"createdAt"`
	Id             openapi_types.UUID  `json:"id"`
	LastQueriedAt  *time.Time          `json:"lastQueriedAt"`
	Name           string              `json:"name"`
	Note           *string             `json:"note"`
	OrganizationId openapi_types.UUID  `json:"organizationId"`
	PolicyId       openapi_types.UUID  `json:"policyId"`
	Tag            string              `json:"tag"`
	Type           GetNetwork20005Type `json:"type"`
	UpdatedAt      time.Time           `json:"updatedAt"`
}

type GetNetwork20005Type

type GetNetwork20005Type string

type GetNetworkParams

type GetNetworkParams struct {
	IncludePolicies *GetNetworkParamsIncludePolicies `form:"includePolicies,omitempty" json:"includePolicies,omitempty"`
}

GetNetworkParams defines parameters for GetNetwork.

type GetNetworkParamsIncludePolicies

type GetNetworkParamsIncludePolicies string

GetNetworkParamsIncludePolicies defines parameters for GetNetwork.

const (
	GetNetworkParamsIncludePoliciesFalse GetNetworkParamsIncludePolicies = "false"
	GetNetworkParamsIncludePoliciesTrue  GetNetworkParamsIncludePolicies = "true"
)

Defines values for GetNetworkParamsIncludePolicies.

type GetNetworkResponse

type GetNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseGetNetworkResponse

func ParseGetNetworkResponse(rsp *http.Response) (*GetNetworkResponse, error)

ParseGetNetworkResponse parses an HTTP response from a GetNetworkWithResponse call

func (GetNetworkResponse) Status

func (r GetNetworkResponse) Status() string

Status returns HTTPResponse.Status

func (GetNetworkResponse) StatusCode

func (r GetNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNetwork_200_0_0_Ip

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

type GetNetwork_200_0_3_DynamicIp

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

type GetNetwork_200_0_4_DynamicIp

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

type GetNetwork_200_1_Network

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

type GetNetwork_200_1_Network_0_Ip

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

type GetNetwork_200_1_Network_3_DynamicIp

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

type GetNetwork_200_1_Network_4_DynamicIp

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

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListAvailableNetworkDnsResponse

type ListAvailableNetworkDnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Id             openapi_types.UUID `json:"id"`
		Port           int                `json:"port"`
		PrimaryDNSv4   string             `json:"primaryDNSv4"`
		PrimaryDNSv6   string             `json:"primaryDNSv6"`
		SecondaryDNSv4 string             `json:"secondaryDNSv4"`
		SecondaryDNSv6 string             `json:"secondaryDNSv6"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseListAvailableNetworkDnsResponse

func ParseListAvailableNetworkDnsResponse(rsp *http.Response) (*ListAvailableNetworkDnsResponse, error)

ParseListAvailableNetworkDnsResponse parses an HTTP response from a ListAvailableNetworkDnsWithResponse call

func (ListAvailableNetworkDnsResponse) Status

Status returns HTTPResponse.Status

func (ListAvailableNetworkDnsResponse) StatusCode

func (r ListAvailableNetworkDnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEdnsParams

type ListEdnsParams struct {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
}

ListEdnsParams defines parameters for ListEdns.

type ListEdnsResponse

type ListEdnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Id             openapi_types.UUID `json:"id"`
		Note           *string            `json:"note"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
		PolicyId       openapi_types.UUID `json:"policyId"`
		Tag            string             `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseListEdnsResponse

func ParseListEdnsResponse(rsp *http.Response) (*ListEdnsResponse, error)

ParseListEdnsResponse parses an HTTP response from a ListEdnsWithResponse call

func (ListEdnsResponse) Status

func (r ListEdnsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEdnsResponse) StatusCode

func (r ListEdnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNetworkDnsResponse

type ListNetworkDnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Id             openapi_types.UUID `json:"id"`
		Port           int                `json:"port"`
		PrimaryDNSv4   string             `json:"primaryDNSv4"`
		PrimaryDNSv6   string             `json:"primaryDNSv6"`
		SecondaryDNSv4 string             `json:"secondaryDNSv4"`
		SecondaryDNSv6 string             `json:"secondaryDNSv6"`
	}
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON500 *ServerErrorResponse
}

func ParseListNetworkDnsResponse

func ParseListNetworkDnsResponse(rsp *http.Response) (*ListNetworkDnsResponse, error)

ParseListNetworkDnsResponse parses an HTTP response from a ListNetworkDnsWithResponse call

func (ListNetworkDnsResponse) Status

func (r ListNetworkDnsResponse) Status() string

Status returns HTTPResponse.Status

func (ListNetworkDnsResponse) StatusCode

func (r ListNetworkDnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNetworkPoliciesResponse

type ListNetworkPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Dns *struct {
			Id             openapi_types.UUID `json:"id"`
			Port           int                `json:"port"`
			PrimaryDNSv4   string             `json:"primaryDNSv4"`
			PrimaryDNSv6   string             `json:"primaryDNSv6"`
			SecondaryDNSv4 string             `json:"secondaryDNSv4"`
			SecondaryDNSv6 string             `json:"secondaryDNSv6"`
		} `json:"dns"`
		Id        *openapi_types.UUID `json:"id"`
		NetworkId openapi_types.UUID  `json:"networkId"`
		Note      *string             `json:"note"`
		Policy    struct {
			Id             openapi_types.UUID `json:"id"`
			IsLimited      bool               `json:"isLimited"`
			IsShared       bool               `json:"isShared"`
			Name           string             `json:"name"`
			OrganizationId openapi_types.UUID `json:"organizationId"`
		} `json:"policy"`
		Tag *string `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseListNetworkPoliciesResponse

func ParseListNetworkPoliciesResponse(rsp *http.Response) (*ListNetworkPoliciesResponse, error)

ParseListNetworkPoliciesResponse parses an HTTP response from a ListNetworkPoliciesWithResponse call

func (ListNetworkPoliciesResponse) Status

Status returns HTTPResponse.Status

func (ListNetworkPoliciesResponse) StatusCode

func (r ListNetworkPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNetworks2000

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

type ListNetworks2001

type ListNetworks2001 struct {
	Network  ListNetworks_200_1_Network `json:"network"`
	Policies []struct {
		Dns *struct {
			Id             openapi_types.UUID `json:"id"`
			Port           int                `json:"port"`
			PrimaryDNSv4   string             `json:"primaryDNSv4"`
			PrimaryDNSv6   string             `json:"primaryDNSv6"`
			SecondaryDNSv4 string             `json:"secondaryDNSv4"`
			SecondaryDNSv6 string             `json:"secondaryDNSv6"`
		} `json:"dns"`
		Id        *openapi_types.UUID `json:"id"`
		NetworkId openapi_types.UUID  `json:"networkId"`
		Note      *string             `json:"note"`
		Policy    struct {
			Id             openapi_types.UUID `json:"id"`
			IsLimited      bool               `json:"isLimited"`
			IsShared       bool               `json:"isShared"`
			Name           string             `json:"name"`
			OrganizationId openapi_types.UUID `json:"organizationId"`
		} `json:"policy"`
		Tag *string `json:"tag"`
	} `json:"policies"`
}

type ListNetworks2001Network0

type ListNetworks2001Network0 struct {
	CreatedAt      time.Time                       `json:"createdAt"`
	Id             openapi_types.UUID              `json:"id"`
	Ip             ListNetworks_200_1_Network_0_Ip `json:"ip"`
	LastQueriedAt  *time.Time                      `json:"lastQueriedAt"`
	Name           string                          `json:"name"`
	Note           *string                         `json:"note"`
	OrganizationId openapi_types.UUID              `json:"organizationId"`
	Type           ListNetworks2001Network0Type    `json:"type"`
	UpdatedAt      time.Time                       `json:"updatedAt"`
}

type ListNetworks2001Network0Ip0

type ListNetworks2001Network0Ip0 = string

type ListNetworks2001Network0Ip1

type ListNetworks2001Network0Ip1 = string

type ListNetworks2001Network0Type

type ListNetworks2001Network0Type string

type ListNetworks2001Network1

type ListNetworks2001Network1 struct {
	Cidr           string                       `json:"cidr"`
	CreatedAt      time.Time                    `json:"createdAt"`
	Id             openapi_types.UUID           `json:"id"`
	LastQueriedAt  *time.Time                   `json:"lastQueriedAt"`
	Name           string                       `json:"name"`
	Note           *string                      `json:"note"`
	OrganizationId openapi_types.UUID           `json:"organizationId"`
	Type           ListNetworks2001Network1Type `json:"type"`
	UpdatedAt      time.Time                    `json:"updatedAt"`
}

type ListNetworks2001Network1Type

type ListNetworks2001Network1Type string

type ListNetworks2001Network2

type ListNetworks2001Network2 struct {
	CreatedAt      time.Time          `json:"createdAt"`
	Id             openapi_types.UUID `json:"id"`
	LastQueriedAt  *time.Time         `json:"lastQueriedAt"`
	Name           string             `json:"name"`
	Note           *string            `json:"note"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
	RangeIp        struct {
		End   string `json:"end"`
		Start string `json:"start"`
	} `json:"rangeIp"`
	Type      ListNetworks2001Network2Type `json:"type"`
	UpdatedAt time.Time                    `json:"updatedAt"`
}

type ListNetworks2001Network2Type

type ListNetworks2001Network2Type string

type ListNetworks2001Network3

type ListNetworks2001Network3 struct {
	CreatedAt time.Time `json:"createdAt"`
	Ddns      struct {
		LastSync *time.Time `json:"lastSync"`
		Password string     `json:"password"`
		Username string     `json:"username"`
	} `json:"ddns"`
	DynamicIp      ListNetworks_200_1_Network_3_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID                     `json:"id"`
	LastQueriedAt  *time.Time                             `json:"lastQueriedAt"`
	Name           string                                 `json:"name"`
	Note           *string                                `json:"note"`
	OrganizationId openapi_types.UUID                     `json:"organizationId"`
	Type           ListNetworks2001Network3Type           `json:"type"`
	UpdatedAt      time.Time                              `json:"updatedAt"`
}

type ListNetworks2001Network3DynamicIp0

type ListNetworks2001Network3DynamicIp0 = string

type ListNetworks2001Network3DynamicIp1

type ListNetworks2001Network3DynamicIp1 = string

type ListNetworks2001Network3DynamicIp2

type ListNetworks2001Network3DynamicIp2 string

type ListNetworks2001Network3Type

type ListNetworks2001Network3Type string

type ListNetworks2001Network4

type ListNetworks2001Network4 struct {
	CreatedAt      time.Time                              `json:"createdAt"`
	Domain         string                                 `json:"domain"`
	DynamicIp      ListNetworks_200_1_Network_4_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID                     `json:"id"`
	LastChanged    *time.Time                             `json:"lastChanged"`
	LastQueriedAt  *time.Time                             `json:"lastQueriedAt"`
	Name           string                                 `json:"name"`
	Note           *string                                `json:"note"`
	OrganizationId openapi_types.UUID                     `json:"organizationId"`
	Type           ListNetworks2001Network4Type           `json:"type"`
	UpdatedAt      time.Time                              `json:"updatedAt"`
}

type ListNetworks2001Network4DynamicIp0

type ListNetworks2001Network4DynamicIp0 = string

type ListNetworks2001Network4DynamicIp1

type ListNetworks2001Network4DynamicIp1 string

type ListNetworks2001Network4Type

type ListNetworks2001Network4Type string

type ListNetworks2001Network5

type ListNetworks2001Network5 struct {
	CreatedAt      time.Time                    `json:"createdAt"`
	Id             openapi_types.UUID           `json:"id"`
	LastQueriedAt  *time.Time                   `json:"lastQueriedAt"`
	Name           string                       `json:"name"`
	Note           *string                      `json:"note"`
	OrganizationId openapi_types.UUID           `json:"organizationId"`
	PolicyId       openapi_types.UUID           `json:"policyId"`
	Tag            string                       `json:"tag"`
	Type           ListNetworks2001Network5Type `json:"type"`
	UpdatedAt      time.Time                    `json:"updatedAt"`
}

type ListNetworks2001Network5Type

type ListNetworks2001Network5Type string

type ListNetworks20000

type ListNetworks20000 struct {
	CreatedAt      time.Time               `json:"createdAt"`
	Id             openapi_types.UUID      `json:"id"`
	Ip             ListNetworks_200_0_0_Ip `json:"ip"`
	LastQueriedAt  *time.Time              `json:"lastQueriedAt"`
	Name           string                  `json:"name"`
	Note           *string                 `json:"note"`
	OrganizationId openapi_types.UUID      `json:"organizationId"`
	Type           ListNetworks20000Type   `json:"type"`
	UpdatedAt      time.Time               `json:"updatedAt"`
}

type ListNetworks20000Ip0

type ListNetworks20000Ip0 = string

type ListNetworks20000Ip1

type ListNetworks20000Ip1 = string

type ListNetworks20000Type

type ListNetworks20000Type string

type ListNetworks20001

type ListNetworks20001 struct {
	Cidr           string                `json:"cidr"`
	CreatedAt      time.Time             `json:"createdAt"`
	Id             openapi_types.UUID    `json:"id"`
	LastQueriedAt  *time.Time            `json:"lastQueriedAt"`
	Name           string                `json:"name"`
	Note           *string               `json:"note"`
	OrganizationId openapi_types.UUID    `json:"organizationId"`
	Type           ListNetworks20001Type `json:"type"`
	UpdatedAt      time.Time             `json:"updatedAt"`
}

type ListNetworks20001Type

type ListNetworks20001Type string

type ListNetworks20002

type ListNetworks20002 struct {
	CreatedAt      time.Time          `json:"createdAt"`
	Id             openapi_types.UUID `json:"id"`
	LastQueriedAt  *time.Time         `json:"lastQueriedAt"`
	Name           string             `json:"name"`
	Note           *string            `json:"note"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
	RangeIp        struct {
		End   string `json:"end"`
		Start string `json:"start"`
	} `json:"rangeIp"`
	Type      ListNetworks20002Type `json:"type"`
	UpdatedAt time.Time             `json:"updatedAt"`
}

type ListNetworks20002Type

type ListNetworks20002Type string

type ListNetworks20003

type ListNetworks20003 struct {
	CreatedAt time.Time `json:"createdAt"`
	Ddns      struct {
		LastSync *time.Time `json:"lastSync"`
		Password string     `json:"password"`
		Username string     `json:"username"`
	} `json:"ddns"`
	DynamicIp      ListNetworks_200_0_3_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID             `json:"id"`
	LastQueriedAt  *time.Time                     `json:"lastQueriedAt"`
	Name           string                         `json:"name"`
	Note           *string                        `json:"note"`
	OrganizationId openapi_types.UUID             `json:"organizationId"`
	Type           ListNetworks20003Type          `json:"type"`
	UpdatedAt      time.Time                      `json:"updatedAt"`
}

type ListNetworks20003DynamicIp0

type ListNetworks20003DynamicIp0 = string

type ListNetworks20003DynamicIp1

type ListNetworks20003DynamicIp1 = string

type ListNetworks20003DynamicIp2

type ListNetworks20003DynamicIp2 string

type ListNetworks20003Type

type ListNetworks20003Type string

type ListNetworks20004

type ListNetworks20004 struct {
	CreatedAt      time.Time                      `json:"createdAt"`
	Domain         string                         `json:"domain"`
	DynamicIp      ListNetworks_200_0_4_DynamicIp `json:"dynamicIp"`
	Id             openapi_types.UUID             `json:"id"`
	LastChanged    *time.Time                     `json:"lastChanged"`
	LastQueriedAt  *time.Time                     `json:"lastQueriedAt"`
	Name           string                         `json:"name"`
	Note           *string                        `json:"note"`
	OrganizationId openapi_types.UUID             `json:"organizationId"`
	Type           ListNetworks20004Type          `json:"type"`
	UpdatedAt      time.Time                      `json:"updatedAt"`
}

type ListNetworks20004DynamicIp0

type ListNetworks20004DynamicIp0 = string

type ListNetworks20004DynamicIp1

type ListNetworks20004DynamicIp1 string

type ListNetworks20004Type

type ListNetworks20004Type string

type ListNetworks20005

type ListNetworks20005 struct {
	CreatedAt      time.Time             `json:"createdAt"`
	Id             openapi_types.UUID    `json:"id"`
	LastQueriedAt  *time.Time            `json:"lastQueriedAt"`
	Name           string                `json:"name"`
	Note           *string               `json:"note"`
	OrganizationId openapi_types.UUID    `json:"organizationId"`
	PolicyId       openapi_types.UUID    `json:"policyId"`
	Tag            string                `json:"tag"`
	Type           ListNetworks20005Type `json:"type"`
	UpdatedAt      time.Time             `json:"updatedAt"`
}

type ListNetworks20005Type

type ListNetworks20005Type string

type ListNetworksParams

type ListNetworksParams struct {
	OrganizationId  *openapi_types.UUID                `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	IncludePolicies *ListNetworksParamsIncludePolicies `form:"includePolicies,omitempty" json:"includePolicies,omitempty"`
}

ListNetworksParams defines parameters for ListNetworks.

type ListNetworksParamsIncludePolicies

type ListNetworksParamsIncludePolicies string

ListNetworksParamsIncludePolicies defines parameters for ListNetworks.

const (
	ListNetworksParamsIncludePoliciesFalse ListNetworksParamsIncludePolicies = "false"
	ListNetworksParamsIncludePoliciesTrue  ListNetworksParamsIncludePolicies = "true"
)

Defines values for ListNetworksParamsIncludePolicies.

type ListNetworksResponse

type ListNetworksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ListNetworks_200_Item
	JSON400      *BadRequestResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON422      *BadRequestResponse
	JSON500      *ServerErrorResponse
}

func ParseListNetworksResponse

func ParseListNetworksResponse(rsp *http.Response) (*ListNetworksResponse, error)

ParseListNetworksResponse parses an HTTP response from a ListNetworksWithResponse call

func (ListNetworksResponse) Status

func (r ListNetworksResponse) Status() string

Status returns HTTPResponse.Status

func (ListNetworksResponse) StatusCode

func (r ListNetworksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNetworks_200_0_0_Ip

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

type ListNetworks_200_0_3_DynamicIp

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

type ListNetworks_200_0_4_DynamicIp

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

type ListNetworks_200_1_Network

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

type ListNetworks_200_1_Network_0_Ip

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

type ListNetworks_200_1_Network_3_DynamicIp

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

type ListNetworks_200_1_Network_4_DynamicIp

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

type ListNetworks_200_Item

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

type MissingCredentialsErrorBody

type MissingCredentialsErrorBody struct {
	Message string `json:"message"`
}

MissingCredentialsErrorBody defines model for MissingCredentialsErrorBody.

type NotFoundResponse

type NotFoundResponse = FlashStartErrorBody

NotFoundResponse defines model for NotFound.

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ServerErrorResponse

type ServerErrorResponse = FlashStartErrorBody

ServerErrorResponse defines model for ServerError.

type UnauthorizedResponse

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

UnauthorizedResponse defines model for Unauthorized.

func (UnauthorizedResponse) AsFlashStartErrorBody

func (t UnauthorizedResponse) AsFlashStartErrorBody() (FlashStartErrorBody, error)

AsFlashStartErrorBody returns the union data inside the UnauthorizedResponse as a FlashStartErrorBody

func (UnauthorizedResponse) AsMissingCredentialsErrorBody

func (t UnauthorizedResponse) AsMissingCredentialsErrorBody() (MissingCredentialsErrorBody, error)

AsMissingCredentialsErrorBody returns the union data inside the UnauthorizedResponse as a MissingCredentialsErrorBody

func (*UnauthorizedResponse) FromFlashStartErrorBody

func (t *UnauthorizedResponse) FromFlashStartErrorBody(v FlashStartErrorBody) error

FromFlashStartErrorBody overwrites any union data inside the UnauthorizedResponse as the provided FlashStartErrorBody

func (*UnauthorizedResponse) FromMissingCredentialsErrorBody

func (t *UnauthorizedResponse) FromMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error

FromMissingCredentialsErrorBody overwrites any union data inside the UnauthorizedResponse as the provided MissingCredentialsErrorBody

func (UnauthorizedResponse) MarshalJSON

func (t UnauthorizedResponse) MarshalJSON() ([]byte, error)

func (*UnauthorizedResponse) MergeFlashStartErrorBody

func (t *UnauthorizedResponse) MergeFlashStartErrorBody(v FlashStartErrorBody) error

MergeFlashStartErrorBody performs a merge with any union data inside the UnauthorizedResponse, using the provided FlashStartErrorBody

func (*UnauthorizedResponse) MergeMissingCredentialsErrorBody

func (t *UnauthorizedResponse) MergeMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error

MergeMissingCredentialsErrorBody performs a merge with any union data inside the UnauthorizedResponse, using the provided MissingCredentialsErrorBody

func (*UnauthorizedResponse) UnmarshalJSON

func (t *UnauthorizedResponse) UnmarshalJSON(b []byte) error

type UpdateCidrStaticNetwork200Type

type UpdateCidrStaticNetwork200Type string

type UpdateCidrStaticNetworkJSONBody

type UpdateCidrStaticNetworkJSONBody struct {
	Name *string `json:"name,omitempty"`
	Note *string `json:"note,omitempty"`
}

UpdateCidrStaticNetworkJSONBody defines parameters for UpdateCidrStaticNetwork.

type UpdateCidrStaticNetworkJSONRequestBody

type UpdateCidrStaticNetworkJSONRequestBody UpdateCidrStaticNetworkJSONBody

UpdateCidrStaticNetworkJSONRequestBody defines body for UpdateCidrStaticNetwork for application/json ContentType.

type UpdateCidrStaticNetworkResponse

type UpdateCidrStaticNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Cidr           string                         `json:"cidr"`
		CreatedAt      time.Time                      `json:"createdAt"`
		Id             openapi_types.UUID             `json:"id"`
		LastQueriedAt  *time.Time                     `json:"lastQueriedAt"`
		Name           string                         `json:"name"`
		Note           *string                        `json:"note"`
		OrganizationId openapi_types.UUID             `json:"organizationId"`
		Type           UpdateCidrStaticNetwork200Type `json:"type"`
		UpdatedAt      time.Time                      `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseUpdateCidrStaticNetworkResponse

func ParseUpdateCidrStaticNetworkResponse(rsp *http.Response) (*UpdateCidrStaticNetworkResponse, error)

ParseUpdateCidrStaticNetworkResponse parses an HTTP response from a UpdateCidrStaticNetworkWithResponse call

func (UpdateCidrStaticNetworkResponse) Status

Status returns HTTPResponse.Status

func (UpdateCidrStaticNetworkResponse) StatusCode

func (r UpdateCidrStaticNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEdnsJSONBody

type UpdateEdnsJSONBody struct {
	Note *string `json:"note,omitempty"`
	Tag  string  `json:"tag"`
}

UpdateEdnsJSONBody defines parameters for UpdateEdns.

type UpdateEdnsJSONRequestBody

type UpdateEdnsJSONRequestBody UpdateEdnsJSONBody

UpdateEdnsJSONRequestBody defines body for UpdateEdns for application/json ContentType.

type UpdateEdnsResponse

type UpdateEdnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id             openapi_types.UUID `json:"id"`
		Note           *string            `json:"note"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
		PolicyId       openapi_types.UUID `json:"policyId"`
		Tag            string             `json:"tag"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseUpdateEdnsResponse

func ParseUpdateEdnsResponse(rsp *http.Response) (*UpdateEdnsResponse, error)

ParseUpdateEdnsResponse parses an HTTP response from a UpdateEdnsWithResponse call

func (UpdateEdnsResponse) Status

func (r UpdateEdnsResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateEdnsResponse) StatusCode

func (r UpdateEdnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEncryptedNetwork200Type

type UpdateEncryptedNetwork200Type string

type UpdateEncryptedNetworkJSONBody

type UpdateEncryptedNetworkJSONBody struct {
	Name     *string             `json:"name,omitempty"`
	Note     *string             `json:"note,omitempty"`
	PolicyId *openapi_types.UUID `json:"policyId,omitempty"`
}

UpdateEncryptedNetworkJSONBody defines parameters for UpdateEncryptedNetwork.

type UpdateEncryptedNetworkJSONRequestBody

type UpdateEncryptedNetworkJSONRequestBody UpdateEncryptedNetworkJSONBody

UpdateEncryptedNetworkJSONRequestBody defines body for UpdateEncryptedNetwork for application/json ContentType.

type UpdateEncryptedNetworkResponse

type UpdateEncryptedNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CreatedAt      time.Time                     `json:"createdAt"`
		Id             openapi_types.UUID            `json:"id"`
		LastQueriedAt  *time.Time                    `json:"lastQueriedAt"`
		Name           string                        `json:"name"`
		Note           *string                       `json:"note"`
		OrganizationId openapi_types.UUID            `json:"organizationId"`
		PolicyId       openapi_types.UUID            `json:"policyId"`
		Tag            string                        `json:"tag"`
		Type           UpdateEncryptedNetwork200Type `json:"type"`
		UpdatedAt      time.Time                     `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseUpdateEncryptedNetworkResponse

func ParseUpdateEncryptedNetworkResponse(rsp *http.Response) (*UpdateEncryptedNetworkResponse, error)

ParseUpdateEncryptedNetworkResponse parses an HTTP response from a UpdateEncryptedNetworkWithResponse call

func (UpdateEncryptedNetworkResponse) Status

Status returns HTTPResponse.Status

func (UpdateEncryptedNetworkResponse) StatusCode

func (r UpdateEncryptedNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateExternalDynamicNetwork200DynamicIp0

type UpdateExternalDynamicNetwork200DynamicIp0 = string

type UpdateExternalDynamicNetwork200DynamicIp1

type UpdateExternalDynamicNetwork200DynamicIp1 string

type UpdateExternalDynamicNetwork200Type

type UpdateExternalDynamicNetwork200Type string

type UpdateExternalDynamicNetworkJSONBody

type UpdateExternalDynamicNetworkJSONBody struct {
	Domain    *string `json:"domain,omitempty"`
	DynamicIp *string `json:"dynamicIp,omitempty"`
	Name      *string `json:"name,omitempty"`
	Note      *string `json:"note,omitempty"`
}

UpdateExternalDynamicNetworkJSONBody defines parameters for UpdateExternalDynamicNetwork.

type UpdateExternalDynamicNetworkJSONRequestBody

type UpdateExternalDynamicNetworkJSONRequestBody UpdateExternalDynamicNetworkJSONBody

UpdateExternalDynamicNetworkJSONRequestBody defines body for UpdateExternalDynamicNetwork for application/json ContentType.

type UpdateExternalDynamicNetworkResponse

type UpdateExternalDynamicNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CreatedAt      time.Time                                  `json:"createdAt"`
		Domain         string                                     `json:"domain"`
		DynamicIp      UpdateExternalDynamicNetwork_200_DynamicIp `json:"dynamicIp"`
		Id             openapi_types.UUID                         `json:"id"`
		LastChanged    *time.Time                                 `json:"lastChanged"`
		LastQueriedAt  *time.Time                                 `json:"lastQueriedAt"`
		Name           string                                     `json:"name"`
		Note           *string                                    `json:"note"`
		OrganizationId openapi_types.UUID                         `json:"organizationId"`
		Type           UpdateExternalDynamicNetwork200Type        `json:"type"`
		UpdatedAt      time.Time                                  `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseUpdateExternalDynamicNetworkResponse

func ParseUpdateExternalDynamicNetworkResponse(rsp *http.Response) (*UpdateExternalDynamicNetworkResponse, error)

ParseUpdateExternalDynamicNetworkResponse parses an HTTP response from a UpdateExternalDynamicNetworkWithResponse call

func (UpdateExternalDynamicNetworkResponse) Status

Status returns HTTPResponse.Status

func (UpdateExternalDynamicNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateExternalDynamicNetwork_200_DynamicIp

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

type UpdateInternalDynamicNetwork200DynamicIp0

type UpdateInternalDynamicNetwork200DynamicIp0 = string

type UpdateInternalDynamicNetwork200DynamicIp1

type UpdateInternalDynamicNetwork200DynamicIp1 = string

type UpdateInternalDynamicNetwork200DynamicIp2

type UpdateInternalDynamicNetwork200DynamicIp2 string

type UpdateInternalDynamicNetwork200Type

type UpdateInternalDynamicNetwork200Type string

type UpdateInternalDynamicNetworkJSONBody

type UpdateInternalDynamicNetworkJSONBody struct {
	Ddns *struct {
		Password *string `json:"password,omitempty"`
		Username *string `json:"username,omitempty"`
	} `json:"ddns,omitempty"`
	Name *string `json:"name,omitempty"`
	Note *string `json:"note,omitempty"`
}

UpdateInternalDynamicNetworkJSONBody defines parameters for UpdateInternalDynamicNetwork.

type UpdateInternalDynamicNetworkJSONRequestBody

type UpdateInternalDynamicNetworkJSONRequestBody UpdateInternalDynamicNetworkJSONBody

UpdateInternalDynamicNetworkJSONRequestBody defines body for UpdateInternalDynamicNetwork for application/json ContentType.

type UpdateInternalDynamicNetworkResponse

type UpdateInternalDynamicNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CreatedAt time.Time `json:"createdAt"`
		Ddns      struct {
			LastSync *time.Time `json:"lastSync"`
			Password string     `json:"password"`
			Username string     `json:"username"`
		} `json:"ddns"`
		DynamicIp      UpdateInternalDynamicNetwork_200_DynamicIp `json:"dynamicIp"`
		Id             openapi_types.UUID                         `json:"id"`
		LastQueriedAt  *time.Time                                 `json:"lastQueriedAt"`
		Name           string                                     `json:"name"`
		Note           *string                                    `json:"note"`
		OrganizationId openapi_types.UUID                         `json:"organizationId"`
		Type           UpdateInternalDynamicNetwork200Type        `json:"type"`
		UpdatedAt      time.Time                                  `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseUpdateInternalDynamicNetworkResponse

func ParseUpdateInternalDynamicNetworkResponse(rsp *http.Response) (*UpdateInternalDynamicNetworkResponse, error)

ParseUpdateInternalDynamicNetworkResponse parses an HTTP response from a UpdateInternalDynamicNetworkWithResponse call

func (UpdateInternalDynamicNetworkResponse) Status

Status returns HTTPResponse.Status

func (UpdateInternalDynamicNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateInternalDynamicNetwork_200_DynamicIp

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

type UpdateRangeStaticNetwork200Type

type UpdateRangeStaticNetwork200Type string

type UpdateRangeStaticNetworkJSONBody

type UpdateRangeStaticNetworkJSONBody struct {
	Name *string `json:"name,omitempty"`
	Note *string `json:"note,omitempty"`
}

UpdateRangeStaticNetworkJSONBody defines parameters for UpdateRangeStaticNetwork.

type UpdateRangeStaticNetworkJSONRequestBody

type UpdateRangeStaticNetworkJSONRequestBody UpdateRangeStaticNetworkJSONBody

UpdateRangeStaticNetworkJSONRequestBody defines body for UpdateRangeStaticNetwork for application/json ContentType.

type UpdateRangeStaticNetworkResponse

type UpdateRangeStaticNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CreatedAt      time.Time          `json:"createdAt"`
		Id             openapi_types.UUID `json:"id"`
		LastQueriedAt  *time.Time         `json:"lastQueriedAt"`
		Name           string             `json:"name"`
		Note           *string            `json:"note"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
		RangeIp        struct {
			End   string `json:"end"`
			Start string `json:"start"`
		} `json:"rangeIp"`
		Type      UpdateRangeStaticNetwork200Type `json:"type"`
		UpdatedAt time.Time                       `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseUpdateRangeStaticNetworkResponse

func ParseUpdateRangeStaticNetworkResponse(rsp *http.Response) (*UpdateRangeStaticNetworkResponse, error)

ParseUpdateRangeStaticNetworkResponse parses an HTTP response from a UpdateRangeStaticNetworkWithResponse call

func (UpdateRangeStaticNetworkResponse) Status

Status returns HTTPResponse.Status

func (UpdateRangeStaticNetworkResponse) StatusCode

func (r UpdateRangeStaticNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSingleStaticNetwork200Ip0

type UpdateSingleStaticNetwork200Ip0 = string

type UpdateSingleStaticNetwork200Ip1

type UpdateSingleStaticNetwork200Ip1 = string

type UpdateSingleStaticNetwork200Type

type UpdateSingleStaticNetwork200Type string

type UpdateSingleStaticNetworkJSONBody

type UpdateSingleStaticNetworkJSONBody struct {
	Name *string `json:"name,omitempty"`
	Note *string `json:"note,omitempty"`
}

UpdateSingleStaticNetworkJSONBody defines parameters for UpdateSingleStaticNetwork.

type UpdateSingleStaticNetworkJSONRequestBody

type UpdateSingleStaticNetworkJSONRequestBody UpdateSingleStaticNetworkJSONBody

UpdateSingleStaticNetworkJSONRequestBody defines body for UpdateSingleStaticNetwork for application/json ContentType.

type UpdateSingleStaticNetworkResponse

type UpdateSingleStaticNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CreatedAt      time.Time                        `json:"createdAt"`
		Id             openapi_types.UUID               `json:"id"`
		Ip             UpdateSingleStaticNetwork_200_Ip `json:"ip"`
		LastQueriedAt  *time.Time                       `json:"lastQueriedAt"`
		Name           string                           `json:"name"`
		Note           *string                          `json:"note"`
		OrganizationId openapi_types.UUID               `json:"organizationId"`
		Type           UpdateSingleStaticNetwork200Type `json:"type"`
		UpdatedAt      time.Time                        `json:"updatedAt"`
	}
	JSON400 *BadRequestResponse
	JSON401 *UnauthorizedResponse
	JSON403 *ForbiddenResponse
	JSON404 *NotFoundResponse
	JSON422 *BadRequestResponse
	JSON500 *ServerErrorResponse
}

func ParseUpdateSingleStaticNetworkResponse

func ParseUpdateSingleStaticNetworkResponse(rsp *http.Response) (*UpdateSingleStaticNetworkResponse, error)

ParseUpdateSingleStaticNetworkResponse parses an HTTP response from a UpdateSingleStaticNetworkWithResponse call

func (UpdateSingleStaticNetworkResponse) Status

Status returns HTTPResponse.Status

func (UpdateSingleStaticNetworkResponse) StatusCode

func (r UpdateSingleStaticNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSingleStaticNetwork_200_Ip

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

Jump to

Keyboard shortcuts

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