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

[Text Analytics] Expose StringIndextype for all endpoints #17968

Merged
merged 15 commits into from
Jan 16, 2021
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
namespace Azure.MixedReality.Authentication
suhas92 marked this conversation as resolved.
Show resolved Hide resolved
{
public partial class MixedRealityStsClient
{
protected MixedRealityStsClient() { }
public MixedRealityStsClient(string accountId, string accountDomain, Azure.AzureKeyCredential keyCredential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { }
public MixedRealityStsClient(string accountId, string accountDomain, Azure.Core.TokenCredential credential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { }
public MixedRealityStsClient(string accountId, System.Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { }
public MixedRealityStsClient(string accountId, System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.MixedReality.Authentication.MixedRealityStsClientOptions? options = null) { }
public string AccountId { get { throw null; } }
public System.Uri Endpoint { get { throw null; } }
public virtual Azure.Response<Azure.Core.AccessToken> GetToken(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Core.AccessToken>> GetTokenAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
}
public partial class MixedRealityStsClientOptions : Azure.Core.ClientOptions
{
public MixedRealityStsClientOptions(Azure.MixedReality.Authentication.MixedRealityStsClientOptions.ServiceVersion version = Azure.MixedReality.Authentication.MixedRealityStsClientOptions.ServiceVersion.V2019_02_28_preview) { }
public enum ServiceVersion
{
V2019_02_28_preview = 1,
}
}
}
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.

Loading