Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.13 KB

EditQuotaRuleOptions.md

File metadata and controls

31 lines (22 loc) · 1.13 KB

EditQuotaRuleOptions

EditQuotaRuleOptions represents the options for editing a quota rule

Properties

Name Type Description Notes
limit int The limit set by the rule [optional]
subjects List[str] The subjects affected by the rule [optional]

Example

from clientapi_forgejo.models.edit_quota_rule_options import EditQuotaRuleOptions

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

# convert the object into a dict
edit_quota_rule_options_dict = edit_quota_rule_options_instance.to_dict()
# create an instance of EditQuotaRuleOptions from a dict
edit_quota_rule_options_from_dict = EditQuotaRuleOptions.from_dict(edit_quota_rule_options_dict)

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