Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public GenAIInpaintingImage2ImageClient(
{
}

/// <summary>
/// Creates a new instance of the GenAIInpaintingImage2ImageClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public GenAIInpaintingImage2ImageClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the GenAIInpaintingImage2ImageClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.GenAIText2AudioClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public GenAIText2AudioClient(
{
}

/// <summary>
/// Creates a new instance of the GenAIText2AudioClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public GenAIText2AudioClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the GenAIText2AudioClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.GenAIText2ImageClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public GenAIText2ImageClient(
{
}

/// <summary>
/// Creates a new instance of the GenAIText2ImageClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public GenAIText2ImageClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the GenAIText2ImageClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.GenAIText2TextClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public GenAIText2TextClient(
{
}

/// <summary>
/// Creates a new instance of the GenAIText2TextClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public GenAIText2TextClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the GenAIText2TextClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public GenAIText2VideoImage2VideoClient(
{
}

/// <summary>
/// Creates a new instance of the GenAIText2VideoImage2VideoClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public GenAIText2VideoImage2VideoClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the GenAIText2VideoImage2VideoClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.GenAIUtilitiesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public GenAIUtilitiesClient(
{
}

/// <summary>
/// Creates a new instance of the GenAIUtilitiesClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public GenAIUtilitiesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the GenAIUtilitiesClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.ImageClassificationClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ImageClassificationClient(
{
}

/// <summary>
/// Creates a new instance of the ImageClassificationClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ImageClassificationClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ImageClassificationClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ImageContentGenerationClient(
{
}

/// <summary>
/// Creates a new instance of the ImageContentGenerationClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ImageContentGenerationClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ImageContentGenerationClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.ImageConversionClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ImageConversionClient(
{
}

/// <summary>
/// Creates a new instance of the ImageConversionClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ImageConversionClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ImageConversionClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.ImageEditingClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ImageEditingClient(
{
}

/// <summary>
/// Creates a new instance of the ImageEditingClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ImageEditingClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ImageEditingClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Picsart/Generated/Picsart.ImageEffectsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ImageEffectsClient(
{
}

/// <summary>
/// Creates a new instance of the ImageEffectsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ImageEffectsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ImageEffectsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ImagePhotoEnhancementClient(
{
}

/// <summary>
/// Creates a new instance of the ImagePhotoEnhancementClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ImagePhotoEnhancementClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ImagePhotoEnhancementClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public ImageRemoveBackgroundClient(
{
}

/// <summary>
/// Creates a new instance of the ImageRemoveBackgroundClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ImageRemoveBackgroundClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Picsart.EndPointAuthorization>? authorizations,
global::Picsart.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ImageRemoveBackgroundClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Loading