Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.72 KB

File metadata and controls

40 lines (31 loc) · 1.72 KB

AttackProfile

Properties

Name Type Description Notes
active bool Indicates whether the profile is enabled or not. [optional]
traffic_settings TrafficSettings [optional]
id str [optional]
links List[APILink] [optional]
attacks List[Attack] [optional]
default_network_mapping NetworkMapping [optional]
name str
objectives_and_timeline AttackObjectivesAndTimeline [optional]
add_attacks List[ExternalResourceInfo] [optional]
modify_excluded_dut_recursively List[UpdateNetworkMapping] [optional]
modify_tags_recursively List[UpdateNetworkMapping] [optional]
reset_tags_to_default List[bytearray] [optional]

Example

from cyperf.models.attack_profile import AttackProfile

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

# convert the object into a dict
attack_profile_dict = attack_profile_instance.to_dict()
# create an instance of AttackProfile from a dict
attack_profile_from_dict = AttackProfile.from_dict(attack_profile_dict)

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