models

package
v0.2.73 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASN added in v0.2.73

type ASN struct {
	Asn      int64           `json:"asn,omitempty"`
	Id       int64           `json:"id,omitempty"`
	Metadata *NetboxMetadata `json:"metadata,omitempty"`
}

type ASNClaim added in v0.2.73

type ASNClaim struct {
	ParentAsnRange string          `json:"parentAsnRange,omitempty"`
	Metadata       *NetboxMetadata `json:"metadata,omitempty"`
}

type IPAddress

type IPAddress struct {
	IpAddress string          `json:"ipAddress,omitempty"`
	Metadata  *NetboxMetadata `json:"metadata,omitempty"`
}

type IPAddressClaim

type IPAddressClaim struct {
	ParentPrefix string          `json:"parentPrefix,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type IpRange

type IpRange struct {
	StartAddress string          `json:"startAddress,omitempty"`
	EndAddress   string          `json:"endAddress,omitempty"`
	Size         int32           `json:"size,omitempty"`
	Id           int64           `json:"id,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type IpRangeClaim

type IpRangeClaim struct {
	ParentPrefix string          `json:"prefix,omitempty"`
	Size         int             `json:"size,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type L2VPN added in v0.2.72

type L2VPN struct {
	Name       string          `json:"name,omitempty"`
	Slug       string          `json:"slug,omitempty"`
	Type       string          `json:"type,omitempty"`
	Identifier int64           `json:"identifier,omitempty"`
	Id         int64           `json:"id,omitempty"`
	Metadata   *NetboxMetadata `json:"metadata,omitempty"`
}

type L2VPNClaim added in v0.2.72

type L2VPNClaim struct {
	Type                 string          `json:"type,omitempty"`
	Identifier           int64           `json:"identifier,omitempty"`
	IdentifierRangeStart int64           `json:"identifierRangeStart,omitempty"`
	IdentifierRangeEnd   int64           `json:"identifierRangeEnd,omitempty"`
	Metadata             *NetboxMetadata `json:"metadata,omitempty"`
}

type NetboxMetadata

type NetboxMetadata struct {
	Comments    string            `json:"comments,omitempty"`
	Custom      map[string]string `json:"customFields,omitempty"`
	Description string            `json:"description,omitempty"`
	Region      string            `json:"region,omitempty"`
	Rir         string            `json:"rir,omitempty"`
	Site        string            `json:"site,omitempty"`
	Tenant      string            `json:"tenant,omitempty"`
}

type Prefix

type Prefix struct {
	Prefix   string          `json:"prefix,omitempty"`
	Metadata *NetboxMetadata `json:"metadata,omitempty"`
}

type PrefixClaim

type PrefixClaim struct {
	ParentPrefix string          `json:"parentPrefix,omitempty"`
	PrefixLength string          `json:"prefixLength,omitempty"`
	Metadata     *NetboxMetadata `json:"metadata,omitempty"`
}

type Rir added in v0.2.73

type Rir struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Slug string `json:"slug,omitempty"`
}

type Site

type Site struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Slug string `json:"slug,omitempty"`
}

type Tenant

type Tenant struct {
	Id   int64  `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Slug string `json:"slug,omitempty"`
}

Jump to

Keyboard shortcuts

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