Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.76 KB

File metadata and controls

42 lines (33 loc) · 1.76 KB

Action

Properties

Name Type Description Notes
dst_host str The destination host of the action. [optional]
exchanges List[Exchange] [optional]
index int The index of the action. [optional]
is_banner bool Indicates if this is a required action, can only be add once and also must be the first [optional]
is_deprecated bool A value that indicates if the action is deprecated. [optional]
is_hostname int [optional]
is_strike bool A value that indicates if the action is a strike. [optional]
name str The name of the action. [optional]
params List[Params] [optional]
port int The port of the destination host. [optional]
protocol_id str [optional]
requires_uniqueness bool If true, for applications with the same protocol id, application/attack must have been uniquely identified in previous commands. [optional]
id str [optional]
links List[APILink] [optional]

Example

from cyperf.models.action import Action

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

# convert the object into a dict
action_dict = action_instance.to_dict()
# create an instance of Action from a dict
action_from_dict = Action.from_dict(action_dict)

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