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
21 changes: 21 additions & 0 deletions src/libs/Writer/Generated/Writer.FileApiClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public FileApiClient(
{
}

/// <summary>
/// Creates a new instance of the FileApiClient 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 FileApiClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the GenerationApiClient 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 GenerationApiClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the KgApiClient 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 KgApiClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the TemplateClient 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 TemplateClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the ToolsApiClient 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 ToolsApiClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the TranslationClient 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 TranslationClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the VisionClient 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 VisionClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the WriterClient 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 WriterClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Writer.EndPointAuthorization>? authorizations,
global::Writer.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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