From 02ad6025c42989da560c419d42cce7e98a7b98dc Mon Sep 17 00:00:00 2001 From: dvonthenen Date: Wed, 7 Feb 2024 08:35:18 -0800 Subject: [PATCH] Add License Headers to All Source Code --- Deepgram.Tests/Fakes/ConcreteRestClient.cs | 6 ++- Deepgram.Tests/Fakes/MockHttpClient.cs | 6 ++- .../Fakes/MockHttpMessageHandler.cs | 6 ++- .../Fakes/MockHttpMessageHandlerException.cs | 6 ++- Deepgram.Tests/GlobalSuppressions.cs | 6 ++- Deepgram.Tests/GlobalUsings.cs | 6 ++- .../TestExtensions/LoggerTestExtensions.cs | 6 ++- .../ClientTests/AbstractRestClientTests.cs | 6 ++- .../UnitTests/ClientTests/LiveClientTests.cs | 6 ++- .../UnitTests/ClientTests/ManageClientTest.cs | 6 ++- .../ClientTests/OnPremClientTests.cs | 6 ++- .../ClientTests/PrerecordedClientTests.cs | 6 ++- .../HttpClientExtensionTests.cs | 6 ++- .../LoggerProviderTests/LogProviderTest.cs | 5 +- .../UtilitiesTests/QueryParameterUtilTests.cs | 6 ++- .../UtilitiesTests/RequestContentUtilTests.cs | 5 +- .../UnitTests/UtilitiesTests/UserAgentTest.cs | 6 ++- Deepgram.Tests/VoidResponse.cs | 6 ++- Deepgram/Abstractions/AbstractRestClient.cs | 6 ++- Deepgram/AnalyzeClient.cs | 6 ++- Deepgram/Constants/AudioEncoding.cs | 6 ++- Deepgram/Constants/Defaults.cs | 6 ++- Deepgram/Constants/UriSegments.cs | 6 ++- Deepgram/Encapsulations/HttpClientFactory.cs | 6 ++- Deepgram/Encapsulations/HttpClientWrapper.cs | 6 ++- Deepgram/Enums/LiveType.cs | 6 ++- Deepgram/Enums/RequestMethod.cs | 6 ++- Deepgram/Enums/WarningType.cs | 6 ++- .../EventArgs/ResponseReceivedEventArgs.cs | 6 ++- .../Extensions/ClientWebSocketExtensions.cs | 6 ++- Deepgram/Extensions/HttpClientExtensions.cs | 6 ++- Deepgram/GlobalSuppressions.cs | 6 ++- Deepgram/GlobalUsings.cs | 6 ++- Deepgram/LiveClient.cs | 6 ++- Deepgram/Logger/Log.cs | 6 ++- Deepgram/Logger/LogProvider.cs | 47 ++++++++++--------- Deepgram/ManageClient.cs | 6 ++- Deepgram/Models/Analyze/v1/AnalyzeSchema.cs | 6 ++- Deepgram/Models/Analyze/v1/AsyncResponse.cs | 6 ++- Deepgram/Models/Analyze/v1/Average.cs | 6 ++- Deepgram/Models/Analyze/v1/Intent.cs | 6 ++- Deepgram/Models/Analyze/v1/IntentGroup.cs | 6 ++- Deepgram/Models/Analyze/v1/IntentsInfo.cs | 6 ++- Deepgram/Models/Analyze/v1/Metadata.cs | 6 ++- Deepgram/Models/Analyze/v1/Results.cs | 6 ++- Deepgram/Models/Analyze/v1/Segment.cs | 6 ++- Deepgram/Models/Analyze/v1/SentimentGroup.cs | 6 ++- Deepgram/Models/Analyze/v1/SentimentInfo.cs | 6 ++- Deepgram/Models/Analyze/v1/Summary.cs | 6 ++- Deepgram/Models/Analyze/v1/SummaryInfo.cs | 6 ++- Deepgram/Models/Analyze/v1/SyncResponse.cs | 6 ++- Deepgram/Models/Analyze/v1/Topic.cs | 6 ++- Deepgram/Models/Analyze/v1/TopicGroup.cs | 6 ++- Deepgram/Models/Analyze/v1/TopicsInfo.cs | 6 ++- Deepgram/Models/Analyze/v1/UrlSource.cs | 6 ++- .../Authenticate/v1/DeepgramClientOptions.cs | 5 +- Deepgram/Models/Live/v1/Alternative.cs | 6 ++- Deepgram/Models/Live/v1/Average.cs | 6 ++- Deepgram/Models/Live/v1/Channel.cs | 6 ++- Deepgram/Models/Live/v1/EventResponse.cs | 6 ++- Deepgram/Models/Live/v1/LiveSchema.cs | 6 ++- Deepgram/Models/Live/v1/MessageToSend.cs | 6 ++- Deepgram/Models/Live/v1/Metadata.cs | 6 ++- Deepgram/Models/Live/v1/MetadataResponse.cs | 6 ++- Deepgram/Models/Live/v1/ModelInfo.cs | 6 ++- .../Models/Live/v1/SpeechStartedResponse.cs | 6 ++- .../Models/Live/v1/TranscriptionResponse.cs | 6 ++- .../Models/Live/v1/UtteranceEndResponse.cs | 6 ++- Deepgram/Models/Live/v1/Word.cs | 6 ++- Deepgram/Models/Manage/v1/BalanceResponse.cs | 6 ++- Deepgram/Models/Manage/v1/BalancesResponse.cs | 6 ++- Deepgram/Models/Manage/v1/Callback.cs | 6 ++- Deepgram/Models/Manage/v1/Config.cs | 6 ++- Deepgram/Models/Manage/v1/Details.cs | 6 ++- Deepgram/Models/Manage/v1/Invite.cs | 6 ++- Deepgram/Models/Manage/v1/InviteSchema.cs | 6 ++- Deepgram/Models/Manage/v1/InvitesResponse.cs | 6 ++- Deepgram/Models/Manage/v1/Key.cs | 6 ++- Deepgram/Models/Manage/v1/KeyResponse.cs | 6 ++- Deepgram/Models/Manage/v1/KeySchema.cs | 6 ++- Deepgram/Models/Manage/v1/KeyScopeResponse.cs | 6 ++- Deepgram/Models/Manage/v1/KeysResponse.cs | 6 ++- Deepgram/Models/Manage/v1/Member.cs | 6 ++- .../Models/Manage/v1/MemberScopeSchema.cs | 6 ++- .../Models/Manage/v1/MemberScopesResponse.cs | 6 ++- Deepgram/Models/Manage/v1/MembersResponse.cs | 6 ++- Deepgram/Models/Manage/v1/MessageResponse.cs | 6 ++- Deepgram/Models/Manage/v1/Model.cs | 6 ++- Deepgram/Models/Manage/v1/Project.cs | 6 ++- Deepgram/Models/Manage/v1/ProjectResponse.cs | 6 ++- Deepgram/Models/Manage/v1/ProjectSchema.cs | 6 ++- Deepgram/Models/Manage/v1/ProjectsResponse.cs | 6 ++- Deepgram/Models/Manage/v1/Resolution.cs | 6 ++- Deepgram/Models/Manage/v1/Response.cs | 6 ++- Deepgram/Models/Manage/v1/Result.cs | 6 ++- Deepgram/Models/Manage/v1/Token.cs | 6 ++- Deepgram/Models/Manage/v1/TokenDetails.cs | 6 ++- .../Models/Manage/v1/UsageFieldsResponse.cs | 6 ++- .../Models/Manage/v1/UsageFieldsSchema.cs | 6 ++- .../Models/Manage/v1/UsageRequestResponse.cs | 6 ++- .../Models/Manage/v1/UsageRequestsResponse.cs | 6 ++- .../Models/Manage/v1/UsageRequestsSchema.cs | 6 ++- .../Models/Manage/v1/UsageSummaryResponse.cs | 6 ++- .../Models/Manage/v1/UsageSummarySchema.cs | 6 ++- .../Models/OnPrem/v1/CredentialResponse.cs | 6 ++- .../Models/OnPrem/v1/CredentialsResponse.cs | 6 ++- .../Models/OnPrem/v1/CredentialsSchema.cs | 6 ++- .../OnPrem/v1/DistributionCredentials.cs | 6 ++- Deepgram/Models/OnPrem/v1/Member.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Alternative.cs | 6 ++- .../Models/PreRecorded/v1/AsyncResponse.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Average.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Channel.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Entity.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Hit.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Intent.cs | 6 ++- Deepgram/Models/PreRecorded/v1/IntentGroup.cs | 6 ++- .../Models/PreRecorded/v1/IntentSchema.cs | 6 ++- Deepgram/Models/PreRecorded/v1/IntentsInfo.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Metadata.cs | 6 ++- Deepgram/Models/PreRecorded/v1/ModelInfo.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Paragraph.cs | 6 ++- .../Models/PreRecorded/v1/ParagraphGroup.cs | 6 ++- .../PreRecorded/v1/PrerecordedSchema.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Results.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Search.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Segment.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Sentence.cs | 6 ++- .../Models/PreRecorded/v1/SentimentGroup.cs | 6 ++- .../Models/PreRecorded/v1/SentimentInfo.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Summary.cs | 6 ++- Deepgram/Models/PreRecorded/v1/SummaryInfo.cs | 6 ++- .../Models/PreRecorded/v1/SummaryObsolete.cs | 6 ++- .../Models/PreRecorded/v1/SyncResponse.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Topic.cs | 6 ++- Deepgram/Models/PreRecorded/v1/TopicGroup.cs | 6 ++- Deepgram/Models/PreRecorded/v1/TopicsInfo.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Translation.cs | 6 ++- Deepgram/Models/PreRecorded/v1/UrlSource.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Utterance.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Warning.cs | 6 ++- Deepgram/Models/PreRecorded/v1/Word.cs | 6 ++- Deepgram/OnPremClient.cs | 6 ++- Deepgram/PrerecordedClient.cs | 6 ++- Deepgram/Utilities/QueryParameterUtil.cs | 6 ++- Deepgram/Utilities/RequestContentUtil.cs | 6 ++- Deepgram/Utilities/UserAgentUtil.cs | 6 ++- 147 files changed, 752 insertions(+), 168 deletions(-) diff --git a/Deepgram.Tests/Fakes/ConcreteRestClient.cs b/Deepgram.Tests/Fakes/ConcreteRestClient.cs index 5c8b7ddb..76422e1b 100644 --- a/Deepgram.Tests/Fakes/ConcreteRestClient.cs +++ b/Deepgram.Tests/Fakes/ConcreteRestClient.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Authenticate.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Authenticate.v1; namespace Deepgram.Tests.Fakes; diff --git a/Deepgram.Tests/Fakes/MockHttpClient.cs b/Deepgram.Tests/Fakes/MockHttpClient.cs index 314007a9..95874d6c 100644 --- a/Deepgram.Tests/Fakes/MockHttpClient.cs +++ b/Deepgram.Tests/Fakes/MockHttpClient.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Tests.Fakes; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Tests.Fakes; public static class MockHttpClient { public static HttpClient CreateHttpClientWithResult( diff --git a/Deepgram.Tests/Fakes/MockHttpMessageHandler.cs b/Deepgram.Tests/Fakes/MockHttpMessageHandler.cs index a2393057..f0347475 100644 --- a/Deepgram.Tests/Fakes/MockHttpMessageHandler.cs +++ b/Deepgram.Tests/Fakes/MockHttpMessageHandler.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Tests.Fakes; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Tests.Fakes; public class MockHttpMessageHandler(T response, HttpStatusCode statusCode) : HttpMessageHandler { protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) diff --git a/Deepgram.Tests/Fakes/MockHttpMessageHandlerException.cs b/Deepgram.Tests/Fakes/MockHttpMessageHandlerException.cs index a5f6d670..0c4d21e4 100644 --- a/Deepgram.Tests/Fakes/MockHttpMessageHandlerException.cs +++ b/Deepgram.Tests/Fakes/MockHttpMessageHandlerException.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Tests.Fakes; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Tests.Fakes; public class MockHttpMessageHandlerException(Exception exceptionType) : HttpMessageHandler { protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) diff --git a/Deepgram.Tests/GlobalSuppressions.cs b/Deepgram.Tests/GlobalSuppressions.cs index 64acd118..ea4445db 100644 --- a/Deepgram.Tests/GlobalSuppressions.cs +++ b/Deepgram.Tests/GlobalSuppressions.cs @@ -1,4 +1,8 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/Deepgram.Tests/GlobalUsings.cs b/Deepgram.Tests/GlobalUsings.cs index d55a58ac..4b6328dc 100644 --- a/Deepgram.Tests/GlobalUsings.cs +++ b/Deepgram.Tests/GlobalUsings.cs @@ -1,4 +1,8 @@ -global using System.Net; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +global using System.Net; global using System.Text; global using System.Text.Json; global using System.Web; diff --git a/Deepgram.Tests/TestExtensions/LoggerTestExtensions.cs b/Deepgram.Tests/TestExtensions/LoggerTestExtensions.cs index 0b1d559c..3392ef4c 100644 --- a/Deepgram.Tests/TestExtensions/LoggerTestExtensions.cs +++ b/Deepgram.Tests/TestExtensions/LoggerTestExtensions.cs @@ -1,4 +1,8 @@ -using Microsoft.Extensions.Logging; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Microsoft.Extensions.Logging; namespace Deepgram.Tests.TestExtensions; diff --git a/Deepgram.Tests/UnitTests/ClientTests/AbstractRestClientTests.cs b/Deepgram.Tests/UnitTests/ClientTests/AbstractRestClientTests.cs index cd5d6f5e..69fa2b16 100644 --- a/Deepgram.Tests/UnitTests/ClientTests/AbstractRestClientTests.cs +++ b/Deepgram.Tests/UnitTests/ClientTests/AbstractRestClientTests.cs @@ -1,4 +1,8 @@ -using Deepgram.Encapsulations; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Encapsulations; using Deepgram.Models.Manage.v1; using Deepgram.Models.PreRecorded.v1; using Deepgram.Models.Authenticate.v1; diff --git a/Deepgram.Tests/UnitTests/ClientTests/LiveClientTests.cs b/Deepgram.Tests/UnitTests/ClientTests/LiveClientTests.cs index 1a6a86d6..8c20a93c 100644 --- a/Deepgram.Tests/UnitTests/ClientTests/LiveClientTests.cs +++ b/Deepgram.Tests/UnitTests/ClientTests/LiveClientTests.cs @@ -1,4 +1,8 @@ -using System.Net.WebSockets; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using System.Net.WebSockets; using Deepgram.DeepgramEventArgs; using Deepgram.Models.Live.v1; using Deepgram.Models.Authenticate.v1; diff --git a/Deepgram.Tests/UnitTests/ClientTests/ManageClientTest.cs b/Deepgram.Tests/UnitTests/ClientTests/ManageClientTest.cs index ecb5b686..6426f1b2 100644 --- a/Deepgram.Tests/UnitTests/ClientTests/ManageClientTest.cs +++ b/Deepgram.Tests/UnitTests/ClientTests/ManageClientTest.cs @@ -1,4 +1,8 @@ -using Deepgram.Encapsulations; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Encapsulations; using Deepgram.Models.Manage; using Deepgram.Models.Manage.v1; using Deepgram.Models.Authenticate.v1; diff --git a/Deepgram.Tests/UnitTests/ClientTests/OnPremClientTests.cs b/Deepgram.Tests/UnitTests/ClientTests/OnPremClientTests.cs index 4912a1c4..8b8bf9db 100644 --- a/Deepgram.Tests/UnitTests/ClientTests/OnPremClientTests.cs +++ b/Deepgram.Tests/UnitTests/ClientTests/OnPremClientTests.cs @@ -1,4 +1,8 @@ -using Deepgram.Encapsulations; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Encapsulations; using Deepgram.Models.Manage.v1; using Deepgram.Models.OnPrem.v1; using Deepgram.Models.Authenticate.v1; diff --git a/Deepgram.Tests/UnitTests/ClientTests/PrerecordedClientTests.cs b/Deepgram.Tests/UnitTests/ClientTests/PrerecordedClientTests.cs index c72cb654..27eb7067 100644 --- a/Deepgram.Tests/UnitTests/ClientTests/PrerecordedClientTests.cs +++ b/Deepgram.Tests/UnitTests/ClientTests/PrerecordedClientTests.cs @@ -1,4 +1,8 @@ -using Deepgram.Encapsulations; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Encapsulations; using Deepgram.Models.PreRecorded.v1; using Deepgram.Models.Authenticate.v1; diff --git a/Deepgram.Tests/UnitTests/ExtensionsTests/HttpClientExtensionTests.cs b/Deepgram.Tests/UnitTests/ExtensionsTests/HttpClientExtensionTests.cs index 6f038e5a..76e0fa11 100644 --- a/Deepgram.Tests/UnitTests/ExtensionsTests/HttpClientExtensionTests.cs +++ b/Deepgram.Tests/UnitTests/ExtensionsTests/HttpClientExtensionTests.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Manage.v1; using Deepgram.Models.Authenticate.v1; namespace Deepgram.Tests.UnitTests.ExtensionsTests; diff --git a/Deepgram.Tests/UnitTests/LoggerProviderTests/LogProviderTest.cs b/Deepgram.Tests/UnitTests/LoggerProviderTests/LogProviderTest.cs index 5f19eb94..3e598469 100644 --- a/Deepgram.Tests/UnitTests/LoggerProviderTests/LogProviderTest.cs +++ b/Deepgram.Tests/UnitTests/LoggerProviderTests/LogProviderTest.cs @@ -1,4 +1,7 @@ - +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + using Deepgram.Logger; using Microsoft.Extensions.Logging; diff --git a/Deepgram.Tests/UnitTests/UtilitiesTests/QueryParameterUtilTests.cs b/Deepgram.Tests/UnitTests/UtilitiesTests/QueryParameterUtilTests.cs index 5e74c247..5f62635f 100644 --- a/Deepgram.Tests/UnitTests/UtilitiesTests/QueryParameterUtilTests.cs +++ b/Deepgram.Tests/UnitTests/UtilitiesTests/QueryParameterUtilTests.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Manage.v1; using Deepgram.Models.PreRecorded.v1; namespace Deepgram.Tests.UnitTests.UtilitiesTests; diff --git a/Deepgram.Tests/UnitTests/UtilitiesTests/RequestContentUtilTests.cs b/Deepgram.Tests/UnitTests/UtilitiesTests/RequestContentUtilTests.cs index e363b033..f5c944d5 100644 --- a/Deepgram.Tests/UnitTests/UtilitiesTests/RequestContentUtilTests.cs +++ b/Deepgram.Tests/UnitTests/UtilitiesTests/RequestContentUtilTests.cs @@ -1,4 +1,7 @@ - +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + using Deepgram.Models.Manage.v1; namespace Deepgram.Tests.UnitTests.UtilitiesTests; diff --git a/Deepgram.Tests/UnitTests/UtilitiesTests/UserAgentTest.cs b/Deepgram.Tests/UnitTests/UtilitiesTests/UserAgentTest.cs index a9c4985d..09ed8ec4 100644 --- a/Deepgram.Tests/UnitTests/UtilitiesTests/UserAgentTest.cs +++ b/Deepgram.Tests/UnitTests/UtilitiesTests/UserAgentTest.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Tests.UnitTests.UtilitiesTests; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Tests.UnitTests.UtilitiesTests; internal class UserAgentTest { [Test] diff --git a/Deepgram.Tests/VoidResponse.cs b/Deepgram.Tests/VoidResponse.cs index a427c395..68517831 100644 --- a/Deepgram.Tests/VoidResponse.cs +++ b/Deepgram.Tests/VoidResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Tests; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Tests; public class VoidResponse { public Exception? Error { get; set; } diff --git a/Deepgram/Abstractions/AbstractRestClient.cs b/Deepgram/Abstractions/AbstractRestClient.cs index 8cf9659e..fe590547 100644 --- a/Deepgram/Abstractions/AbstractRestClient.cs +++ b/Deepgram/Abstractions/AbstractRestClient.cs @@ -1,4 +1,8 @@ -using Deepgram.Encapsulations; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Encapsulations; using Deepgram.Models.Authenticate.v1; namespace Deepgram.Abstractions; diff --git a/Deepgram/AnalyzeClient.cs b/Deepgram/AnalyzeClient.cs index 215a4f95..daac6e56 100644 --- a/Deepgram/AnalyzeClient.cs +++ b/Deepgram/AnalyzeClient.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Analyze.v1; using Deepgram.Models.Authenticate.v1; namespace Deepgram; diff --git a/Deepgram/Constants/AudioEncoding.cs b/Deepgram/Constants/AudioEncoding.cs index 7af0d965..b2445f80 100644 --- a/Deepgram/Constants/AudioEncoding.cs +++ b/Deepgram/Constants/AudioEncoding.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Constants; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Constants; /// /// Expected encoding of the submitted streaming audio. diff --git a/Deepgram/Constants/Defaults.cs b/Deepgram/Constants/Defaults.cs index 962798d3..0d6a8d92 100644 --- a/Deepgram/Constants/Defaults.cs +++ b/Deepgram/Constants/Defaults.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Constants; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Constants; public static class Defaults { diff --git a/Deepgram/Constants/UriSegments.cs b/Deepgram/Constants/UriSegments.cs index 8fb4cff8..67f15627 100644 --- a/Deepgram/Constants/UriSegments.cs +++ b/Deepgram/Constants/UriSegments.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Constants; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Constants; public static class UriSegments { diff --git a/Deepgram/Encapsulations/HttpClientFactory.cs b/Deepgram/Encapsulations/HttpClientFactory.cs index da85399f..e2d10590 100644 --- a/Deepgram/Encapsulations/HttpClientFactory.cs +++ b/Deepgram/Encapsulations/HttpClientFactory.cs @@ -1,4 +1,8 @@ -using Deepgram.Extensions; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Extensions; using Deepgram.Models.Authenticate.v1; namespace Deepgram.Encapsulations; diff --git a/Deepgram/Encapsulations/HttpClientWrapper.cs b/Deepgram/Encapsulations/HttpClientWrapper.cs index a18100d6..dceada6c 100644 --- a/Deepgram/Encapsulations/HttpClientWrapper.cs +++ b/Deepgram/Encapsulations/HttpClientWrapper.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Encapsulations; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Encapsulations; internal class HttpClientWrapper(HttpClient HttpClient) { diff --git a/Deepgram/Enums/LiveType.cs b/Deepgram/Enums/LiveType.cs index b347ce0e..e786943f 100644 --- a/Deepgram/Enums/LiveType.cs +++ b/Deepgram/Enums/LiveType.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Enums; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Enums; public enum LiveType { Metadata, diff --git a/Deepgram/Enums/RequestMethod.cs b/Deepgram/Enums/RequestMethod.cs index 8262b460..fffa38dd 100644 --- a/Deepgram/Enums/RequestMethod.cs +++ b/Deepgram/Enums/RequestMethod.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Enums; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Enums; public enum RequestMethod { diff --git a/Deepgram/Enums/WarningType.cs b/Deepgram/Enums/WarningType.cs index e8453153..8b729e75 100644 --- a/Deepgram/Enums/WarningType.cs +++ b/Deepgram/Enums/WarningType.cs @@ -1,4 +1,8 @@ -using System.Runtime.Serialization; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using System.Runtime.Serialization; namespace Deepgram.Enums; diff --git a/Deepgram/EventArgs/ResponseReceivedEventArgs.cs b/Deepgram/EventArgs/ResponseReceivedEventArgs.cs index f971a0b4..b043f09c 100644 --- a/Deepgram/EventArgs/ResponseReceivedEventArgs.cs +++ b/Deepgram/EventArgs/ResponseReceivedEventArgs.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Live.v1; namespace Deepgram.DeepgramEventArgs; diff --git a/Deepgram/Extensions/ClientWebSocketExtensions.cs b/Deepgram/Extensions/ClientWebSocketExtensions.cs index 3db60035..8b3a4a59 100644 --- a/Deepgram/Extensions/ClientWebSocketExtensions.cs +++ b/Deepgram/Extensions/ClientWebSocketExtensions.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Authenticate.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Authenticate.v1; namespace Deepgram.Extensions; public static class ClientWebSocketExtensions diff --git a/Deepgram/Extensions/HttpClientExtensions.cs b/Deepgram/Extensions/HttpClientExtensions.cs index 3e060115..0e81d819 100644 --- a/Deepgram/Extensions/HttpClientExtensions.cs +++ b/Deepgram/Extensions/HttpClientExtensions.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Authenticate.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Authenticate.v1; namespace Deepgram.Extensions; diff --git a/Deepgram/GlobalSuppressions.cs b/Deepgram/GlobalSuppressions.cs index b9efa119..b28ad311 100644 --- a/Deepgram/GlobalSuppressions.cs +++ b/Deepgram/GlobalSuppressions.cs @@ -1,4 +1,8 @@ -// This file is used by Code Analysis to maintain SuppressMessage +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/Deepgram/GlobalUsings.cs b/Deepgram/GlobalUsings.cs index 4a0bce24..82502822 100644 --- a/Deepgram/GlobalUsings.cs +++ b/Deepgram/GlobalUsings.cs @@ -1,4 +1,8 @@ -global using System.Collections.Concurrent; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +global using System.Collections.Concurrent; global using System.Net.Http.Headers; global using System.Net.WebSockets; global using System.Reflection; diff --git a/Deepgram/LiveClient.cs b/Deepgram/LiveClient.cs index 94e23289..b58dd011 100644 --- a/Deepgram/LiveClient.cs +++ b/Deepgram/LiveClient.cs @@ -1,4 +1,8 @@ -using Deepgram.Extensions; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Extensions; using Deepgram.Models.Live.v1; using Deepgram.Models.Authenticate.v1; diff --git a/Deepgram/Logger/Log.cs b/Deepgram/Logger/Log.cs index b34c7359..8e2cec9e 100644 --- a/Deepgram/Logger/Log.cs +++ b/Deepgram/Logger/Log.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Manage.v1; namespace Deepgram.Logger; internal static partial class Log diff --git a/Deepgram/Logger/LogProvider.cs b/Deepgram/Logger/LogProvider.cs index 22558921..cd79d17e 100644 --- a/Deepgram/Logger/LogProvider.cs +++ b/Deepgram/Logger/LogProvider.cs @@ -1,32 +1,35 @@ -namespace Deepgram.Logger +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Logger; + +public sealed class LogProvider { - public sealed class LogProvider - { - internal static readonly ConcurrentDictionary _loggers = new(); - internal static ILoggerFactory? _loggerFactory = NullLoggerFactory.Instance; + internal static readonly ConcurrentDictionary _loggers = new(); + internal static ILoggerFactory? _loggerFactory = NullLoggerFactory.Instance; - public static void SetLogFactory(ILoggerFactory factory) - { - _loggerFactory?.Dispose(); - _loggerFactory = factory; - _loggers.Clear(); - } + public static void SetLogFactory(ILoggerFactory factory) + { + _loggerFactory?.Dispose(); + _loggerFactory = factory; + _loggers.Clear(); + } - public static ILogger GetLogger(string category) + public static ILogger GetLogger(string category) + { + // Try to get the logger from the dictionary + if (!_loggers.TryGetValue(category, out var logger)) { - // Try to get the logger from the dictionary - if (!_loggers.TryGetValue(category, out var logger)) - { - // If not found, create a new logger and add it to the dictionary - logger = _loggerFactory?.CreateLogger(category) ?? NullLogger.Instance; - _loggers[category] = logger; - } - // Return the logger - return logger; + // If not found, create a new logger and add it to the dictionary + logger = _loggerFactory?.CreateLogger(category) ?? NullLogger.Instance; + _loggers[category] = logger; } + // Return the logger + return logger; + } - } } diff --git a/Deepgram/ManageClient.cs b/Deepgram/ManageClient.cs index 0df8c340..1b1c3682 100644 --- a/Deepgram/ManageClient.cs +++ b/Deepgram/ManageClient.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Manage.v1; using Deepgram.Models.Authenticate.v1; namespace Deepgram; diff --git a/Deepgram/Models/Analyze/v1/AnalyzeSchema.cs b/Deepgram/Models/Analyze/v1/AnalyzeSchema.cs index 1d07ba4b..7c99675f 100644 --- a/Deepgram/Models/Analyze/v1/AnalyzeSchema.cs +++ b/Deepgram/Models/Analyze/v1/AnalyzeSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public class AnalyzeSchema { diff --git a/Deepgram/Models/Analyze/v1/AsyncResponse.cs b/Deepgram/Models/Analyze/v1/AsyncResponse.cs index 09634c7e..48650667 100644 --- a/Deepgram/Models/Analyze/v1/AsyncResponse.cs +++ b/Deepgram/Models/Analyze/v1/AsyncResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record AsyncResponse { diff --git a/Deepgram/Models/Analyze/v1/Average.cs b/Deepgram/Models/Analyze/v1/Average.cs index 00e5b55a..f4134709 100644 --- a/Deepgram/Models/Analyze/v1/Average.cs +++ b/Deepgram/Models/Analyze/v1/Average.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record Average { diff --git a/Deepgram/Models/Analyze/v1/Intent.cs b/Deepgram/Models/Analyze/v1/Intent.cs index 56ef300a..4e577a06 100644 --- a/Deepgram/Models/Analyze/v1/Intent.cs +++ b/Deepgram/Models/Analyze/v1/Intent.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record Intent { diff --git a/Deepgram/Models/Analyze/v1/IntentGroup.cs b/Deepgram/Models/Analyze/v1/IntentGroup.cs index f4d9777e..a5dd5bd3 100644 --- a/Deepgram/Models/Analyze/v1/IntentGroup.cs +++ b/Deepgram/Models/Analyze/v1/IntentGroup.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record IntentGroup { diff --git a/Deepgram/Models/Analyze/v1/IntentsInfo.cs b/Deepgram/Models/Analyze/v1/IntentsInfo.cs index e740707d..0ff2a118 100644 --- a/Deepgram/Models/Analyze/v1/IntentsInfo.cs +++ b/Deepgram/Models/Analyze/v1/IntentsInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record IntentsInfo { diff --git a/Deepgram/Models/Analyze/v1/Metadata.cs b/Deepgram/Models/Analyze/v1/Metadata.cs index e99ae5d7..10cbaf1d 100644 --- a/Deepgram/Models/Analyze/v1/Metadata.cs +++ b/Deepgram/Models/Analyze/v1/Metadata.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record Metadata { diff --git a/Deepgram/Models/Analyze/v1/Results.cs b/Deepgram/Models/Analyze/v1/Results.cs index b9ffe552..95a5fc53 100644 --- a/Deepgram/Models/Analyze/v1/Results.cs +++ b/Deepgram/Models/Analyze/v1/Results.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record Results { diff --git a/Deepgram/Models/Analyze/v1/Segment.cs b/Deepgram/Models/Analyze/v1/Segment.cs index 65c77f87..eae6e0a9 100644 --- a/Deepgram/Models/Analyze/v1/Segment.cs +++ b/Deepgram/Models/Analyze/v1/Segment.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record Segment { diff --git a/Deepgram/Models/Analyze/v1/SentimentGroup.cs b/Deepgram/Models/Analyze/v1/SentimentGroup.cs index 4e89bb05..1d7bc442 100644 --- a/Deepgram/Models/Analyze/v1/SentimentGroup.cs +++ b/Deepgram/Models/Analyze/v1/SentimentGroup.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record SentimentGroup { diff --git a/Deepgram/Models/Analyze/v1/SentimentInfo.cs b/Deepgram/Models/Analyze/v1/SentimentInfo.cs index 326fba83..d880994a 100644 --- a/Deepgram/Models/Analyze/v1/SentimentInfo.cs +++ b/Deepgram/Models/Analyze/v1/SentimentInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record SentimentInfo { diff --git a/Deepgram/Models/Analyze/v1/Summary.cs b/Deepgram/Models/Analyze/v1/Summary.cs index fedc1544..52ba08ea 100644 --- a/Deepgram/Models/Analyze/v1/Summary.cs +++ b/Deepgram/Models/Analyze/v1/Summary.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record Summary { diff --git a/Deepgram/Models/Analyze/v1/SummaryInfo.cs b/Deepgram/Models/Analyze/v1/SummaryInfo.cs index 6f28634f..a780be9e 100644 --- a/Deepgram/Models/Analyze/v1/SummaryInfo.cs +++ b/Deepgram/Models/Analyze/v1/SummaryInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record SummaryInfo { diff --git a/Deepgram/Models/Analyze/v1/SyncResponse.cs b/Deepgram/Models/Analyze/v1/SyncResponse.cs index ec1ff926..8e598efa 100644 --- a/Deepgram/Models/Analyze/v1/SyncResponse.cs +++ b/Deepgram/Models/Analyze/v1/SyncResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record SyncResponse { diff --git a/Deepgram/Models/Analyze/v1/Topic.cs b/Deepgram/Models/Analyze/v1/Topic.cs index 1cc129f2..ba35d6fb 100644 --- a/Deepgram/Models/Analyze/v1/Topic.cs +++ b/Deepgram/Models/Analyze/v1/Topic.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record Topic { diff --git a/Deepgram/Models/Analyze/v1/TopicGroup.cs b/Deepgram/Models/Analyze/v1/TopicGroup.cs index d19730da..c7d9d929 100644 --- a/Deepgram/Models/Analyze/v1/TopicGroup.cs +++ b/Deepgram/Models/Analyze/v1/TopicGroup.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record TopicGroup { diff --git a/Deepgram/Models/Analyze/v1/TopicsInfo.cs b/Deepgram/Models/Analyze/v1/TopicsInfo.cs index b088bd91..3dbf3a99 100644 --- a/Deepgram/Models/Analyze/v1/TopicsInfo.cs +++ b/Deepgram/Models/Analyze/v1/TopicsInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public record TopicsInfo { diff --git a/Deepgram/Models/Analyze/v1/UrlSource.cs b/Deepgram/Models/Analyze/v1/UrlSource.cs index 3d7fc189..6fd7b460 100644 --- a/Deepgram/Models/Analyze/v1/UrlSource.cs +++ b/Deepgram/Models/Analyze/v1/UrlSource.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Analyze.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Analyze.v1; public class UrlSource(string url) { diff --git a/Deepgram/Models/Authenticate/v1/DeepgramClientOptions.cs b/Deepgram/Models/Authenticate/v1/DeepgramClientOptions.cs index 6714ba02..a298710b 100644 --- a/Deepgram/Models/Authenticate/v1/DeepgramClientOptions.cs +++ b/Deepgram/Models/Authenticate/v1/DeepgramClientOptions.cs @@ -1,4 +1,7 @@ - +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + namespace Deepgram.Models.Authenticate.v1; /// diff --git a/Deepgram/Models/Live/v1/Alternative.cs b/Deepgram/Models/Live/v1/Alternative.cs index 206fcbc2..0712147b 100644 --- a/Deepgram/Models/Live/v1/Alternative.cs +++ b/Deepgram/Models/Live/v1/Alternative.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record Alternative { diff --git a/Deepgram/Models/Live/v1/Average.cs b/Deepgram/Models/Live/v1/Average.cs index 71c6343f..63a60697 100644 --- a/Deepgram/Models/Live/v1/Average.cs +++ b/Deepgram/Models/Live/v1/Average.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record Average { diff --git a/Deepgram/Models/Live/v1/Channel.cs b/Deepgram/Models/Live/v1/Channel.cs index 7a6c7cc8..91c26d53 100644 --- a/Deepgram/Models/Live/v1/Channel.cs +++ b/Deepgram/Models/Live/v1/Channel.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record Channel { diff --git a/Deepgram/Models/Live/v1/EventResponse.cs b/Deepgram/Models/Live/v1/EventResponse.cs index 9ca7d394..32cdb520 100644 --- a/Deepgram/Models/Live/v1/EventResponse.cs +++ b/Deepgram/Models/Live/v1/EventResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public class EventResponse { diff --git a/Deepgram/Models/Live/v1/LiveSchema.cs b/Deepgram/Models/Live/v1/LiveSchema.cs index 2ab1b34b..44c5afbc 100644 --- a/Deepgram/Models/Live/v1/LiveSchema.cs +++ b/Deepgram/Models/Live/v1/LiveSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public class LiveSchema { diff --git a/Deepgram/Models/Live/v1/MessageToSend.cs b/Deepgram/Models/Live/v1/MessageToSend.cs index 8cae29fe..db98c6f2 100644 --- a/Deepgram/Models/Live/v1/MessageToSend.cs +++ b/Deepgram/Models/Live/v1/MessageToSend.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; internal readonly struct MessageToSend(byte[] message, WebSocketMessageType type) { diff --git a/Deepgram/Models/Live/v1/Metadata.cs b/Deepgram/Models/Live/v1/Metadata.cs index acdc6927..8814462f 100644 --- a/Deepgram/Models/Live/v1/Metadata.cs +++ b/Deepgram/Models/Live/v1/Metadata.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record MetaData { diff --git a/Deepgram/Models/Live/v1/MetadataResponse.cs b/Deepgram/Models/Live/v1/MetadataResponse.cs index e3625b04..e33505df 100644 --- a/Deepgram/Models/Live/v1/MetadataResponse.cs +++ b/Deepgram/Models/Live/v1/MetadataResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record MetadataResponse { diff --git a/Deepgram/Models/Live/v1/ModelInfo.cs b/Deepgram/Models/Live/v1/ModelInfo.cs index b0b3adeb..c3a25c7e 100644 --- a/Deepgram/Models/Live/v1/ModelInfo.cs +++ b/Deepgram/Models/Live/v1/ModelInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record ModelInfo { diff --git a/Deepgram/Models/Live/v1/SpeechStartedResponse.cs b/Deepgram/Models/Live/v1/SpeechStartedResponse.cs index be6fbd79..520f231b 100644 --- a/Deepgram/Models/Live/v1/SpeechStartedResponse.cs +++ b/Deepgram/Models/Live/v1/SpeechStartedResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record SpeechStartedResponse { diff --git a/Deepgram/Models/Live/v1/TranscriptionResponse.cs b/Deepgram/Models/Live/v1/TranscriptionResponse.cs index df36bf9b..bc485ab6 100644 --- a/Deepgram/Models/Live/v1/TranscriptionResponse.cs +++ b/Deepgram/Models/Live/v1/TranscriptionResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record TranscriptionResponse { /// diff --git a/Deepgram/Models/Live/v1/UtteranceEndResponse.cs b/Deepgram/Models/Live/v1/UtteranceEndResponse.cs index 28718a32..80b5f591 100644 --- a/Deepgram/Models/Live/v1/UtteranceEndResponse.cs +++ b/Deepgram/Models/Live/v1/UtteranceEndResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record UtteranceEndResponse { diff --git a/Deepgram/Models/Live/v1/Word.cs b/Deepgram/Models/Live/v1/Word.cs index 174761e3..b79d3392 100644 --- a/Deepgram/Models/Live/v1/Word.cs +++ b/Deepgram/Models/Live/v1/Word.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Live.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Live.v1; public record Word { diff --git a/Deepgram/Models/Manage/v1/BalanceResponse.cs b/Deepgram/Models/Manage/v1/BalanceResponse.cs index 459bc0d0..0014fd0a 100644 --- a/Deepgram/Models/Manage/v1/BalanceResponse.cs +++ b/Deepgram/Models/Manage/v1/BalanceResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record BalanceResponse { diff --git a/Deepgram/Models/Manage/v1/BalancesResponse.cs b/Deepgram/Models/Manage/v1/BalancesResponse.cs index fc151837..2841a8e1 100644 --- a/Deepgram/Models/Manage/v1/BalancesResponse.cs +++ b/Deepgram/Models/Manage/v1/BalancesResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record BalancesResponse { diff --git a/Deepgram/Models/Manage/v1/Callback.cs b/Deepgram/Models/Manage/v1/Callback.cs index c84c7477..10e23740 100644 --- a/Deepgram/Models/Manage/v1/Callback.cs +++ b/Deepgram/Models/Manage/v1/Callback.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Callback { diff --git a/Deepgram/Models/Manage/v1/Config.cs b/Deepgram/Models/Manage/v1/Config.cs index 5fae55f0..6efa97b3 100644 --- a/Deepgram/Models/Manage/v1/Config.cs +++ b/Deepgram/Models/Manage/v1/Config.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Config { diff --git a/Deepgram/Models/Manage/v1/Details.cs b/Deepgram/Models/Manage/v1/Details.cs index b70074e2..f4b8608c 100644 --- a/Deepgram/Models/Manage/v1/Details.cs +++ b/Deepgram/Models/Manage/v1/Details.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Details { diff --git a/Deepgram/Models/Manage/v1/Invite.cs b/Deepgram/Models/Manage/v1/Invite.cs index 5dbec078..40e6bf82 100644 --- a/Deepgram/Models/Manage/v1/Invite.cs +++ b/Deepgram/Models/Manage/v1/Invite.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Invite { diff --git a/Deepgram/Models/Manage/v1/InviteSchema.cs b/Deepgram/Models/Manage/v1/InviteSchema.cs index c3b7716c..a4cc55cf 100644 --- a/Deepgram/Models/Manage/v1/InviteSchema.cs +++ b/Deepgram/Models/Manage/v1/InviteSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public class InviteSchema(string email, string scope) { diff --git a/Deepgram/Models/Manage/v1/InvitesResponse.cs b/Deepgram/Models/Manage/v1/InvitesResponse.cs index e57c1f21..eb4bb584 100644 --- a/Deepgram/Models/Manage/v1/InvitesResponse.cs +++ b/Deepgram/Models/Manage/v1/InvitesResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record InvitesResponse { diff --git a/Deepgram/Models/Manage/v1/Key.cs b/Deepgram/Models/Manage/v1/Key.cs index 9cd450c3..9ba38877 100644 --- a/Deepgram/Models/Manage/v1/Key.cs +++ b/Deepgram/Models/Manage/v1/Key.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Key { diff --git a/Deepgram/Models/Manage/v1/KeyResponse.cs b/Deepgram/Models/Manage/v1/KeyResponse.cs index 7b7103b3..d792e2d7 100644 --- a/Deepgram/Models/Manage/v1/KeyResponse.cs +++ b/Deepgram/Models/Manage/v1/KeyResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record KeyResponse : Key { diff --git a/Deepgram/Models/Manage/v1/KeySchema.cs b/Deepgram/Models/Manage/v1/KeySchema.cs index 32bcbaff..c163c37c 100644 --- a/Deepgram/Models/Manage/v1/KeySchema.cs +++ b/Deepgram/Models/Manage/v1/KeySchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public class KeySchema(string comment, List scopes) { diff --git a/Deepgram/Models/Manage/v1/KeyScopeResponse.cs b/Deepgram/Models/Manage/v1/KeyScopeResponse.cs index 8eb1d0fd..354625a5 100644 --- a/Deepgram/Models/Manage/v1/KeyScopeResponse.cs +++ b/Deepgram/Models/Manage/v1/KeyScopeResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record KeyScopeResponse { diff --git a/Deepgram/Models/Manage/v1/KeysResponse.cs b/Deepgram/Models/Manage/v1/KeysResponse.cs index 36a07c78..ac3a74d1 100644 --- a/Deepgram/Models/Manage/v1/KeysResponse.cs +++ b/Deepgram/Models/Manage/v1/KeysResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record KeysResponse { diff --git a/Deepgram/Models/Manage/v1/Member.cs b/Deepgram/Models/Manage/v1/Member.cs index a60639c6..315fd2e7 100644 --- a/Deepgram/Models/Manage/v1/Member.cs +++ b/Deepgram/Models/Manage/v1/Member.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Member { diff --git a/Deepgram/Models/Manage/v1/MemberScopeSchema.cs b/Deepgram/Models/Manage/v1/MemberScopeSchema.cs index 8e2aec1f..34b89049 100644 --- a/Deepgram/Models/Manage/v1/MemberScopeSchema.cs +++ b/Deepgram/Models/Manage/v1/MemberScopeSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public class MemberScopeSchema(string scope) { diff --git a/Deepgram/Models/Manage/v1/MemberScopesResponse.cs b/Deepgram/Models/Manage/v1/MemberScopesResponse.cs index d55b27e3..d84e5e58 100644 --- a/Deepgram/Models/Manage/v1/MemberScopesResponse.cs +++ b/Deepgram/Models/Manage/v1/MemberScopesResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record MemberScopesResponse { diff --git a/Deepgram/Models/Manage/v1/MembersResponse.cs b/Deepgram/Models/Manage/v1/MembersResponse.cs index aef55847..f955803e 100644 --- a/Deepgram/Models/Manage/v1/MembersResponse.cs +++ b/Deepgram/Models/Manage/v1/MembersResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record MembersResponse { diff --git a/Deepgram/Models/Manage/v1/MessageResponse.cs b/Deepgram/Models/Manage/v1/MessageResponse.cs index 9cfbef29..fc746754 100644 --- a/Deepgram/Models/Manage/v1/MessageResponse.cs +++ b/Deepgram/Models/Manage/v1/MessageResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record MessageResponse { diff --git a/Deepgram/Models/Manage/v1/Model.cs b/Deepgram/Models/Manage/v1/Model.cs index fb92ba53..94bdc96d 100644 --- a/Deepgram/Models/Manage/v1/Model.cs +++ b/Deepgram/Models/Manage/v1/Model.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Model { diff --git a/Deepgram/Models/Manage/v1/Project.cs b/Deepgram/Models/Manage/v1/Project.cs index 6479ff75..58b8b6d8 100644 --- a/Deepgram/Models/Manage/v1/Project.cs +++ b/Deepgram/Models/Manage/v1/Project.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Project { diff --git a/Deepgram/Models/Manage/v1/ProjectResponse.cs b/Deepgram/Models/Manage/v1/ProjectResponse.cs index 774789ae..4369bc18 100644 --- a/Deepgram/Models/Manage/v1/ProjectResponse.cs +++ b/Deepgram/Models/Manage/v1/ProjectResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record ProjectResponse : Project { diff --git a/Deepgram/Models/Manage/v1/ProjectSchema.cs b/Deepgram/Models/Manage/v1/ProjectSchema.cs index aa663cba..a250776d 100644 --- a/Deepgram/Models/Manage/v1/ProjectSchema.cs +++ b/Deepgram/Models/Manage/v1/ProjectSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public class ProjectSchema { diff --git a/Deepgram/Models/Manage/v1/ProjectsResponse.cs b/Deepgram/Models/Manage/v1/ProjectsResponse.cs index 92c0e093..ddccc86c 100644 --- a/Deepgram/Models/Manage/v1/ProjectsResponse.cs +++ b/Deepgram/Models/Manage/v1/ProjectsResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record ProjectsResponse { diff --git a/Deepgram/Models/Manage/v1/Resolution.cs b/Deepgram/Models/Manage/v1/Resolution.cs index 82ff0c26..4662876c 100644 --- a/Deepgram/Models/Manage/v1/Resolution.cs +++ b/Deepgram/Models/Manage/v1/Resolution.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Resolution { diff --git a/Deepgram/Models/Manage/v1/Response.cs b/Deepgram/Models/Manage/v1/Response.cs index 33824456..f670f61b 100644 --- a/Deepgram/Models/Manage/v1/Response.cs +++ b/Deepgram/Models/Manage/v1/Response.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Response { diff --git a/Deepgram/Models/Manage/v1/Result.cs b/Deepgram/Models/Manage/v1/Result.cs index a01676d4..eacbc58d 100644 --- a/Deepgram/Models/Manage/v1/Result.cs +++ b/Deepgram/Models/Manage/v1/Result.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record UsageSummary { diff --git a/Deepgram/Models/Manage/v1/Token.cs b/Deepgram/Models/Manage/v1/Token.cs index 9df64942..0f9ed987 100644 --- a/Deepgram/Models/Manage/v1/Token.cs +++ b/Deepgram/Models/Manage/v1/Token.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record Token { diff --git a/Deepgram/Models/Manage/v1/TokenDetails.cs b/Deepgram/Models/Manage/v1/TokenDetails.cs index d712fc75..1437b249 100644 --- a/Deepgram/Models/Manage/v1/TokenDetails.cs +++ b/Deepgram/Models/Manage/v1/TokenDetails.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record TokenDetails { diff --git a/Deepgram/Models/Manage/v1/UsageFieldsResponse.cs b/Deepgram/Models/Manage/v1/UsageFieldsResponse.cs index 055e8b66..bd9f2a28 100644 --- a/Deepgram/Models/Manage/v1/UsageFieldsResponse.cs +++ b/Deepgram/Models/Manage/v1/UsageFieldsResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record UsageFieldsResponse { diff --git a/Deepgram/Models/Manage/v1/UsageFieldsSchema.cs b/Deepgram/Models/Manage/v1/UsageFieldsSchema.cs index 9a1da483..d38861b2 100644 --- a/Deepgram/Models/Manage/v1/UsageFieldsSchema.cs +++ b/Deepgram/Models/Manage/v1/UsageFieldsSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public class UsageFieldsSchema { diff --git a/Deepgram/Models/Manage/v1/UsageRequestResponse.cs b/Deepgram/Models/Manage/v1/UsageRequestResponse.cs index 87c90e3b..da59a8c4 100644 --- a/Deepgram/Models/Manage/v1/UsageRequestResponse.cs +++ b/Deepgram/Models/Manage/v1/UsageRequestResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record UsageRequestResponse { diff --git a/Deepgram/Models/Manage/v1/UsageRequestsResponse.cs b/Deepgram/Models/Manage/v1/UsageRequestsResponse.cs index c150900a..21b4a8ad 100644 --- a/Deepgram/Models/Manage/v1/UsageRequestsResponse.cs +++ b/Deepgram/Models/Manage/v1/UsageRequestsResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record UsageRequestsResponse { diff --git a/Deepgram/Models/Manage/v1/UsageRequestsSchema.cs b/Deepgram/Models/Manage/v1/UsageRequestsSchema.cs index 3ec148b1..6876c446 100644 --- a/Deepgram/Models/Manage/v1/UsageRequestsSchema.cs +++ b/Deepgram/Models/Manage/v1/UsageRequestsSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public class UsageRequestsSchema { diff --git a/Deepgram/Models/Manage/v1/UsageSummaryResponse.cs b/Deepgram/Models/Manage/v1/UsageSummaryResponse.cs index 4b996376..b4682e9c 100644 --- a/Deepgram/Models/Manage/v1/UsageSummaryResponse.cs +++ b/Deepgram/Models/Manage/v1/UsageSummaryResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public record UsageSummaryResponse { diff --git a/Deepgram/Models/Manage/v1/UsageSummarySchema.cs b/Deepgram/Models/Manage/v1/UsageSummarySchema.cs index 8f1b980c..c29befd4 100644 --- a/Deepgram/Models/Manage/v1/UsageSummarySchema.cs +++ b/Deepgram/Models/Manage/v1/UsageSummarySchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.Manage.v1; public class UsageSummarySchema { diff --git a/Deepgram/Models/OnPrem/v1/CredentialResponse.cs b/Deepgram/Models/OnPrem/v1/CredentialResponse.cs index 308ecd0f..84a368c3 100644 --- a/Deepgram/Models/OnPrem/v1/CredentialResponse.cs +++ b/Deepgram/Models/OnPrem/v1/CredentialResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.OnPrem.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.OnPrem.v1; public record CredentialResponse { diff --git a/Deepgram/Models/OnPrem/v1/CredentialsResponse.cs b/Deepgram/Models/OnPrem/v1/CredentialsResponse.cs index 3b008ba1..e9b90804 100644 --- a/Deepgram/Models/OnPrem/v1/CredentialsResponse.cs +++ b/Deepgram/Models/OnPrem/v1/CredentialsResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.OnPrem.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.OnPrem.v1; public record CredentialsResponse { diff --git a/Deepgram/Models/OnPrem/v1/CredentialsSchema.cs b/Deepgram/Models/OnPrem/v1/CredentialsSchema.cs index b53b02a8..1f89df75 100644 --- a/Deepgram/Models/OnPrem/v1/CredentialsSchema.cs +++ b/Deepgram/Models/OnPrem/v1/CredentialsSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.OnPrem.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.OnPrem.v1; public class CredentialsSchema { diff --git a/Deepgram/Models/OnPrem/v1/DistributionCredentials.cs b/Deepgram/Models/OnPrem/v1/DistributionCredentials.cs index 93a2eb3c..e4375a31 100644 --- a/Deepgram/Models/OnPrem/v1/DistributionCredentials.cs +++ b/Deepgram/Models/OnPrem/v1/DistributionCredentials.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.OnPrem.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.OnPrem.v1; public record DistributionCredentials { diff --git a/Deepgram/Models/OnPrem/v1/Member.cs b/Deepgram/Models/OnPrem/v1/Member.cs index 7918a595..a0c69aa3 100644 --- a/Deepgram/Models/OnPrem/v1/Member.cs +++ b/Deepgram/Models/OnPrem/v1/Member.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.OnPrem.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.OnPrem.v1; public record Member { diff --git a/Deepgram/Models/PreRecorded/v1/Alternative.cs b/Deepgram/Models/PreRecorded/v1/Alternative.cs index 12328823..332b4c63 100644 --- a/Deepgram/Models/PreRecorded/v1/Alternative.cs +++ b/Deepgram/Models/PreRecorded/v1/Alternative.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Alternative { diff --git a/Deepgram/Models/PreRecorded/v1/AsyncResponse.cs b/Deepgram/Models/PreRecorded/v1/AsyncResponse.cs index 341b90f4..e36d0c6b 100644 --- a/Deepgram/Models/PreRecorded/v1/AsyncResponse.cs +++ b/Deepgram/Models/PreRecorded/v1/AsyncResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record AsyncResponse { diff --git a/Deepgram/Models/PreRecorded/v1/Average.cs b/Deepgram/Models/PreRecorded/v1/Average.cs index 0657c1ca..cbb284d3 100644 --- a/Deepgram/Models/PreRecorded/v1/Average.cs +++ b/Deepgram/Models/PreRecorded/v1/Average.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Average { diff --git a/Deepgram/Models/PreRecorded/v1/Channel.cs b/Deepgram/Models/PreRecorded/v1/Channel.cs index 1b8483e2..2ebb2c7f 100644 --- a/Deepgram/Models/PreRecorded/v1/Channel.cs +++ b/Deepgram/Models/PreRecorded/v1/Channel.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Channel { /// diff --git a/Deepgram/Models/PreRecorded/v1/Entity.cs b/Deepgram/Models/PreRecorded/v1/Entity.cs index 715d3a10..736dc05f 100644 --- a/Deepgram/Models/PreRecorded/v1/Entity.cs +++ b/Deepgram/Models/PreRecorded/v1/Entity.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Entity { diff --git a/Deepgram/Models/PreRecorded/v1/Hit.cs b/Deepgram/Models/PreRecorded/v1/Hit.cs index cf7bf3d7..d129cd60 100644 --- a/Deepgram/Models/PreRecorded/v1/Hit.cs +++ b/Deepgram/Models/PreRecorded/v1/Hit.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Hit { diff --git a/Deepgram/Models/PreRecorded/v1/Intent.cs b/Deepgram/Models/PreRecorded/v1/Intent.cs index 86ace49f..0274fc5e 100644 --- a/Deepgram/Models/PreRecorded/v1/Intent.cs +++ b/Deepgram/Models/PreRecorded/v1/Intent.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Intent { diff --git a/Deepgram/Models/PreRecorded/v1/IntentGroup.cs b/Deepgram/Models/PreRecorded/v1/IntentGroup.cs index 7dee150c..6a285386 100644 --- a/Deepgram/Models/PreRecorded/v1/IntentGroup.cs +++ b/Deepgram/Models/PreRecorded/v1/IntentGroup.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record IntentGroup { diff --git a/Deepgram/Models/PreRecorded/v1/IntentSchema.cs b/Deepgram/Models/PreRecorded/v1/IntentSchema.cs index 5ea1ae7e..efdb0868 100644 --- a/Deepgram/Models/PreRecorded/v1/IntentSchema.cs +++ b/Deepgram/Models/PreRecorded/v1/IntentSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public class IntentSchema { diff --git a/Deepgram/Models/PreRecorded/v1/IntentsInfo.cs b/Deepgram/Models/PreRecorded/v1/IntentsInfo.cs index 86c065a4..f3b338d5 100644 --- a/Deepgram/Models/PreRecorded/v1/IntentsInfo.cs +++ b/Deepgram/Models/PreRecorded/v1/IntentsInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record IntentsInfo { diff --git a/Deepgram/Models/PreRecorded/v1/Metadata.cs b/Deepgram/Models/PreRecorded/v1/Metadata.cs index e72589ed..1c04d80c 100644 --- a/Deepgram/Models/PreRecorded/v1/Metadata.cs +++ b/Deepgram/Models/PreRecorded/v1/Metadata.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Metadata { diff --git a/Deepgram/Models/PreRecorded/v1/ModelInfo.cs b/Deepgram/Models/PreRecorded/v1/ModelInfo.cs index 6b70b3c6..a5789164 100644 --- a/Deepgram/Models/PreRecorded/v1/ModelInfo.cs +++ b/Deepgram/Models/PreRecorded/v1/ModelInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record ModelInfo { diff --git a/Deepgram/Models/PreRecorded/v1/Paragraph.cs b/Deepgram/Models/PreRecorded/v1/Paragraph.cs index 9d526820..e6e533ec 100644 --- a/Deepgram/Models/PreRecorded/v1/Paragraph.cs +++ b/Deepgram/Models/PreRecorded/v1/Paragraph.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Paragraph { diff --git a/Deepgram/Models/PreRecorded/v1/ParagraphGroup.cs b/Deepgram/Models/PreRecorded/v1/ParagraphGroup.cs index 4c80ca86..a4df7ed6 100644 --- a/Deepgram/Models/PreRecorded/v1/ParagraphGroup.cs +++ b/Deepgram/Models/PreRecorded/v1/ParagraphGroup.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record ParagraphGroup { diff --git a/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs b/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs index 54716c79..915795c3 100644 --- a/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs +++ b/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public class PrerecordedSchema { diff --git a/Deepgram/Models/PreRecorded/v1/Results.cs b/Deepgram/Models/PreRecorded/v1/Results.cs index 038e0afe..97d02ca7 100644 --- a/Deepgram/Models/PreRecorded/v1/Results.cs +++ b/Deepgram/Models/PreRecorded/v1/Results.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Results { diff --git a/Deepgram/Models/PreRecorded/v1/Search.cs b/Deepgram/Models/PreRecorded/v1/Search.cs index 1441f603..2b9d6af3 100644 --- a/Deepgram/Models/PreRecorded/v1/Search.cs +++ b/Deepgram/Models/PreRecorded/v1/Search.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Search { diff --git a/Deepgram/Models/PreRecorded/v1/Segment.cs b/Deepgram/Models/PreRecorded/v1/Segment.cs index 5bfaa0d9..bb36d84f 100644 --- a/Deepgram/Models/PreRecorded/v1/Segment.cs +++ b/Deepgram/Models/PreRecorded/v1/Segment.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Segment { diff --git a/Deepgram/Models/PreRecorded/v1/Sentence.cs b/Deepgram/Models/PreRecorded/v1/Sentence.cs index 7b2eb851..92eb533f 100644 --- a/Deepgram/Models/PreRecorded/v1/Sentence.cs +++ b/Deepgram/Models/PreRecorded/v1/Sentence.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Sentence { diff --git a/Deepgram/Models/PreRecorded/v1/SentimentGroup.cs b/Deepgram/Models/PreRecorded/v1/SentimentGroup.cs index 4a6ca214..00bbc73d 100644 --- a/Deepgram/Models/PreRecorded/v1/SentimentGroup.cs +++ b/Deepgram/Models/PreRecorded/v1/SentimentGroup.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record SentimentGroup { diff --git a/Deepgram/Models/PreRecorded/v1/SentimentInfo.cs b/Deepgram/Models/PreRecorded/v1/SentimentInfo.cs index 0df8300a..7919ce7d 100644 --- a/Deepgram/Models/PreRecorded/v1/SentimentInfo.cs +++ b/Deepgram/Models/PreRecorded/v1/SentimentInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record SentimentInfo { diff --git a/Deepgram/Models/PreRecorded/v1/Summary.cs b/Deepgram/Models/PreRecorded/v1/Summary.cs index 07c75e87..96ed9bca 100644 --- a/Deepgram/Models/PreRecorded/v1/Summary.cs +++ b/Deepgram/Models/PreRecorded/v1/Summary.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Summary // aka SummaryV2 { diff --git a/Deepgram/Models/PreRecorded/v1/SummaryInfo.cs b/Deepgram/Models/PreRecorded/v1/SummaryInfo.cs index fd013030..cfc6ca44 100644 --- a/Deepgram/Models/PreRecorded/v1/SummaryInfo.cs +++ b/Deepgram/Models/PreRecorded/v1/SummaryInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record SummaryInfo { diff --git a/Deepgram/Models/PreRecorded/v1/SummaryObsolete.cs b/Deepgram/Models/PreRecorded/v1/SummaryObsolete.cs index 06ec58c5..cd685316 100644 --- a/Deepgram/Models/PreRecorded/v1/SummaryObsolete.cs +++ b/Deepgram/Models/PreRecorded/v1/SummaryObsolete.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record SummaryObsolete // aka SummaryV1 { diff --git a/Deepgram/Models/PreRecorded/v1/SyncResponse.cs b/Deepgram/Models/PreRecorded/v1/SyncResponse.cs index 04486aea..1eec3337 100644 --- a/Deepgram/Models/PreRecorded/v1/SyncResponse.cs +++ b/Deepgram/Models/PreRecorded/v1/SyncResponse.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record SyncResponse { diff --git a/Deepgram/Models/PreRecorded/v1/Topic.cs b/Deepgram/Models/PreRecorded/v1/Topic.cs index fe206c41..1a075bdd 100644 --- a/Deepgram/Models/PreRecorded/v1/Topic.cs +++ b/Deepgram/Models/PreRecorded/v1/Topic.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Topic { diff --git a/Deepgram/Models/PreRecorded/v1/TopicGroup.cs b/Deepgram/Models/PreRecorded/v1/TopicGroup.cs index 2c9e376c..ab7e90ae 100644 --- a/Deepgram/Models/PreRecorded/v1/TopicGroup.cs +++ b/Deepgram/Models/PreRecorded/v1/TopicGroup.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record TopicGroup { diff --git a/Deepgram/Models/PreRecorded/v1/TopicsInfo.cs b/Deepgram/Models/PreRecorded/v1/TopicsInfo.cs index 76d3edad..5e9eff08 100644 --- a/Deepgram/Models/PreRecorded/v1/TopicsInfo.cs +++ b/Deepgram/Models/PreRecorded/v1/TopicsInfo.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record TopicsInfo { diff --git a/Deepgram/Models/PreRecorded/v1/Translation.cs b/Deepgram/Models/PreRecorded/v1/Translation.cs index 625927f5..1ceb1dea 100644 --- a/Deepgram/Models/PreRecorded/v1/Translation.cs +++ b/Deepgram/Models/PreRecorded/v1/Translation.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Translation { diff --git a/Deepgram/Models/PreRecorded/v1/UrlSource.cs b/Deepgram/Models/PreRecorded/v1/UrlSource.cs index 5ec5304d..bd1e98a2 100644 --- a/Deepgram/Models/PreRecorded/v1/UrlSource.cs +++ b/Deepgram/Models/PreRecorded/v1/UrlSource.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public class UrlSource(string url) { diff --git a/Deepgram/Models/PreRecorded/v1/Utterance.cs b/Deepgram/Models/PreRecorded/v1/Utterance.cs index 1be77d65..e2ab1e0c 100644 --- a/Deepgram/Models/PreRecorded/v1/Utterance.cs +++ b/Deepgram/Models/PreRecorded/v1/Utterance.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Utterance { diff --git a/Deepgram/Models/PreRecorded/v1/Warning.cs b/Deepgram/Models/PreRecorded/v1/Warning.cs index e22b3013..dc0bf317 100644 --- a/Deepgram/Models/PreRecorded/v1/Warning.cs +++ b/Deepgram/Models/PreRecorded/v1/Warning.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Warning { diff --git a/Deepgram/Models/PreRecorded/v1/Word.cs b/Deepgram/Models/PreRecorded/v1/Word.cs index 7897ba0a..e24d1d95 100644 --- a/Deepgram/Models/PreRecorded/v1/Word.cs +++ b/Deepgram/Models/PreRecorded/v1/Word.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Models.PreRecorded.v1; public record Word { diff --git a/Deepgram/OnPremClient.cs b/Deepgram/OnPremClient.cs index 81182623..5cde1132 100644 --- a/Deepgram/OnPremClient.cs +++ b/Deepgram/OnPremClient.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.Manage.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.Manage.v1; using Deepgram.Models.OnPrem.v1; using Deepgram.Models.Authenticate.v1; diff --git a/Deepgram/PrerecordedClient.cs b/Deepgram/PrerecordedClient.cs index a6ed6b44..2e3432f1 100644 --- a/Deepgram/PrerecordedClient.cs +++ b/Deepgram/PrerecordedClient.cs @@ -1,4 +1,8 @@ -using Deepgram.Models.PreRecorded.v1; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using Deepgram.Models.PreRecorded.v1; using Deepgram.Models.Authenticate.v1; namespace Deepgram; diff --git a/Deepgram/Utilities/QueryParameterUtil.cs b/Deepgram/Utilities/QueryParameterUtil.cs index 39038b3a..9d6620d8 100644 --- a/Deepgram/Utilities/QueryParameterUtil.cs +++ b/Deepgram/Utilities/QueryParameterUtil.cs @@ -1,4 +1,8 @@ -using System.Collections; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +using System.Collections; using Deepgram.Models.PreRecorded.v1; namespace Deepgram.Utilities; diff --git a/Deepgram/Utilities/RequestContentUtil.cs b/Deepgram/Utilities/RequestContentUtil.cs index c35a8449..80e7eaa5 100644 --- a/Deepgram/Utilities/RequestContentUtil.cs +++ b/Deepgram/Utilities/RequestContentUtil.cs @@ -1,4 +1,8 @@ -internal static class RequestContentUtil +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +internal static class RequestContentUtil { static ILogger logger => LogProvider.GetLogger(nameof(RequestContentUtil)); static readonly JsonSerializerOptions _jsonSerializerOptions = new() diff --git a/Deepgram/Utilities/UserAgentUtil.cs b/Deepgram/Utilities/UserAgentUtil.cs index b11f8ad6..c62957d1 100644 --- a/Deepgram/Utilities/UserAgentUtil.cs +++ b/Deepgram/Utilities/UserAgentUtil.cs @@ -1,4 +1,8 @@ -namespace Deepgram.Utilities; +// Copyright 2021-2023 Deepgram .NET SDK contributors. All Rights Reserved. +// Use of this source code is governed by a MIT license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT + +namespace Deepgram.Utilities; internal static class UserAgentUtil {