Era.Common.DataDefinition.Config.MDM.AsyncEmailSender.TaskState

Description

Properties

Name JsonSchemaType Description
creation_date reference to Era.Common.DataDefinition.Common.UTCTime
email_states array of references to Era.Common.DataDefinition.Config.MDM.AsyncEmailSender.EmailState
emails_failed integer
emails_in_progress integer
emails_sent integer
emails_total integer
parent_group_uuid reference to Era.Common.DataDefinition.Common.Uuid
state enum of Era.Common.DataDefinition.Config.MDM.AsyncEmailSender.State
task_uuid string
user_uuid reference to Era.Common.DataDefinition.Common.Uuid

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.Config.RpcMDMEmailSenderGetEmailStateResponse

JsonSchema

{
    "title": "Era.Common.DataDefinition.Config.MDM.AsyncEmailSender.TaskState",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Config.MDM.AsyncEmailSender.TaskState"
    ],
    "properties": {
        "Era.Common.DataDefinition.Config.MDM.AsyncEmailSender.TaskState": {
            "$ref": "#/definitions/TaskState"
        }
    },
    "definitions": {
        "TaskState": {
            "additionalProperties": false,
            "required": [
                "creation_date",
                "emails_failed",
                "emails_in_progress",
                "emails_sent",
                "emails_total",
                "parent_group_uuid",
                "state",
                "task_uuid",
                "user_uuid"
            ],
            "type": "object",
            "properties": {
                "creation_date": {
                    "$ref": "Era.Common.DataDefinition.Common.UTCTime#/definitions/UTCTime"
                },
                "email_states": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Config.MDM.AsyncEmailSender.EmailState#/definitions/EmailState"
                        }
                    ]
                },
                "emails_failed": {
                    "type": "integer"
                },
                "emails_in_progress": {
                    "type": "integer"
                },
                "emails_sent": {
                    "type": "integer"
                },
                "emails_total": {
                    "type": "integer"
                },
                "parent_group_uuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "state": {
                    "enum": [
                        0,
                        1,
                        2,
                        10
                    ]
                },
                "task_uuid": {
                    "type": "string"
                },
                "user_uuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                }
            }
        }
    }
}