iaas

package module
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

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

APIClient manages communication with the IaaS-API API v1beta1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Optionally receives configuration options

func (*APIClient) CreateNetwork

func (a *APIClient) CreateNetwork(ctx context.Context, projectId string) ApiCreateNetworkRequest

CreateNetwork: Create new network.

Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiCreateNetworkRequest

func (*APIClient) CreateNetworkArea

func (a *APIClient) CreateNetworkArea(ctx context.Context, organizationId string) ApiCreateNetworkAreaRequest

CreateNetworkArea: Create new network area in an organization.

Create a new network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiCreateNetworkAreaRequest

func (*APIClient) CreateNetworkAreaExecute

func (a *APIClient) CreateNetworkAreaExecute(ctx context.Context, organizationId string) (*NetworkArea, error)

func (*APIClient) CreateNetworkAreaRange

func (a *APIClient) CreateNetworkAreaRange(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRangeRequest

CreateNetworkAreaRange: Create new network range in a network area.

Create a new network range in an existing network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiCreateNetworkAreaRangeRequest

func (*APIClient) CreateNetworkAreaRangeExecute

func (a *APIClient) CreateNetworkAreaRangeExecute(ctx context.Context, organizationId string, areaId string) (*NetworkRangeListResponse, error)

func (*APIClient) CreateNetworkAreaRoute

func (a *APIClient) CreateNetworkAreaRoute(ctx context.Context, organizationId string, areaId string) ApiCreateNetworkAreaRouteRequest

CreateNetworkAreaRoute: Create new network routes.

Create one or several new network routes in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiCreateNetworkAreaRouteRequest

func (*APIClient) CreateNetworkAreaRouteExecute

func (a *APIClient) CreateNetworkAreaRouteExecute(ctx context.Context, organizationId string, areaId string) (*RouteListResponse, error)

func (*APIClient) CreateNetworkExecute

func (a *APIClient) CreateNetworkExecute(ctx context.Context, projectId string) (*Network, error)

func (*APIClient) DeleteNetwork

func (a *APIClient) DeleteNetwork(ctx context.Context, projectId string, networkId string) ApiDeleteNetworkRequest

DeleteNetwork: Delete network.

Delete a network. If the network is still in use, the deletion will fail.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiDeleteNetworkRequest

func (*APIClient) DeleteNetworkArea

func (a *APIClient) DeleteNetworkArea(ctx context.Context, organizationId string, areaId string) ApiDeleteNetworkAreaRequest

DeleteNetworkArea: Delete a network area.

Delete an existing network area in an organization. This is only possible if no projects are using the area anymore.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiDeleteNetworkAreaRequest

func (*APIClient) DeleteNetworkAreaExecute

func (a *APIClient) DeleteNetworkAreaExecute(ctx context.Context, organizationId string, areaId string) error

func (*APIClient) DeleteNetworkAreaRange

func (a *APIClient) DeleteNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiDeleteNetworkAreaRangeRequest

DeleteNetworkAreaRange: Delete a network range.

Delete a network range of a network area. The deletion will fail if the network range is still used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiDeleteNetworkAreaRangeRequest

func (*APIClient) DeleteNetworkAreaRangeExecute

func (a *APIClient) DeleteNetworkAreaRangeExecute(ctx context.Context, organizationId string, areaId string, networkRangeId string) error

func (*APIClient) DeleteNetworkAreaRoute

func (a *APIClient) DeleteNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiDeleteNetworkAreaRouteRequest

DeleteNetworkAreaRoute: Delete a network route.

Delete a network route of a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiDeleteNetworkAreaRouteRequest

func (*APIClient) DeleteNetworkAreaRouteExecute

func (a *APIClient) DeleteNetworkAreaRouteExecute(ctx context.Context, organizationId string, areaId string, routeId string) error

func (*APIClient) DeleteNetworkExecute

func (a *APIClient) DeleteNetworkExecute(ctx context.Context, projectId string, networkId string) error

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

func (*APIClient) GetNetwork

func (a *APIClient) GetNetwork(ctx context.Context, projectId string, networkId string) ApiGetNetworkRequest

GetNetwork: Get network details.

Get details about a network of a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiGetNetworkRequest

func (*APIClient) GetNetworkArea

func (a *APIClient) GetNetworkArea(ctx context.Context, organizationId string, areaId string) ApiGetNetworkAreaRequest

GetNetworkArea: Get details about a network area.

Get details about a network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiGetNetworkAreaRequest

func (*APIClient) GetNetworkAreaExecute

func (a *APIClient) GetNetworkAreaExecute(ctx context.Context, organizationId string, areaId string) (*NetworkArea, error)

func (*APIClient) GetNetworkAreaRange

func (a *APIClient) GetNetworkAreaRange(ctx context.Context, organizationId string, areaId string, networkRangeId string) ApiGetNetworkAreaRangeRequest

GetNetworkAreaRange: Get details about a network range.

Get details about a network range in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param networkRangeId The identifier (ID) of a STACKIT Network Range.
@return ApiGetNetworkAreaRangeRequest

func (*APIClient) GetNetworkAreaRangeExecute

func (a *APIClient) GetNetworkAreaRangeExecute(ctx context.Context, organizationId string, areaId string, networkRangeId string) (*NetworkRange, error)

func (*APIClient) GetNetworkAreaRoute

func (a *APIClient) GetNetworkAreaRoute(ctx context.Context, organizationId string, areaId string, routeId string) ApiGetNetworkAreaRouteRequest

GetNetworkAreaRoute: Get details about a network route.

Get details about a network route defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@param routeId The identifier (ID) of a STACKIT Route.
@return ApiGetNetworkAreaRouteRequest

func (*APIClient) GetNetworkAreaRouteExecute

func (a *APIClient) GetNetworkAreaRouteExecute(ctx context.Context, organizationId string, areaId string, routeId string) (*Route, error)

func (*APIClient) GetNetworkExecute

func (a *APIClient) GetNetworkExecute(ctx context.Context, projectId string, networkId string) (*Network, error)

func (*APIClient) GetOrganizationRequest

func (a *APIClient) GetOrganizationRequest(ctx context.Context, organizationId string, requestId string) ApiGetOrganizationRequestRequest

GetOrganizationRequest: Lookup an organization request ID.

Lookup an organization request ID from a previous request. This allows to find resource IDs of resources generated during a organization request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetOrganizationRequestRequest

func (*APIClient) GetOrganizationRequestExecute

func (a *APIClient) GetOrganizationRequestExecute(ctx context.Context, organizationId string, requestId string) (*Request, error)

func (*APIClient) GetProjectRequest

func (a *APIClient) GetProjectRequest(ctx context.Context, projectId string, requestId string) ApiGetProjectRequestRequest

GetProjectRequest: Lookup a project request ID.

Lookup a project request ID from a previous request. This allows to find resource IDs of resources generated during a projects request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param requestId The identifier (ID) of a STACKIT Request.
@return ApiGetProjectRequestRequest

func (*APIClient) GetProjectRequestExecute

func (a *APIClient) GetProjectRequestExecute(ctx context.Context, projectId string, requestId string) (*Request, error)

func (*APIClient) ListNetworkAreaProjects

func (a *APIClient) ListNetworkAreaProjects(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaProjectsRequest

ListNetworkAreaProjects: List all projects using a network area.

Get a list of all projects using a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaProjectsRequest

func (*APIClient) ListNetworkAreaProjectsExecute

func (a *APIClient) ListNetworkAreaProjectsExecute(ctx context.Context, organizationId string, areaId string) (*ProjectListResponse, error)

func (*APIClient) ListNetworkAreaRanges

func (a *APIClient) ListNetworkAreaRanges(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRangesRequest

ListNetworkAreaRanges: List all network ranges in a network area.

Get a list of all network ranges in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaRangesRequest

func (*APIClient) ListNetworkAreaRangesExecute

func (a *APIClient) ListNetworkAreaRangesExecute(ctx context.Context, organizationId string, areaId string) (*NetworkRangeListResponse, error)

func (*APIClient) ListNetworkAreaRoutes

func (a *APIClient) ListNetworkAreaRoutes(ctx context.Context, organizationId string, areaId string) ApiListNetworkAreaRoutesRequest

ListNetworkAreaRoutes: List all network routes in a network area.

Get a list of all network routes defined in a network area.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiListNetworkAreaRoutesRequest

func (*APIClient) ListNetworkAreaRoutesExecute

func (a *APIClient) ListNetworkAreaRoutesExecute(ctx context.Context, organizationId string, areaId string) (*RouteListResponse, error)

func (*APIClient) ListNetworkAreas

func (a *APIClient) ListNetworkAreas(ctx context.Context, organizationId string) ApiListNetworkAreasRequest

ListNetworkAreas: List all network areas in an organization.

Get a list of all visible network areas defined in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@return ApiListNetworkAreasRequest

func (*APIClient) ListNetworkAreasExecute

func (a *APIClient) ListNetworkAreasExecute(ctx context.Context, organizationId string) (*NetworkAreaListResponse, error)

func (*APIClient) ListNetworks

func (a *APIClient) ListNetworks(ctx context.Context, projectId string) ApiListNetworksRequest

ListNetworks: List all networks inside a project.

Get a list of all networks inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@return ApiListNetworksRequest

func (*APIClient) ListNetworksExecute

func (a *APIClient) ListNetworksExecute(ctx context.Context, projectId string) (*NetworkListResponse, error)

func (*APIClient) PartialUpdateNetwork

func (a *APIClient) PartialUpdateNetwork(ctx context.Context, projectId string, networkId string) ApiPartialUpdateNetworkRequest

PartialUpdateNetwork: Update network settings.

Update the settings of a network inside a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The identifier (ID) of a STACKIT Project.
@param networkId The identifier (ID) of a STACKIT Network.
@return ApiPartialUpdateNetworkRequest

func (*APIClient) PartialUpdateNetworkArea

func (a *APIClient) PartialUpdateNetworkArea(ctx context.Context, organizationId string, areaId string) ApiPartialUpdateNetworkAreaRequest

PartialUpdateNetworkArea: Update network area settings.

Update the settings of a network area in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The identifier (ID) of a STACKIT Organization.
@param areaId The identifier (ID) of a STACKIT Network Area.
@return ApiPartialUpdateNetworkAreaRequest

func (*APIClient) PartialUpdateNetworkAreaExecute

func (a *APIClient) PartialUpdateNetworkAreaExecute(ctx context.Context, organizationId string, areaId string) (*NetworkArea, error)

func (*APIClient) PartialUpdateNetworkExecute

func (a *APIClient) PartialUpdateNetworkExecute(ctx context.Context, projectId string, networkId string) error

type ApiCreateNetworkAreaRangeRequest

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

func (ApiCreateNetworkAreaRangeRequest) CreateNetworkAreaRangePayload

func (r ApiCreateNetworkAreaRangeRequest) CreateNetworkAreaRangePayload(createNetworkAreaRangePayload CreateNetworkAreaRangePayload) ApiCreateNetworkAreaRangeRequest

func (ApiCreateNetworkAreaRangeRequest) Execute

type ApiCreateNetworkAreaRequest

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

func (ApiCreateNetworkAreaRequest) CreateNetworkAreaPayload

func (r ApiCreateNetworkAreaRequest) CreateNetworkAreaPayload(createNetworkAreaPayload CreateNetworkAreaPayload) ApiCreateNetworkAreaRequest

func (ApiCreateNetworkAreaRequest) Execute

type ApiCreateNetworkAreaRouteRequest

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

func (ApiCreateNetworkAreaRouteRequest) CreateNetworkAreaRoutePayload

func (r ApiCreateNetworkAreaRouteRequest) CreateNetworkAreaRoutePayload(createNetworkAreaRoutePayload CreateNetworkAreaRoutePayload) ApiCreateNetworkAreaRouteRequest

func (ApiCreateNetworkAreaRouteRequest) Execute

type ApiCreateNetworkRequest

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

func (ApiCreateNetworkRequest) CreateNetworkPayload

func (r ApiCreateNetworkRequest) CreateNetworkPayload(createNetworkPayload CreateNetworkPayload) ApiCreateNetworkRequest

func (ApiCreateNetworkRequest) Execute

func (r ApiCreateNetworkRequest) Execute() (*Network, error)

type ApiDeleteNetworkAreaRangeRequest

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

func (ApiDeleteNetworkAreaRangeRequest) Execute

type ApiDeleteNetworkAreaRequest

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

func (ApiDeleteNetworkAreaRequest) Execute

func (r ApiDeleteNetworkAreaRequest) Execute() error

type ApiDeleteNetworkAreaRouteRequest

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

func (ApiDeleteNetworkAreaRouteRequest) Execute

type ApiDeleteNetworkRequest

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

func (ApiDeleteNetworkRequest) Execute

func (r ApiDeleteNetworkRequest) Execute() error

type ApiGetNetworkAreaRangeRequest

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

func (ApiGetNetworkAreaRangeRequest) Execute

type ApiGetNetworkAreaRequest

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

func (ApiGetNetworkAreaRequest) Execute

func (r ApiGetNetworkAreaRequest) Execute() (*NetworkArea, error)

type ApiGetNetworkAreaRouteRequest

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

func (ApiGetNetworkAreaRouteRequest) Execute

func (r ApiGetNetworkAreaRouteRequest) Execute() (*Route, error)

type ApiGetNetworkRequest

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

func (ApiGetNetworkRequest) Execute

func (r ApiGetNetworkRequest) Execute() (*Network, error)

type ApiGetOrganizationRequestRequest

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

func (ApiGetOrganizationRequestRequest) Execute

type ApiGetProjectRequestRequest

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

func (ApiGetProjectRequestRequest) Execute

func (r ApiGetProjectRequestRequest) Execute() (*Request, error)

type ApiListNetworkAreaProjectsRequest

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

func (ApiListNetworkAreaProjectsRequest) Execute

type ApiListNetworkAreaRangesRequest

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

func (ApiListNetworkAreaRangesRequest) Execute

type ApiListNetworkAreaRoutesRequest

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

func (ApiListNetworkAreaRoutesRequest) Execute

type ApiListNetworkAreasRequest

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

func (ApiListNetworkAreasRequest) Execute

type ApiListNetworksRequest

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

func (ApiListNetworksRequest) Execute

func (ApiListNetworksRequest) LabelSelector added in v0.11.0

func (r ApiListNetworksRequest) LabelSelector(labelSelector string) ApiListNetworksRequest

type ApiPartialUpdateNetworkAreaRequest

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

func (ApiPartialUpdateNetworkAreaRequest) Execute

func (ApiPartialUpdateNetworkAreaRequest) PartialUpdateNetworkAreaPayload

func (r ApiPartialUpdateNetworkAreaRequest) PartialUpdateNetworkAreaPayload(partialUpdateNetworkAreaPayload PartialUpdateNetworkAreaPayload) ApiPartialUpdateNetworkAreaRequest

type ApiPartialUpdateNetworkRequest

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

func (ApiPartialUpdateNetworkRequest) Execute

func (ApiPartialUpdateNetworkRequest) PartialUpdateNetworkPayload

func (r ApiPartialUpdateNetworkRequest) PartialUpdateNetworkPayload(partialUpdateNetworkPayload PartialUpdateNetworkPayload) ApiPartialUpdateNetworkRequest

type Area

type Area struct {
	// A list containing DNS Servers/Nameservers for IPv4.
	DefaultNameservers *[]string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	NetworkRanges *[]NetworkRange `json:"networkRanges,omitempty"`
	// A list of routes.
	Routes *[]Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	TransferNetwork *string `json:"transferNetwork,omitempty"`
}

Area The basic properties of a network area.

func NewArea added in v0.12.0

func NewArea() *Area

NewArea instantiates a new Area object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAreaWithDefaults added in v0.12.0

func NewAreaWithDefaults() *Area

NewAreaWithDefaults instantiates a new Area object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Area) GetDefaultNameservers added in v0.12.0

func (o *Area) GetDefaultNameservers() *[]string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*Area) GetDefaultNameserversOk added in v0.12.0

func (o *Area) GetDefaultNameserversOk() (*[]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Area) GetNetworkRanges added in v0.12.0

func (o *Area) GetNetworkRanges() *[]NetworkRange

GetNetworkRanges returns the NetworkRanges field value if set, zero value otherwise.

func (*Area) GetNetworkRangesOk added in v0.12.0

func (o *Area) GetNetworkRangesOk() (*[]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Area) GetRoutes added in v0.12.0

func (o *Area) GetRoutes() *[]Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*Area) GetRoutesOk added in v0.12.0

