edutap.wallet_google.models.datatypes.data.InfoModuleData#

pydantic model edutap.wallet_google.models.datatypes.data.InfoModuleData#

see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData

Show JSON schema
{
   "title": "InfoModuleData",
   "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData",
   "type": "object",
   "properties": {
      "labelValueRows": {
         "items": {
            "$ref": "#/$defs/LabelValueRow"
         },
         "title": "Labelvaluerows",
         "type": "array"
      },
      "showLastUpdatedTime": {
         "default": false,
         "description": "deprecated",
         "title": "Showlastupdatedtime",
         "type": "boolean"
      }
   },
   "$defs": {
      "LabelValue": {
         "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData#labelvalue",
         "properties": {
            "label": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Label"
            },
            "value": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Value"
            },
            "localizedLabel": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/LocalizedString"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "localizedValue": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/LocalizedString"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "LabelValue",
         "type": "object"
      },
      "LabelValueRow": {
         "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/InfoModuleData#labelvaluerow",
         "properties": {
            "columns": {
               "anyOf": [
                  {
                     "items": {
                        "$ref": "#/$defs/LabelValue"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Columns"
            }
         },
         "title": "LabelValueRow",
         "type": "object"
      },
      "LocalizedString": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString",
         "properties": {
            "defaultValue": {
               "$ref": "#/$defs/TranslatedString"
            },
            "translatedValues": {
               "default": [],
               "items": {
                  "$ref": "#/$defs/TranslatedString"
               },
               "title": "Translatedvalues",
               "type": "array"
            }
         },
         "required": [
            "defaultValue"
         ],
         "title": "LocalizedString",
         "type": "object"
      },
      "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": [
      "labelValueRows"
   ]
}

Fields:
field labelValueRows: list[LabelValueRow] [Required]#
field showLastUpdatedTime: bool = False#

deprecated