@@ -11,43 +11,43 @@ namespace OpenAI.Videos;
1111// - Suppressed methods that only take the options parameter.
1212/// <summary> The service client for OpenAI video operations. </summary>
1313[ CodeGenType ( "Videos" ) ]
14- [ CodeGenSuppress ( "VideosClient " , typeof ( ClientPipeline ) , typeof ( Uri ) ) ]
15- public partial class VideosClient
14+ [ CodeGenSuppress ( "VideoClient " , typeof ( ClientPipeline ) , typeof ( Uri ) ) ]
15+ public partial class VideoClient
1616{
1717 // CUSTOM: Added as a convenience.
18- /// <summary> Initializes a new instance of <see cref="VideosClient "/>. </summary>
18+ /// <summary> Initializes a new instance of <see cref="VideoClient "/>. </summary>
1919 /// <param name="apiKey"> The API key to authenticate with the service. </param>
2020 /// <exception cref="ArgumentNullException"> <paramref name="apiKey"/> is null. </exception>
21- public VideosClient ( string apiKey ) : this ( new ApiKeyCredential ( apiKey ) , new OpenAIClientOptions ( ) )
21+ public VideoClient ( string apiKey ) : this ( new ApiKeyCredential ( apiKey ) , new OpenAIClientOptions ( ) )
2222 {
2323 }
2424
2525 // CUSTOM:
2626 // - Used a custom pipeline.
2727 // - Demoted the endpoint parameter to be a property in the options class.
28- /// <summary> Initializes a new instance of <see cref="VideosClient "/>. </summary>
28+ /// <summary> Initializes a new instance of <see cref="VideoClient "/>. </summary>
2929 /// <param name="credential"> The <see cref="ApiKeyCredential"/> to authenticate with the service. </param>
3030 /// <exception cref="ArgumentNullException"> <paramref name="credential"/> is null. </exception>
31- public VideosClient ( ApiKeyCredential credential ) : this ( credential , new OpenAIClientOptions ( ) )
31+ public VideoClient ( ApiKeyCredential credential ) : this ( credential , new OpenAIClientOptions ( ) )
3232 {
3333 }
3434
3535 // CUSTOM:
3636 // - Used a custom pipeline.
3737 // - Demoted the endpoint parameter to be a property in the options class.
38- /// <summary> Initializes a new instance of <see cref="VideosClient "/>. </summary>
38+ /// <summary> Initializes a new instance of <see cref="VideoClient "/>. </summary>
3939 /// <param name="credential"> The <see cref="ApiKeyCredential"/> to authenticate with the service. </param>
4040 /// <param name="options"> The options to configure the client. </param>
4141 /// <exception cref="ArgumentNullException"> <paramref name="credential"/> is null. </exception>
42- public VideosClient ( ApiKeyCredential credential , OpenAIClientOptions options ) : this ( OpenAIClient . CreateApiKeyAuthenticationPolicy ( credential ) , options )
42+ public VideoClient ( ApiKeyCredential credential , OpenAIClientOptions options ) : this ( OpenAIClient . CreateApiKeyAuthenticationPolicy ( credential ) , options )
4343 {
4444 }
4545
4646 // CUSTOM: Added as a convenience.
4747 /// <summary> Initializes a new instance of <see cref="GraderClient"/>. </summary>
4848 /// <param name="authenticationPolicy"> The authentication policy used to authenticate with the service. </param>
4949 /// <exception cref="ArgumentNullException"> <paramref name="authenticationPolicy"/> is null. </exception>
50- public VideosClient ( AuthenticationPolicy authenticationPolicy ) : this ( authenticationPolicy , new OpenAIClientOptions ( ) )
50+ public VideoClient ( AuthenticationPolicy authenticationPolicy ) : this ( authenticationPolicy , new OpenAIClientOptions ( ) )
5151 {
5252 }
5353
@@ -56,7 +56,7 @@ public VideosClient(ApiKeyCredential credential, OpenAIClientOptions options) :
5656 /// <param name="authenticationPolicy"> The authentication policy used to authenticate with the service. </param>
5757 /// <param name="options"> The options to configure the client. </param>
5858 /// <exception cref="ArgumentNullException"> <paramref name="authenticationPolicy"/> is null. </exception>
59- public VideosClient ( AuthenticationPolicy authenticationPolicy , OpenAIClientOptions options )
59+ public VideoClient ( AuthenticationPolicy authenticationPolicy , OpenAIClientOptions options )
6060 {
6161 Argument . AssertNotNull ( authenticationPolicy , nameof ( authenticationPolicy ) ) ;
6262 options ??= new OpenAIClientOptions ( ) ;
@@ -73,7 +73,7 @@ public VideosClient(AuthenticationPolicy authenticationPolicy, OpenAIClientOptio
7373 /// <param name="pipeline"> The HTTP pipeline to send and receive REST requests and responses. </param>
7474 /// <param name="options"> The options to configure the client. </param>
7575 /// <exception cref="ArgumentNullException"> <paramref name="pipeline"/> is null. </exception>
76- protected internal VideosClient ( ClientPipeline pipeline , OpenAIClientOptions options )
76+ protected internal VideoClient ( ClientPipeline pipeline , OpenAIClientOptions options )
7777 {
7878 Argument . AssertNotNull ( pipeline , nameof ( pipeline ) ) ;
7979 options ??= new OpenAIClientOptions ( ) ;
0 commit comments