Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.17 KB

EditTagProtectionOption.md

File metadata and controls

32 lines (23 loc) · 1.17 KB

EditTagProtectionOption

EditTagProtectionOption options for editing a tag protection

Properties

Name Type Description Notes
name_pattern str [optional]
whitelist_teams List[str] [optional]
whitelist_usernames List[str] [optional]

Example

from clientapi_forgejo.models.edit_tag_protection_option import EditTagProtectionOption

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

# convert the object into a dict
edit_tag_protection_option_dict = edit_tag_protection_option_instance.to_dict()
# create an instance of EditTagProtectionOption from a dict
edit_tag_protection_option_from_dict = EditTagProtectionOption.from_dict(edit_tag_protection_option_dict)

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