Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.21 KB

File metadata and controls

45 lines (36 loc) · 2.21 KB

Session

Properties

Name Type Description Notes
application str The user-friendly name for the application that controls this session [optional]
config AppsecConfig [optional]
config_name str The display name of the configuration loaded in the session [optional]
config_url str The external URL of the configuration loaded in the session [optional]
created int A Unix timestamp that indicates when the session was created [optional] [readonly]
data_model_url str The URL of the data model loaded in the session [optional] [readonly]
id str The unique identifier of the session [optional] [readonly]
index int The session's index [optional] [readonly]
last_visited int A Unix timestamp that indicates when the session was last visited [optional] [readonly]
links List[APILink] [optional]
meta List[Pair] The session's metadata as a list of key-value pairs [optional]
name str The user-visible name of the session [optional]
owner str The user-visible name of the session's owner [optional] [readonly]
owner_id str The unique identifier of the session's owner [optional] [readonly]
pinned bool A flag that indicates if the session is pinned [optional]
state str The current state of the session [optional]
test TestInfo [optional]

Example

from cyperf.models.session import Session

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

# convert the object into a dict
session_dict = session_instance.to_dict()
# create an instance of Session from a dict
session_from_dict = Session.from_dict(session_dict)

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