func (o *Area) GetRoutesOk() (*[]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Area) GetTransferNetwork added in v0.12.0

func (o *Area) GetTransferNetwork() *string

GetTransferNetwork returns the TransferNetwork field value if set, zero value otherwise.

func (*Area) GetTransferNetworkOk added in v0.12.0

func (o *Area) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Area) HasDefaultNameservers added in v0.12.0

func (o *Area) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*Area) HasNetworkRanges added in v0.12.0

func (o *Area) HasNetworkRanges() bool

HasNetworkRanges returns a boolean if a field has been set.

func (*Area) HasRoutes added in v0.12.0

func (o *Area) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*Area) HasTransferNetwork added in v0.12.0

func (o *Area) HasTransferNetwork() bool

HasTransferNetwork returns a boolean if a field has been set.

func (*Area) SetDefaultNameservers added in v0.12.0

func (o *Area) SetDefaultNameservers(v *[]string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*Area) SetNetworkRanges added in v0.12.0

func (o *Area) SetNetworkRanges(v *[]NetworkRange)

SetNetworkRanges gets a reference to the given []NetworkRange and assigns it to the NetworkRanges field.

func (*Area) SetRoutes added in v0.12.0

func (o *Area) SetRoutes(v *[]Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*Area) SetTransferNetwork added in v0.12.0

func (o *Area) SetTransferNetwork(v *string)

SetTransferNetwork gets a reference to the given string and assigns it to the TransferNetwork field.

func (Area) ToMap added in v0.12.0

func (o Area) ToMap() (map[string]interface{}, error)

type AreaConfig

type AreaConfig struct {
	DefaultNameservers *[]string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	// REQUIRED
	NetworkRanges *[]NetworkRange `json:"networkRanges"`
	// A list of routes.
	Routes *[]Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	// REQUIRED
	TransferNetwork *string `json:"transferNetwork"`
}

AreaConfig The basic network area object.

func NewAreaConfig added in v0.12.0

func NewAreaConfig(networkRanges *[]NetworkRange, transferNetwork *string) *AreaConfig

NewAreaConfig instantiates a new AreaConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAreaConfigWithDefaults added in v0.12.0

func NewAreaConfigWithDefaults() *AreaConfig

NewAreaConfigWithDefaults instantiates a new AreaConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AreaConfig) GetDefaultNameservers added in v0.12.0

func (o *AreaConfig) GetDefaultNameservers() *[]string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*AreaConfig) GetDefaultNameserversOk added in v0.12.0

func (o *AreaConfig) GetDefaultNameserversOk() (*[]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaConfig) GetNetworkRanges added in v0.12.0

func (o *AreaConfig) GetNetworkRanges() *[]NetworkRange

GetNetworkRanges returns the NetworkRanges field value

func (*AreaConfig) GetNetworkRangesOk added in v0.12.0

func (o *AreaConfig) GetNetworkRangesOk() (*[]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.

func (*AreaConfig) GetRoutes added in v0.12.0

func (o *AreaConfig) GetRoutes() *[]Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*AreaConfig) GetRoutesOk added in v0.12.0

func (o *AreaConfig) GetRoutesOk() (*[]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaConfig) GetTransferNetwork added in v0.12.0

func (o *AreaConfig) GetTransferNetwork() *string

GetTransferNetwork returns the TransferNetwork field value

func (*AreaConfig) GetTransferNetworkOk added in v0.12.0

func (o *AreaConfig) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.

func (*AreaConfig) HasDefaultNameservers added in v0.12.0

func (o *AreaConfig) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*AreaConfig) HasRoutes added in v0.12.0

func (o *AreaConfig) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*AreaConfig) SetDefaultNameservers added in v0.12.0

func (o *AreaConfig) SetDefaultNameservers(v *[]string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*AreaConfig) SetNetworkRanges added in v0.12.0

func (o *AreaConfig) SetNetworkRanges(v *[]NetworkRange)

SetNetworkRanges sets field value

func (*AreaConfig) SetRoutes added in v0.12.0

func (o *AreaConfig) SetRoutes(v *[]Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*AreaConfig) SetTransferNetwork added in v0.12.0

func (o *AreaConfig) SetTransferNetwork(v *string)

SetTransferNetwork sets field value

func (AreaConfig) ToMap added in v0.12.0

func (o AreaConfig) ToMap() (map[string]interface{}, error)

type AreaPrefixConfigIPv4

type AreaPrefixConfigIPv4 struct {
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int64 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int64 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int64 `json:"minPrefixLen,omitempty"`
}

AreaPrefixConfigIPv4 The IPv4 prefix config for a network area.

func NewAreaPrefixConfigIPv4 added in v0.12.0

func NewAreaPrefixConfigIPv4() *AreaPrefixConfigIPv4

NewAreaPrefixConfigIPv4 instantiates a new AreaPrefixConfigIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAreaPrefixConfigIPv4WithDefaults added in v0.12.0

func NewAreaPrefixConfigIPv4WithDefaults() *AreaPrefixConfigIPv4

NewAreaPrefixConfigIPv4WithDefaults instantiates a new AreaPrefixConfigIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AreaPrefixConfigIPv4) GetDefaultPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLen() *int64

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*AreaPrefixConfigIPv4) GetDefaultPrefixLenOk added in v0.12.0

func (o *AreaPrefixConfigIPv4) GetDefaultPrefixLenOk() (*int64, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaPrefixConfigIPv4) GetMaxPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) GetMaxPrefixLen() *int64

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*AreaPrefixConfigIPv4) GetMaxPrefixLenOk added in v0.12.0

func (o *AreaPrefixConfigIPv4) GetMaxPrefixLenOk() (*int64, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaPrefixConfigIPv4) GetMinPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) GetMinPrefixLen() *int64

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*AreaPrefixConfigIPv4) GetMinPrefixLenOk added in v0.12.0

func (o *AreaPrefixConfigIPv4) GetMinPrefixLenOk() (*int64, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AreaPrefixConfigIPv4) HasDefaultPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*AreaPrefixConfigIPv4) HasMaxPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*AreaPrefixConfigIPv4) HasMinPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (*AreaPrefixConfigIPv4) SetDefaultPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) SetDefaultPrefixLen(v *int64)

SetDefaultPrefixLen gets a reference to the given int64 and assigns it to the DefaultPrefixLen field.

func (*AreaPrefixConfigIPv4) SetMaxPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) SetMaxPrefixLen(v *int64)

SetMaxPrefixLen gets a reference to the given int64 and assigns it to the MaxPrefixLen field.

func (*AreaPrefixConfigIPv4) SetMinPrefixLen added in v0.12.0

func (o *AreaPrefixConfigIPv4) SetMinPrefixLen(v *int64)

SetMinPrefixLen gets a reference to the given int64 and assigns it to the MinPrefixLen field.

func (AreaPrefixConfigIPv4) ToMap added in v0.12.0

func (o AreaPrefixConfigIPv4) ToMap() (map[string]interface{}, error)

type CreateAreaAddressFamily

type CreateAreaAddressFamily struct {
	Ipv4 *CreateAreaIPv4 `json:"ipv4,omitempty"`
}

CreateAreaAddressFamily The addressFamily object for a area create request.

func NewCreateAreaAddressFamily added in v0.12.0

func NewCreateAreaAddressFamily() *CreateAreaAddressFamily

NewCreateAreaAddressFamily instantiates a new CreateAreaAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAreaAddressFamilyWithDefaults added in v0.12.0

func NewCreateAreaAddressFamilyWithDefaults() *CreateAreaAddressFamily

NewCreateAreaAddressFamilyWithDefaults instantiates a new CreateAreaAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAreaAddressFamily) GetIpv4 added in v0.12.0

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateAreaAddressFamily) GetIpv4Ok added in v0.12.0

func (o *CreateAreaAddressFamily) GetIpv4Ok() (*CreateAreaIPv4, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaAddressFamily) HasIpv4 added in v0.12.0

func (o *CreateAreaAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateAreaAddressFamily) SetIpv4 added in v0.12.0

func (o *CreateAreaAddressFamily) SetIpv4(v *CreateAreaIPv4)

SetIpv4 gets a reference to the given CreateAreaIPv4 and assigns it to the Ipv4 field.

func (CreateAreaAddressFamily) ToMap added in v0.12.0

func (o CreateAreaAddressFamily) ToMap() (map[string]interface{}, error)

type CreateAreaIPv4

type CreateAreaIPv4 struct {
	DefaultNameservers *[]string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	// REQUIRED
	NetworkRanges *[]NetworkRange `json:"networkRanges"`
	// A list of routes.
	Routes *[]Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	// REQUIRED
	TransferNetwork *string `json:"transferNetwork"`
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int64 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int64 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int64 `json:"minPrefixLen,omitempty"`
}

CreateAreaIPv4 The config object for a IPv4 network area.

func NewCreateAreaIPv4 added in v0.12.0

func NewCreateAreaIPv4(networkRanges *[]NetworkRange, transferNetwork *string) *CreateAreaIPv4

NewCreateAreaIPv4 instantiates a new CreateAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAreaIPv4WithDefaults added in v0.12.0

func NewCreateAreaIPv4WithDefaults() *CreateAreaIPv4

NewCreateAreaIPv4WithDefaults instantiates a new CreateAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAreaIPv4) GetDefaultNameservers added in v0.12.0

func (o *CreateAreaIPv4) GetDefaultNameservers() *[]string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetDefaultNameserversOk added in v0.12.0

func (o *CreateAreaIPv4) GetDefaultNameserversOk() (*[]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetDefaultPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) GetDefaultPrefixLen() *int64

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetDefaultPrefixLenOk added in v0.12.0

func (o *CreateAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetMaxPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) GetMaxPrefixLen() *int64

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetMaxPrefixLenOk added in v0.12.0

func (o *CreateAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetMinPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) GetMinPrefixLen() *int64

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetMinPrefixLenOk added in v0.12.0

func (o *CreateAreaIPv4) GetMinPrefixLenOk() (*int64, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetNetworkRanges added in v0.12.0

func (o *CreateAreaIPv4) GetNetworkRanges() *[]NetworkRange

GetNetworkRanges returns the NetworkRanges field value

func (*CreateAreaIPv4) GetNetworkRangesOk added in v0.12.0

func (o *CreateAreaIPv4) GetNetworkRangesOk() (*[]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetRoutes added in v0.12.0

func (o *CreateAreaIPv4) GetRoutes() *[]Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*CreateAreaIPv4) GetRoutesOk added in v0.12.0

func (o *CreateAreaIPv4) GetRoutesOk() (*[]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateAreaIPv4) GetTransferNetwork added in v0.12.0

func (o *CreateAreaIPv4) GetTransferNetwork() *string

GetTransferNetwork returns the TransferNetwork field value

func (*CreateAreaIPv4) GetTransferNetworkOk added in v0.12.0

func (o *CreateAreaIPv4) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value and a boolean to check if the value has been set.

func (*CreateAreaIPv4) HasDefaultNameservers added in v0.12.0

func (o *CreateAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasDefaultPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasMaxPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasMinPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (*CreateAreaIPv4) HasRoutes added in v0.12.0

func (o *CreateAreaIPv4) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*CreateAreaIPv4) SetDefaultNameservers added in v0.12.0

func (o *CreateAreaIPv4) SetDefaultNameservers(v *[]string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*CreateAreaIPv4) SetDefaultPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) SetDefaultPrefixLen(v *int64)

SetDefaultPrefixLen gets a reference to the given int64 and assigns it to the DefaultPrefixLen field.

func (*CreateAreaIPv4) SetMaxPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) SetMaxPrefixLen(v *int64)

SetMaxPrefixLen gets a reference to the given int64 and assigns it to the MaxPrefixLen field.

func (*CreateAreaIPv4) SetMinPrefixLen added in v0.12.0

func (o *CreateAreaIPv4) SetMinPrefixLen(v *int64)

SetMinPrefixLen gets a reference to the given int64 and assigns it to the MinPrefixLen field.

func (*CreateAreaIPv4) SetNetworkRanges added in v0.12.0

func (o *CreateAreaIPv4) SetNetworkRanges(v *[]NetworkRange)

SetNetworkRanges sets field value

func (*CreateAreaIPv4) SetRoutes added in v0.12.0

func (o *CreateAreaIPv4) SetRoutes(v *[]Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*CreateAreaIPv4) SetTransferNetwork added in v0.12.0

func (o *CreateAreaIPv4) SetTransferNetwork(v *string)

SetTransferNetwork sets field value

func (CreateAreaIPv4) ToMap added in v0.12.0

func (o CreateAreaIPv4) ToMap() (map[string]interface{}, error)

type CreateNetworkAddressFamily

type CreateNetworkAddressFamily struct {
	Ipv4 *CreateNetworkIPv4Body `json:"ipv4,omitempty"`
	Ipv6 *CreateNetworkIPv6Body `json:"ipv6,omitempty"`
}

CreateNetworkAddressFamily The addressFamily object for a network create request.

func NewCreateNetworkAddressFamily added in v0.12.0

func NewCreateNetworkAddressFamily() *CreateNetworkAddressFamily

NewCreateNetworkAddressFamily instantiates a new CreateNetworkAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAddressFamilyWithDefaults added in v0.12.0

func NewCreateNetworkAddressFamilyWithDefaults() *CreateNetworkAddressFamily

NewCreateNetworkAddressFamilyWithDefaults instantiates a new CreateNetworkAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAddressFamily) GetIpv4 added in v0.12.0

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateNetworkAddressFamily) GetIpv4Ok added in v0.12.0

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkAddressFamily) GetIpv6 added in v0.12.0

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*CreateNetworkAddressFamily) GetIpv6Ok added in v0.12.0

GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkAddressFamily) HasIpv4 added in v0.12.0

func (o *CreateNetworkAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNetworkAddressFamily) HasIpv6 added in v0.12.0

func (o *CreateNetworkAddressFamily) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*CreateNetworkAddressFamily) SetIpv4 added in v0.12.0

SetIpv4 gets a reference to the given CreateNetworkIPv4Body and assigns it to the Ipv4 field.

func (*CreateNetworkAddressFamily) SetIpv6 added in v0.12.0

SetIpv6 gets a reference to the given CreateNetworkIPv6Body and assigns it to the Ipv6 field.

func (CreateNetworkAddressFamily) ToMap added in v0.12.0

func (o CreateNetworkAddressFamily) ToMap() (map[string]interface{}, error)

type CreateNetworkAreaPayload

type CreateNetworkAreaPayload struct {
	// REQUIRED
	AddressFamily *CreateAreaAddressFamily `json:"addressFamily"`
	// Object that represents the labels of an object.
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	// REQUIRED
	Name *string `json:"name"`
}

CreateNetworkAreaPayload struct for CreateNetworkAreaPayload

func NewCreateNetworkAreaPayload added in v0.12.0

func NewCreateNetworkAreaPayload(addressFamily *CreateAreaAddressFamily, name *string) *CreateNetworkAreaPayload

NewCreateNetworkAreaPayload instantiates a new CreateNetworkAreaPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAreaPayloadWithDefaults added in v0.12.0

func NewCreateNetworkAreaPayloadWithDefaults() *CreateNetworkAreaPayload

NewCreateNetworkAreaPayloadWithDefaults instantiates a new CreateNetworkAreaPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAreaPayload) GetAddressFamily added in v0.12.0

func (o *CreateNetworkAreaPayload) GetAddressFamily() *CreateAreaAddressFamily

GetAddressFamily returns the AddressFamily field value

func (*CreateNetworkAreaPayload) GetAddressFamilyOk added in v0.12.0

func (o *CreateNetworkAreaPayload) GetAddressFamilyOk() (*CreateAreaAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value and a boolean to check if the value has been set.

func (*CreateNetworkAreaPayload) GetLabels added in v0.12.0

func (o *CreateNetworkAreaPayload) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateNetworkAreaPayload) GetLabelsOk added in v0.12.0

func (o *CreateNetworkAreaPayload) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkAreaPayload) GetName added in v0.12.0

func (o *CreateNetworkAreaPayload) GetName() *string

GetName returns the Name field value

func (*CreateNetworkAreaPayload) GetNameOk added in v0.12.0

func (o *CreateNetworkAreaPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateNetworkAreaPayload) HasLabels added in v0.12.0

func (o *CreateNetworkAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNetworkAreaPayload) SetAddressFamily added in v0.12.0

func (o *CreateNetworkAreaPayload) SetAddressFamily(v *CreateAreaAddressFamily)

