Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.44 KB

File metadata and controls

33 lines (24 loc) · 1.44 KB

Statement

Properties

Name Type Description Notes
resources List[str] Resource specifier strings [optional]
not_resources List[str] Targeted resources are the resources NOT in this list. The <code>resources</code> and <code>notActions</code> fields must be empty to use this field. [optional]
actions List[str] Actions to perform on a resource [optional]
not_actions List[str] Targeted actions are the actions NOT in this list. The <code>actions</code> and <code>notResources</code> fields must be empty to use this field. [optional]
effect str Whether this statement should allow or deny actions on the resources.

Example

from launchdarkly_api.models.statement import Statement

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

# convert the object into a dict
statement_dict = statement_instance.to_dict()
# create an instance of Statement from a dict
statement_from_dict = Statement.from_dict(statement_dict)

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