edutap.wallet_google.models.primitives.localized_string.LocalizedString#

pydantic model edutap.wallet_google.models.primitives.localized_string.LocalizedString#

see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString

Show JSON schema
{
   "title": "LocalizedString",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString",
   "type": "object",
   "properties": {
      "defaultValue": {
         "$ref": "#/$defs/TranslatedString"
      },
      "translatedValues": {
         "default": [],
         "items": {
            "$ref": "#/$defs/TranslatedString"
         },
         "title": "Translatedvalues",
         "type": "array"
      }
   },
   "$defs": {
      "TranslatedString": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString#translatedstring",
         "properties": {
            "language": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Language"
            },
            "value": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Value"
            }
         },
         "title": "TranslatedString",
         "type": "object"
      }
   },
   "required": [
      "defaultValue"
   ]
}

Fields:
field defaultValue: TranslatedString [Required]#
field translatedValues: list[TranslatedString] = []#