SetAddressFamily sets field value

func (*CreateNetworkAreaPayload) SetLabels added in v0.12.0

func (o *CreateNetworkAreaPayload) SetLabels(v *map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateNetworkAreaPayload) SetName added in v0.12.0

func (o *CreateNetworkAreaPayload) SetName(v *string)

SetName sets field value

func (CreateNetworkAreaPayload) ToMap added in v0.12.0

func (o CreateNetworkAreaPayload) ToMap() (map[string]interface{}, error)

type CreateNetworkAreaRangePayload

type CreateNetworkAreaRangePayload struct {
	// A list of network ranges.
	Ipv4 *[]NetworkRange `json:"ipv4,omitempty"`
}

CreateNetworkAreaRangePayload struct for CreateNetworkAreaRangePayload

func NewCreateNetworkAreaRangePayload added in v0.12.0

func NewCreateNetworkAreaRangePayload() *CreateNetworkAreaRangePayload

NewCreateNetworkAreaRangePayload instantiates a new CreateNetworkAreaRangePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAreaRangePayloadWithDefaults added in v0.12.0

func NewCreateNetworkAreaRangePayloadWithDefaults() *CreateNetworkAreaRangePayload

NewCreateNetworkAreaRangePayloadWithDefaults instantiates a new CreateNetworkAreaRangePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAreaRangePayload) GetIpv4 added in v0.12.0

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateNetworkAreaRangePayload) GetIpv4Ok added in v0.12.0

func (o *CreateNetworkAreaRangePayload) GetIpv4Ok() (*[]NetworkRange, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkAreaRangePayload) HasIpv4 added in v0.12.0

func (o *CreateNetworkAreaRangePayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNetworkAreaRangePayload) SetIpv4 added in v0.12.0

SetIpv4 gets a reference to the given []NetworkRange and assigns it to the Ipv4 field.

func (CreateNetworkAreaRangePayload) ToMap added in v0.12.0

func (o CreateNetworkAreaRangePayload) ToMap() (map[string]interface{}, error)

type CreateNetworkAreaRoutePayload

type CreateNetworkAreaRoutePayload struct {
	// A list of routes.
	Ipv4 *[]Route `json:"ipv4,omitempty"`
}

CreateNetworkAreaRoutePayload struct for CreateNetworkAreaRoutePayload

func NewCreateNetworkAreaRoutePayload added in v0.12.0

func NewCreateNetworkAreaRoutePayload() *CreateNetworkAreaRoutePayload

NewCreateNetworkAreaRoutePayload instantiates a new CreateNetworkAreaRoutePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkAreaRoutePayloadWithDefaults added in v0.12.0

func NewCreateNetworkAreaRoutePayloadWithDefaults() *CreateNetworkAreaRoutePayload

NewCreateNetworkAreaRoutePayloadWithDefaults instantiates a new CreateNetworkAreaRoutePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkAreaRoutePayload) GetIpv4 added in v0.12.0

func (o *CreateNetworkAreaRoutePayload) GetIpv4() *[]Route

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*CreateNetworkAreaRoutePayload) GetIpv4Ok added in v0.12.0

func (o *CreateNetworkAreaRoutePayload) GetIpv4Ok() (*[]Route, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkAreaRoutePayload) HasIpv4 added in v0.12.0

func (o *CreateNetworkAreaRoutePayload) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*CreateNetworkAreaRoutePayload) SetIpv4 added in v0.12.0

func (o *CreateNetworkAreaRoutePayload) SetIpv4(v *[]Route)

SetIpv4 gets a reference to the given []Route and assigns it to the Ipv4 field.

func (CreateNetworkAreaRoutePayload) ToMap added in v0.12.0

func (o CreateNetworkAreaRoutePayload) ToMap() (map[string]interface{}, error)

type CreateNetworkIPv4Body added in v0.7.0

type CreateNetworkIPv4Body struct {
	Gateway *NullableV1NetworkGateway `json:"gateway,omitempty"`
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers *[]string `json:"nameservers,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	Prefix       *string `json:"prefix,omitempty"`
	PrefixLength *int64  `json:"prefixLength,omitempty"`
}

CreateNetworkIPv4Body The config object for an IPv4 network.

func NewCreateNetworkIPv4Body added in v0.12.0

func NewCreateNetworkIPv4Body() *CreateNetworkIPv4Body

NewCreateNetworkIPv4Body instantiates a new CreateNetworkIPv4Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkIPv4BodyWithDefaults added in v0.12.0

func NewCreateNetworkIPv4BodyWithDefaults() *CreateNetworkIPv4Body

NewCreateNetworkIPv4BodyWithDefaults instantiates a new CreateNetworkIPv4Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkIPv4Body) GetGateway added in v0.12.0

func (o *CreateNetworkIPv4Body) GetGateway() *V1NetworkGateway

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateNetworkIPv4Body) GetGatewayOk added in v0.12.0

func (o *CreateNetworkIPv4Body) GetGatewayOk() (*V1NetworkGateway, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNetworkIPv4Body) GetNameservers added in v0.12.0

func (o *CreateNetworkIPv4Body) GetNameservers() *[]string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*CreateNetworkIPv4Body) GetNameserversOk added in v0.12.0

func (o *CreateNetworkIPv4Body) GetNameserversOk() (*[]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv4Body) GetPrefix added in v0.12.0

func (o *CreateNetworkIPv4Body) GetPrefix() *string

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*CreateNetworkIPv4Body) GetPrefixLength added in v0.12.0

func (o *CreateNetworkIPv4Body) GetPrefixLength() *int64

GetPrefixLength returns the PrefixLength field value if set, zero value otherwise.

func (*CreateNetworkIPv4Body) GetPrefixLengthOk added in v0.12.0

func (o *CreateNetworkIPv4Body) GetPrefixLengthOk() (*int64, bool)

GetPrefixLengthOk returns a tuple with the PrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv4Body) GetPrefixOk added in v0.12.0

func (o *CreateNetworkIPv4Body) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv4Body) HasGateway added in v0.12.0

func (o *CreateNetworkIPv4Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*CreateNetworkIPv4Body) HasNameservers added in v0.12.0

func (o *CreateNetworkIPv4Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*CreateNetworkIPv4Body) HasPrefix added in v0.12.0

func (o *CreateNetworkIPv4Body) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*CreateNetworkIPv4Body) HasPrefixLength added in v0.12.0

func (o *CreateNetworkIPv4Body) HasPrefixLength() bool

HasPrefixLength returns a boolean if a field has been set.

func (*CreateNetworkIPv4Body) SetGateway added in v0.12.0

func (o *CreateNetworkIPv4Body) SetGateway(v *V1NetworkGateway)

SetGateway gets a reference to the given V1NetworkGateway and assigns it to the Gateway field.

func (*CreateNetworkIPv4Body) SetGatewayNil added in v0.12.0

func (o *CreateNetworkIPv4Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*CreateNetworkIPv4Body) SetNameservers added in v0.12.0

func (o *CreateNetworkIPv4Body) SetNameservers(v *[]string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*CreateNetworkIPv4Body) SetPrefix added in v0.12.0

func (o *CreateNetworkIPv4Body) SetPrefix(v *string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*CreateNetworkIPv4Body) SetPrefixLength added in v0.12.0

func (o *CreateNetworkIPv4Body) SetPrefixLength(v *int64)

SetPrefixLength gets a reference to the given int64 and assigns it to the PrefixLength field.

func (CreateNetworkIPv4Body) ToMap added in v0.12.0

func (o CreateNetworkIPv4Body) ToMap() (map[string]interface{}, error)

func (*CreateNetworkIPv4Body) UnsetGateway added in v0.12.0

func (o *CreateNetworkIPv4Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type CreateNetworkIPv6Body added in v0.7.0

type CreateNetworkIPv6Body struct {
	Gateway *NullableV1NetworkGateway `json:"gateway,omitempty"`
	// A list containing DNS Servers/Nameservers for IPv6.
	Nameservers *[]string `json:"nameservers,omitempty"`
	// Classless Inter-Domain Routing (CIDR) for IPv6.
	Prefix       *string `json:"prefix,omitempty"`
	PrefixLength *int64  `json:"prefixLength,omitempty"`
}

CreateNetworkIPv6Body The config object for an IPv6 network.

func NewCreateNetworkIPv6Body added in v0.12.0

func NewCreateNetworkIPv6Body() *CreateNetworkIPv6Body

NewCreateNetworkIPv6Body instantiates a new CreateNetworkIPv6Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkIPv6BodyWithDefaults added in v0.12.0

func NewCreateNetworkIPv6BodyWithDefaults() *CreateNetworkIPv6Body

NewCreateNetworkIPv6BodyWithDefaults instantiates a new CreateNetworkIPv6Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkIPv6Body) GetGateway added in v0.12.0

func (o *CreateNetworkIPv6Body) GetGateway() *V1NetworkGateway

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateNetworkIPv6Body) GetGatewayOk added in v0.12.0

func (o *CreateNetworkIPv6Body) GetGatewayOk() (*V1NetworkGateway, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNetworkIPv6Body) GetNameservers added in v0.12.0

func (o *CreateNetworkIPv6Body) GetNameservers() *[]string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*CreateNetworkIPv6Body) GetNameserversOk added in v0.12.0

func (o *CreateNetworkIPv6Body) GetNameserversOk() (*[]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv6Body) GetPrefix added in v0.12.0

func (o *CreateNetworkIPv6Body) GetPrefix() *string

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*CreateNetworkIPv6Body) GetPrefixLength added in v0.12.0

func (o *CreateNetworkIPv6Body) GetPrefixLength() *int64

GetPrefixLength returns the PrefixLength field value if set, zero value otherwise.

func (*CreateNetworkIPv6Body) GetPrefixLengthOk added in v0.12.0

func (o *CreateNetworkIPv6Body) GetPrefixLengthOk() (*int64, bool)

GetPrefixLengthOk returns a tuple with the PrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv6Body) GetPrefixOk added in v0.12.0

func (o *CreateNetworkIPv6Body) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkIPv6Body) HasGateway added in v0.12.0

func (o *CreateNetworkIPv6Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*CreateNetworkIPv6Body) HasNameservers added in v0.12.0

func (o *CreateNetworkIPv6Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*CreateNetworkIPv6Body) HasPrefix added in v0.12.0

func (o *CreateNetworkIPv6Body) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*CreateNetworkIPv6Body) HasPrefixLength added in v0.12.0

func (o *CreateNetworkIPv6Body) HasPrefixLength() bool

HasPrefixLength returns a boolean if a field has been set.

func (*CreateNetworkIPv6Body) SetGateway added in v0.12.0

func (o *CreateNetworkIPv6Body) SetGateway(v *V1NetworkGateway)

SetGateway gets a reference to the given V1NetworkGateway and assigns it to the Gateway field.

func (*CreateNetworkIPv6Body) SetGatewayNil added in v0.12.0

func (o *CreateNetworkIPv6Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*CreateNetworkIPv6Body) SetNameservers added in v0.12.0

func (o *CreateNetworkIPv6Body) SetNameservers(v *[]string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*CreateNetworkIPv6Body) SetPrefix added in v0.12.0

func (o *CreateNetworkIPv6Body) SetPrefix(v *string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*CreateNetworkIPv6Body) SetPrefixLength added in v0.12.0

func (o *CreateNetworkIPv6Body) SetPrefixLength(v *int64)

SetPrefixLength gets a reference to the given int64 and assigns it to the PrefixLength field.

func (CreateNetworkIPv6Body) ToMap added in v0.12.0

func (o CreateNetworkIPv6Body) ToMap() (map[string]interface{}, error)

func (*CreateNetworkIPv6Body) UnsetGateway added in v0.12.0

func (o *CreateNetworkIPv6Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type CreateNetworkPayload

type CreateNetworkPayload struct {
	AddressFamily *CreateNetworkAddressFamily `json:"addressFamily,omitempty"`
	// Object that represents the labels of an object.
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	// REQUIRED
	Name *string `json:"name"`
	// Shows if the network is routed and therefore accessible from other networks.
	Routed *bool `json:"routed,omitempty"`
}

CreateNetworkPayload Object that represents the request body for a network create.

func NewCreateNetworkPayload added in v0.12.0

func NewCreateNetworkPayload(name *string) *CreateNetworkPayload

NewCreateNetworkPayload instantiates a new CreateNetworkPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateNetworkPayloadWithDefaults added in v0.12.0

func NewCreateNetworkPayloadWithDefaults() *CreateNetworkPayload

NewCreateNetworkPayloadWithDefaults instantiates a new CreateNetworkPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateNetworkPayload) GetAddressFamily added in v0.12.0

func (o *CreateNetworkPayload) GetAddressFamily() *CreateNetworkAddressFamily

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetAddressFamilyOk added in v0.12.0

func (o *CreateNetworkPayload) GetAddressFamilyOk() (*CreateNetworkAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkPayload) GetLabels added in v0.12.0

func (o *CreateNetworkPayload) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetLabelsOk added in v0.12.0

func (o *CreateNetworkPayload) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkPayload) GetName added in v0.12.0

func (o *CreateNetworkPayload) GetName() *string

GetName returns the Name field value

func (*CreateNetworkPayload) GetNameOk added in v0.12.0

func (o *CreateNetworkPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateNetworkPayload) GetRouted added in v0.12.0

func (o *CreateNetworkPayload) GetRouted() *bool

GetRouted returns the Routed field value if set, zero value otherwise.

func (*CreateNetworkPayload) GetRoutedOk added in v0.12.0

func (o *CreateNetworkPayload) GetRoutedOk() (*bool, bool)

GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateNetworkPayload) HasAddressFamily added in v0.12.0

func (o *CreateNetworkPayload) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasLabels added in v0.12.0

func (o *CreateNetworkPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNetworkPayload) HasRouted added in v0.12.0

func (o *CreateNetworkPayload) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (*CreateNetworkPayload) SetAddressFamily added in v0.12.0

func (o *CreateNetworkPayload) SetAddressFamily(v *CreateNetworkAddressFamily)

SetAddressFamily gets a reference to the given CreateNetworkAddressFamily and assigns it to the AddressFamily field.

func (*CreateNetworkPayload) SetLabels added in v0.12.0

func (o *CreateNetworkPayload) SetLabels(v *map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*CreateNetworkPayload) SetName added in v0.12.0

func (o *CreateNetworkPayload) SetName(v *string)

SetName sets field value

func (*CreateNetworkPayload) SetRouted added in v0.12.0

func (o *CreateNetworkPayload) SetRouted(v *bool)

SetRouted gets a reference to the given bool and assigns it to the Routed field.

func (CreateNetworkPayload) ToMap added in v0.12.0

func (o CreateNetworkPayload) ToMap() (map[string]interface{}, error)

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type Error

type Error struct {
	// REQUIRED
	Code *int64 `json:"code"`
	// An error message.
	// REQUIRED
	Msg *string `json:"msg"`
}

Error Error with HTTP error code and an error message.

func NewError added in v0.12.0

func NewError(code *int64, msg *string) *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults added in v0.12.0

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetCode added in v0.12.0

func (o *Error) GetCode() *int64

GetCode returns the Code field value

func (*Error) GetCodeOk added in v0.12.0

func (o *Error) GetCodeOk() (*int64, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*Error) GetMsg added in v0.12.0

func (o *Error) GetMsg() *string

GetMsg returns the Msg field value

func (*Error) GetMsgOk added in v0.12.0

func (o *Error) GetMsgOk() (*string, bool)

GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.

func (*Error) SetCode added in v0.12.0

func (o *Error) SetCode(v *int64)

SetCode sets field value

func (*Error) SetMsg added in v0.12.0

func (o *Error) SetMsg(v *string)

SetMsg sets field value

func (Error) ToMap added in v0.12.0

func (o Error) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Network

type Network struct {
	// Date-time when resource was created.
	CreatedAt *time.Time                `json:"createdAt,omitempty"`
	Gateway   *NullableV1NetworkGateway `json:"gateway,omitempty"`
	Gatewayv6 *NullableV1NetworkGateway `json:"gatewayv6,omitempty"`
	// Object that represents the labels of an object.
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// REQUIRED
	Name *string `json:"name"`
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers *[]string `json:"nameservers,omitempty"`
	// A list containing DNS Servers/Nameservers for IPv6.
	NameserversV6 *[]string `json:"nameserversV6,omitempty"`
	// Universally Unique Identifier (UUID).
	// REQUIRED
	NetworkId  *string   `json:"networkId"`
	Prefixes   *[]string `json:"prefixes,omitempty"`
	PrefixesV6 *[]string `json:"prefixesV6,omitempty"`
	// Object that represents an IP address.
	PublicIp *string `json:"publicIp,omitempty"`
	// Shows if the network is routed and therefore accessible from other networks.
	Routed *bool `json:"routed,omitempty"`
	// The state of a resource object.
	// REQUIRED
	State *string `json:"state"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Network Object that represents a network.

func NewNetwork added in v0.12.0

func NewNetwork(name *string, networkId *string, state *string) *Network

NewNetwork instantiates a new Network object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkWithDefaults added in v0.12.0

func NewNetworkWithDefaults() *Network

NewNetworkWithDefaults instantiates a new Network object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Network) GetCreatedAt added in v0.12.0

