GeneralAttachmentSettings contains global Attachment settings exposed by API
| Name | Type | Description | Notes |
|---|---|---|---|
| allowed_types | str | [optional] | |
| enabled | bool | [optional] | |
| max_files | int | [optional] | |
| max_size | int | [optional] |
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)