edutap.wallet_google.models.misc.Permissions#
- pydantic model edutap.wallet_google.models.misc.Permissions#
see: https://developers.google.com/wallet/generic/rest/v1/permissions
Show JSON schema
{ "title": "Permissions", "description": "see: https://developers.google.com/wallet/generic/rest/v1/permissions", "type": "object", "properties": { "issuerId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Issuerid" }, "permissions": { "default": [], "items": { "$ref": "#/$defs/Permission" }, "title": "Permissions", "type": "array" } }, "$defs": { "Permission": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/permissions#permission", "properties": { "emailAddress": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "title": "Emailaddress" }, "role": { "anyOf": [ { "$ref": "#/$defs/Role" }, { "type": "null" } ] } }, "required": [ "emailAddress", "role" ], "title": "Permission", "type": "object" }, "Role": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/permissions#role", "enum": [ "roleUnspecified", "ROLE_UNSPECIFIED", "owner", "OWNER", "reader", "READER", "writer", "WRITER" ], "title": "Role", "type": "string" } }, "additionalProperties": false }
- Config:
extra: str = forbid
- Fields:
- field issuerId: str | None = None#
- field permissions: list[Permission] = []#