func (o *Network) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Network) GetCreatedAtOk added in v0.12.0

func (o *Network) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetGateway added in v0.12.0

func (o *Network) GetGateway() *V1NetworkGateway

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Network) GetGatewayOk added in v0.12.0

func (o *Network) GetGatewayOk() (*V1NetworkGateway, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Network) GetGatewayv6 added in v0.12.0

func (o *Network) GetGatewayv6() *V1NetworkGateway

GetGatewayv6 returns the Gatewayv6 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Network) GetGatewayv6Ok added in v0.12.0

func (o *Network) GetGatewayv6Ok() (*V1NetworkGateway, bool)

GetGatewayv6Ok returns a tuple with the Gatewayv6 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Network) GetLabels added in v0.12.0

func (o *Network) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Network) GetLabelsOk added in v0.12.0

func (o *Network) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetName added in v0.12.0

func (o *Network) GetName() *string

GetName returns the Name field value

func (*Network) GetNameOk added in v0.12.0

func (o *Network) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Network) GetNameservers added in v0.12.0

func (o *Network) GetNameservers() *[]string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*Network) GetNameserversOk added in v0.12.0

func (o *Network) GetNameserversOk() (*[]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetNameserversV6 added in v0.12.0

func (o *Network) GetNameserversV6() *[]string

GetNameserversV6 returns the NameserversV6 field value if set, zero value otherwise.

func (*Network) GetNameserversV6Ok added in v0.12.0

func (o *Network) GetNameserversV6Ok() (*[]string, bool)

GetNameserversV6Ok returns a tuple with the NameserversV6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetNetworkId added in v0.12.0

func (o *Network) GetNetworkId() *string

GetNetworkId returns the NetworkId field value

func (*Network) GetNetworkIdOk added in v0.12.0

func (o *Network) GetNetworkIdOk() (*string, bool)

GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.

func (*Network) GetPrefixes added in v0.12.0

func (o *Network) GetPrefixes() *[]string

GetPrefixes returns the Prefixes field value if set, zero value otherwise.

func (*Network) GetPrefixesOk added in v0.12.0

func (o *Network) GetPrefixesOk() (*[]string, bool)

GetPrefixesOk returns a tuple with the Prefixes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetPrefixesV6 added in v0.12.0

func (o *Network) GetPrefixesV6() *[]string

GetPrefixesV6 returns the PrefixesV6 field value if set, zero value otherwise.

func (*Network) GetPrefixesV6Ok added in v0.12.0

func (o *Network) GetPrefixesV6Ok() (*[]string, bool)

GetPrefixesV6Ok returns a tuple with the PrefixesV6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetPublicIp added in v0.12.0

func (o *Network) GetPublicIp() *string

GetPublicIp returns the PublicIp field value if set, zero value otherwise.

func (*Network) GetPublicIpOk added in v0.12.0

func (o *Network) GetPublicIpOk() (*string, bool)

GetPublicIpOk returns a tuple with the PublicIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetRouted added in v0.12.0

func (o *Network) GetRouted() *bool

GetRouted returns the Routed field value if set, zero value otherwise.

func (*Network) GetRoutedOk added in v0.12.0

func (o *Network) GetRoutedOk() (*bool, bool)

GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetState added in v0.12.0

func (o *Network) GetState() *string

GetState returns the State field value

func (*Network) GetStateOk added in v0.12.0

func (o *Network) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*Network) GetUpdatedAt added in v0.12.0

func (o *Network) GetUpdatedAt() *time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Network) GetUpdatedAtOk added in v0.12.0

func (o *Network) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) HasCreatedAt added in v0.12.0

func (o *Network) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Network) HasGateway added in v0.12.0

func (o *Network) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*Network) HasGatewayv6 added in v0.12.0

func (o *Network) HasGatewayv6() bool

HasGatewayv6 returns a boolean if a field has been set.

func (*Network) HasLabels added in v0.12.0

func (o *Network) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Network) HasNameservers added in v0.12.0

func (o *Network) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*Network) HasNameserversV6 added in v0.12.0

func (o *Network) HasNameserversV6() bool

HasNameserversV6 returns a boolean if a field has been set.

func (*Network) HasPrefixes added in v0.12.0

func (o *Network) HasPrefixes() bool

HasPrefixes returns a boolean if a field has been set.

func (*Network) HasPrefixesV6 added in v0.12.0

func (o *Network) HasPrefixesV6() bool

HasPrefixesV6 returns a boolean if a field has been set.

func (*Network) HasPublicIp added in v0.12.0

func (o *Network) HasPublicIp() bool

HasPublicIp returns a boolean if a field has been set.

func (*Network) HasRouted added in v0.12.0

func (o *Network) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (*Network) HasUpdatedAt added in v0.12.0

func (o *Network) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Network) SetCreatedAt added in v0.12.0

func (o *Network) SetCreatedAt(v *time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Network) SetGateway added in v0.12.0

func (o *Network) SetGateway(v *V1NetworkGateway)

SetGateway gets a reference to the given V1NetworkGateway and assigns it to the Gateway field.

func (*Network) SetGatewayNil added in v0.12.0

func (o *Network) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*Network) SetGatewayv6 added in v0.12.0

func (o *Network) SetGatewayv6(v *V1NetworkGateway)

SetGatewayv6 gets a reference to the given V1NetworkGateway and assigns it to the Gatewayv6 field.

func (*Network) SetGatewayv6Nil added in v0.12.0

func (o *Network) SetGatewayv6Nil()

SetGatewayv6Nil sets the value for Gatewayv6 to be an explicit nil

func (*Network) SetLabels added in v0.12.0

func (o *Network) SetLabels(v *map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Network) SetName added in v0.12.0

func (o *Network) SetName(v *string)

SetName sets field value

func (*Network) SetNameservers added in v0.12.0

func (o *Network) SetNameservers(v *[]string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*Network) SetNameserversV6 added in v0.12.0

func (o *Network) SetNameserversV6(v *[]string)

SetNameserversV6 gets a reference to the given []string and assigns it to the NameserversV6 field.

func (*Network) SetNetworkId added in v0.12.0

func (o *Network) SetNetworkId(v *string)

SetNetworkId sets field value

func (*Network) SetPrefixes added in v0.12.0

func (o *Network) SetPrefixes(v *[]string)

SetPrefixes gets a reference to the given []string and assigns it to the Prefixes field.

func (*Network) SetPrefixesV6 added in v0.12.0

func (o *Network) SetPrefixesV6(v *[]string)

SetPrefixesV6 gets a reference to the given []string and assigns it to the PrefixesV6 field.

func (*Network) SetPublicIp added in v0.12.0

func (o *Network) SetPublicIp(v *string)

SetPublicIp gets a reference to the given string and assigns it to the PublicIp field.

func (*Network) SetRouted added in v0.12.0

func (o *Network) SetRouted(v *bool)

SetRouted gets a reference to the given bool and assigns it to the Routed field.

func (*Network) SetState added in v0.12.0

func (o *Network) SetState(v *string)

SetState sets field value

func (*Network) SetUpdatedAt added in v0.12.0

func (o *Network) SetUpdatedAt(v *time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Network) ToMap added in v0.12.0

func (o Network) ToMap() (map[string]interface{}, error)

func (*Network) UnsetGateway added in v0.12.0

func (o *Network) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

func (*Network) UnsetGatewayv6 added in v0.12.0

func (o *Network) UnsetGatewayv6()

UnsetGatewayv6 ensures that no value is present for Gatewayv6, not even an explicit nil

type NetworkArea

type NetworkArea struct {
	// Universally Unique Identifier (UUID).
	// REQUIRED
	AreaId *string `json:"areaId"`
	// Date-time when resource was created.
	CreatedAt *time.Time       `json:"createdAt,omitempty"`
	Ipv4      *NetworkAreaIPv4 `json:"ipv4,omitempty"`
	// Object that represents the labels of an object.
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// REQUIRED
	Name *string `json:"name"`
	// The amount of projects currently referencing a specific area.
	// REQUIRED
	ProjectCount *int64 `json:"projectCount"`
	// The state of a resource object.
	// REQUIRED
	State *string `json:"state"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

NetworkArea Object that represents a network area.

func NewNetworkArea added in v0.12.0

func NewNetworkArea(areaId *string, name *string, projectCount *int64, state *string) *NetworkArea

NewNetworkArea instantiates a new NetworkArea object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkAreaWithDefaults added in v0.12.0

func NewNetworkAreaWithDefaults() *NetworkArea

NewNetworkAreaWithDefaults instantiates a new NetworkArea object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkArea) GetAreaId added in v0.12.0

func (o *NetworkArea) GetAreaId() *string

GetAreaId returns the AreaId field value

func (*NetworkArea) GetAreaIdOk added in v0.12.0

func (o *NetworkArea) GetAreaIdOk() (*string, bool)

GetAreaIdOk returns a tuple with the AreaId field value and a boolean to check if the value has been set.

func (*NetworkArea) GetCreatedAt added in v0.12.0

func (o *NetworkArea) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkArea) GetCreatedAtOk added in v0.12.0

func (o *NetworkArea) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) GetIpv4 added in v0.12.0

func (o *NetworkArea) GetIpv4() *NetworkAreaIPv4

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*NetworkArea) GetIpv4Ok added in v0.12.0

func (o *NetworkArea) GetIpv4Ok() (*NetworkAreaIPv4, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) GetLabels added in v0.12.0

func (o *NetworkArea) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*NetworkArea) GetLabelsOk added in v0.12.0

func (o *NetworkArea) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) GetName added in v0.12.0

func (o *NetworkArea) GetName() *string

GetName returns the Name field value

func (*NetworkArea) GetNameOk added in v0.12.0

func (o *NetworkArea) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*NetworkArea) GetProjectCount added in v0.12.0

func (o *NetworkArea) GetProjectCount() *int64

GetProjectCount returns the ProjectCount field value

func (*NetworkArea) GetProjectCountOk added in v0.12.0

func (o *NetworkArea) GetProjectCountOk() (*int64, bool)

GetProjectCountOk returns a tuple with the ProjectCount field value and a boolean to check if the value has been set.

func (*NetworkArea) GetState added in v0.12.0

func (o *NetworkArea) GetState() *string

GetState returns the State field value

func (*NetworkArea) GetStateOk added in v0.12.0

func (o *NetworkArea) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*NetworkArea) GetUpdatedAt added in v0.12.0

func (o *NetworkArea) GetUpdatedAt() *time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*NetworkArea) GetUpdatedAtOk added in v0.12.0

func (o *NetworkArea) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkArea) HasCreatedAt added in v0.12.0

func (o *NetworkArea) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkArea) HasIpv4 added in v0.12.0

func (o *NetworkArea) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*NetworkArea) HasLabels added in v0.12.0

func (o *NetworkArea) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*NetworkArea) HasUpdatedAt added in v0.12.0

func (o *NetworkArea) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*NetworkArea) SetAreaId added in v0.12.0

func (o *NetworkArea) SetAreaId(v *string)

SetAreaId sets field value

func (*NetworkArea) SetCreatedAt added in v0.12.0

func (o *NetworkArea) SetCreatedAt(v *time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkArea) SetIpv4 added in v0.12.0

func (o *NetworkArea) SetIpv4(v *NetworkAreaIPv4)

SetIpv4 gets a reference to the given NetworkAreaIPv4 and assigns it to the Ipv4 field.

func (*NetworkArea) SetLabels added in v0.12.0

func (o *NetworkArea) SetLabels(v *map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*NetworkArea) SetName added in v0.12.0

func (o *NetworkArea) SetName(v *string)

SetName sets field value

func (*NetworkArea) SetProjectCount added in v0.12.0

func (o *NetworkArea) SetProjectCount(v *int64)

SetProjectCount sets field value

func (*NetworkArea) SetState added in v0.12.0

func (o *NetworkArea) SetState(v *string)

SetState sets field value

func (*NetworkArea) SetUpdatedAt added in v0.12.0

func (o *NetworkArea) SetUpdatedAt(v *time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (NetworkArea) ToMap added in v0.12.0

func (o NetworkArea) ToMap() (map[string]interface{}, error)

type NetworkAreaIPv4

type NetworkAreaIPv4 struct {
	// A list containing DNS Servers/Nameservers for IPv4.
	DefaultNameservers *[]string `json:"defaultNameservers,omitempty"`
	// A list of network ranges.
	NetworkRanges *[]NetworkRange `json:"networkRanges,omitempty"`
	// A list of routes.
	Routes *[]Route `json:"routes,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	TransferNetwork *string `json:"transferNetwork,omitempty"`
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int64 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int64 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int64 `json:"minPrefixLen,omitempty"`
}

NetworkAreaIPv4 The IPv4 properties of a network area.

func NewNetworkAreaIPv4 added in v0.12.0

func NewNetworkAreaIPv4() *NetworkAreaIPv4

NewNetworkAreaIPv4 instantiates a new NetworkAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkAreaIPv4WithDefaults added in v0.12.0

func NewNetworkAreaIPv4WithDefaults() *NetworkAreaIPv4

NewNetworkAreaIPv4WithDefaults instantiates a new NetworkAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkAreaIPv4) GetDefaultNameservers added in v0.12.0

func (o *NetworkAreaIPv4) GetDefaultNameservers() *[]string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetDefaultNameserversOk added in v0.12.0

func (o *NetworkAreaIPv4) GetDefaultNameserversOk() (*[]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetDefaultPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) GetDefaultPrefixLen() *int64

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetDefaultPrefixLenOk added in v0.12.0

func (o *NetworkAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetMaxPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) GetMaxPrefixLen() *int64

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetMaxPrefixLenOk added in v0.12.0

func (o *NetworkAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetMinPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) GetMinPrefixLen() *int64

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetMinPrefixLenOk added in v0.12.0

func (o *NetworkAreaIPv4) GetMinPrefixLenOk() (*int64, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetNetworkRanges added in v0.12.0

func (o *NetworkAreaIPv4) GetNetworkRanges() *[]NetworkRange

GetNetworkRanges returns the NetworkRanges field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetNetworkRangesOk added in v0.12.0

func (o *NetworkAreaIPv4) GetNetworkRangesOk() (*[]NetworkRange, bool)

GetNetworkRangesOk returns a tuple with the NetworkRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetRoutes added in v0.12.0

func (o *NetworkAreaIPv4) GetRoutes() *[]Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetRoutesOk added in v0.12.0

func (o *NetworkAreaIPv4) GetRoutesOk() (*[]Route, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) GetTransferNetwork added in v0.12.0

func (o *NetworkAreaIPv4) GetTransferNetwork() *string

GetTransferNetwork returns the TransferNetwork field value if set, zero value otherwise.

func (*NetworkAreaIPv4) GetTransferNetworkOk added in v0.12.0

func (o *NetworkAreaIPv4) GetTransferNetworkOk() (*string, bool)

GetTransferNetworkOk returns a tuple with the TransferNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAreaIPv4) HasDefaultNameservers added in v0.12.0

func (o *NetworkAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasDefaultPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasMaxPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasMinPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasNetworkRanges added in v0.12.0

func (o *NetworkAreaIPv4) HasNetworkRanges() bool

HasNetworkRanges returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasRoutes added in v0.12.0

func (o *NetworkAreaIPv4) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*NetworkAreaIPv4) HasTransferNetwork added in v0.12.0

func (o *NetworkAreaIPv4) HasTransferNetwork() bool

HasTransferNetwork returns a boolean if a field has been set.

func (*NetworkAreaIPv4) SetDefaultNameservers added in v0.12.0

func (o *NetworkAreaIPv4) SetDefaultNameservers(v *[]string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*NetworkAreaIPv4) SetDefaultPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) SetDefaultPrefixLen(v *int64)

