Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Translation] Ext enum -> enum #22751

Merged
merged 1 commit into from
Jul 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,23 +155,10 @@ internal FileFormat() { }
public string Format { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<string> FormatVersions { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct StorageInputType : System.IEquatable<Azure.AI.Translation.Document.StorageInputType>
public enum StorageInputType
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public StorageInputType(string value) { throw null; }
public static Azure.AI.Translation.Document.StorageInputType File { get { throw null; } }
public static Azure.AI.Translation.Document.StorageInputType Folder { get { throw null; } }
public bool Equals(Azure.AI.Translation.Document.StorageInputType other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.AI.Translation.Document.StorageInputType left, Azure.AI.Translation.Document.StorageInputType right) { throw null; }
public static implicit operator Azure.AI.Translation.Document.StorageInputType (string value) { throw null; }
public static bool operator !=(Azure.AI.Translation.Document.StorageInputType left, Azure.AI.Translation.Document.StorageInputType right) { throw null; }
public override string ToString() { throw null; }
File = 0,
Folder = 1,
}
public partial class TranslationGlossary
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,19 @@

namespace Azure.AI.Translation.Document
{
/// <summary>
/// Storage type of the input documents source.
/// </summary>
[CodeGenModel("StorageInputType")]
public readonly partial struct StorageInputType
public enum StorageInputType
{
/// <summary>
/// File
/// </summary>
File,
/// <summary>
/// Folder
/// </summary>
Folder
}
}