-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
1,900 additions
and
65 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/libs/Replicate/Generated/JsonConverters.AccountGetResponseType.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/libs/Replicate/Generated/JsonConverters.AccountGetResponseTypeNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...licate/Generated/JsonConverters.DeploymentsCreateResponseCurrentReleaseCreatedByType.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...enerated/JsonConverters.DeploymentsCreateResponseCurrentReleaseCreatedByTypeNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Replicate/Generated/JsonConverters.DeploymentsGetResponseCurrentReleaseCreatedByType.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...e/Generated/JsonConverters.DeploymentsGetResponseCurrentReleaseCreatedByTypeNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...te/Generated/JsonConverters.DeploymentsListResponseResultCurrentReleaseCreatedByType.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ated/JsonConverters.DeploymentsListResponseResultCurrentReleaseCreatedByTypeNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...licate/Generated/JsonConverters.DeploymentsUpdateResponseCurrentReleaseCreatedByType.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...enerated/JsonConverters.DeploymentsUpdateResponseCurrentReleaseCreatedByTypeNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/libs/Replicate/Generated/JsonConverters.ModelsCreateRequestVisibility.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/libs/Replicate/Generated/JsonConverters.ModelsCreateRequestVisibilityNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/libs/Replicate/Generated/JsonConverters.PredictionRequestWebhookEventsFilterItem.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../Replicate/Generated/JsonConverters.PredictionRequestWebhookEventsFilterItemNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/libs/Replicate/Generated/JsonConverters.TrainingRequestWebhookEventsFilterItem.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...bs/Replicate/Generated/JsonConverters.TrainingRequestWebhookEventsFilterItemNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/Replicate/Generated/JsonConverters.VersionPredictionRequestWebhookEventsFilterItem.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ate/Generated/JsonConverters.VersionPredictionRequestWebhookEventsFilterItemNullable.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/libs/Replicate/Generated/Replicate.IReplicateApi.AccountGet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#nullable enable | ||
|
||
namespace Replicate | ||
{ | ||
public partial interface IReplicateApi | ||
{ | ||
/// <summary> | ||
/// Get the authenticated account<br/> | ||
/// Returns information about the user or organization associated with the provided API token.<br/> | ||
/// Example cURL request:<br/> | ||
/// ```console<br/> | ||
/// curl -s \<br/> | ||
/// -H "Authorization: Bearer $REPLICATE_API_TOKEN" \<br/> | ||
/// https://api.replicate.com/v1/account<br/> | ||
/// ```<br/> | ||
/// The response will be a JSON object describing the account:<br/> | ||
/// ```json<br/> | ||
/// {<br/> | ||
/// "type": "organization",<br/> | ||
/// "username": "acme",<br/> | ||
/// "name": "Acme Corp, Inc.",<br/> | ||
/// "github_url": "https://github.com/acme",<br/> | ||
/// }<br/> | ||
/// ``` | ||
/// </summary> | ||
/// <param name="cancellationToken">The token to cancel the operation with</param> | ||
/// <exception cref="global::System.InvalidOperationException"></exception> | ||
global::System.Threading.Tasks.Task<global::Replicate.AccountGetResponse> AccountGetAsync( | ||
global::System.Threading.CancellationToken cancellationToken = default); | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/libs/Replicate/Generated/Replicate.IReplicateApi.CollectionsGet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#nullable enable | ||
|
||
namespace Replicate | ||
{ | ||
public partial interface IReplicateApi | ||
{ | ||
/// <summary> | ||
/// Get a collection of models<br/> | ||
/// Example cURL request:<br/> | ||
/// ```console<br/> | ||
/// curl -s \<br/> | ||
/// -H "Authorization: Bearer $REPLICATE_API_TOKEN" \<br/> | ||
/// https://api.replicate.com/v1/collections/super-resolution<br/> | ||
/// ```<br/> | ||
/// The response will be a collection object with a nested list of the models in that collection:<br/> | ||
/// ```json<br/> | ||
/// {<br/> | ||
/// "name": "Super resolution",<br/> | ||
/// "slug": "super-resolution",<br/> | ||
/// "description": "Upscaling models that create high-quality images from low-quality images.",<br/> | ||
/// "models": [...]<br/> | ||
/// }<br/> | ||
/// ``` | ||
/// </summary> | ||
/// <param name="collectionSlug"></param> | ||
/// <param name="cancellationToken">The token to cancel the operation with</param> | ||
/// <exception cref="global::System.InvalidOperationException"></exception> | ||
global::System.Threading.Tasks.Task CollectionsGetAsync( | ||
string collectionSlug, | ||
global::System.Threading.CancellationToken cancellationToken = default); | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
src/libs/Replicate/Generated/Replicate.IReplicateApi.CollectionsList.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#nullable enable | ||
|
||
namespace Replicate | ||
{ | ||
public partial interface IReplicateApi | ||
{ | ||
/// <summary> | ||
/// List collections of models<br/> | ||
/// Example cURL request:<br/> | ||
/// ```console<br/> | ||
/// curl -s \<br/> | ||
/// -H "Authorization: Bearer $REPLICATE_API_TOKEN" \<br/> | ||
/// https://api.replicate.com/v1/collections<br/> | ||
/// ```<br/> | ||
/// The response will be a paginated JSON list of collection objects:<br/> | ||
/// ```json<br/> | ||
/// {<br/> | ||
/// "next": "null",<br/> | ||
/// "previous": null,<br/> | ||
/// "results": [<br/> | ||
/// {<br/> | ||
/// "name": "Super resolution",<br/> | ||
/// "slug": "super-resolution",<br/> | ||
/// "description": "Upscaling models that create high-quality images from low-quality images."<br/> | ||
/// }<br/> | ||
/// ]<br/> | ||
/// }<br/> | ||
/// ``` | ||
/// </summary> | ||
/// <param name="cancellationToken">The token to cancel the operation with</param> | ||
/// <exception cref="global::System.InvalidOperationException"></exception> | ||
global::System.Threading.Tasks.Task CollectionsListAsync( | ||
global::System.Threading.CancellationToken cancellationToken = default); | ||
} | ||
} |
Oops, something went wrong.