Wgctl::Models::Metadata
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(name : String | Nil = nil, description : String | Nil = nil, device : String | Nil = nil, client_private_key : String | Nil = nil, extra : Hash(String, String) = Hash(String, String).new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
Instance methods
client_private_key
Sourcedescription
Sourcedevice
Sourceempty?
Sourceextra
Sourcename
Sourceto_comments
Serializes metadata into WireGuard comment lines Example: