github.com/launchdarkly/api-client-go@v5.3.0+incompatible/model_approval_request.go (about)

     1  /*
     2   * LaunchDarkly REST API
     3   *
     4   * Build custom integrations with the LaunchDarkly REST API
     5   *
     6   * API version: 5.3.0
     7   * Contact: support@launchdarkly.com
     8   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     9   */
    10  
    11  package ldapi
    12  
    13  type ApprovalRequest struct {
    14  	// The unique resource id.
    15  	Id string `json:"_id,omitempty"`
    16  	Version int32 `json:"_version,omitempty"`
    17  	// A unix epoch time in milliseconds specifying the date the approval request was requested
    18  	CreationDate int32 `json:"creationDate,omitempty"`
    19  	// The id of the member that requested the change
    20  	RequestorId string `json:"requestorId,omitempty"`
    21  	ReviewStatus *ApprovalRequestReviewStatus `json:"reviewStatus,omitempty"`
    22  	// | Name      | Description | | ---------:| ----------- | | pending   | the approval request has not been applied yet | | completed | the approval request has been applied successfully | | scheduled | the approval request for a scheduled change has been applied successfully | | failed    | the approval request has been applied but the changes were not applied successfully | 
    23  	Status string `json:"status,omitempty"`
    24  	// The id of the member that applied the approval request
    25  	AppliedByMemberID string `json:"appliedByMemberID,omitempty"`
    26  	// A unix epoch time in milliseconds specifying the date the approval request was applied
    27  	AppliedDate int32 `json:"appliedDate,omitempty"`
    28  	AllReviews []ApprovalRequestReview `json:"allReviews,omitempty"`
    29  	NotifyMemberIds []string `json:"notifyMemberIds,omitempty"`
    30  	Instructions *SemanticPatchInstruction `json:"instructions,omitempty"`
    31  	// Timestamp for when instructions will be executed
    32  	ExecutionDate int64 `json:"executionDate,omitempty"`
    33  	// ID of scheduled change to edit or delete
    34  	OperatingOnId string `json:"operatingOnId,omitempty"`
    35  }