Skip to content

Commit

Permalink
add attributes for flash preview
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Mar 6, 2020
1 parent 379a214 commit 7bd9c07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Octokit/Clients/DeploymentStatusClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public Task<IReadOnlyList<DeploymentStatus>> GetAll(long repositoryId, int deplo
/// <param name="deploymentId">The id of the deployment.</param>
/// <param name="options">Options for changing the API response</param>
[Preview("ant-man")]
[Preview("flash")]
[ManualRoute("GET", "/repos/{owner}/{name}/deployments/{deployment_id}/statuses")]
public Task<IReadOnlyList<DeploymentStatus>> GetAll(string owner, string name, int deploymentId, ApiOptions options)
{
Expand All @@ -87,6 +88,7 @@ public Task<IReadOnlyList<DeploymentStatus>> GetAll(string owner, string name, i
/// <param name="deploymentId">The id of the deployment.</param>
/// <param name="options">Options for changing the API response</param>
[Preview("ant-man")]
[Preview("flash")]
[ManualRoute("GET", "/repositories/{id}/deployments/{deployment_id}/statuses")]
public Task<IReadOnlyList<DeploymentStatus>> GetAll(long repositoryId, int deploymentId, ApiOptions options)
{
Expand All @@ -110,6 +112,7 @@ public Task<IReadOnlyList<DeploymentStatus>> GetAll(long repositoryId, int deplo
/// <param name="deploymentId">The id of the deployment.</param>
/// <param name="newDeploymentStatus">The new deployment status to create.</param>
[Preview("ant-man")]
[Preview("flash")]
[ManualRoute("POST", "/repos/{owner}/{name}/deployments/{deployment_id}/statuses")]
public Task<DeploymentStatus> Create(string owner, string name, int deploymentId, NewDeploymentStatus newDeploymentStatus)
{
Expand All @@ -133,6 +136,7 @@ public Task<DeploymentStatus> Create(string owner, string name, int deploymentId
/// <param name="deploymentId">The id of the deployment.</param>
/// <param name="newDeploymentStatus">The new deployment status to create.</param>
[Preview("ant-man")]
[Preview("flash")]
[ManualRoute("POST", "/repositories/{id}/deployments/{deployment_id}/statuses")]
public Task<DeploymentStatus> Create(long repositoryId, int deploymentId, NewDeploymentStatus newDeploymentStatus)
{
Expand Down

0 comments on commit 7bd9c07

Please sign in to comment.