Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.27 KB

AccessRuleBody.md

File metadata and controls

33 lines (24 loc) · 1.27 KB

AccessRuleBody

Properties

Name Type Description Notes
permission str VIEW lets the principal read the analysis; EDIT also lets them modify it
team_id int The team the rule applies to. Set for a team rule [optional]
team_name str The team's name. Set for a team rule [optional]
user_id int The user the rule applies to. Set for a user rule [optional]
username str The user's username. Set for a user rule [optional]

Example

from revengai.models.access_rule_body import AccessRuleBody

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

# convert the object into a dict
access_rule_body_dict = access_rule_body_instance.to_dict()
# create an instance of AccessRuleBody from a dict
access_rule_body_from_dict = AccessRuleBody.from_dict(access_rule_body_dict)

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