SetDefaultPrefixLen gets a reference to the given int64 and assigns it to the DefaultPrefixLen field.

func (*NetworkAreaIPv4) SetMaxPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) SetMaxPrefixLen(v *int64)

SetMaxPrefixLen gets a reference to the given int64 and assigns it to the MaxPrefixLen field.

func (*NetworkAreaIPv4) SetMinPrefixLen added in v0.12.0

func (o *NetworkAreaIPv4) SetMinPrefixLen(v *int64)

SetMinPrefixLen gets a reference to the given int64 and assigns it to the MinPrefixLen field.

func (*NetworkAreaIPv4) SetNetworkRanges added in v0.12.0

func (o *NetworkAreaIPv4) SetNetworkRanges(v *[]NetworkRange)

SetNetworkRanges gets a reference to the given []NetworkRange and assigns it to the NetworkRanges field.

func (*NetworkAreaIPv4) SetRoutes added in v0.12.0

func (o *NetworkAreaIPv4) SetRoutes(v *[]Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*NetworkAreaIPv4) SetTransferNetwork added in v0.12.0

func (o *NetworkAreaIPv4) SetTransferNetwork(v *string)

SetTransferNetwork gets a reference to the given string and assigns it to the TransferNetwork field.

func (NetworkAreaIPv4) ToMap added in v0.12.0

func (o NetworkAreaIPv4) ToMap() (map[string]interface{}, error)

type NetworkAreaListResponse

type NetworkAreaListResponse struct {
	// A list of network areas.
	// REQUIRED
	Items *[]NetworkArea `json:"items"`
}

NetworkAreaListResponse Network area list response.

func NewNetworkAreaListResponse added in v0.12.0

func NewNetworkAreaListResponse(items *[]NetworkArea) *NetworkAreaListResponse

NewNetworkAreaListResponse instantiates a new NetworkAreaListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkAreaListResponseWithDefaults added in v0.12.0

func NewNetworkAreaListResponseWithDefaults() *NetworkAreaListResponse

NewNetworkAreaListResponseWithDefaults instantiates a new NetworkAreaListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkAreaListResponse) GetItems added in v0.12.0

func (o *NetworkAreaListResponse) GetItems() *[]NetworkArea

GetItems returns the Items field value

func (*NetworkAreaListResponse) GetItemsOk added in v0.12.0

func (o *NetworkAreaListResponse) GetItemsOk() (*[]NetworkArea, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*NetworkAreaListResponse) SetItems added in v0.12.0

func (o *NetworkAreaListResponse) SetItems(v *[]NetworkArea)

SetItems sets field value

func (NetworkAreaListResponse) ToMap added in v0.12.0

func (o NetworkAreaListResponse) ToMap() (map[string]interface{}, error)

type NetworkListResponse

type NetworkListResponse struct {
	// A list of networks.
	// REQUIRED
	Items *[]Network `json:"items"`
}

NetworkListResponse Network list response.

func NewNetworkListResponse added in v0.12.0

func NewNetworkListResponse(items *[]Network) *NetworkListResponse

NewNetworkListResponse instantiates a new NetworkListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkListResponseWithDefaults added in v0.12.0

func NewNetworkListResponseWithDefaults() *NetworkListResponse

NewNetworkListResponseWithDefaults instantiates a new NetworkListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkListResponse) GetItems added in v0.12.0

func (o *NetworkListResponse) GetItems() *[]Network

GetItems returns the Items field value

func (*NetworkListResponse) GetItemsOk added in v0.12.0

func (o *NetworkListResponse) GetItemsOk() (*[]Network, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*NetworkListResponse) SetItems added in v0.12.0

func (o *NetworkListResponse) SetItems(v *[]Network)

SetItems sets field value

func (NetworkListResponse) ToMap added in v0.12.0

func (o NetworkListResponse) ToMap() (map[string]interface{}, error)

type NetworkRange

