Skip to content

Commit

Permalink
ext enum -> enum (Azure#22751)
Browse files Browse the repository at this point in the history
  • Loading branch information
maririos authored Jul 21, 2021
1 parent 6bf5432 commit c324680
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 69 deletions.
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
}
}

0 comments on commit c324680

Please sign in to comment.