Kelvin SDK Client Library Reference
Wireguard
Peer
constructor
allowed
Ips
created
endpoint
name
public
Key
title
type
updated
wireguard
Ip
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Hierarchy
Model
WireguardPeer
Index
Constructors
constructor
Properties
allowed
Ips
created
endpoint
name
public
Key
title
type
updated
wireguard
Ip
Methods
clone
get
Class
mapping
serialize
Array
serialize
Object
serialize
Object
Instance
stringify
toJSONObject
Constructors
constructor
new
Wireguard
Peer
(
model
?:
IWireguardPeer
)
:
WireguardPeer
Parameters
Optional
model:
IWireguardPeer
Returns
WireguardPeer
Properties
allowed
Ips
allowed
Ips
:
Array
<
string
>
created
created
:
Date
endpoint
endpoint
:
string
name
name
:
string
public
Key
public
Key
:
string
title
title
:
string
type
type
:
string
updated
updated
:
Date
wireguard
Ip
wireguard
Ip
:
string
Methods
clone
clone
(
ModelClass
:
IModel
)
:
Model
Parameters
ModelClass:
IModel
Returns
Model
get
Class
get
Class
(
)
:
Function
Returns
Function
mapping
mapping
(
)
:
{}
Returns
{}
[
key:
string
]:
Object
serialize
Array
serialize
Array
(
obj
:
any
[]
)
:
Object
Parameters
obj:
any
[]
Returns
Object
serialize
Object
serialize
Object
(
obj
:
any
)
:
any
Parameters
obj:
any
Returns
any
serialize
Object
Instance
serialize
Object
Instance
(
obj
:
Object
)
:
Object
Parameters
obj:
Object
Returns
Object
stringify
stringify
(
)
:
string
Returns
string
toJSONObject
toJSONObject
(
)
:
Object
Returns
Object