type NetworkRange struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Universally Unique Identifier (UUID).
	NetworkRangeId *string `json:"networkRangeId,omitempty"`
	// Classless Inter-Domain Routing (CIDR).
	// REQUIRED
	Prefix *string `json:"prefix"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

NetworkRange Object that represents a network range.

func NewNetworkRange added in v0.12.0

func NewNetworkRange(prefix *string) *NetworkRange

NewNetworkRange instantiates a new NetworkRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkRangeWithDefaults added in v0.12.0

func NewNetworkRangeWithDefaults() *NetworkRange

NewNetworkRangeWithDefaults instantiates a new NetworkRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkRange) GetCreatedAt added in v0.12.0

func (o *NetworkRange) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkRange) GetCreatedAtOk added in v0.12.0

func (o *NetworkRange) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkRange) GetNetworkRangeId added in v0.12.0

func (o *NetworkRange) GetNetworkRangeId() *string

GetNetworkRangeId returns the NetworkRangeId field value if set, zero value otherwise.

func (*NetworkRange) GetNetworkRangeIdOk added in v0.12.0

func (o *NetworkRange) GetNetworkRangeIdOk() (*string, bool)

GetNetworkRangeIdOk returns a tuple with the NetworkRangeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkRange) GetPrefix added in v0.12.0

func (o *NetworkRange) GetPrefix() *string

GetPrefix returns the Prefix field value

func (*NetworkRange) GetPrefixOk added in v0.12.0

func (o *NetworkRange) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.

func (*NetworkRange) GetUpdatedAt added in v0.12.0

func (o *NetworkRange) GetUpdatedAt() *time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*NetworkRange) GetUpdatedAtOk added in v0.12.0

func (o *NetworkRange) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkRange) HasCreatedAt added in v0.12.0

func (o *NetworkRange) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkRange) HasNetworkRangeId added in v0.12.0

func (o *NetworkRange) HasNetworkRangeId() bool

HasNetworkRangeId returns a boolean if a field has been set.

func (*NetworkRange) HasUpdatedAt added in v0.12.0

func (o *NetworkRange) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*NetworkRange) SetCreatedAt added in v0.12.0

func (o *NetworkRange) SetCreatedAt(v *time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkRange) SetNetworkRangeId added in v0.12.0

func (o *NetworkRange) SetNetworkRangeId(v *string)

SetNetworkRangeId gets a reference to the given string and assigns it to the NetworkRangeId field.

func (*NetworkRange) SetPrefix added in v0.12.0

func (o *NetworkRange) SetPrefix(v *string)

SetPrefix sets field value

func (*NetworkRange) SetUpdatedAt added in v0.12.0

func (o *NetworkRange) SetUpdatedAt(v *time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (NetworkRange) ToMap added in v0.12.0

func (o NetworkRange) ToMap() (map[string]interface{}, error)

type NetworkRangeListResponse

type NetworkRangeListResponse struct {
	// A list of network ranges.
	// REQUIRED
	Items *[]NetworkRange `json:"items"`
}

NetworkRangeListResponse Network Range list response.

func NewNetworkRangeListResponse added in v0.12.0

func NewNetworkRangeListResponse(items *[]NetworkRange) *NetworkRangeListResponse

NewNetworkRangeListResponse instantiates a new NetworkRangeListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkRangeListResponseWithDefaults added in v0.12.0

func NewNetworkRangeListResponseWithDefaults() *NetworkRangeListResponse

NewNetworkRangeListResponseWithDefaults instantiates a new NetworkRangeListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkRangeListResponse) GetItems added in v0.12.0

func (o *NetworkRangeListResponse) GetItems() *[]NetworkRange

GetItems returns the Items field value

func (*NetworkRangeListResponse) GetItemsOk added in v0.12.0

func (o *NetworkRangeListResponse) GetItemsOk() (*[]NetworkRange, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*NetworkRangeListResponse) SetItems added in v0.12.0

func (o *NetworkRangeListResponse) SetItems(v *[]NetworkRange)

SetItems sets field value

func (NetworkRangeListResponse) ToMap added in v0.12.0

func (o NetworkRangeListResponse) ToMap() (map[string]interface{}, error)

type NullableArea added in v0.12.0

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

func NewNullableArea added in v0.12.0

func NewNullableArea(val *Area) *NullableArea

func (NullableArea) Get added in v0.12.0

func (v NullableArea) Get() *Area

func (NullableArea) IsSet added in v0.12.0

func (v NullableArea) IsSet() bool

func (NullableArea) MarshalJSON added in v0.12.0

func (v NullableArea) MarshalJSON() ([]byte, error)

func (*NullableArea) Set added in v0.12.0

func (v *NullableArea) Set(val *Area)

func (*NullableArea) UnmarshalJSON added in v0.12.0

func (v *NullableArea) UnmarshalJSON(src []byte) error

func (*NullableArea) Unset added in v0.12.0

func (v *NullableArea) Unset()

type NullableAreaConfig added in v0.12.0

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

func NewNullableAreaConfig added in v0.12.0

func NewNullableAreaConfig(val *AreaConfig) *NullableAreaConfig

func (NullableAreaConfig) Get added in v0.12.0

func (v NullableAreaConfig) Get() *AreaConfig

func (NullableAreaConfig) IsSet added in v0.12.0

func (v NullableAreaConfig) IsSet() bool

func (NullableAreaConfig) MarshalJSON added in v0.12.0

func (v NullableAreaConfig) MarshalJSON() ([]byte, error)

func (*NullableAreaConfig) Set added in v0.12.0

func (v *NullableAreaConfig) Set(val *AreaConfig)

func (*NullableAreaConfig) UnmarshalJSON added in v0.12.0

func (v *NullableAreaConfig) UnmarshalJSON(src []byte) error

func (*NullableAreaConfig) Unset added in v0.12.0

func (v *NullableAreaConfig) Unset()

type NullableAreaPrefixConfigIPv4 added in v0.12.0

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

func NewNullableAreaPrefixConfigIPv4 added in v0.12.0

func NewNullableAreaPrefixConfigIPv4(val *AreaPrefixConfigIPv4) *NullableAreaPrefixConfigIPv4

func (NullableAreaPrefixConfigIPv4) Get added in v0.12.0

func (NullableAreaPrefixConfigIPv4) IsSet added in v0.12.0

func (NullableAreaPrefixConfigIPv4) MarshalJSON added in v0.12.0

func (v NullableAreaPrefixConfigIPv4) MarshalJSON() ([]byte, error)

func (*NullableAreaPrefixConfigIPv4) Set added in v0.12.0

func (*NullableAreaPrefixConfigIPv4) UnmarshalJSON added in v0.12.0

func (v *NullableAreaPrefixConfigIPv4) UnmarshalJSON(src []byte) error

func (*NullableAreaPrefixConfigIPv4) Unset added in v0.12.0

func (v *NullableAreaPrefixConfigIPv4) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateAreaAddressFamily added in v0.12.0

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

func NewNullableCreateAreaAddressFamily added in v0.12.0

func NewNullableCreateAreaAddressFamily(val *CreateAreaAddressFamily) *NullableCreateAreaAddressFamily

func (NullableCreateAreaAddressFamily) Get added in v0.12.0

func (NullableCreateAreaAddressFamily) IsSet added in v0.12.0

func (NullableCreateAreaAddressFamily) MarshalJSON added in v0.12.0

func (v NullableCreateAreaAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableCreateAreaAddressFamily) Set added in v0.12.0

func (*NullableCreateAreaAddressFamily) UnmarshalJSON added in v0.12.0

func (v *NullableCreateAreaAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableCreateAreaAddressFamily) Unset added in v0.12.0

type NullableCreateAreaIPv4 added in v0.12.0

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

func NewNullableCreateAreaIPv4 added in v0.12.0

func NewNullableCreateAreaIPv4(val *CreateAreaIPv4) *NullableCreateAreaIPv4

func (NullableCreateAreaIPv4) Get added in v0.12.0

func (NullableCreateAreaIPv4) IsSet added in v0.12.0

func (v NullableCreateAreaIPv4) IsSet() bool

func (NullableCreateAreaIPv4) MarshalJSON added in v0.12.0

func (v NullableCreateAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableCreateAreaIPv4) Set added in v0.12.0

func (*NullableCreateAreaIPv4) UnmarshalJSON added in v0.12.0

func (v *NullableCreateAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableCreateAreaIPv4) Unset added in v0.12.0

func (v *NullableCreateAreaIPv4) Unset()

type NullableCreateNetworkAddressFamily added in v0.12.0

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

func NewNullableCreateNetworkAddressFamily added in v0.12.0

func NewNullableCreateNetworkAddressFamily(val *CreateNetworkAddressFamily) *NullableCreateNetworkAddressFamily

func (NullableCreateNetworkAddressFamily) Get added in v0.12.0

func (NullableCreateNetworkAddressFamily) IsSet added in v0.12.0

func (NullableCreateNetworkAddressFamily) MarshalJSON added in v0.12.0

func (v NullableCreateNetworkAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAddressFamily) Set added in v0.12.0

func (*NullableCreateNetworkAddressFamily) UnmarshalJSON added in v0.12.0

func (v *NullableCreateNetworkAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAddressFamily) Unset added in v0.12.0

type NullableCreateNetworkAreaPayload added in v0.12.0

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

func NewNullableCreateNetworkAreaPayload added in v0.12.0

func NewNullableCreateNetworkAreaPayload(val *CreateNetworkAreaPayload) *NullableCreateNetworkAreaPayload

func (NullableCreateNetworkAreaPayload) Get added in v0.12.0

func (NullableCreateNetworkAreaPayload) IsSet added in v0.12.0

func (NullableCreateNetworkAreaPayload) MarshalJSON added in v0.12.0

func (v NullableCreateNetworkAreaPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAreaPayload) Set added in v0.12.0

func (*NullableCreateNetworkAreaPayload) UnmarshalJSON added in v0.12.0

func (v *NullableCreateNetworkAreaPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAreaPayload) Unset added in v0.12.0

type NullableCreateNetworkAreaRangePayload added in v0.12.0

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

func NewNullableCreateNetworkAreaRangePayload added in v0.12.0

func NewNullableCreateNetworkAreaRangePayload(val *CreateNetworkAreaRangePayload) *NullableCreateNetworkAreaRangePayload

func (NullableCreateNetworkAreaRangePayload) Get added in v0.12.0

func (NullableCreateNetworkAreaRangePayload) IsSet added in v0.12.0

func (NullableCreateNetworkAreaRangePayload) MarshalJSON added in v0.12.0

func (v NullableCreateNetworkAreaRangePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAreaRangePayload) Set added in v0.12.0

func (*NullableCreateNetworkAreaRangePayload) UnmarshalJSON added in v0.12.0

func (v *NullableCreateNetworkAreaRangePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAreaRangePayload) Unset added in v0.12.0

type NullableCreateNetworkAreaRoutePayload added in v0.12.0

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

func NewNullableCreateNetworkAreaRoutePayload added in v0.12.0

func NewNullableCreateNetworkAreaRoutePayload(val *CreateNetworkAreaRoutePayload) *NullableCreateNetworkAreaRoutePayload

func (NullableCreateNetworkAreaRoutePayload) Get added in v0.12.0

func (NullableCreateNetworkAreaRoutePayload) IsSet added in v0.12.0

func (NullableCreateNetworkAreaRoutePayload) MarshalJSON added in v0.12.0

func (v NullableCreateNetworkAreaRoutePayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkAreaRoutePayload) Set added in v0.12.0

func (*NullableCreateNetworkAreaRoutePayload) UnmarshalJSON added in v0.12.0

func (v *NullableCreateNetworkAreaRoutePayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkAreaRoutePayload) Unset added in v0.12.0

type NullableCreateNetworkIPv4Body added in v0.12.0

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

func NewNullableCreateNetworkIPv4Body added in v0.12.0

func NewNullableCreateNetworkIPv4Body(val *CreateNetworkIPv4Body) *NullableCreateNetworkIPv4Body

func (NullableCreateNetworkIPv4Body) Get added in v0.12.0

func (NullableCreateNetworkIPv4Body) IsSet added in v0.12.0

func (NullableCreateNetworkIPv4Body) MarshalJSON added in v0.12.0

func (v NullableCreateNetworkIPv4Body) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv4Body) Set added in v0.12.0

func (*NullableCreateNetworkIPv4Body) UnmarshalJSON added in v0.12.0

func (v *NullableCreateNetworkIPv4Body) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv4Body) Unset added in v0.12.0

func (v *NullableCreateNetworkIPv4Body) Unset()

type NullableCreateNetworkIPv6Body added in v0.12.0

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

func NewNullableCreateNetworkIPv6Body added in v0.12.0

func NewNullableCreateNetworkIPv6Body(val *CreateNetworkIPv6Body) *NullableCreateNetworkIPv6Body

func (NullableCreateNetworkIPv6Body) Get added in v0.12.0

func (NullableCreateNetworkIPv6Body) IsSet added in v0.12.0

func (NullableCreateNetworkIPv6Body) MarshalJSON added in v0.12.0

func (v NullableCreateNetworkIPv6Body) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkIPv6Body) Set added in v0.12.0

func (*NullableCreateNetworkIPv6Body) UnmarshalJSON added in v0.12.0

func (v *NullableCreateNetworkIPv6Body) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkIPv6Body) Unset added in v0.12.0

func (v *NullableCreateNetworkIPv6Body) Unset()

type NullableCreateNetworkPayload added in v0.12.0

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

func NewNullableCreateNetworkPayload added in v0.12.0

func NewNullableCreateNetworkPayload(val *CreateNetworkPayload) *NullableCreateNetworkPayload

func (NullableCreateNetworkPayload) Get added in v0.12.0

func (NullableCreateNetworkPayload) IsSet added in v0.12.0

func (NullableCreateNetworkPayload) MarshalJSON added in v0.12.0

func (v NullableCreateNetworkPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateNetworkPayload) Set added in v0.12.0

func (*NullableCreateNetworkPayload) UnmarshalJSON added in v0.12.0

func (v *NullableCreateNetworkPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateNetworkPayload) Unset added in v0.12.0

func (v *NullableCreateNetworkPayload) Unset()

type NullableError added in v0.12.0

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

func NewNullableError added in v0.12.0

func NewNullableError(val *Error) *NullableError

func (NullableError) Get added in v0.12.0

func (v NullableError) Get() *Error

func (NullableError) IsSet added in v0.12.0

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON added in v0.12.0

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set added in v0.12.0

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON added in v0.12.0

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset added in v0.12.0

func (v *NullableError) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableNetwork added in v0.12.0

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

func NewNullableNetwork added in v0.12.0

func NewNullableNetwork(val *Network) *NullableNetwork

func (NullableNetwork) Get added in v0.12.0

func (v NullableNetwork) Get() *Network

func (NullableNetwork) IsSet added in v0.12.0

func (v NullableNetwork) IsSet() bool

func (NullableNetwork) MarshalJSON added in v0.12.0

func (v NullableNetwork) MarshalJSON() ([]byte, error)

func (*NullableNetwork) Set added in v0.12.0

func (v *NullableNetwork) Set(val *Network)

func (*NullableNetwork) UnmarshalJSON added in v0.12.0

func (v *NullableNetwork) UnmarshalJSON(src []byte) error

func (*NullableNetwork) Unset added in v0.12.0

func (v *NullableNetwork) Unset()

type NullableNetworkArea added in v0.12.0

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

func NewNullableNetworkArea added in v0.12.0

func NewNullableNetworkArea(val *NetworkArea) *NullableNetworkArea

func (NullableNetworkArea) Get added in v0.12.0

func (NullableNetworkArea) IsSet added in v0.12.0

func (v NullableNetworkArea) IsSet() bool

func (NullableNetworkArea) MarshalJSON added in v0.12.0

func (v NullableNetworkArea) MarshalJSON() ([]byte, error)

func (*NullableNetworkArea) Set added in v0.12.0

func (v *NullableNetworkArea) Set(val *NetworkArea)

func (*NullableNetworkArea) UnmarshalJSON added in v0.12.0

func (v *NullableNetworkArea) UnmarshalJSON(src []byte) error

func (*NullableNetworkArea) Unset added in v0.12.0

func (v *NullableNetworkArea) Unset()

type NullableNetworkAreaIPv4 added in v0.12.0

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

func NewNullableNetworkAreaIPv4 added in v0.12.0

func NewNullableNetworkAreaIPv4(val *NetworkAreaIPv4) *NullableNetworkAreaIPv4

func (NullableNetworkAreaIPv4) Get added in v0.12.0

func (NullableNetworkAreaIPv4) IsSet added in v0.12.0

func (v NullableNetworkAreaIPv4) IsSet() bool

func (NullableNetworkAreaIPv4) MarshalJSON added in v0.12.0

func (v NullableNetworkAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableNetworkAreaIPv4) Set added in v0.12.0

func (*NullableNetworkAreaIPv4) UnmarshalJSON added in v0.12.0

func (v *NullableNetworkAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableNetworkAreaIPv4) Unset added in v0.12.0

func (v *NullableNetworkAreaIPv4) Unset()

type NullableNetworkAreaListResponse added in v0.12.0

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

func NewNullableNetworkAreaListResponse added in v0.12.0

func NewNullableNetworkAreaListResponse(val *NetworkAreaListResponse) *NullableNetworkAreaListResponse

func (NullableNetworkAreaListResponse) Get added in v0.12.0

func (NullableNetworkAreaListResponse) IsSet added in v0.12.0

func (NullableNetworkAreaListResponse) MarshalJSON added in v0.12.0

func (v NullableNetworkAreaListResponse) MarshalJSON() ([]byte, error)

func (*NullableNetworkAreaListResponse) Set added in v0.12.0

func (*NullableNetworkAreaListResponse) UnmarshalJSON added in v0.12.0

func (v *NullableNetworkAreaListResponse) UnmarshalJSON(src []byte) error

func (*NullableNetworkAreaListResponse) Unset added in v0.12.0

type NullableNetworkListResponse added in v0.12.0

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

func NewNullableNetworkListResponse added in v0.12.0

func NewNullableNetworkListResponse(val *NetworkListResponse) *NullableNetworkListResponse

func (NullableNetworkListResponse) Get added in v0.12.0

func (NullableNetworkListResponse) IsSet added in v0.12.0

func (NullableNetworkListResponse) MarshalJSON added in v0.12.0

func (v NullableNetworkListResponse) MarshalJSON() ([]byte, error)

func (*NullableNetworkListResponse) Set added in v0.12.0

func (*NullableNetworkListResponse) UnmarshalJSON added in v0.12.0

func (v *NullableNetworkListResponse) UnmarshalJSON(src []byte) error

func (*NullableNetworkListResponse) Unset added in v0.12.0

func (v *NullableNetworkListResponse) Unset()

type NullableNetworkRange added in v0.12.0

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

func NewNullableNetworkRange added in v0.12.0

func NewNullableNetworkRange(val *NetworkRange) *NullableNetworkRange

func (NullableNetworkRange) Get added in v0.12.0

func (NullableNetworkRange) IsSet added in v0.12.0

func (v NullableNetworkRange) IsSet() bool

func (NullableNetworkRange) MarshalJSON added in v0.12.0

func (v NullableNetworkRange) MarshalJSON() ([]byte, error)

func (*NullableNetworkRange) Set added in v0.12.0

func (v *NullableNetworkRange) Set(val *NetworkRange)

func (*NullableNetworkRange) UnmarshalJSON added in v0.12.0

func (v *NullableNetworkRange) UnmarshalJSON(src []byte) error

func (*NullableNetworkRange) Unset added in v0.12.0

func (v *NullableNetworkRange) Unset()

type NullableNetworkRangeListResponse added in v0.12.0

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

func NewNullableNetworkRangeListResponse added in v0.12.0

func NewNullableNetworkRangeListResponse(val *NetworkRangeListResponse) *NullableNetworkRangeListResponse

func (NullableNetworkRangeListResponse) Get added in v0.12.0

func (NullableNetworkRangeListResponse) IsSet added in v0.12.0

func (NullableNetworkRangeListResponse) MarshalJSON added in v0.12.0

func (v NullableNetworkRangeListResponse) MarshalJSON() ([]byte, error)

func (*NullableNetworkRangeListResponse) Set added in v0.12.0

func (*NullableNetworkRangeListResponse) UnmarshalJSON added in v0.12.0

func (v *NullableNetworkRangeListResponse) UnmarshalJSON(src []byte) error

func (*NullableNetworkRangeListResponse) Unset added in v0.12.0

type NullablePartialUpdateNetworkAreaPayload added in v0.12.0

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

func NewNullablePartialUpdateNetworkAreaPayload added in v0.12.0

func NewNullablePartialUpdateNetworkAreaPayload(val *PartialUpdateNetworkAreaPayload) *NullablePartialUpdateNetworkAreaPayload

func (NullablePartialUpdateNetworkAreaPayload) Get added in v0.12.0

func (NullablePartialUpdateNetworkAreaPayload) IsSet added in v0.12.0

func (NullablePartialUpdateNetworkAreaPayload) MarshalJSON added in v0.12.0

func (v NullablePartialUpdateNetworkAreaPayload) MarshalJSON() ([]byte, error)

func (*NullablePartialUpdateNetworkAreaPayload) Set added in v0.12.0

func (*NullablePartialUpdateNetworkAreaPayload) UnmarshalJSON added in v0.12.0

func (v *NullablePartialUpdateNetworkAreaPayload) UnmarshalJSON(src []byte) error

func (*NullablePartialUpdateNetworkAreaPayload) Unset added in v0.12.0

type NullablePartialUpdateNetworkPayload added in v0.12.0

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

func NewNullablePartialUpdateNetworkPayload added in v0.12.0

func NewNullablePartialUpdateNetworkPayload(val *PartialUpdateNetworkPayload) *NullablePartialUpdateNetworkPayload

func (NullablePartialUpdateNetworkPayload) Get added in v0.12.0

func (NullablePartialUpdateNetworkPayload) IsSet added in v0.12.0

func (NullablePartialUpdateNetworkPayload) MarshalJSON added in v0.12.0

func (v NullablePartialUpdateNetworkPayload) MarshalJSON() ([]byte, error)

func (*NullablePartialUpdateNetworkPayload) Set added in v0.12.0

func (*NullablePartialUpdateNetworkPayload) UnmarshalJSON added in v0.12.0

func (v *NullablePartialUpdateNetworkPayload) UnmarshalJSON(src []byte) error

func (*NullablePartialUpdateNetworkPayload) Unset added in v0.12.0

type NullableProjectListResponse added in v0.12.0

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

func NewNullableProjectListResponse added in v0.12.0

func NewNullableProjectListResponse(val *ProjectListResponse) *NullableProjectListResponse

func (NullableProjectListResponse) Get added in v0.12.0

func (NullableProjectListResponse) IsSet added in v0.12.0

func (NullableProjectListResponse) MarshalJSON added in v0.12.0

func (v NullableProjectListResponse) MarshalJSON() ([]byte, error)

func (*NullableProjectListResponse) Set added in v0.12.0

func (*NullableProjectListResponse) UnmarshalJSON added in v0.12.0

func (v *NullableProjectListResponse) UnmarshalJSON(src []byte) error

func (*NullableProjectListResponse) Unset added in v0.12.0

func (v *NullableProjectListResponse) Unset()

type NullableRequest added in v0.12.0

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

func NewNullableRequest added in v0.12.0

func NewNullableRequest(val *Request) *NullableRequest

func (NullableRequest) Get added in v0.12.0

func (v NullableRequest) Get() *Request

func (NullableRequest) IsSet added in v0.12.0

func (v NullableRequest) IsSet() bool

func (NullableRequest) MarshalJSON added in v0.12.0

func (v NullableRequest) MarshalJSON() ([]byte, error)

func (*NullableRequest) Set added in v0.12.0

func (v *NullableRequest) Set(val *Request)

func (*NullableRequest) UnmarshalJSON added in v0.12.0

func (v *NullableRequest) UnmarshalJSON(src []byte) error

func (*NullableRequest) Unset added in v0.12.0

func (v *NullableRequest) Unset()

type NullableRequestResource added in v0.12.0

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

func NewNullableRequestResource added in v0.12.0

func NewNullableRequestResource(val *RequestResource) *NullableRequestResource

func (NullableRequestResource) Get added in v0.12.0

func (NullableRequestResource) IsSet added in v0.12.0

func (v NullableRequestResource) IsSet() bool

func (NullableRequestResource) MarshalJSON added in v0.12.0

func (v NullableRequestResource) MarshalJSON() ([]byte, error)

func (*NullableRequestResource) Set added in v0.12.0

func (*NullableRequestResource) UnmarshalJSON added in v0.12.0

func (v *NullableRequestResource) UnmarshalJSON(src []byte) error

func (*NullableRequestResource) Unset added in v0.12.0

func (v *NullableRequestResource) Unset()

type NullableRoute added in v0.12.0

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

func NewNullableRoute added in v0.12.0

func NewNullableRoute(val *Route) *NullableRoute

func (NullableRoute) Get added in v0.12.0

func (v NullableRoute) Get() *Route

func (NullableRoute) IsSet added in v0.12.0

func (v NullableRoute) IsSet() bool

func (NullableRoute) MarshalJSON added in v0.12.0

func (v NullableRoute) MarshalJSON() ([]byte, error)

func (*NullableRoute) Set added in v0.12.0

func (v *NullableRoute) Set(val *Route)

func (*NullableRoute) UnmarshalJSON added in v0.12.0

func (v *NullableRoute) UnmarshalJSON(src []byte) error

func (*NullableRoute) Unset added in v0.12.0

func (v *NullableRoute) Unset()

type NullableRouteListResponse added in v0.12.0

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

func NewNullableRouteListResponse added in v0.12.0

func NewNullableRouteListResponse(val *RouteListResponse) *NullableRouteListResponse

func (NullableRouteListResponse) Get added in v0.12.0

func (NullableRouteListResponse) IsSet added in v0.12.0

func (v NullableRouteListResponse) IsSet() bool

func (NullableRouteListResponse) MarshalJSON added in v0.12.0

func (v NullableRouteListResponse) MarshalJSON() ([]byte, error)

func (*NullableRouteListResponse) Set added in v0.12.0

func (*NullableRouteListResponse) UnmarshalJSON added in v0.12.0

func (v *NullableRouteListResponse) UnmarshalJSON(src []byte) error

func (*NullableRouteListResponse) Unset added in v0.12.0

func (v *NullableRouteListResponse) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateAreaAddressFamily added in v0.12.0

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

func NewNullableUpdateAreaAddressFamily added in v0.12.0

func NewNullableUpdateAreaAddressFamily(val *UpdateAreaAddressFamily) *NullableUpdateAreaAddressFamily

func (NullableUpdateAreaAddressFamily) Get added in v0.12.0

func (NullableUpdateAreaAddressFamily) IsSet added in v0.12.0

func (NullableUpdateAreaAddressFamily) MarshalJSON added in v0.12.0

func (v NullableUpdateAreaAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableUpdateAreaAddressFamily) Set added in v0.12.0

func (*NullableUpdateAreaAddressFamily) UnmarshalJSON added in v0.12.0

func (v *NullableUpdateAreaAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableUpdateAreaAddressFamily) Unset added in v0.12.0

type NullableUpdateAreaIPv4 added in v0.12.0

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

func NewNullableUpdateAreaIPv4 added in v0.12.0

func NewNullableUpdateAreaIPv4(val *UpdateAreaIPv4) *NullableUpdateAreaIPv4

func (NullableUpdateAreaIPv4) Get added in v0.12.0

func (NullableUpdateAreaIPv4) IsSet added in v0.12.0

func (v NullableUpdateAreaIPv4) IsSet() bool

func (NullableUpdateAreaIPv4) MarshalJSON added in v0.12.0

func (v NullableUpdateAreaIPv4) MarshalJSON() ([]byte, error)

func (*NullableUpdateAreaIPv4) Set added in v0.12.0

func (*NullableUpdateAreaIPv4) UnmarshalJSON added in v0.12.0

func (v *NullableUpdateAreaIPv4) UnmarshalJSON(src []byte) error

func (*NullableUpdateAreaIPv4) Unset added in v0.12.0

func (v *NullableUpdateAreaIPv4) Unset()

type NullableUpdateNetworkAddressFamily added in v0.12.0

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

func NewNullableUpdateNetworkAddressFamily added in v0.12.0

func NewNullableUpdateNetworkAddressFamily(val *UpdateNetworkAddressFamily) *NullableUpdateNetworkAddressFamily

func (NullableUpdateNetworkAddressFamily) Get added in v0.12.0

func (NullableUpdateNetworkAddressFamily) IsSet added in v0.12.0

func (NullableUpdateNetworkAddressFamily) MarshalJSON added in v0.12.0

func (v NullableUpdateNetworkAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkAddressFamily) Set added in v0.12.0

func (*NullableUpdateNetworkAddressFamily) UnmarshalJSON added in v0.12.0

func (v *NullableUpdateNetworkAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableUpdateNetworkAddressFamily) Unset added in v0.12.0

type NullableUpdateNetworkIPv4Body added in v0.12.0

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

func NewNullableUpdateNetworkIPv4Body added in v0.12.0

func NewNullableUpdateNetworkIPv4Body(val *UpdateNetworkIPv4Body) *NullableUpdateNetworkIPv4Body

func (NullableUpdateNetworkIPv4Body) Get added in v0.12.0

func (NullableUpdateNetworkIPv4Body) IsSet added in v0.12.0

func (NullableUpdateNetworkIPv4Body) MarshalJSON added in v0.12.0

func (v NullableUpdateNetworkIPv4Body) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkIPv4Body) Set added in v0.12.0

func (*NullableUpdateNetworkIPv4Body) UnmarshalJSON added in v0.12.0

func (v *NullableUpdateNetworkIPv4Body) UnmarshalJSON(src []byte) error

func (*NullableUpdateNetworkIPv4Body) Unset added in v0.12.0

func (v *NullableUpdateNetworkIPv4Body) Unset()

type NullableUpdateNetworkIPv6Body added in v0.12.0

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

func NewNullableUpdateNetworkIPv6Body added in v0.12.0

func NewNullableUpdateNetworkIPv6Body(val *UpdateNetworkIPv6Body) *NullableUpdateNetworkIPv6Body

func (NullableUpdateNetworkIPv6Body) Get added in v0.12.0

func (NullableUpdateNetworkIPv6Body) IsSet added in v0.12.0

func (NullableUpdateNetworkIPv6Body) MarshalJSON added in v0.12.0

func (v NullableUpdateNetworkIPv6Body) MarshalJSON() ([]byte, error)

func (*NullableUpdateNetworkIPv6Body) Set added in v0.12.0

func (*NullableUpdateNetworkIPv6Body) UnmarshalJSON added in v0.12.0

func (v *NullableUpdateNetworkIPv6Body) UnmarshalJSON(src []byte) error

func (*NullableUpdateNetworkIPv6Body) Unset added in v0.12.0

func (v *NullableUpdateNetworkIPv6Body) Unset()

type NullableV1NetworkGateway added in v0.12.0

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

func NewNullableV1NetworkGateway added in v0.12.0

func NewNullableV1NetworkGateway(val *V1NetworkGateway) *NullableV1NetworkGateway

func (NullableV1NetworkGateway) Get added in v0.12.0

func (NullableV1NetworkGateway) IsSet added in v0.12.0

func (v NullableV1NetworkGateway) IsSet() bool

func (NullableV1NetworkGateway) MarshalJSON added in v0.12.0

func (v NullableV1NetworkGateway) MarshalJSON() ([]byte, error)

func (*NullableV1NetworkGateway) Set added in v0.12.0

func (*NullableV1NetworkGateway) UnmarshalJSON added in v0.12.0

func (v *NullableV1NetworkGateway) UnmarshalJSON(src []byte) error

func (*NullableV1NetworkGateway) Unset added in v0.12.0

func (v *NullableV1NetworkGateway) Unset()

type PartialUpdateNetworkAreaPayload

type PartialUpdateNetworkAreaPayload struct {
	AddressFamily *UpdateAreaAddressFamily `json:"addressFamily,omitempty"`
	// Object that represents the labels of an object.
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty"`
}

