The agents assigned to the current test configuration
Name | Type | Description | Notes |
---|---|---|---|
by_id | List[AgentAssignmentDetails] | The agents statically assigned to the current test configuration. | [optional] |
by_port | List[AgentAssignmentByPort] | The ports assigned to the current test configuration. | [optional] |
by_tag | List[str] | The tags according to which the agents are dynamically assigned. | |
links | List[APILink] | [optional] |
from cyperf.models.agent_assignments import AgentAssignments
# TODO update the JSON string below
json = "{}"
# create an instance of AgentAssignments from a JSON string
agent_assignments_instance = AgentAssignments.from_json(json)
# print the JSON string representation of the object
print(AgentAssignments.to_json())
# convert the object into a dict
agent_assignments_dict = agent_assignments_instance.to_dict()
# create an instance of AgentAssignments from a dict
agent_assignments_from_dict = AgentAssignments.from_dict(agent_assignments_dict)