interface ReleaseApproval {
    approvalType?: ApprovalType;
    approvedBy?: IdentityRef;
    approver?: IdentityRef;
    attempt?: number;
    comments?: string;
    createdOn?: Date;
    history?: ReleaseApprovalHistory[];
    id?: number;
    isAutomated?: boolean;
    isNotificationOn?: boolean;
    modifiedOn?: Date;
    rank?: number;
    release?: ReleaseShallowReference;
    releaseDefinition?: ReleaseDefinitionShallowReference;
    releaseEnvironment?: ReleaseEnvironmentShallowReference;
    revision?: number;
    status?: ApprovalStatus;
    trialNumber?: number;
    url?: string;
}

Properties

approvalType?: ApprovalType

Gets or sets the type of approval.

approvedBy?: IdentityRef

Gets the identity who approved.

approver?: IdentityRef

Gets or sets the identity who should approve.

attempt?: number

Gets or sets attempt which specifies as which deployment attempt it belongs.

comments?: string

Gets or sets comments for approval.

createdOn?: Date

Gets date on which it got created.

Gets history which specifies all approvals associated with this approval.

id?: number

Gets the unique identifier of this field.

isAutomated?: boolean

Gets or sets as approval is automated or not.

isNotificationOn?: boolean
modifiedOn?: Date

Gets date on which it got modified.

rank?: number

Gets or sets rank which specifies the order of the approval. e.g. Same rank denotes parallel approval.

Gets releaseReference which specifies the reference of the release to which this approval is associated.

Gets releaseDefinitionReference which specifies the reference of the release definition to which this approval is associated.

Gets releaseEnvironmentReference which specifies the reference of the release environment to which this approval is associated.

revision?: number

Gets the revision number.

Gets or sets the status of the approval.

trialNumber?: number
url?: string

Gets url to access the approval.