PartialUpdateNetworkAreaPayload struct for PartialUpdateNetworkAreaPayload

func NewPartialUpdateNetworkAreaPayload added in v0.12.0

func NewPartialUpdateNetworkAreaPayload() *PartialUpdateNetworkAreaPayload

NewPartialUpdateNetworkAreaPayload instantiates a new PartialUpdateNetworkAreaPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateNetworkAreaPayloadWithDefaults added in v0.12.0

func NewPartialUpdateNetworkAreaPayloadWithDefaults() *PartialUpdateNetworkAreaPayload

NewPartialUpdateNetworkAreaPayloadWithDefaults instantiates a new PartialUpdateNetworkAreaPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateNetworkAreaPayload) GetAddressFamily added in v0.12.0

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*PartialUpdateNetworkAreaPayload) GetAddressFamilyOk added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) GetAddressFamilyOk() (*UpdateAreaAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkAreaPayload) GetLabels added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateNetworkAreaPayload) GetLabelsOk added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkAreaPayload) GetName added in v0.12.0

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateNetworkAreaPayload) GetNameOk added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkAreaPayload) HasAddressFamily added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*PartialUpdateNetworkAreaPayload) HasLabels added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateNetworkAreaPayload) HasName added in v0.12.0

HasName returns a boolean if a field has been set.

func (*PartialUpdateNetworkAreaPayload) SetAddressFamily added in v0.12.0

SetAddressFamily gets a reference to the given UpdateAreaAddressFamily and assigns it to the AddressFamily field.

func (*PartialUpdateNetworkAreaPayload) SetLabels added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) SetLabels(v *map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*PartialUpdateNetworkAreaPayload) SetName added in v0.12.0

func (o *PartialUpdateNetworkAreaPayload) SetName(v *string)

SetName gets a reference to the given string and assigns it to the Name field.

func (PartialUpdateNetworkAreaPayload) ToMap added in v0.12.0

func (o PartialUpdateNetworkAreaPayload) ToMap() (map[string]interface{}, error)

type PartialUpdateNetworkPayload

type PartialUpdateNetworkPayload struct {
	AddressFamily *UpdateNetworkAddressFamily `json:"addressFamily,omitempty"`
	// Object that represents the labels of an object.
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// The name for a General Object. Matches Names and also UUIDs.
	Name *string `json:"name,omitempty"`
	// Shows if the network is routed and therefore accessible from other networks.
	Routed *bool `json:"routed,omitempty"`
}

PartialUpdateNetworkPayload Object that represents the request body for a network update.

func NewPartialUpdateNetworkPayload added in v0.12.0

func NewPartialUpdateNetworkPayload() *PartialUpdateNetworkPayload

NewPartialUpdateNetworkPayload instantiates a new PartialUpdateNetworkPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateNetworkPayloadWithDefaults added in v0.12.0

func NewPartialUpdateNetworkPayloadWithDefaults() *PartialUpdateNetworkPayload

NewPartialUpdateNetworkPayloadWithDefaults instantiates a new PartialUpdateNetworkPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateNetworkPayload) GetAddressFamily added in v0.12.0

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetAddressFamilyOk added in v0.12.0

func (o *PartialUpdateNetworkPayload) GetAddressFamilyOk() (*UpdateNetworkAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetLabels added in v0.12.0

func (o *PartialUpdateNetworkPayload) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetLabelsOk added in v0.12.0

func (o *PartialUpdateNetworkPayload) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetName added in v0.12.0

func (o *PartialUpdateNetworkPayload) GetName() *string

GetName returns the Name field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetNameOk added in v0.12.0

func (o *PartialUpdateNetworkPayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) GetRouted added in v0.12.0

func (o *PartialUpdateNetworkPayload) GetRouted() *bool

GetRouted returns the Routed field value if set, zero value otherwise.

func (*PartialUpdateNetworkPayload) GetRoutedOk added in v0.12.0

func (o *PartialUpdateNetworkPayload) GetRoutedOk() (*bool, bool)

GetRoutedOk returns a tuple with the Routed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateNetworkPayload) HasAddressFamily added in v0.12.0

func (o *PartialUpdateNetworkPayload) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasLabels added in v0.12.0

func (o *PartialUpdateNetworkPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasName added in v0.12.0

func (o *PartialUpdateNetworkPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) HasRouted added in v0.12.0

func (o *PartialUpdateNetworkPayload) HasRouted() bool

HasRouted returns a boolean if a field has been set.

func (*PartialUpdateNetworkPayload) SetAddressFamily added in v0.12.0

SetAddressFamily gets a reference to the given UpdateNetworkAddressFamily and assigns it to the AddressFamily field.

func (*PartialUpdateNetworkPayload) SetLabels added in v0.12.0

func (o *PartialUpdateNetworkPayload) SetLabels(v *map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*PartialUpdateNetworkPayload) SetName added in v0.12.0

func (o *PartialUpdateNetworkPayload) SetName(v *string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PartialUpdateNetworkPayload) SetRouted added in v0.12.0

func (o *PartialUpdateNetworkPayload) SetRouted(v *bool)

SetRouted gets a reference to the given bool and assigns it to the Routed field.

func (PartialUpdateNetworkPayload) ToMap added in v0.12.0

func (o PartialUpdateNetworkPayload) ToMap() (map[string]interface{}, error)

type ProjectListResponse

type ProjectListResponse struct {
	// A list of STACKIT projects.
	// REQUIRED
	Items *[]string `json:"items"`
}

ProjectListResponse Project list response.

func NewProjectListResponse added in v0.12.0

func NewProjectListResponse(items *[]string) *ProjectListResponse

NewProjectListResponse instantiates a new ProjectListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectListResponseWithDefaults added in v0.12.0

func NewProjectListResponseWithDefaults() *ProjectListResponse

NewProjectListResponseWithDefaults instantiates a new ProjectListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectListResponse) GetItems added in v0.12.0

func (o *ProjectListResponse) GetItems() *[]string

GetItems returns the Items field value

func (*ProjectListResponse) GetItemsOk added in v0.12.0

func (o *ProjectListResponse) GetItemsOk() (*[]string, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ProjectListResponse) SetItems added in v0.12.0

func (o *ProjectListResponse) SetItems(v *[]string)

SetItems sets field value

func (ProjectListResponse) ToMap added in v0.12.0

func (o ProjectListResponse) ToMap() (map[string]interface{}, error)

type Request

type Request struct {
	Details *string `json:"details,omitempty"`
	// Object that represents a resource action.
	// REQUIRED
	RequestAction *string `json:"requestAction"`
	// Identifier (ID) representing a single API request.
	// REQUIRED
	RequestId *string `json:"requestId"`
	// Object that represents a resource type.
	// REQUIRED
	RequestType *string `json:"requestType"`
	// REQUIRED
	Resources *[]RequestResource `json:"resources"`
	// The state of a resource object.
	// REQUIRED
	Status *string `json:"status"`
}

Request Object that represents a request.

func NewRequest added in v0.12.0

func NewRequest(requestAction *string, requestId *string, requestType *string, resources *[]RequestResource, status *string) *Request

NewRequest instantiates a new Request object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRequestWithDefaults added in v0.12.0

func NewRequestWithDefaults() *Request

NewRequestWithDefaults instantiates a new Request object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Request) GetDetails added in v0.12.0

func (o *Request) GetDetails() *string

GetDetails returns the Details field value if set, zero value otherwise.

func (*Request) GetDetailsOk added in v0.12.0

func (o *Request) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Request) GetRequestAction added in v0.12.0

func (o *Request) GetRequestAction() *string

GetRequestAction returns the RequestAction field value

func (*Request) GetRequestActionOk added in v0.12.0

func (o *Request) GetRequestActionOk() (*string, bool)

GetRequestActionOk returns a tuple with the RequestAction field value and a boolean to check if the value has been set.

func (*Request) GetRequestId added in v0.12.0

func (o *Request) GetRequestId() *string

GetRequestId returns the RequestId field value

func (*Request) GetRequestIdOk added in v0.12.0

func (o *Request) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.

func (*Request) GetRequestType added in v0.12.0

func (o *Request) GetRequestType() *string

GetRequestType returns the RequestType field value

func (*Request) GetRequestTypeOk added in v0.12.0

func (o *Request) GetRequestTypeOk() (*string, bool)

GetRequestTypeOk returns a tuple with the RequestType field value and a boolean to check if the value has been set.

func (*Request) GetResources added in v0.12.0

func (o *Request) GetResources() *[]RequestResource

GetResources returns the Resources field value

func (*Request) GetResourcesOk added in v0.12.0

func (o *Request) GetResourcesOk() (*[]RequestResource, bool)

GetResourcesOk returns a tuple with the Resources field value and a boolean to check if the value has been set.

func (*Request) GetStatus added in v0.12.0

func (o *Request) GetStatus() *string

GetStatus returns the Status field value

func (*Request) GetStatusOk added in v0.12.0

func (o *Request) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Request) HasDetails added in v0.12.0

func (o *Request) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Request) SetDetails added in v0.12.0

func (o *Request) SetDetails(v *string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*Request) SetRequestAction added in v0.12.0

func (o *Request) SetRequestAction(v *string)

SetRequestAction sets field value

func (*Request) SetRequestId added in v0.12.0

func (o *Request) SetRequestId(v *string)

SetRequestId sets field value

func (*Request) SetRequestType added in v0.12.0

func (o *Request) SetRequestType(v *string)

SetRequestType sets field value

func (*Request) SetResources added in v0.12.0

func (o *Request) SetResources(v *[]RequestResource)

SetResources sets field value

func (*Request) SetStatus added in v0.12.0

func (o *Request) SetStatus(v *string)

SetStatus sets field value

func (Request) ToMap added in v0.12.0

func (o Request) ToMap() (map[string]interface{}, error)

type RequestResource

type RequestResource struct {
	// Universally Unique Identifier (UUID).
	// REQUIRED
	Id *string `json:"id"`
	// The state of a resource object.
	// REQUIRED
	Status *string `json:"status"`
	// Object that represents a resource type.
	// REQUIRED
	Type *string `json:"type"`
}

RequestResource Object that represents a resource as part of a request.

func NewRequestResource added in v0.12.0

func NewRequestResource(id *string, status *string, type_ *string) *RequestResource

NewRequestResource instantiates a new RequestResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRequestResourceWithDefaults added in v0.12.0

func NewRequestResourceWithDefaults() *RequestResource

NewRequestResourceWithDefaults instantiates a new RequestResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RequestResource) GetId added in v0.12.0

func (o *RequestResource) GetId() *string

GetId returns the Id field value

func (*RequestResource) GetIdOk added in v0.12.0

func (o *RequestResource) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RequestResource) GetStatus added in v0.12.0

func (o *RequestResource) GetStatus() *string

GetStatus returns the Status field value

func (*RequestResource) GetStatusOk added in v0.12.0

func (o *RequestResource) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*RequestResource) GetType added in v0.12.0

func (o *RequestResource) GetType() *string

GetType returns the Type field value

func (*RequestResource) GetTypeOk added in v0.12.0

func (o *RequestResource) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RequestResource) SetId added in v0.12.0

func (o *RequestResource) SetId(v *string)

SetId sets field value

func (*RequestResource) SetStatus added in v0.12.0

func (o *RequestResource) SetStatus(v *string)

SetStatus sets field value

func (*RequestResource) SetType added in v0.12.0

func (o *RequestResource) SetType(v *string)

SetType sets field value

func (RequestResource) ToMap added in v0.12.0

func (o RequestResource) ToMap() (map[string]interface{}, error)

type Route

type Route struct {
	// Date-time when resource was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Object that represents the labels of an object.
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// Object that represents an IP address.
	// REQUIRED
	Nexthop *string `json:"nexthop"`
	// Classless Inter-Domain Routing (CIDR).
	// REQUIRED
	Prefix *string `json:"prefix"`
	// Universally Unique Identifier (UUID).
	RouteId *string `json:"routeId,omitempty"`
	// Date-time when resource was last updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Route Object represents a network route.

func NewRoute added in v0.12.0

func NewRoute(nexthop *string, prefix *string) *Route

NewRoute instantiates a new Route object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRouteWithDefaults added in v0.12.0

func NewRouteWithDefaults() *Route

NewRouteWithDefaults instantiates a new Route object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Route) GetCreatedAt added in v0.12.0

func (o *Route) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Route) GetCreatedAtOk added in v0.12.0

func (o *Route) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetLabels added in v0.12.0

func (o *Route) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Route) GetLabelsOk added in v0.12.0

func (o *Route) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetNexthop added in v0.12.0

func (o *Route) GetNexthop() *string

GetNexthop returns the Nexthop field value

func (*Route) GetNexthopOk added in v0.12.0

func (o *Route) GetNexthopOk() (*string, bool)

GetNexthopOk returns a tuple with the Nexthop field value and a boolean to check if the value has been set.

func (*Route) GetPrefix added in v0.12.0

func (o *Route) GetPrefix() *string

GetPrefix returns the Prefix field value

func (*Route) GetPrefixOk added in v0.12.0

func (o *Route) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.

func (*Route) GetRouteId added in v0.12.0

func (o *Route) GetRouteId() *string

GetRouteId returns the RouteId field value if set, zero value otherwise.

func (*Route) GetRouteIdOk added in v0.12.0

func (o *Route) GetRouteIdOk() (*string, bool)

GetRouteIdOk returns a tuple with the RouteId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) GetUpdatedAt added in v0.12.0

func (o *Route) GetUpdatedAt() *time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Route) GetUpdatedAtOk added in v0.12.0

func (o *Route) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Route) HasCreatedAt added in v0.12.0

func (o *Route) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Route) HasLabels added in v0.12.0

func (o *Route) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Route) HasRouteId added in v0.12.0

func (o *Route) HasRouteId() bool

HasRouteId returns a boolean if a field has been set.

func (*Route) HasUpdatedAt added in v0.12.0

func (o *Route) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Route) SetCreatedAt added in v0.12.0

func (o *Route) SetCreatedAt(v *time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Route) SetLabels added in v0.12.0

func (o *Route) SetLabels(v *map[string]interface{})

SetLabels gets a reference to the given map[string]interface{} and assigns it to the Labels field.

func (*Route) SetNexthop added in v0.12.0

func (o *Route) SetNexthop(v *string)

SetNexthop sets field value

func (*Route) SetPrefix added in v0.12.0

func (o *Route) SetPrefix(v *string)

SetPrefix sets field value

func (*Route) SetRouteId added in v0.12.0

func (o *Route) SetRouteId(v *string)

SetRouteId gets a reference to the given string and assigns it to the RouteId field.

func (*Route) SetUpdatedAt added in v0.12.0

func (o *Route) SetUpdatedAt(v *time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Route) ToMap added in v0.12.0

func (o Route) ToMap() (map[string]interface{}, error)

type RouteListResponse

type RouteListResponse struct {
	// A list of routes.
	// REQUIRED
	Items *[]Route `json:"items"`
}

RouteListResponse Route list response.

func NewRouteListResponse added in v0.12.0

func NewRouteListResponse(items *[]Route) *RouteListResponse

NewRouteListResponse instantiates a new RouteListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRouteListResponseWithDefaults added in v0.12.0

func NewRouteListResponseWithDefaults() *RouteListResponse

NewRouteListResponseWithDefaults instantiates a new RouteListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RouteListResponse) GetItems added in v0.12.0

func (o *RouteListResponse) GetItems() *[]Route

GetItems returns the Items field value

func (*RouteListResponse) GetItemsOk added in v0.12.0

func (o *RouteListResponse) GetItemsOk() (*[]Route, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*RouteListResponse) SetItems added in v0.12.0

func (o *RouteListResponse) SetItems(v *[]Route)

SetItems sets field value

func (RouteListResponse) ToMap added in v0.12.0

func (o RouteListResponse) ToMap() (map[string]interface{}, error)

type UpdateAreaAddressFamily

type UpdateAreaAddressFamily struct {
	Ipv4 *UpdateAreaIPv4 `json:"ipv4,omitempty"`
}

UpdateAreaAddressFamily The addressFamily object for a area update request.

func NewUpdateAreaAddressFamily added in v0.12.0

func NewUpdateAreaAddressFamily() *UpdateAreaAddressFamily

NewUpdateAreaAddressFamily instantiates a new UpdateAreaAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateAreaAddressFamilyWithDefaults added in v0.12.0

func NewUpdateAreaAddressFamilyWithDefaults() *UpdateAreaAddressFamily

NewUpdateAreaAddressFamilyWithDefaults instantiates a new UpdateAreaAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateAreaAddressFamily) GetIpv4 added in v0.12.0

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*UpdateAreaAddressFamily) GetIpv4Ok added in v0.12.0

func (o *UpdateAreaAddressFamily) GetIpv4Ok() (*UpdateAreaIPv4, bool)

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaAddressFamily) HasIpv4 added in v0.12.0

func (o *UpdateAreaAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*UpdateAreaAddressFamily) SetIpv4 added in v0.12.0

func (o *UpdateAreaAddressFamily) SetIpv4(v *UpdateAreaIPv4)

SetIpv4 gets a reference to the given UpdateAreaIPv4 and assigns it to the Ipv4 field.

func (UpdateAreaAddressFamily) ToMap added in v0.12.0

func (o UpdateAreaAddressFamily) ToMap() (map[string]interface{}, error)

type UpdateAreaIPv4

type UpdateAreaIPv4 struct {
	DefaultNameservers *[]string `json:"defaultNameservers,omitempty"`
	// The default prefix length for networks in the network area.
	DefaultPrefixLen *int64 `json:"defaultPrefixLen,omitempty"`
	// The maximal prefix length for networks in the network area.
	MaxPrefixLen *int64 `json:"maxPrefixLen,omitempty"`
	// The minimal prefix length for networks in the network area.
	MinPrefixLen *int64 `json:"minPrefixLen,omitempty"`
}

UpdateAreaIPv4 The update object for a IPv4 network area.

func NewUpdateAreaIPv4 added in v0.12.0

func NewUpdateAreaIPv4() *UpdateAreaIPv4

NewUpdateAreaIPv4 instantiates a new UpdateAreaIPv4 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateAreaIPv4WithDefaults added in v0.12.0

func NewUpdateAreaIPv4WithDefaults() *UpdateAreaIPv4

NewUpdateAreaIPv4WithDefaults instantiates a new UpdateAreaIPv4 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateAreaIPv4) GetDefaultNameservers added in v0.12.0

func (o *UpdateAreaIPv4) GetDefaultNameservers() *[]string

GetDefaultNameservers returns the DefaultNameservers field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetDefaultNameserversOk added in v0.12.0

func (o *UpdateAreaIPv4) GetDefaultNameserversOk() (*[]string, bool)

GetDefaultNameserversOk returns a tuple with the DefaultNameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) GetDefaultPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) GetDefaultPrefixLen() *int64

GetDefaultPrefixLen returns the DefaultPrefixLen field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetDefaultPrefixLenOk added in v0.12.0

func (o *UpdateAreaIPv4) GetDefaultPrefixLenOk() (*int64, bool)

GetDefaultPrefixLenOk returns a tuple with the DefaultPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) GetMaxPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) GetMaxPrefixLen() *int64

GetMaxPrefixLen returns the MaxPrefixLen field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetMaxPrefixLenOk added in v0.12.0

func (o *UpdateAreaIPv4) GetMaxPrefixLenOk() (*int64, bool)

GetMaxPrefixLenOk returns a tuple with the MaxPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) GetMinPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) GetMinPrefixLen() *int64

GetMinPrefixLen returns the MinPrefixLen field value if set, zero value otherwise.

func (*UpdateAreaIPv4) GetMinPrefixLenOk added in v0.12.0

func (o *UpdateAreaIPv4) GetMinPrefixLenOk() (*int64, bool)

GetMinPrefixLenOk returns a tuple with the MinPrefixLen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateAreaIPv4) HasDefaultNameservers added in v0.12.0

func (o *UpdateAreaIPv4) HasDefaultNameservers() bool

HasDefaultNameservers returns a boolean if a field has been set.

func (*UpdateAreaIPv4) HasDefaultPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) HasDefaultPrefixLen() bool

HasDefaultPrefixLen returns a boolean if a field has been set.

func (*UpdateAreaIPv4) HasMaxPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) HasMaxPrefixLen() bool

HasMaxPrefixLen returns a boolean if a field has been set.

func (*UpdateAreaIPv4) HasMinPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) HasMinPrefixLen() bool

HasMinPrefixLen returns a boolean if a field has been set.

func (*UpdateAreaIPv4) SetDefaultNameservers added in v0.12.0

func (o *UpdateAreaIPv4) SetDefaultNameservers(v *[]string)

SetDefaultNameservers gets a reference to the given []string and assigns it to the DefaultNameservers field.

func (*UpdateAreaIPv4) SetDefaultPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) SetDefaultPrefixLen(v *int64)

SetDefaultPrefixLen gets a reference to the given int64 and assigns it to the DefaultPrefixLen field.

func (*UpdateAreaIPv4) SetMaxPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) SetMaxPrefixLen(v *int64)

SetMaxPrefixLen gets a reference to the given int64 and assigns it to the MaxPrefixLen field.

func (*UpdateAreaIPv4) SetMinPrefixLen added in v0.12.0

func (o *UpdateAreaIPv4) SetMinPrefixLen(v *int64)

SetMinPrefixLen gets a reference to the given int64 and assigns it to the MinPrefixLen field.

func (UpdateAreaIPv4) ToMap added in v0.12.0

func (o UpdateAreaIPv4) ToMap() (map[string]interface{}, error)

type UpdateNetworkAddressFamily

type UpdateNetworkAddressFamily struct {
	Ipv4 *UpdateNetworkIPv4Body `json:"ipv4,omitempty"`
	Ipv6 *UpdateNetworkIPv6Body `json:"ipv6,omitempty"`
}

UpdateNetworkAddressFamily The addressFamily object for a network update request.

func NewUpdateNetworkAddressFamily added in v0.12.0

func NewUpdateNetworkAddressFamily() *UpdateNetworkAddressFamily

NewUpdateNetworkAddressFamily instantiates a new UpdateNetworkAddressFamily object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkAddressFamilyWithDefaults added in v0.12.0

func NewUpdateNetworkAddressFamilyWithDefaults() *UpdateNetworkAddressFamily

NewUpdateNetworkAddressFamilyWithDefaults instantiates a new UpdateNetworkAddressFamily object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkAddressFamily) GetIpv4 added in v0.12.0

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*UpdateNetworkAddressFamily) GetIpv4Ok added in v0.12.0

GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkAddressFamily) GetIpv6 added in v0.12.0

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*UpdateNetworkAddressFamily) GetIpv6Ok added in v0.12.0

GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkAddressFamily) HasIpv4 added in v0.12.0

func (o *UpdateNetworkAddressFamily) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*UpdateNetworkAddressFamily) HasIpv6 added in v0.12.0

func (o *UpdateNetworkAddressFamily) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*UpdateNetworkAddressFamily) SetIpv4 added in v0.12.0

SetIpv4 gets a reference to the given UpdateNetworkIPv4Body and assigns it to the Ipv4 field.

func (*UpdateNetworkAddressFamily) SetIpv6 added in v0.12.0

SetIpv6 gets a reference to the given UpdateNetworkIPv6Body and assigns it to the Ipv6 field.

func (UpdateNetworkAddressFamily) ToMap added in v0.12.0

func (o UpdateNetworkAddressFamily) ToMap() (map[string]interface{}, error)

type UpdateNetworkIPv4Body added in v0.7.0

type UpdateNetworkIPv4Body struct {
	Gateway *NullableV1NetworkGateway `json:"gateway,omitempty"`
	// A list containing DNS Servers/Nameservers for IPv4.
	Nameservers *[]string `json:"nameservers,omitempty"`
}

UpdateNetworkIPv4Body The config object for a IPv4 network update.

func NewUpdateNetworkIPv4Body added in v0.12.0

func NewUpdateNetworkIPv4Body() *UpdateNetworkIPv4Body

NewUpdateNetworkIPv4Body instantiates a new UpdateNetworkIPv4Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkIPv4BodyWithDefaults added in v0.12.0

func NewUpdateNetworkIPv4BodyWithDefaults() *UpdateNetworkIPv4Body

NewUpdateNetworkIPv4BodyWithDefaults instantiates a new UpdateNetworkIPv4Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkIPv4Body) GetGateway added in v0.12.0

func (o *UpdateNetworkIPv4Body) GetGateway() *V1NetworkGateway

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateNetworkIPv4Body) GetGatewayOk added in v0.12.0

func (o *UpdateNetworkIPv4Body) GetGatewayOk() (*V1NetworkGateway, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateNetworkIPv4Body) GetNameservers added in v0.12.0

func (o *UpdateNetworkIPv4Body) GetNameservers() *[]string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*UpdateNetworkIPv4Body) GetNameserversOk added in v0.12.0

func (o *UpdateNetworkIPv4Body) GetNameserversOk() (*[]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkIPv4Body) HasGateway added in v0.12.0

func (o *UpdateNetworkIPv4Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*UpdateNetworkIPv4Body) HasNameservers added in v0.12.0

func (o *UpdateNetworkIPv4Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*UpdateNetworkIPv4Body) SetGateway added in v0.12.0

func (o *UpdateNetworkIPv4Body) SetGateway(v *V1NetworkGateway)

SetGateway gets a reference to the given V1NetworkGateway and assigns it to the Gateway field.

func (*UpdateNetworkIPv4Body) SetGatewayNil added in v0.12.0

func (o *UpdateNetworkIPv4Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*UpdateNetworkIPv4Body) SetNameservers added in v0.12.0

func (o *UpdateNetworkIPv4Body) SetNameservers(v *[]string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (UpdateNetworkIPv4Body) ToMap added in v0.12.0

func (o UpdateNetworkIPv4Body) ToMap() (map[string]interface{}, error)

func (*UpdateNetworkIPv4Body) UnsetGateway added in v0.12.0

func (o *UpdateNetworkIPv4Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type UpdateNetworkIPv6Body added in v0.7.0

type UpdateNetworkIPv6Body struct {
	Gateway *NullableV1NetworkGateway `json:"gateway,omitempty"`
	// A list containing DNS Servers/Nameservers for IPv6.
	Nameservers *[]string `json:"nameservers,omitempty"`
}

UpdateNetworkIPv6Body The config object for a IPv6 network update.

func NewUpdateNetworkIPv6Body added in v0.12.0

func NewUpdateNetworkIPv6Body() *UpdateNetworkIPv6Body

NewUpdateNetworkIPv6Body instantiates a new UpdateNetworkIPv6Body object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateNetworkIPv6BodyWithDefaults added in v0.12.0

func NewUpdateNetworkIPv6BodyWithDefaults() *UpdateNetworkIPv6Body

NewUpdateNetworkIPv6BodyWithDefaults instantiates a new UpdateNetworkIPv6Body object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateNetworkIPv6Body) GetGateway added in v0.12.0

func (o *UpdateNetworkIPv6Body) GetGateway() *V1NetworkGateway

GetGateway returns the Gateway field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateNetworkIPv6Body) GetGatewayOk added in v0.12.0

func (o *UpdateNetworkIPv6Body) GetGatewayOk() (*V1NetworkGateway, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateNetworkIPv6Body) GetNameservers added in v0.12.0

func (o *UpdateNetworkIPv6Body) GetNameservers() *[]string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*UpdateNetworkIPv6Body) GetNameserversOk added in v0.12.0

func (o *UpdateNetworkIPv6Body) GetNameserversOk() (*[]string, bool)

GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNetworkIPv6Body) HasGateway added in v0.12.0

func (o *UpdateNetworkIPv6Body) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*UpdateNetworkIPv6Body) HasNameservers added in v0.12.0

func (o *UpdateNetworkIPv6Body) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*UpdateNetworkIPv6Body) SetGateway added in v0.12.0

func (o *UpdateNetworkIPv6Body) SetGateway(v *V1NetworkGateway)

SetGateway gets a reference to the given V1NetworkGateway and assigns it to the Gateway field.

func (*UpdateNetworkIPv6Body) SetGatewayNil added in v0.12.0

func (o *UpdateNetworkIPv6Body) SetGatewayNil()

SetGatewayNil sets the value for Gateway to be an explicit nil

func (*UpdateNetworkIPv6Body) SetNameservers added in v0.12.0

func (o *UpdateNetworkIPv6Body) SetNameservers(v *[]string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (UpdateNetworkIPv6Body) ToMap added in v0.12.0

func (o UpdateNetworkIPv6Body) ToMap() (map[string]interface{}, error)

func (*UpdateNetworkIPv6Body) UnsetGateway added in v0.12.0

func (o *UpdateNetworkIPv6Body) UnsetGateway()

UnsetGateway ensures that no value is present for Gateway, not even an explicit nil

type V1NetworkGateway added in v0.7.0

type V1NetworkGateway struct {
}

V1NetworkGateway The gateway of a network. If not specified the first ip of the network will be assigned as the gateway. If 'null' is sent, then the network doesn't have a gateway.

func NewV1NetworkGateway added in v0.12.0

func NewV1NetworkGateway() *V1NetworkGateway

NewV1NetworkGateway instantiates a new V1NetworkGateway object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewV1NetworkGatewayWithDefaults added in v0.12.0

func NewV1NetworkGatewayWithDefaults() *V1NetworkGateway

NewV1NetworkGatewayWithDefaults instantiates a new V1NetworkGateway object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (V1NetworkGateway) ToMap added in v0.12.0

func (o V1NetworkGateway) ToMap() (map[string]interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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