ApprovalResultResponse class

ApprovalResult describes the decision and associated metadata of a manual approval of a build.

Constructors

ApprovalResultResponse({required Input<String> approvalTime, required Input<String> approverAccount, required Input<String> comment, required Input<String> decision, required Input<String> url})
Creates a new ApprovalResultResponse. approvalTime The time when the approval decision was made. approverAccount Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called. comment Optional. An optional comment for this manual approval result. decision The decision of this manual approval. url Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.
const
ApprovalResultResponse.fromMap(Map<String, dynamic> map)
factory

Properties

approvalTime → Input<String>
The time when the approval decision was made.
final
approverAccount → Input<String>
Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.
final
comment → Input<String>
Optional. An optional comment for this manual approval result.
final
decision → Input<String>
The decision of this manual approval.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → Input<String>
Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited