Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.03 KB

File metadata and controls

34 lines (25 loc) · 1.03 KB

P2Config

Properties

Name Type Description Notes
enc_algorithm EncP2Algorithm
hash_algorithm HashP2Algorithm
lifetime int
nat_enabled bool
pfs_enabled bool
pfs_group PfsP2Group

Example

from cyperf.models.p2_config import P2Config

# TODO update the JSON string below
json = "{}"
# create an instance of P2Config from a JSON string
p2_config_instance = P2Config.from_json(json)
# print the JSON string representation of the object
print(P2Config.to_json())

# convert the object into a dict
p2_config_dict = p2_config_instance.to_dict()
# create an instance of P2Config from a dict
p2_config_from_dict = P2Config.from_dict(p2_config_dict)

[Back to Model list] [Back to API list] [Back to README]