Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.22 KB

GeneralAttachmentSettings.md

File metadata and controls

33 lines (24 loc) · 1.22 KB

GeneralAttachmentSettings

GeneralAttachmentSettings contains global Attachment settings exposed by API

Properties

Name Type Description Notes
allowed_types str [optional]
enabled bool [optional]
max_files int [optional]
max_size int [optional]

Example

from clientapi_forgejo.models.general_attachment_settings import GeneralAttachmentSettings

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

# convert the object into a dict
general_attachment_settings_dict = general_attachment_settings_instance.to_dict()
# create an instance of GeneralAttachmentSettings from a dict
general_attachment_settings_from_dict = GeneralAttachmentSettings.from_dict(general_attachment_settings_dict)

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