Skip to content

Statement

Properties

Name Type Description Notes
effect str
resource str
action List[str]
condition Dict[str, Dict[str, List[str]]] Optional conditions for when this statement applies. [optional]

Example

from lakefs_enterprise_sdk.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_form_dict = statement.from_dict(statement_dict)