File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -790,6 +790,7 @@ type PersonalAccessTokenRequestEvent struct {
790790 Installation * Installation `json:"installation,omitempty"`
791791}
792792
793+ // PersonalAccessTokenRequest contains the details of a PersonalAccessTokenRequestEvent.
793794type PersonalAccessTokenRequest struct {
794795 // Unique identifier of the request for access via fine-grained personal
795796 // access token. Used as the pat_request_id parameter in the list and review
@@ -833,6 +834,8 @@ type PersonalAccessTokenRequest struct {
833834 TokenLastUsedAt * Timestamp `json:"token_last_used_at,omitempty"`
834835}
835836
837+ // PersonalAccessTokenPermissions represents the original or newly requested
838+ // scope of permissions for a fine-grained personal access token within a PersonalAccessTokenRequest.
836839type PersonalAccessTokenPermissions struct {
837840 Org * Organization `json:"organization,omitempty"`
838841 Repo * Repository `json:"repository,omitempty"`
You can’t perform that action at this time.
0 commit comments