Azure.Connectors.Sdk.GitHub.Models Namespace

Classes

Name Description
ActionsPublicKey

Response for Get a repository public key

Commit

base_commit

CommitComparison

Response for Compare two commits

CreateReferenceRequest

CreateReferenceRequest

CreateRepositorySecretRequest

CreateRepositorySecretRequest

CreateRepositoryUsingTemplateRequest

CreateRepositoryUsingTemplateRequest

DiffEntry

Item in files

GeneralAPIModel

Response for Get all issues of a repository

GitHubModelFactory

Model factory for creating instances of GitHub models. Use these factory methods to construct model instances in tests and scenarios where output-only properties (with init-only setters) need to be populated.

GitHubOnIssueAssignedTriggerPayload

Typed trigger payload for the OnIssueAssigned trigger (GitHub "When an issue is assigned to me", operationId: IssueAssigned). Deserialize Connector Namespace callbacks directly: JsonSerializer.Deserialize<GitHubOnIssueAssignedTriggerPayload>(body).

GitHubOnIssueClosedTriggerPayload

Typed trigger payload for the OnIssueClosed trigger (GitHub "When an issue assigned to me is closed", operationId: IssueClosed). Deserialize Connector Namespace callbacks directly: JsonSerializer.Deserialize<GitHubOnIssueClosedTriggerPayload>(body).

GitHubOnIssueOpenedTriggerPayload

Typed trigger payload for the OnIssueOpened trigger (GitHub "When a new issue is opened and assigned to me", operationId: IssueOpened). Deserialize Connector Namespace callbacks directly: JsonSerializer.Deserialize<GitHubOnIssueOpenedTriggerPayload>(body).

GitHubTriggers

Static registry of trigger operations for the GitHub connector that have typed payloads. Maps operation names to their typed TriggerCallbackPayload<T> subtypes. Triggers that return binary content (e.g., file downloads) are not included here because they have no JSON-deserializable payload type. See GitHubTriggerOperations for the complete list of trigger operation name constants.

GitReference

Response for Create a reference

GitUser

GitUser

GraphQlQuery

GraphQlQuery

IssueBasicDetailsModel

IssueBasicDetailsModel

IssueDetailsModel

Response for Create an issue

IssueUpdateModel

IssueUpdateModel

Label

Item in The list of labels associated with the pull request.

LicenseDetails

license

Milestone

milestone

MilestoneUpdateModel

MilestoneUpdateModel

MultipleSearchFetchModel

Response for Find issues by state and keyword

PullRequest

Response for Get a pull request

PullRequestCreateRequest

PullRequestCreateRequest

PullRequestFile

Response for Get the list of files from a pull request

PullRequestMergeRequest

PullRequestMergeRequest

PullRequestMergeResult

Response for Merge a pull request

PullRequestUpdateRequest

PullRequestUpdateRequest

QueryRequest

QueryRequest

RepositoryDetails

Response for Create a repository using a template

RepositoryDispatchEvent

RepositoryDispatchEvent

RepositoryMiniDetails

RepositoryMiniDetails

RequestReviewersBody

RequestReviewersBody

TeamDetails

Item in The list of requested teams to this pull request.

UserDetailsModel

assignee

Verification

Verification

WebhookCreationResponse

Response for When a pull request is created or modified

WebhookRequestBody

WebhookRequestBody

Structs

Name Description
MergeMethod

Extensible enum for known MergeMethod values.

State

Extensible enum for known State values.