Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 2.2 KB

File metadata and controls

53 lines (44 loc) · 2.2 KB

LocalizedMessageBodyRequest

A custom serializer field that supports localization for a dynamic field name. Allows calling with arguments such as 'title', 'message', max_length, help_text, etc.

Properties

Name Type Description Notes
bg str Български [optional]
bn str বাংলা [optional]
ca str Català [optional]
de str Deutsch [optional]
el str Ελληνικά [optional]
en str English
es str Español [optional]
eu str Euskara [optional]
fr str Français [optional]
gl str Galego [optional]
hr str Hrvatski [optional]
hu str Magyar [optional]
it str Italiano [optional]
lb str Lëtzebuergesch [optional]
mk str Македонски [optional]
nl str Nederlands [optional]
pt str Português [optional]
ro str Română [optional]
sl str Slovenščina [optional]
sq str Shqip [optional]
sr str Српски [optional]
sv str Svenska [optional]
tr str Türkçe [optional]
zh_cn str 中文(中国) [optional]

Example

from mosquito_alert.models.localized_message_body_request import LocalizedMessageBodyRequest

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

# convert the object into a dict
localized_message_body_request_dict = localized_message_body_request_instance.to_dict()
# create an instance of LocalizedMessageBodyRequest from a dict
localized_message_body_request_from_dict = LocalizedMessageBodyRequest.from_dict(localized_message_body_request_dict)

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