|
| 1 | +namespace Azure.AI.DocumentTranslation.Models |
| 2 | +{ |
| 3 | + public partial class DocumentFilter |
| 4 | + { |
| 5 | + public DocumentFilter() { } |
| 6 | + public string Prefix { get { throw null; } set { } } |
| 7 | + public string Suffix { get { throw null; } set { } } |
| 8 | + } |
| 9 | + public partial class DocumentStatusDetail |
| 10 | + { |
| 11 | + internal DocumentStatusDetail() { } |
| 12 | + public long? CharacterCharged { get { throw null; } } |
| 13 | + public System.DateTimeOffset CreatedOn { get { throw null; } } |
| 14 | + public Azure.AI.DocumentTranslation.Models.DocumentTranslationError Error { get { throw null; } } |
| 15 | + public string Id { get { throw null; } } |
| 16 | + public System.DateTimeOffset LastModified { get { throw null; } } |
| 17 | + public Azure.AI.DocumentTranslation.Models.TranslationStatus Status { get { throw null; } } |
| 18 | + public string TranslateTo { get { throw null; } } |
| 19 | + public float TranslationProgress { get { throw null; } } |
| 20 | + public System.Uri Url { get { throw null; } } |
| 21 | + } |
| 22 | + public partial class DocumentTranslationError |
| 23 | + { |
| 24 | + internal DocumentTranslationError() { } |
| 25 | + public Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode? Code { get { throw null; } } |
| 26 | + public Azure.AI.DocumentTranslation.Models.DocumentTranslationInnerError InnerError { get { throw null; } } |
| 27 | + public string Message { get { throw null; } } |
| 28 | + public string Target { get { throw null; } } |
| 29 | + } |
| 30 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 31 | + public readonly partial struct DocumentTranslationErrorCode : System.IEquatable<Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode> |
| 32 | + { |
| 33 | + private readonly object _dummy; |
| 34 | + private readonly int _dummyPrimitive; |
| 35 | + public DocumentTranslationErrorCode(string value) { throw null; } |
| 36 | + public static Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode InternalServerError { get { throw null; } } |
| 37 | + public static Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode InvalidArgument { get { throw null; } } |
| 38 | + public static Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode InvalidRequest { get { throw null; } } |
| 39 | + public static Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode RequestRateTooHigh { get { throw null; } } |
| 40 | + public static Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode ResourceNotFound { get { throw null; } } |
| 41 | + public static Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode ServiceUnavailable { get { throw null; } } |
| 42 | + public static Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode Unauthorized { get { throw null; } } |
| 43 | + public bool Equals(Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode other) { throw null; } |
| 44 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 45 | + public override bool Equals(object obj) { throw null; } |
| 46 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 47 | + public override int GetHashCode() { throw null; } |
| 48 | + public static bool operator ==(Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode left, Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode right) { throw null; } |
| 49 | + public static implicit operator Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode (string value) { throw null; } |
| 50 | + public static bool operator !=(Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode left, Azure.AI.DocumentTranslation.Models.DocumentTranslationErrorCode right) { throw null; } |
| 51 | + public override string ToString() { throw null; } |
| 52 | + } |
| 53 | + public partial class DocumentTranslationInnerError |
| 54 | + { |
| 55 | + internal DocumentTranslationInnerError() { } |
| 56 | + public string Code { get { throw null; } } |
| 57 | + public Azure.AI.DocumentTranslation.Models.DocumentTranslationInnerError InnerError { get { throw null; } } |
| 58 | + public string Message { get { throw null; } } |
| 59 | + public string Target { get { throw null; } } |
| 60 | + } |
| 61 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 62 | + public readonly partial struct StorageSource : System.IEquatable<Azure.AI.DocumentTranslation.Models.StorageSource> |
| 63 | + { |
| 64 | + private readonly object _dummy; |
| 65 | + private readonly int _dummyPrimitive; |
| 66 | + public StorageSource(string value) { throw null; } |
| 67 | + public static Azure.AI.DocumentTranslation.Models.StorageSource AzureBlob { get { throw null; } } |
| 68 | + public bool Equals(Azure.AI.DocumentTranslation.Models.StorageSource other) { throw null; } |
| 69 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 70 | + public override bool Equals(object obj) { throw null; } |
| 71 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 72 | + public override int GetHashCode() { throw null; } |
| 73 | + public static bool operator ==(Azure.AI.DocumentTranslation.Models.StorageSource left, Azure.AI.DocumentTranslation.Models.StorageSource right) { throw null; } |
| 74 | + public static implicit operator Azure.AI.DocumentTranslation.Models.StorageSource (string value) { throw null; } |
| 75 | + public static bool operator !=(Azure.AI.DocumentTranslation.Models.StorageSource left, Azure.AI.DocumentTranslation.Models.StorageSource right) { throw null; } |
| 76 | + public override string ToString() { throw null; } |
| 77 | + } |
| 78 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 79 | + public readonly partial struct StorageType : System.IEquatable<Azure.AI.DocumentTranslation.Models.StorageType> |
| 80 | + { |
| 81 | + private readonly object _dummy; |
| 82 | + private readonly int _dummyPrimitive; |
| 83 | + public StorageType(string value) { throw null; } |
| 84 | + public static Azure.AI.DocumentTranslation.Models.StorageType File { get { throw null; } } |
| 85 | + public static Azure.AI.DocumentTranslation.Models.StorageType Folder { get { throw null; } } |
| 86 | + public bool Equals(Azure.AI.DocumentTranslation.Models.StorageType other) { throw null; } |
| 87 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 88 | + public override bool Equals(object obj) { throw null; } |
| 89 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 90 | + public override int GetHashCode() { throw null; } |
| 91 | + public static bool operator ==(Azure.AI.DocumentTranslation.Models.StorageType left, Azure.AI.DocumentTranslation.Models.StorageType right) { throw null; } |
| 92 | + public static implicit operator Azure.AI.DocumentTranslation.Models.StorageType (string value) { throw null; } |
| 93 | + public static bool operator !=(Azure.AI.DocumentTranslation.Models.StorageType left, Azure.AI.DocumentTranslation.Models.StorageType right) { throw null; } |
| 94 | + public override string ToString() { throw null; } |
| 95 | + } |
| 96 | + public partial class TranslationConfiguration |
| 97 | + { |
| 98 | + public TranslationConfiguration(Azure.AI.DocumentTranslation.Models.TranslationSource source, System.Collections.Generic.IEnumerable<Azure.AI.DocumentTranslation.Models.TranslationTarget> targets) { } |
| 99 | + public Azure.AI.DocumentTranslation.Models.TranslationSource Source { get { throw null; } } |
| 100 | + public Azure.AI.DocumentTranslation.Models.StorageType? StorageType { get { throw null; } set { } } |
| 101 | + public System.Collections.Generic.IList<Azure.AI.DocumentTranslation.Models.TranslationTarget> Targets { get { throw null; } } |
| 102 | + } |
| 103 | + public partial class TranslationGlossary |
| 104 | + { |
| 105 | + public TranslationGlossary(System.Uri glossaryUrl) { } |
| 106 | + public string FormatVersion { get { throw null; } set { } } |
| 107 | + public System.Uri GlossaryUrl { get { throw null; } } |
| 108 | + public string Version { get { throw null; } set { } } |
| 109 | + } |
| 110 | + public partial class TranslationSource |
| 111 | + { |
| 112 | + public TranslationSource(System.Uri sourceUrl) { } |
| 113 | + public Azure.AI.DocumentTranslation.Models.DocumentFilter Filter { get { throw null; } set { } } |
| 114 | + public string Language { get { throw null; } set { } } |
| 115 | + public System.Uri SourceUrl { get { throw null; } } |
| 116 | + } |
| 117 | + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] |
| 118 | + public readonly partial struct TranslationStatus : System.IEquatable<Azure.AI.DocumentTranslation.Models.TranslationStatus> |
| 119 | + { |
| 120 | + private readonly object _dummy; |
| 121 | + private readonly int _dummyPrimitive; |
| 122 | + public TranslationStatus(string value) { throw null; } |
| 123 | + public static Azure.AI.DocumentTranslation.Models.TranslationStatus Cancelled { get { throw null; } } |
| 124 | + public static Azure.AI.DocumentTranslation.Models.TranslationStatus Cancelling { get { throw null; } } |
| 125 | + public static Azure.AI.DocumentTranslation.Models.TranslationStatus Failed { get { throw null; } } |
| 126 | + public static Azure.AI.DocumentTranslation.Models.TranslationStatus NotStarted { get { throw null; } } |
| 127 | + public static Azure.AI.DocumentTranslation.Models.TranslationStatus Running { get { throw null; } } |
| 128 | + public static Azure.AI.DocumentTranslation.Models.TranslationStatus Succeeded { get { throw null; } } |
| 129 | + public static Azure.AI.DocumentTranslation.Models.TranslationStatus ValidationFailed { get { throw null; } } |
| 130 | + public bool Equals(Azure.AI.DocumentTranslation.Models.TranslationStatus other) { throw null; } |
| 131 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 132 | + public override bool Equals(object obj) { throw null; } |
| 133 | + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
| 134 | + public override int GetHashCode() { throw null; } |
| 135 | + public static bool operator ==(Azure.AI.DocumentTranslation.Models.TranslationStatus left, Azure.AI.DocumentTranslation.Models.TranslationStatus right) { throw null; } |
| 136 | + public static implicit operator Azure.AI.DocumentTranslation.Models.TranslationStatus (string value) { throw null; } |
| 137 | + public static bool operator !=(Azure.AI.DocumentTranslation.Models.TranslationStatus left, Azure.AI.DocumentTranslation.Models.TranslationStatus right) { throw null; } |
| 138 | + public override string ToString() { throw null; } |
| 139 | + } |
| 140 | + public partial class TranslationStatusDetail |
| 141 | + { |
| 142 | + internal TranslationStatusDetail() { } |
| 143 | + public System.DateTimeOffset CreatedOn { get { throw null; } } |
| 144 | + public int DocumentsCancelled { get { throw null; } } |
| 145 | + public int DocumentsFailed { get { throw null; } } |
| 146 | + public int DocumentsInProgress { get { throw null; } } |
| 147 | + public int DocumentsNotStarted { get { throw null; } } |
| 148 | + public int DocumentsSucceeded { get { throw null; } } |
| 149 | + public int DocumentsTotal { get { throw null; } } |
| 150 | + public Azure.AI.DocumentTranslation.Models.DocumentTranslationError Error { get { throw null; } } |
| 151 | + public string Id { get { throw null; } } |
| 152 | + public System.DateTimeOffset LastModified { get { throw null; } } |
| 153 | + public Azure.AI.DocumentTranslation.Models.TranslationStatus Status { get { throw null; } } |
| 154 | + public long TotalCharacterCharged { get { throw null; } } |
| 155 | + } |
| 156 | + public partial class TranslationTarget |
| 157 | + { |
| 158 | + public TranslationTarget(System.Uri targetUrl, string language) { } |
| 159 | + public TranslationTarget(System.Uri targetUrl, string language, System.Collections.Generic.IList<Azure.AI.DocumentTranslation.Models.TranslationGlossary> glossaries) { } |
| 160 | + public string Category { get { throw null; } set { } } |
| 161 | + public System.Collections.Generic.IList<Azure.AI.DocumentTranslation.Models.TranslationGlossary> Glossaries { get { throw null; } } |
| 162 | + public string Language { get { throw null; } } |
| 163 | + public System.Uri TargetUrl { get { throw null; } } |
| 164 | + } |
| 165 | +} |
0 commit comments