PageOfTask

PageOfTask
PageOfTask

Represents a page of elements of a single type

JSON Example
{
    "elements": [
        {
            "completionTimestamp": "string",
            "creationTimestamp": "string",
            "errors": [
                {
                    "arguments": [
                        "string"
                    ],
                    "causes": [
                        {
                            "message": "string",
                            "type": "string"
                        }
                    ],
                    "context": {
                        "context": "string"
                    },
                    "errorCode": "string",
                    "errorType": "string",
                    "message": "string",
                    "nestedErrors": [
                        "Error Object"
                    ],
                    "referenceToken": "string",
                    "remediationMessage": "string"
                }
            ],
            "id": "string",
            "isCancellable": false,
            "localizableDescriptionPack": {
                "arguments": [
                    "string"
                ],
                "component": "string",
                "message": "string",
                "messageKey": "string"
            },
            "name": "string",
            "resolutionStatus": "Can have only one of the two values: RESOLVED or UNRESOLVED",
            "resources": [
                {
                    "fqdn": "string",
                    "name": "string",
                    "resourceId": "string",
                    "sans": [
                        "string"
                    ],
                    "type": "string"
                }
            ],
            "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, CANCELLED",
            "subTasks": [
                {
                    "completionTimestamp": "string",
                    "creationTimestamp": "string",
                    "description": "string",
                    "errors": [
                        {
                            "arguments": [
                                "string"
                            ],
                            "causes": [
                                {
                                    "message": "string",
                                    "type": "string"
                                }
                            ],
                            "context": {
                                "context": "string"
                            },
                            "errorCode": "string",
                            "errorType": "string",
                            "message": "string",
                            "nestedErrors": [
                                "Error Object"
                            ],
                            "referenceToken": "string",
                            "remediationMessage": "string"
                        }
                    ],
                    "name": "string",
                    "resources": [
                        {
                            "fqdn": "string",
                            "name": "string",
                            "resourceId": "string",
                            "sans": [
                                "string"
                            ],
                            "type": "string"
                        }
                    ],
                    "stages": [
                        {
                            "completionTimestamp": "string",
                            "creationTimestamp": "string",
                            "description": "string",
                            "errors": [
                                {
                                    "arguments": [
                                        "string"
                                    ],
                                    "causes": [
                                        {
                                            "message": "string",
                                            "type": "string"
                                        }
                                    ],
                                    "context": {
                                        "context": "string"
                                    },
                                    "errorCode": "string",
                                    "errorType": "string",
                                    "message": "string",
                                    "nestedErrors": [
                                        "Error Object"
                                    ],
                                    "referenceToken": "string",
                                    "remediationMessage": "string"
                                }
                            ],
                            "name": "string",
                            "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED",
                            "type": "string"
                        }
                    ],
                    "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED",
                    "subTasks": [
                        "SubTask Object"
                    ],
                    "type": "string"
                }
            ],
            "type": "Sample values: HOST_COMMISSION, HOST_DECOMMISSION"
        }
    ],
    "pageMetadata": {
        "pageNumber": 0,
        "pageSize": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
array of Task
elements
Optional

The list of elements included in this page

pageMetadata
Optional

Represents pageable elements pagination metadata

Returned By