Skip to content

Commit

Permalink
[Text Analytics] Expose StringIndextype for all endpoints (#17968)
Browse files Browse the repository at this point in the history
Expose stringindextype to all endpoints
  • Loading branch information
suhas92 authored Jan 16, 2021
1 parent e1cbd9a commit a99c3e0
Show file tree
Hide file tree
Showing 27 changed files with 10,130 additions and 9,189 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public partial class EntitiesTaskParameters
{
public EntitiesTaskParameters() { }
public string ModelVersion { get { throw null; } set { } }
public Azure.AI.TextAnalytics.StringIndexType StringIndexType { get { throw null; } set { } }
}
public partial class Entity
{
Expand Down Expand Up @@ -367,6 +368,7 @@ public partial class PiiTaskParameters
public PiiTaskParameters() { }
public Azure.AI.TextAnalytics.PiiTaskParametersDomain? Domain { get { throw null; } set { } }
public string ModelVersion { get { throw null; } set { } }
public Azure.AI.TextAnalytics.StringIndexType StringIndexType { get { throw null; } set { } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct PiiTaskParametersDomain : System.IEquatable<Azure.AI.TextAnalytics.PiiTaskParametersDomain>
Expand Down Expand Up @@ -448,6 +450,25 @@ internal SentimentConfidenceScores() { }
public double Neutral { get { throw null; } }
public double Positive { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct StringIndexType : System.IEquatable<Azure.AI.TextAnalytics.StringIndexType>
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public StringIndexType(string value) { throw null; }
public static Azure.AI.TextAnalytics.StringIndexType TextElementsV8 { get { throw null; } }
public static Azure.AI.TextAnalytics.StringIndexType UnicodeCodePoint { get { throw null; } }
public static Azure.AI.TextAnalytics.StringIndexType Utf16CodeUnit { get { throw null; } }
public bool Equals(Azure.AI.TextAnalytics.StringIndexType 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.TextAnalytics.StringIndexType left, Azure.AI.TextAnalytics.StringIndexType right) { throw null; }
public static implicit operator Azure.AI.TextAnalytics.StringIndexType (string value) { throw null; }
public static bool operator !=(Azure.AI.TextAnalytics.StringIndexType left, Azure.AI.TextAnalytics.StringIndexType right) { throw null; }
public override string ToString() { throw null; }
}
public partial class TasksStateTasksDetails : Azure.AI.TextAnalytics.TaskState
{
internal TasksStateTasksDetails() { }
Expand Down Expand Up @@ -643,6 +664,7 @@ public partial class TextAnalyticsRequestOptions
public TextAnalyticsRequestOptions() { }
public bool IncludeStatistics { get { throw null; } set { } }
public string ModelVersion { get { throw null; } set { } }
public Azure.AI.TextAnalytics.StringIndexType StringIndexType { get { throw null; } set { } }
}
public partial class TextAnalyticsResult
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public partial class EntitiesTaskParameters
/// <summary>
/// StringIndexType
/// </summary>
internal StringIndexType? StringIndexType { get; set; }
public StringIndexType StringIndexType { get; set; } = StringIndexType.Utf16CodeUnit;
}
}

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.

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.

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.

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.

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.

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.

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

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public partial class PiiTaskParameters
/// <summary>
/// StringIndexType
/// </summary>
internal StringIndexType? StringIndexType { get; set; }
public StringIndexType StringIndexType { get; set; } = StringIndexType.Utf16CodeUnit;

/// <summary>
/// PiiTaskParametersDomain
Expand Down
Loading

0 comments on commit a99c3e0

Please sign in to comment.