VpnEndpointEdit
An endpoint as the editor sends it back: an existing one by id, a new one without.
Attributes
attributeidstr | None= Field(default=None, pattern='^[A-Za-z0-9_-]{1,64}$')attributelabelstr= Field(default='', max_length=120)attributehoststr= Field(..., min_length=1, max_length=253)attributeportint= Field(..., ge=1, le=65535)attributeprotostr= Field(default='udp', pattern='^(udp|tcp)$')attributepublic_keystr= Field(default='', max_length=120)attributepreshared_keystr | None= Field(default=None, max_length=120)A new WireGuard preshared key; None keeps the one held, empty drops it.
attributeallowed_ipsstr= Field(default='0.0.0.0/0', max_length=512)