@@ -6,6 +6,17 @@ internal AzureAITranslationDocumentContext() { }
66 public static Azure . AI . Translation . Document . AzureAITranslationDocumentContext Default { get { throw null ; } }
77 protected override bool TryGetTypeBuilderCore ( System . Type type , out System . ClientModel . Primitives . ModelReaderWriterTypeBuilder builder ) { throw null ; }
88 }
9+ public partial class BatchOptions : System . ClientModel . Primitives . IJsonModel < Azure . AI . Translation . Document . BatchOptions > , System . ClientModel . Primitives . IPersistableModel < Azure . AI . Translation . Document . BatchOptions >
10+ {
11+ public BatchOptions ( ) { }
12+ public bool ? TranslateTextWithinImage { get { throw null ; } set { } }
13+ protected virtual void JsonModelWriteCore ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
14+ Azure . AI . Translation . Document . BatchOptions System . ClientModel . Primitives . IJsonModel < Azure . AI . Translation . Document . BatchOptions > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
15+ void System . ClientModel . Primitives . IJsonModel < Azure . AI . Translation . Document . BatchOptions > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
16+ Azure . AI . Translation . Document . BatchOptions System . ClientModel . Primitives . IPersistableModel < Azure . AI . Translation . Document . BatchOptions > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
17+ string System . ClientModel . Primitives . IPersistableModel < Azure . AI . Translation . Document . BatchOptions > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
18+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . AI . Translation . Document . BatchOptions > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
19+ }
920 public partial class DocumentFilterOrder
1021 {
1122 public DocumentFilterOrder ( Azure . AI . Translation . Document . DocumentFilterProperty property , bool ascending = true ) { }
@@ -26,6 +37,8 @@ internal DocumentStatusResult() { }
2637 public System . DateTimeOffset LastModified { get { throw null ; } }
2738 public System . Uri SourceDocumentUri { get { throw null ; } }
2839 public Azure . AI . Translation . Document . DocumentTranslationStatus Status { get { throw null ; } }
40+ public int ? TotalImageScansFailed { get { throw null ; } }
41+ public int ? TotalImageScansSucceeded { get { throw null ; } }
2942 public System . Uri TranslatedDocumentUri { get { throw null ; } }
3043 public string TranslatedToLanguageCode { get { throw null ; } }
3144 public float TranslationProgressPercentage { get { throw null ; } }
@@ -121,11 +134,12 @@ public DocumentTranslationClient(System.Uri endpoint, Azure.Core.TokenCredential
121134 }
122135 public partial class DocumentTranslationClientOptions : Azure . Core . ClientOptions
123136 {
124- public DocumentTranslationClientOptions ( Azure . AI . Translation . Document . DocumentTranslationClientOptions . ServiceVersion version = Azure . AI . Translation . Document . DocumentTranslationClientOptions . ServiceVersion . V2024_05_01 ) { }
137+ public DocumentTranslationClientOptions ( Azure . AI . Translation . Document . DocumentTranslationClientOptions . ServiceVersion version = Azure . AI . Translation . Document . DocumentTranslationClientOptions . ServiceVersion . V2024_11_01_Preview ) { }
125138 public Azure . AI . Translation . Document . DocumentTranslationAudience ? Audience { get { throw null ; } set { } }
126139 public enum ServiceVersion
127140 {
128141 V2024_05_01 = 1 ,
142+ V2024_11_01_Preview = 2 ,
129143 }
130144 }
131145 public partial class DocumentTranslationFileFormat : System . ClientModel . Primitives . IJsonModel < Azure . AI . Translation . Document . DocumentTranslationFileFormat > , System . ClientModel . Primitives . IPersistableModel < Azure . AI . Translation . Document . DocumentTranslationFileFormat >
@@ -281,10 +295,10 @@ public SingleDocumentTranslationClient(System.Uri endpoint, Azure.AzureKeyCreden
281295 public SingleDocumentTranslationClient ( System . Uri endpoint , Azure . Core . TokenCredential credential ) { }
282296 public SingleDocumentTranslationClient ( System . Uri endpoint , Azure . Core . TokenCredential credential , Azure . AI . Translation . Document . DocumentTranslationClientOptions options ) { }
283297 public virtual Azure . Core . Pipeline . HttpPipeline Pipeline { get { throw null ; } }
284- public virtual Azure . Response < System . BinaryData > Translate ( string targetLanguage , Azure . AI . Translation . Document . DocumentTranslateContent documentTranslateContent , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
285- public virtual Azure . Response Translate ( string targetLanguage , Azure . Core . RequestContent content , string contentType , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , Azure . RequestContext context = null ) { throw null ; }
286- public virtual System . Threading . Tasks . Task < Azure . Response < System . BinaryData > > TranslateAsync ( string targetLanguage , Azure . AI . Translation . Document . DocumentTranslateContent documentTranslateContent , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
287- public virtual System . Threading . Tasks . Task < Azure . Response > TranslateAsync ( string targetLanguage , Azure . Core . RequestContent content , string contentType , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , Azure . RequestContext context = null ) { throw null ; }
298+ public virtual Azure . Response < System . BinaryData > Translate ( string targetLanguage , Azure . AI . Translation . Document . DocumentTranslateContent documentTranslateContent , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , bool ? translateTextWithinImage = default ( bool ? ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
299+ public virtual Azure . Response Translate ( string targetLanguage , Azure . Core . RequestContent content , string contentType , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , bool ? translateTextWithinImage = default ( bool ? ) , Azure . RequestContext context = null ) { throw null ; }
300+ public virtual System . Threading . Tasks . Task < Azure . Response < System . BinaryData > > TranslateAsync ( string targetLanguage , Azure . AI . Translation . Document . DocumentTranslateContent documentTranslateContent , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , bool ? translateTextWithinImage = default ( bool ? ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
301+ public virtual System . Threading . Tasks . Task < Azure . Response > TranslateAsync ( string targetLanguage , Azure . Core . RequestContent content , string contentType , string sourceLanguage = null , string category = null , bool ? allowFallback = default ( bool ? ) , bool ? translateTextWithinImage = default ( bool ? ) , Azure . RequestContext context = null ) { throw null ; }
288302 }
289303 public enum StorageInputUriKind
290304 {
@@ -306,6 +320,7 @@ public partial class TranslationBatch : System.ClientModel.Primitives.IJsonModel
306320 {
307321 public TranslationBatch ( System . Collections . Generic . IEnumerable < Azure . AI . Translation . Document . DocumentTranslationInput > inputs ) { }
308322 public System . Collections . Generic . IList < Azure . AI . Translation . Document . DocumentTranslationInput > Inputs { get { throw null ; } }
323+ public Azure . AI . Translation . Document . BatchOptions Options { get { throw null ; } set { } }
309324 protected virtual void JsonModelWriteCore ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
310325 Azure . AI . Translation . Document . TranslationBatch System . ClientModel . Primitives . IJsonModel < Azure . AI . Translation . Document . TranslationBatch > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
311326 void System . ClientModel . Primitives . IJsonModel < Azure . AI . Translation . Document . TranslationBatch > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
0 commit comments