Skip to content

Commit

Permalink
use stable swagger, re-record, disable test, change ci (#21826)
Browse files Browse the repository at this point in the history
  • Loading branch information
maririos committed Jun 18, 2021
1 parent 4162f6f commit be7f022
Show file tree
Hide file tree
Showing 229 changed files with 4,256 additions and 8,560 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public partial class HealthcareEntity
{
internal HealthcareEntity() { }
public Azure.AI.TextAnalytics.HealthcareEntityAssertion Assertion { get { throw null; } }
public string Category { get { throw null; } }
public Azure.AI.TextAnalytics.HealthcareEntityCategory Category { get { throw null; } }
public double ConfidenceScore { get { throw null; } }
public System.Collections.Generic.IReadOnlyCollection<Azure.AI.TextAnalytics.EntityDataSource> DataSources { get { throw null; } }
public int Length { get { throw null; } }
Expand All @@ -269,6 +269,48 @@ internal HealthcareEntityAssertion() { }
public Azure.AI.TextAnalytics.EntityConditionality? Conditionality { get { throw null; } }
public override string ToString() { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct HealthcareEntityCategory : System.IEquatable<Azure.AI.TextAnalytics.HealthcareEntityCategory>
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public HealthcareEntityCategory(string value) { throw null; }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory AdministrativeEvent { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory AGE { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory BodyStructure { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory CareEnvironment { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory ConditionQualifier { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Date { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Diagnosis { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Direction { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Dosage { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory ExaminationName { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory FamilyRelation { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Frequency { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Gender { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory GeneORProtein { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory HealthcareProfession { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory MeasurementUnit { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory MeasurementValue { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory MedicationClass { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory MedicationForm { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory MedicationName { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory MedicationRoute { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory RelationalOperator { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory SymptomORSign { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Time { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory TreatmentName { get { throw null; } }
public static Azure.AI.TextAnalytics.HealthcareEntityCategory Variant { get { throw null; } }
public bool Equals(Azure.AI.TextAnalytics.HealthcareEntityCategory 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.HealthcareEntityCategory left, Azure.AI.TextAnalytics.HealthcareEntityCategory right) { throw null; }
public static implicit operator Azure.AI.TextAnalytics.HealthcareEntityCategory (string value) { throw null; }
public static bool operator !=(Azure.AI.TextAnalytics.HealthcareEntityCategory left, Azure.AI.TextAnalytics.HealthcareEntityCategory right) { throw null; }
public override string ToString() { throw null; }
}
public partial class HealthcareEntityRelation
{
internal HealthcareEntityRelation() { }
Expand Down Expand Up @@ -764,13 +806,13 @@ public TextAnalyticsClient(System.Uri endpoint, Azure.Core.TokenCredential crede
}
public partial class TextAnalyticsClientOptions : Azure.Core.ClientOptions
{
public TextAnalyticsClientOptions(Azure.AI.TextAnalytics.TextAnalyticsClientOptions.ServiceVersion version = Azure.AI.TextAnalytics.TextAnalyticsClientOptions.ServiceVersion.V3_1_Preview_5) { }
public TextAnalyticsClientOptions(Azure.AI.TextAnalytics.TextAnalyticsClientOptions.ServiceVersion version = Azure.AI.TextAnalytics.TextAnalyticsClientOptions.ServiceVersion.V3_1) { }
public string DefaultCountryHint { get { throw null; } set { } }
public string DefaultLanguage { get { throw null; } set { } }
public enum ServiceVersion
{
V3_0 = 1,
V3_1_Preview_5 = 2,
V3_1 = 2,
}
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
Expand Down Expand Up @@ -897,8 +939,6 @@ public static partial class TextAnalyticsModelFactory
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus Cancelling { get { throw null; } }
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus Failed { get { throw null; } }
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus NotStarted { get { throw null; } }
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus PartiallyCompleted { get { throw null; } }
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus PartiallySucceeded { get { throw null; } }
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus Rejected { get { throw null; } }
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus Running { get { throw null; } }
public static Azure.AI.TextAnalytics.TextAnalyticsOperationStatus Succeeded { get { throw null; } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,7 @@ async ValueTask<OperationState<AsyncPageable<AnalyzeActionsResult>>> IOperation<

Response rawResponse = response.GetRawResponse();

// TODO - Remove PartiallySucceeded once service deploys this to WestUS2
if (response.Value.Status == TextAnalyticsOperationStatus.Succeeded ||
response.Value.Status == TextAnalyticsOperationStatus.PartiallySucceeded ||
response.Value.Status == TextAnalyticsOperationStatus.PartiallyCompleted ||
response.Value.Status == TextAnalyticsOperationStatus.Failed)
{
string nextLink = response.Value.NextLink;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public AnalyzeSentimentAction()
/// Setting this property to true, disables input logging and may limit our ability to investigate issues that occur.
/// </summary>
/// <remarks>
/// This property only applies for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1_Preview_5"/> and up.
/// This property only applies for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1"/> and up.
/// </remarks>
public bool? DisableServiceLogs { get; set; }

Expand All @@ -46,7 +46,7 @@ public AnalyzeSentimentAction()
/// <para>Only available for service version v3.1-preview and up.</para>
/// </summary>
/// <remarks>
/// This property only has value for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1_Preview_5"/> and up.
/// This property only has value for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1"/> and up.
/// </remarks>
public bool? IncludeOpinionMining { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal AnalyzeSentimentOptions(TextAnalyticsRequestOptions options)
/// <para>Only available for service version v3.1-preview and up.</para>
/// </summary>
/// <remarks>
/// This property only has value for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1_Preview_5"/> and up.
/// This property only has value for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1"/> and up.
/// </remarks>
public bool? IncludeOpinionMining { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public ExtractKeyPhrasesAction()
/// Setting this property to true, disables input logging and may limit our ability to investigate issues that occur.
/// </summary>
/// <remarks>
/// This property only applies for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1_Preview_5"/> and up.
/// This property only applies for <see cref="TextAnalyticsClientOptions.ServiceVersion.V3_1"/> and up.
/// </remarks>
public bool? DisableServiceLogs { get; set; }
}
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.

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

0 comments on commit be7f022

Please sign in to comment.